:root {
  --brand: #018b8d;
  --brand-dark: #006f72;
  --brand-soft: #e8f7f6;
  --accent: #6ecc54;
  --ink: #102a36;
  --text: #38505b;
  --muted: #6f838b;
  --line: #dce9e8;
  --paper: #ffffff;
  --wash: #f4f9f8;
  --navy: #0b3868;
  --shadow: 0 24px 70px rgba(16, 42, 54, .12);
  --radius: 28px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,233,232,.85);
  backdrop-filter: blur(18px);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand span { font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #506772; font-size: 15px; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-dark); }
.nav-links .nav-cta { padding: 9px 18px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand-dark); font-weight: 700; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--wash); color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: linear-gradient(160deg, #f8fcfb 0%, #eef8f7 50%, #fff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero::before { width: 480px; height: 480px; right: -180px; top: -220px; background: rgba(1,139,141,.10); }
.hero::after { width: 360px; height: 360px; left: -210px; bottom: -180px; background: rgba(110,204,84,.08); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 750; font-size: 14px; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { max-width: 700px; margin: 20px 0 22px; font-size: clamp(44px, 5.2vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-copy { max-width: 650px; margin: 0; color: var(--text); font-size: clamp(17px, 1.8vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(1,139,141,.22); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { color: var(--brand-dark); background: #fff; border-color: #c9dfde; }
.button.ghost { color: var(--brand-dark); padding-inline: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 0; padding: 0; list-style: none; color: #557078; font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-dark); background: var(--brand-soft); font-weight: 900; }

.device-stage { position: relative; min-height: 590px; display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 82vw); padding: 9px; background: #10242c; border-radius: 42px; box-shadow: 0 38px 80px rgba(10,41,50,.25); transform: rotate(1.5deg); }
.phone::before { content: ""; position: absolute; width: 92px; height: 24px; left: 50%; top: 15px; transform: translateX(-50%); background: #10242c; border-radius: 0 0 18px 18px; z-index: 2; }
.phone img { width: 100%; aspect-ratio: 1280/2728; object-fit: cover; border-radius: 34px; }
.proof-chip { position: absolute; right: 0; bottom: 80px; width: 220px; padding: 18px; background: rgba(255,255,255,.94); border: 1px solid #d7e9e7; border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.proof-chip strong { display: block; color: var(--brand-dark); font-size: 16px; }
.proof-chip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; color: var(--brand-dark); font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: 100px 0; }
.section.soft { background: var(--wash); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading .kicker { color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--text); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 270px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(16,42,54,.08); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 16px; color: var(--brand-dark); background: var(--brand-soft); }
.icon-box svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--text); font-size: 15px; }

.story { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.story.reverse { grid-template-columns: 1.1fr .9fr; }
.story.reverse .story-media { order: 2; }
.story-media { position: relative; }
.media-card { overflow: hidden; padding: 16px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.media-card.phone-shot { width: min(390px, 100%); margin-inline: auto; }
.media-card.phone-shot img { border-radius: 20px; max-height: 680px; width: 100%; object-fit: cover; object-position: top; }
.media-card.report { padding: 12px; }
.media-card.report img { border-radius: 22px; }
.story-copy .kicker { color: var(--brand); font-weight: 800; }
.story-copy h2 { margin: 12px 0 18px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.22; letter-spacing: -.035em; }
.story-copy > p { color: var(--text); font-size: 18px; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 34px; color: #405b65; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 13px; font-weight: 900; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; counter-increment: step; }
.flow-step::before { content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--brand); font-size: 14px; font-weight: 900; letter-spacing: .1em; }
.flow-step h3 { margin: 0 0 8px; font-size: 20px; }
.flow-step p { margin: 0; color: var(--text); font-size: 14px; }

.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scenario { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.scenario small { color: var(--brand); font-weight: 800; letter-spacing: .08em; }
.scenario h3 { margin: 10px 0 10px; font-size: 24px; }
.scenario p { margin: 0; color: var(--text); }

.cta-panel { position: relative; overflow: hidden; padding: 58px; color: #fff; background: var(--ink); border-radius: 34px; }
.cta-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -180px; border-radius: 50%; background: rgba(1,139,141,.42); }
.cta-content { position: relative; z-index: 1; max-width: 680px; }
.cta-content h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.cta-content p { margin: 0 0 28px; color: rgba(255,255,255,.72); font-size: 17px; }
.cta-panel .button.primary { background: #fff; color: var(--brand-dark); box-shadow: none; }

.page-hero { padding: 78px 0 64px; background: linear-gradient(150deg, #f7fcfb, #eef8f7); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 760px; margin: 0 0 16px; font-size: clamp(40px, 5vw, 64px); line-height: 1.14; letter-spacing: -.045em; }
.page-hero p { max-width: 760px; margin: 0; color: var(--text); font-size: 18px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.content-card h2, .content-card h3 { margin-top: 0; }
.content-card p { color: var(--text); }
.fact-list { margin: 0; padding-left: 20px; color: var(--text); }
.fact-list li { margin: 8px 0; }
.status-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.status-dot { width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px rgba(110,204,84,.14); }
.status-card h3 { margin: 0 0 5px; }
.status-card p { margin: 0; color: var(--text); }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); gap: 58px; align-items: start; }
.legal-aside { position: sticky; top: 106px; padding: 22px; background: var(--wash); border: 1px solid var(--line); border-radius: 20px; }
.legal-aside strong { display: block; margin-bottom: 8px; }
.legal-aside p { margin: 4px 0; color: var(--muted); font-size: 13px; }
.legal-aside a { display: block; margin-top: 14px; color: var(--brand-dark); font-weight: 700; }
.legal { min-width: 0; }
.legal h1 { margin-top: 0; font-size: 40px; line-height: 1.2; }
.legal .meta { margin-bottom: 26px; color: var(--muted); }
.legal .lead { padding: 22px; margin-bottom: 32px; border: 1px solid #bfe1df; border-radius: 18px; background: var(--brand-soft); color: #244a52; }
.legal section { margin-bottom: 34px; scroll-margin-top: 100px; }
.legal h2 { margin: 0 0 12px; font-size: 23px; }
.legal p, .legal li { color: #405963; line-height: 1.9; }
.legal ol, .legal ul { padding-left: 22px; }
.legal .sdk-card { padding: 20px; margin: 14px 0; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfd; }
.legal .sdk-card h3 { margin: 0 0 8px; font-size: 18px; }
.legal .sdk-card p { margin: 6px 0; font-size: 14px; }
.legal .sdk-card b { color: var(--ink); }
.legal a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 64px 0 22px; color: rgba(255,255,255,.74); background: #0e252e; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 450px; margin: 18px 0 0; }
.footer-col h3 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .story, .story.reverse { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .hero-copy { max-width: 720px; }
  .device-stage { min-height: 560px; }
  .proof-chip { right: 6%; }
  .feature-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .story.reverse .story-media { order: 0; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-aside { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 68px; }
  .brand span { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 10px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(16,42,54,.12); transform: translateY(-130%); transition: transform .25s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 5px; }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; }
  .hero { padding: 60px 0 52px; }
  .hero h1 { font-size: 45px; }
  .device-stage { min-height: 520px; }
  .phone { width: 290px; }
  .proof-chip { width: 200px; right: -2px; bottom: 55px; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .feature-grid, .flow, .scenario-grid, .content-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .story { gap: 38px; }
  .cta-panel { padding: 38px 26px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal h1 { font-size: 32px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 39px; }
  .hero-actions .button { width: 100%; }
  .device-stage { min-height: 500px; }
  .phone { width: 265px; }
  .proof-chip { right: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
