:root {
  color-scheme: light dark;
  --ink: #08111c;
  --ink-soft: #121d2b;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --text: #13161c;
  --muted: #4f5663;
  --line: #d1d7df;
  --blue: #0066cc;
  --blue-bright: #1688ff;
  --green: #30d158;
  --yellow: #ffd60a;
  --pink: #ff375f;
  --max: 1180px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; color: #fff; font-size: 82px; font-weight: 820; line-height: .96; }
h2 { margin-bottom: 22px; font-size: 54px; font-weight: 800; line-height: 1.04; }
h3 { margin-bottom: 10px; font-size: 26px; line-height: 1.15; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: #fff; color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.hero { position: relative; min-height: 820px; height: 94svh; max-height: 980px; overflow: hidden; background: var(--ink); }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(4, 9, 16, .78) 0%, rgba(4, 9, 16, .51) 45%, rgba(4, 9, 16, .16) 76%, rgba(4, 9, 16, .28) 100%); }
.site-nav { position: relative; z-index: 5; display: flex; min-height: 88px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 750; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .site-footer a { color: #fff; font-size: 15px; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .site-footer a:hover, .legal-links a:hover { color: #66adff; }
.hero-content { position: relative; z-index: 3; display: flex; min-height: calc(100% - 88px); align-items: center; padding: 28px 0 110px; }
.hero-copy { position: relative; z-index: 2; width: min(650px, 61%); text-shadow: 0 2px 22px rgba(0,0,0,.58); }
.eyebrow { margin: 0 0 16px; color: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.hero .eyebrow { color: #fff; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.green { color: #0a7b31; }
.eyebrow.yellow { color: #8a6400; }
.hero-lede { max-width: 620px; margin-bottom: 30px; color: #fff; font-size: 23px; font-weight: 560; line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 20px; }
.app-store-badge { display: block; flex: 0 0 auto; line-height: 0; }
.app-store-badge img { width: auto; height: 54px; }
.app-store-badge:focus-visible { border-radius: 7px; outline: 3px solid #66adff; outline-offset: 4px; }
.text-link { color: #fff; font-size: 16px; font-weight: 750; text-underline-offset: 5px; }
.hero-note { margin: 0; color: #fff; font-size: 14px; font-weight: 600; }
.phone-frame { overflow: hidden; margin: 0; border: 8px solid #20242c; border-radius: 42px; background: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.34); }
.phone-frame img { width: 100%; height: auto; }
.hero-phone { position: absolute; top: 30px; right: 20px; width: 288px; transform: rotate(2deg); box-shadow: 0 34px 90px rgba(0,0,0,.58); }
.next-hint { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 72px; background: rgba(8,17,28,.82); color: #fff; text-decoration: none; backdrop-filter: blur(18px); }
.next-hint span { color: #b9c1cb; }

.section { padding: 112px 0; }
.section-heading { max-width: 760px; }
.section-heading > p:last-child, .showcase-copy > p { color: var(--muted); font-size: 20px; }
.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin: 64px 0 0; padding: 0; list-style: none; }
.step-number { display: inline-flex; width: 44px; height: 44px; margin-bottom: 24px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-weight: 800; }
.process-grid p { color: var(--muted); }

.showcase-grid, .wear-grid { display: grid; grid-template-columns: minmax(280px, 430px) minmax(0, 1fr); align-items: center; gap: 108px; }
.showcase-copy { max-width: 590px; }
.phone-large { width: min(100%, 360px); justify-self: center; }
.phone-light { border-color: #d9dee6; background: #fff; box-shadow: 0 28px 78px rgba(25,39,58,.18); }
.rotation-band { background: #fff; }
.feature-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 32px; color: var(--text); font-weight: 630; }
.feature-list li::before { position: absolute; top: 2px; left: 0; content: "✓"; color: var(--green); font-weight: 900; }

.wear-band { background: #e9f3ff; }
.wear-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); }
.wear-copy { justify-self: end; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid #b9cde3; border-bottom: 1px solid #b9cde3; }
.metric-row div { padding: 20px 14px; }
.metric-row div + div { border-left: 1px solid #b9cde3; }
.metric-row strong, .metric-row span { display: block; }
.metric-row strong { color: var(--blue); font-size: 23px; }
.metric-row span { color: var(--muted); font-size: 13px; }
.supporting-copy { margin-top: 22px; font-size: 14px !important; }

.detail-band { background: var(--ink-soft); color: #fff; }
.detail-grid { grid-template-columns: minmax(280px, 430px) minmax(0, 1fr); }
.detail-band .showcase-copy > p { color: #b8c0cb; }
.detail-band .eyebrow { color: #66adff; }
.feature-list-dark li { color: #fff; }

.principles { background: var(--paper); }
.compact-heading { margin-bottom: 54px; }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.principles-grid article { padding: 24px 4px 0; border-top: 2px solid var(--line); }
.principles-grid article > span { display: inline-flex; width: 42px; height: 42px; margin-bottom: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #e2effd; color: var(--blue); font-size: 20px; font-weight: 800; }
.principles-grid p { color: var(--muted); }

.privacy-band { background: #eaf8ef; }
.privacy-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.privacy-points { display: grid; gap: 24px; }
.privacy-points p { margin: 0; padding-bottom: 24px; border-bottom: 1px solid #badbc5; color: #294234; }
.privacy-points strong { color: #0a5927; }
.legal-links { display: flex; flex-wrap: wrap; gap: 24px; }
.legal-links a { color: #075e29; font-weight: 750; text-underline-offset: 5px; }

.closing { background: #fff; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-inner > img { margin-bottom: 28px; border-radius: 25%; box-shadow: 0 18px 36px rgba(0,42,84,.17); }
.closing h2 { max-width: 780px; }
.site-footer { padding: 48px 0; background: var(--ink); color: #fff; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; }
.footer-meta { max-width: 520px; color: #aeb8c5; font-size: 14px; }
.footer-meta p { margin-bottom: 8px; }
.site-footer nav { display: flex; gap: 20px; }
.store-attribution { font-size: 12px; }

.document-page { background: var(--paper); }
.document-page .site-nav { background: var(--ink); }
.document-main { width: min(calc(100% - 48px), 850px); margin: 0 auto; padding: 84px 0 112px; }
.document-main h1 { color: var(--text); font-size: 58px; }
.document-main h2 { margin-top: 56px; font-size: 31px; }
.document-main h3 { margin-top: 30px; font-size: 21px; }
.document-main p, .document-main li { color: var(--muted); }
.document-main a { color: var(--blue); }
.document-date { margin-bottom: 38px; }
.document-summary { margin: 40px 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.document-summary h2 { margin-top: 0; }
.support-actions { margin: 32px 0 48px; }
.support-button { display: inline-flex; min-height: 52px; padding: 0 22px; align-items: center; border-radius: 15px; background: var(--blue); color: #fff !important; font-weight: 750; text-decoration: none; }
.document-footer { border-top: 1px solid var(--line); }

@media (max-width: 940px) {
  .hero-copy { width: min(590px, 70%); }
  h1 { font-size: 68px; }
  h2 { font-size: 45px; }
  .hero-phone { right: -82px; opacity: .82; }
  .showcase-grid, .wear-grid { gap: 58px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
}

@media (max-width: 720px) {
  .page-shell, .document-main { width: min(calc(100% - 32px), var(--max)); }
  .site-nav { min-height: 72px; }
  .brand span { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .hero { min-height: 800px; height: 94svh; }
  .hero-photo { object-position: 63% center; }
  .hero-shade { background: rgba(4,9,16,.62); }
  .hero-content { align-items: flex-start; padding-top: 54px; padding-bottom: 96px; }
  .hero-copy { width: 100%; }
  h1 { font-size: 53px; }
  h2 { font-size: 38px; }
  .hero-lede { max-width: 520px; font-size: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-phone { top: auto; right: -38px; bottom: -310px; width: 226px; opacity: .58; }
  .next-hint { flex-direction: column; align-items: flex-start; gap: 0; padding: 11px 20px; font-size: 14px; }
  .section { padding: 82px 0; }
  .process-grid, .showcase-grid, .wear-grid, .privacy-layout { grid-template-columns: 1fr; gap: 58px; }
  .process-grid { gap: 38px; margin-top: 48px; }
  .wear-grid .wear-copy { order: 1; }
  .wear-grid .phone-large { order: 2; }
  .phone-large { width: min(100%, 360px); }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row div + div { border-top: 1px solid #b9cde3; border-left: 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-brand span { display: inline; }
  .document-main { padding: 58px 0 84px; }
  .document-main h1 { font-size: 44px; }
}

@media (prefers-color-scheme: dark) {
  .document-page { --paper: #09090e; --surface: #17171d; --text: #fff; --muted: #a0a0aa; --line: #2e2e37; }
  .document-page .document-summary { background: #17171d; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
