:root {
  --ink: #102345;
  --ink-soft: #506481;
  --muted: #78869f;
  --paper: #f7f4ef;
  --paper-2: #fbfaf8;
  --surface: rgba(255, 255, 255, .78);
  --surface-strong: #ffffff;
  --line: rgba(65, 84, 126, .14);
  --line-strong: rgba(65, 84, 126, .22);
  --blue: #5a82e7;
  --blue-deep: #31599d;
  --violet: #9568df;
  --peach: #efb59e;
  --green: #3d8b70;
  --serif: Georgia, "Songti SC", STSong, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 82% 4%, rgba(146, 111, 222, .10), transparent 28%),
    radial-gradient(circle at 11% 23%, rgba(90, 130, 231, .07), transparent 23%),
    linear-gradient(180deg, #faf8f4 0%, #f7f5f3 58%, #faf9f6 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }

.site-shell { min-height: 100vh; }
.site-header,
.page-main,
.site-footer {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.site-header {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(90, 130, 231, .22);
  border-radius: 11px;
  color: var(--blue-deep);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(230,233,252,.7));
  box-shadow: 0 7px 22px rgba(45, 64, 112, .08);
}

.brand-mark img { width: 28px; height: 28px; }
.brand-copy { min-width: 0; }
.brand-name { display: block; font-size: 16px; font-weight: 760; letter-spacing: -.015em; }
.brand-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5f6e87;
  font-size: 13px;
  white-space: nowrap;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  transition: color .18s ease, background .18s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(88, 113, 178, .07); }

.page-main { padding: 0 0 88px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(46px, 6vw, 88px);
  padding: 84px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #72809b;
  font: 700 10px/1.3 var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
}
.hero h1 { font-size: clamp(72px, 8vw, 112px); line-height: .88; }
.page-hero h1 { font-size: clamp(52px, 6vw, 76px); line-height: .95; }

