:root {
  --bg: #fff;
  --ink: #111214;
  --muted: #5e6772;
  --faint: #8b939e;
  --line: #e7e9ee;
  --soft: #f6f7f9;
  --header: 64px;
  --wrap: 1120px;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.js { scroll-snap-type: y mandatory; }
html.js.snap-off { scroll-snap-type: none; }
.snap-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  pointer-events: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  z-index: 50;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-120%);
}
.skip:focus { top: 12px; transform: none; }
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}
.site-header.is-on { border-bottom: 1px solid var(--line); }
.bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.menu { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav { display: flex; gap: 22px; }
.nav a { color: #3c4450; text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14px;
}
.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: #fff; border-color: #d7dbe2; color: #111; }
.btn-ghost:hover { border-color: #111; }

.hero {
  position: relative;
  height: 138vh;
  background: #fff;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header) + 28px) 24px 0;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 100%, #e6ecff 0%, #bccbff 45%, #86a0ee 100%);
  opacity: 0.4;
}
.hero-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 1px, transparent 1px 8px);
  opacity: 0.4;
}
.hero-wash {
  position: absolute;
  top: 0;
  left: -150%;
  width: 400%;
  height: 150%;
  transform-origin: top center;
  background: radial-gradient(70% 106.67% at 50% 0%, #ffffff 32%, transparent 64%);
  will-change: transform;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1), filter 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.hero.is-scrolled .hero-copy {
  position: absolute;
  top: calc(var(--header) + 28px);
  left: 0;
  right: 0;
  opacity: 0;
  filter: blur(2.5px);
  pointer-events: none;
}
.hero.is-scrolled .hero-stage {
  position: absolute;
  left: 50%;
  right: auto;
  top: var(--header);
  bottom: 28px;
  width: min(980px, calc(100vw - 680px), calc((100vh - 126px) * 1.935 + 12px));
  margin: 0;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
}
.hero.is-scrolled .frame {
  flex: none;
  height: auto;
  min-height: 0;
  max-height: none;
  border-radius: 18px;
}
.hero.is-scrolled .slot {
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 3840 / 1984;
  border-radius: 12px;
}
.hero.is-scrolled .slot img {
  object-fit: contain !important;
  object-position: center center !important;
}
.hero-in {
  opacity: 0;
  animation: hero-reveal 0.6s cubic-bezier(0, 0, 0.58, 1) forwards;
}
.hero-copy .pill { animation-delay: 0s; }
.hero-copy h1 { animation-delay: 0.1s; }
.hero-copy .lede { animation-delay: 0.2s; }
.hero-copy .actions .btn:first-child { animation-delay: 0.3s; }
.hero-copy .actions .btn:last-child { animation-delay: 0.4s; }
@keyframes hero-reveal {
  from { opacity: 0; filter: blur(1.5px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes hero-window-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  padding: 6px 12px;
  border: 1px solid #e6e9f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #3d4652;
  font-size: 13px;
  text-decoration: none;
}
.pill i { font-style: normal; color: var(--faint); }
h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.hero h1 {
  max-width: 12em;
  margin-top: 18px;
  font-size: clamp(40px, calc(12px + 3.2vw), 56px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.lede {
  margin: 18px auto 0;
  max-width: 28em;
  color: #66707c;
  font-size: 17px;
  line-height: 1.7;
}
.hero .lede {
  margin-top: 16px;
  max-width: 26em;
  color: #6b7280;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero .pill { margin-bottom: 0; border-radius: 13px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero .actions { margin-top: 22px; gap: 10px; }
.hero .actions .btn { min-height: 36px; border-radius: 10px; }
.hero-stage {
  position: relative;
  z-index: 2;
  width: 80vw;
  margin-top: 40px;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
}

.frame {
  flex: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 30px 80px rgba(48, 72, 140, 0.14),
    0 2px 10px rgba(48, 72, 140, 0.06);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #d5d8de; display: block; }
.slot {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(#eef0f4, #eef0f4) 0 0 / 100% 44px no-repeat,
    #f3f5f8;
}
.slot-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: start center;
  gap: 6px;
  margin: 0;
  padding-top: 64px;
  color: #6d7682;
  text-align: center;
}
.slot-note b { font-weight: 500; color: #2c3340; font-size: 16px; }
.slot-note small { color: var(--faint); font-size: 12px; }
.slot.has-shot .slot-note { display: none; }
.slot.fit-shot { background: #fff; }
.slot.fit-shot img { object-fit: contain; object-position: center center; background: #fff; }
.slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.rail, .section, .story { scroll-margin-top: 24px; }
.rail { padding: 88px 0 32px; }
.rail h2, .section h2, .step h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.sub { margin: 12px 0 0; max-width: 40em; color: var(--muted); }
.stages {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.stages li {
  min-height: 132px;
  padding: 16px 14px;
  border: 0;
  border-radius: 16px;
  background: #e7eeff;
}
.stages li:nth-child(1) { background: #e7eeff; }
.stages li:nth-child(2) { background: #e7f8f6; }
.stages li:nth-child(3) { background: #f2eeff; }
.stages li:nth-child(4) { background: #fff4ee; }
.stages li:nth-child(5) { background: #e7f3ff; }
.stages li:nth-child(6) { background: #fcf8ef; }
.stages li:nth-child(7) { background: #fff0f3; }
.stages em { display: block; font-style: normal; color: #4c6fe0; font-size: 12px; }
.stages li:nth-child(2) em { color: #1aa89a; }
.stages li:nth-child(3) em { color: #7b61e8; }
.stages li:nth-child(4) em { color: #e8834a; }
.stages li:nth-child(5) em { color: #3d8df0; }
.stages li:nth-child(6) em { color: #c4922a; }
.stages li:nth-child(7) em { color: #e06a88; }
.stages strong { display: block; margin: 10px 0 4px; font-weight: 600; }
.stages span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }

.story { height: 460vh; position: relative; background: #fff; }
.story-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  column-gap: 48px;
  align-items: center;
  padding-top: var(--header);
  background: #fff;
}
.story-meta { position: absolute; top: calc(var(--header) + 28px); left: 0; color: var(--faint); }
.index-line { display: inline-block; width: 72px; height: 1px; margin: 0 10px; background: var(--line); vertical-align: middle; position: relative; }
.index-line i { position: absolute; inset: 0 auto 0 0; width: 100%; background: #111; transform: scaleX(0); transform-origin: left center; }
.beat { display: contents; }
.step, .pane { grid-row: 1; align-self: center; }
.step { grid-column: 1; }
.pane { grid-column: 2; }
.js .step, .js .pane { opacity: 0; }
.step p { margin: 14px 0 0; color: var(--muted); max-width: 34em; }
.hero .frame {
  min-height: 0;
  flex: none;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  padding: 0 8px 8px;
  box-shadow:
    0 30px 80px rgba(48, 72, 140, 0.16),
    0 2px 10px rgba(48, 72, 140, 0.06);
  opacity: 0;
  transform-origin: center center;
  animation: hero-window-in 0.9s cubic-bezier(0, 0, 0.58, 1) 0.45s forwards;
}
.hero .frame-bar {
  height: 46px;
  padding: 10px 14px 0;
  background: #fff;
  border: 0;
  flex-shrink: 0;
  align-items: center;
}
.hero .dots { gap: 7px; }
.hero .dots i { width: 11px; height: 11px; }
.hero .frame-bar > span:not(.dots) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hero .dots i:nth-child(1) { background: #ff5f57; }
.hero .dots i:nth-child(2) { background: #febc2e; }
.hero .dots i:nth-child(3) { background: #28c840; }
.hero .slot {
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 3840 / 1984;
  border-radius: 12px 12px 0 0;
  min-height: 0;
}
.hero .slot img {
  object-fit: contain;
  object-position: center top;
}
.hero-sats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sat {
  position: absolute;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 22px 50px rgba(48, 72, 140, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero.is-scrolled .sat { opacity: 1; transform: none; }
.hero.is-scrolled .sat-risk { transition-delay: 0.08s; }
.hero.is-scrolled .sat-practice { transition-delay: 0.16s; }
.sat-bar {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: #fff;
}
.sat .dots { gap: 5px; }
.sat .dots i { width: 8px; height: 8px; }
.sat img { display: block; width: 100%; height: auto; }
.sat-stars {
  top: 20%;
  left: 28px;
  width: min(440px, calc(50% - 64px - min(490px, 50vw - 340px, (100vh - 126px) * 0.9675 + 6px)));
}
.sat-risk {
  bottom: 12%;
  left: max(16px, calc(50% - 798px));
  width: 272px;
}
.sat-practice {
  top: 16%;
  right: 28px;
  width: min(380px, calc(50% - 64px - min(490px, 50vw - 340px, (100vh - 126px) * 0.9675 + 6px)));
}
.frame.is-sized,
.hero .frame.is-sized { flex: none; min-height: 0; }
.pane .frame { height: min(560px, calc(100vh - 140px)); min-height: 0; flex: none; border-bottom: 1px solid #e4e7ee; border-radius: 14px; }
.pane .frame.frame-stack,
.pane .frame.frame-fit,
.pane .frame.frame-pair,
.pane .frame.frame-kb { height: auto; max-height: calc(100vh - 120px); }
.kb { padding: 18px 16px 20px; background: #fff; }
.kb svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.shot-pair { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; }
.shot-pair img { display: block; height: auto; border-radius: 12px; }
.shot-pair .shot-chat { flex: 1 1 auto; width: 0; min-width: 0; }
.shot-pair .shot-phone { flex: 0 0 30%; width: 30%; }
.frame-fit .slot { flex: none; min-height: 0; height: auto; aspect-ratio: 1024 / 618; }
.shot-stack { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: #fff; }
.shot-stack img { display: block; width: 100%; height: auto; border-radius: 8px; }

.section { padding: 96px 0; }
#operate {
  background:
    radial-gradient(80% 70% at 100% 0%, #d5e6ff 0%, rgba(213, 230, 255, 0) 58%),
    radial-gradient(70% 60% at 0% 100%, #e3edff 0%, rgba(227, 237, 255, 0) 52%),
    linear-gradient(180deg, #f5f8ff 0%, #eef3fc 100%);
}
#operate .bento { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; align-items: stretch; }
#operate .card {
  padding: 24px 24px 18px;
  border: 1px solid rgba(126, 166, 224, 0.38);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(74, 112, 184, 0.08);
}
#operate .kicker {
  margin: 0 0 12px;
  color: #3d78e8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
#operate .card h3 { margin-bottom: 8px; font-size: 22px; color: #172033; }
#operate .card > p { max-width: 36em; line-height: 1.65; }
#operate .card ul { margin-top: 16px; }
#operate .card li {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(176, 198, 230, 0.55);
}
#operate .card li b { display: block; font-size: 14px; font-weight: 600; color: #1c283c; }
#operate .card li span {
  display: block;
  margin-top: 3px;
  color: #5c6b82;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.eyebrow { margin: 0 0 10px; color: var(--faint); font-size: 13px; letter-spacing: 0.08em; }
.bento { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: 28px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.card li span { color: var(--faint); text-align: right; }
.wide { grid-column: 1 / -1; }
.card.wide li { display: grid; grid-template-columns: 7em 1fr; }
.card.wide li span { text-align: left; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.role strong { display: block; margin-bottom: 8px; font-size: 18px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.value { padding: 8px 8px 0 0; }
.value strong { display: block; margin-bottom: 8px; font-size: 18px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }
#org .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
#org .pillars article {
  padding: 22px 20px 24px;
  border: 1px solid rgba(126, 166, 224, 0.35);
  border-radius: 18px;
  background: #f8fbff;
}
#org .pillars em {
  display: block;
  margin-bottom: 16px;
  color: #3d78e8;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
#org .pillars strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#org .pillars p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: none; white-space: nowrap; font-size: 13.25px; }

#org { padding-bottom: 28px; }
#faq { padding-top: 8px; padding-bottom: 28px; }
#contact {
  padding: 88px 0 104px;
  text-align: center;
  background: linear-gradient(180deg, #d9ecfc 0%, #e7f3ff 24%, #eef6ff 100%);
}
#contact .eyebrow { color: #5b6ec4; }
#contact h2 { max-width: 16em; margin-inline: auto; color: #1a165c; }
#contact .sub {
  max-width: 42em;
  margin: 18px auto 0;
  white-space: normal;
  color: #2a46c6;
  font-size: 16px;
  line-height: 1.75;
}
.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 40px auto 0;
  max-width: 32em;
}
.contact-panel img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(70, 110, 180, 0.14);
}
.contact-invite { margin: 2px 0 0; color: #2a46c6; font-size: 16px; font-weight: 500; }
.contact-meta { margin: 0; color: #3d52c0; font-size: 15px; line-height: 1.9; }
.contact-meta a { color: inherit; text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .menu.is-open { display: flex; }
  .nav { flex-direction: column; }
  .hero { height: auto; }
  .hero-sticky { position: static; height: auto; overflow: visible; padding-bottom: 28px; }
  .hero-copy { opacity: 1 !important; filter: none !important; pointer-events: auto !important; }
  .hero-stage { display: block; min-height: 320px; width: 100%; transform: none !important; }
  .hero-sats { display: none; }
  .slot-note { place-content: center; padding-top: 0; }
  .frame { border-bottom: 1px solid #e4e7ee; border-radius: 14px; }
  .story { height: auto; }
  .story-sticky { position: static; height: auto; display: block; padding-top: 0; }
  .beat { display: grid; gap: 16px; padding: 36px 0; }
  .step, .pane { grid-column: auto; grid-row: auto; opacity: 1 !important; transform: none !important; }
  .story-meta { display: none; }
  .pane .frame { height: auto; }
  .bento, .trio, .values, .stages, #org .pillars { grid-template-columns: 1fr; }
  #operate .bento { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .faq details p { white-space: normal; }
  #contact .sub { max-width: 22em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-sticky { position: static; height: auto; overflow: visible; }
  .hero-in, .hero .frame { animation: none; opacity: 1; filter: none; transform: none; }
  .hero.is-scrolled .hero-copy { opacity: 1; filter: none; pointer-events: auto; }
  .hero-stage { transform: none !important; }
  .hero-sats { display: none; }
  .story { height: auto; }
  .story-sticky { position: static; height: auto; display: block; }
  .beat { display: grid; gap: 16px; padding: 36px 0; }
  .step, .pane { grid-column: auto; grid-row: auto; opacity: 1 !important; transform: none !important; }
}