.hero-lead {
  margin: 34px 0 0;
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.hero-copy > p.hero-body,
.page-hero .hero-body {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background: linear-gradient(100deg, #4f7fe5 0%, #7877e7 52%, #9468dd 100%);
  box-shadow: 0 12px 30px rgba(84, 94, 207, .20);
}
.button-secondary {
  color: #43597f;
  border-color: var(--line-strong);
  background: rgba(255,255,255,.58);
}
.button-quiet { color: #536989; background: rgba(89, 113, 173, .07); }
.button.is-disabled,
.button[aria-disabled="true"] { opacity: .52; pointer-events: none; box-shadow: none; }

.hero-meta {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #8190aa;
  font: 600 10px/1.4 var(--mono);
  letter-spacing: .04em;
}
.hero-meta span::after { content: "·"; margin-left: 14px; color: #b1b8c6; }
.hero-meta span:last-child::after { display: none; }

.product-stage { position: relative; }
.product-stage::before {
  content: "";
  position: absolute;
  inset: 12% -8% -5% 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,130,231,.18), rgba(150,104,221,.08) 48%, transparent 72%);
  filter: blur(32px);
}

.product-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1919 / 1199;
  padding: 0;
  border: 1px solid rgba(67, 85, 126, .17);
  border-radius: 23px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 70px rgba(34, 48, 84, .14), 0 0 0 1px rgba(255,255,255,.58) inset;
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.product-shot-switcher { appearance: none; isolation: isolate; cursor: pointer; }
.product-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .34s ease, transform .44s cubic-bezier(.2,.7,.2,1);
}
.product-shot-light { opacity: 1; }
.product-shot-dark { opacity: 0; }
.product-shot-switcher.is-dark .product-shot-light { opacity: 0; }
.product-shot-switcher.is-dark .product-shot-dark { opacity: 1; }
.product-shot-switcher:focus-visible {
  outline: 3px solid rgba(90, 130, 231, .28);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .product-shot-switcher:hover .product-shot-light { opacity: 0; transform: scale(1.008); }
  .product-shot-switcher:hover .product-shot-dark { opacity: 1; transform: scale(1.008); }
}

.stage-caption { margin: 14px 6px 0; color: #8c98ac; font: 600 9px/1.45 var(--mono); text-align: right; }
.touch-caption { display: none; }

@media (hover: none) {
  .pointer-caption { display: none; }
  .touch-caption { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .product-shot { transition: none; }
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 760px; }
.section-kicker { margin: 0 0 12px; color: #7d89a1; font: 700 9px var(--mono); letter-spacing: .15em; }
.section h2,
.content-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}
.section h2 { font-size: clamp(38px, 4.3vw, 60px); line-height: 1.05; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }

.feature-trio { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.55);
}
.feature-index { color: #98a2b5; font: 700 9px var(--mono); letter-spacing: .12em; }
.feature h3 { margin: 34px 0 0; font-size: 19px; letter-spacing: -.02em; }
.feature p { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }

.split-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.split-copy { position: sticky; top: 32px; }
.split-stack { display: grid; gap: 16px; }
.stack-row {
  padding: 25px 0 25px 26px;
  border-left: 1px solid var(--line-strong);
}
.stack-row b { display: block; font-size: 18px; letter-spacing: -.015em; }
.stack-row p { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.stack-row small { display: block; margin-top: 12px; color: #8e99ab; font: 600 9px var(--mono); }

.callout {
  padding: 52px clamp(28px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  border: 1px solid rgba(74, 91, 133, .14);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 35%, rgba(236,184,158,.22), transparent 28%),
    radial-gradient(circle at 48% 5%, rgba(163,124,229,.18), transparent 34%),
    linear-gradient(120deg, #172d58, #203965 57%, #3b306c);
  box-shadow: 0 22px 50px rgba(32,48,88,.14);
}
.callout h2 { margin: 0; max-width: 780px; font: 500 clamp(30px, 3.5vw, 48px)/1.12 var(--serif); letter-spacing: -.035em; }
.callout p { margin: 12px 0 0; max-width: 720px; color: rgba(239,244,255,.68); font-size: 13px; line-height: 1.75; }
.callout .button-secondary { color: #f8faff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }

.page-hero { padding: 78px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero .hero-body { max-width: 760px; }

.content-grid { padding: 56px 0 0; display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 62px; align-items: start; }
.side-nav { position: sticky; top: 24px; display: grid; gap: 4px; }
.side-nav a { padding: 8px 0; color: #7b879d; font-size: 12px; }
.side-nav a:hover { color: var(--ink); }
.side-nav .side-label { margin-bottom: 8px; color: #a0a8b6; font: 700 8px var(--mono); letter-spacing: .14em; }

.content { min-width: 0; }
.content-section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.content-section:last-child { border-bottom: 0; }
.content-section h2 { margin: 0; font: 500 34px/1.12 var(--serif); letter-spacing: -.03em; }
.content-section h3 { margin: 27px 0 0; font-size: 17px; }
.content-section p,
.content-section li { color: var(--ink-soft); font-size: 14px; line-height: 1.82; }
.content-section p { margin: 14px 0 0; }
.content-section ul,
.content-section ol { margin: 14px 0 0; padding-left: 20px; }
.content-section li + li { margin-top: 7px; }

.notice {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(83, 105, 156, .15);
  border-radius: 13px;
  color: #596d8f;
  background: rgba(93, 126, 203, .06);
  font-size: 12px;
  line-height: 1.75;
}
.notice strong { color: #37568e; }

code {
  padding: 2px 5px;
  border-radius: 5px;
  color: #42587d;
  background: rgba(74, 96, 137, .07);
  font-family: var(--mono);
  font-size: .92em;
}
pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #dfe7f5;
  background: #172b50;
  font: 12px/1.7 var(--mono);
}
pre code { padding: 0; color: inherit; background: none; }

.download-main { padding-bottom: 0; }
.download-hero {
  min-height: calc(100svh - 207px);
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(500px, 1.16fr);
  align-items: center;
  gap: clamp(38px, 5vw, 68px);
  padding: clamp(26px, 4vh, 44px) 0;
}
.download-hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font: 500 clamp(48px, 5vw, 68px)/.94 var(--serif);
  letter-spacing: -.055em;
}
.download-hero-copy h1 span { display: block; }
.download-hero-copy h1 span:last-child { white-space: nowrap; }
.download-lead {
  margin: 20px 0 0;
  max-width: 560px;
  font: 500 clamp(22px, 2.2vw, 29px)/1.2 var(--serif);
  letter-spacing: -.03em;
}
.download-body {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.download-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.download-actions .button-primary { min-height: 54px; padding-inline: 24px; font-size: 14px; }
.download-meta-line { margin: 12px 0 0; color: #7c8aa2; font: 600 10px/1.5 var(--mono); }
.download-warning {
  max-width: 560px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #60708d;
  font-size: 11px;
  line-height: 1.65;
}
.download-warning > span {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #7c89a2;
  font: 700 11px var(--sans);
}
.download-warning p { margin: 0; }
.download-warning strong { color: #465a7c; }
.download-preview { position: relative; min-width: 0; }
.download-preview::before {
  content: "";
  position: absolute;
  inset: 12% 0 -5% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,130,231,.18), rgba(150,104,221,.08) 48%, transparent 72%);
  filter: blur(30px);
}
.download-preview-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 85, 126, .17);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(34, 48, 84, .14), 0 0 0 1px rgba(255,255,255,.62) inset;
}
.download-preview-frame img { width: 100%; height: auto; }
.download-preview > p { position: relative; margin: 12px 0 0; color: #7d89a0; text-align: right; font: 600 9px/1.4 var(--mono); }
.site-footer.download-footer { min-height: 96px; padding-block: 20px; }

.policy { max-width: 860px; padding-top: 54px; }
.policy-section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { margin: 0; font: 500 28px/1.15 var(--serif); letter-spacing: -.025em; }
.policy-section p,
.policy-section li { color: var(--ink-soft); font-size: 14px; line-height: 1.82; }
.policy-section p { margin: 12px 0 0; }
.policy-section ul { margin: 12px 0 0; padding-left: 20px; }

.site-footer {
  min-height: 160px;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: #77849b;
}
.footer-brand b { display: block; color: var(--ink); font-size: 13px; }
.footer-brand p { margin: 6px 0 0; font-size: 10px; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 11px; }
.footer-links a:hover { color: var(--ink); }
.footer-signature { margin-top: 6px; color: #8c96aa; font: 600 9px var(--mono); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; }
  .product-stage { width: min(100%, 720px); }
  .product-stage::before { right: 0; }
  .product-window { transform: none; }
  .split-section { grid-template-columns: 1fr; }
  .split-copy { position: static; }
  .feature-trio { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .callout { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .side-nav .side-label { width: 100%; }
  .download-hero { min-height: 0; grid-template-columns: 1fr; padding: 58px 0 64px; }
  .download-preview { width: min(100%, 720px); }
  .download-preview-frame { transform: none; }
}

@media (max-width: 720px) {
  .site-header,
  .page-main,
  .site-footer { width: min(calc(100% - 30px), 1180px); }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; gap: 14px; }
  .site-nav { width: 100%; overflow-x: auto; gap: 2px; padding-bottom: 2px; }
  .site-nav a { padding: 8px 9px; }
  .hero { padding: 54px 0 60px; gap: 42px; }
  .hero h1 { font-size: clamp(58px, 18vw, 84px); }
  .hero-lead { margin-top: 26px; font-size: 31px; }
  .section { padding: 68px 0; }
  .section h2 { font-size: 40px; }
  .download-hero { gap: 40px; padding: 46px 0 54px; }
  .download-hero-copy h1 { font-size: clamp(52px, 16vw, 74px); }
  .download-lead { font-size: 26px; }
  .download-actions { align-items: stretch; flex-direction: column; }
  .download-actions .button { width: 100%; }
  .download-preview > p { text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; min-height: 0; padding: 30px 0 46px; }
  .footer-links { justify-content: flex-start; }
}
