:root {
  --canvas: #f7f8fa;
  --ink: #111318;
  --secondary: #68707d;
  --blue: #0a84ff;
  --cyan: #66d7ff;
  --line: rgba(17, 19, 24, 0.08);
  --dark: #0d1118;
  --system: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--system); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(100% - 36px, 1210px); margin-inline: auto; }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 72%, rgba(102,215,255,.22), rgba(247,248,250,0) 58%), var(--canvas); }
.nav { position: relative; z-index: 2; top: 22px; width: 720px; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(255,255,255,.62); backdrop-filter: blur(22px) saturate(145%); box-shadow: 0 10px 30px rgba(17,19,24,.06); }
.brand { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--secondary); }
.nav-links a { position: relative; transition: color 180ms ease, transform 180ms ease; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.nav-links a:first-child { color: var(--ink); }
.nav-links a:hover { color: var(--ink); transform: translateY(-1px); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:active { transform: none; }
.nav-links a:focus-visible { color: var(--ink); outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 11px; padding: 14px 20px; font-size: 15px; line-height: 18px; font-weight: 600; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid rgba(17,19,24,.08); }
.button-dark:hover { background: #292d35; transform: translateY(-1px); }
.button-light:hover { background: white; border-color: rgba(17,19,24,.16); transform: translateY(-1px); }
.button:active { transform: scale(.98); }
.button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.apple-logo { display: block; width: 15px; height: 15px; flex: 0 0 15px; transform: translateY(-1.5px); }
.button-dark .apple-logo { filter: invert(1); }
.nav-download { padding: 10px 16px; font-size: 13px; line-height: 16px; }
.menu { display: none; width: 36px; height: 36px; padding: 0; color: white; background: var(--ink); border: 0; border-radius: 999px; font-size: 16px; }
.hero-copy { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; gap: 20px; padding-top: 86px; text-align: center; }
.announcement { display: flex; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--secondary); background: rgba(255,255,255,.7); font-size: 12px; line-height: 16px; }
.announcement b { color: #0874d1; }
.hero-logo { width: 92px; height: 92px; border-radius: 24px; filter: drop-shadow(0 14px 22px rgba(10,132,255,.22)); }
h1 { max-width: 930px; font-size: 74px; font-weight: 600; letter-spacing: -.055em; line-height: 76px; }
.hero-copy > p { max-width: 680px; color: var(--secondary); font-size: 19px; line-height: 29px; }
.actions { display: flex; gap: 11px; }
small { color: #8b929e; font-family: var(--mono); font-size: 11px; line-height: 14px; }
.media-stage { overflow: hidden; border: 1px solid rgba(255,255,255,.8); }
.media-stage > video, .media-stage > img, .scenario-video > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media { position: relative; left: 50%; width: 1210px; height: auto; aspect-ratio: 16 / 9; margin-top: 40px; transform: translateX(-50%); border-radius: 34px; background: radial-gradient(circle at 50% 0%, #d7f4ff 0%, #79bce8 44%, #315c8d 100%); box-shadow: 0 36px 90px rgba(33,69,116,.22); }
.trust { height: 112px; display: flex; align-items: center; justify-content: center; gap: 54px; padding: 44px 72px; border-block: 1px solid var(--line); background: white; font-size: 14px; line-height: 18px; }
.trust b { color: var(--secondary); font-size: 12px; line-height: 16px; letter-spacing: .02em; }
.trust i { width: 1px; height: 22px; background: var(--line); }
.feature { display: flex; align-items: center; flex-direction: column; gap: 54px; padding: 130px 72px; }
.structure { padding-bottom: 120px; }
.section-copy { display: flex; flex-direction: column; gap: 20px; width: 510px; }
.section-copy.centered { align-items: center; width: min(100%, 850px); gap: 18px; text-align: center; }
.eyebrow { color: var(--blue); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; }
.section-copy h2, .use-cases h2 { font-size: 58px; line-height: 62px; font-weight: 600; letter-spacing: -.045em; }
.section-copy p { color: var(--secondary); font-size: 18px; line-height: 28px; }
.centered p { max-width: 660px; }
.structure-media, .aggregate-media { width: min(100%, 1180px); height: 580px; border-radius: 30px; background: #0b0e14; box-shadow: 0 30px 72px rgba(17,19,24,.16); }
.structure-media { height: auto; aspect-ratio: 16 / 9; }
.split { display: flex; align-items: center; justify-content: center; gap: 100px; padding: 126px 110px; }
.dark { gap: 48px; padding-inline: 68px; color: white; background: var(--dark); }
.dark .eyebrow { color: var(--cyan); }
.dark .section-copy p { color: #aeb6c3; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 8px 11px; border-radius: 999px; color: #d8dde5; background: rgba(255,255,255,.08); font-size: 12px; line-height: 16px; }
.privacy-media { flex: 1; max-width: 740px; height: auto; aspect-ratio: 68 / 47; border-color: rgba(255,255,255,.1); border-radius: 30px; background: radial-gradient(circle at 50% 0%, #243b63 0%, #131925 70%); }
.aggregate { background: white; }
.aggregate-media { height: auto; aspect-ratio: 16 / 9; border-color: var(--line); background: radial-gradient(circle at 50% 0%, #dff4ff, #9dcae7 50%, #688bab); }
.native { gap: 86px; }
.native .section-copy { width: 480px; }
.native .section-copy h2 { font-size: 56px; line-height: 59px; }
.native ul { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; font-size: 14px; line-height: 18px; }
.settings-media { flex: 1; max-width: 654px; height: 500px; border: 0; border-radius: 30px; background: radial-gradient(circle at 50% 0%, #eef2f7, #d7dce3); box-shadow: 0 28px 64px rgba(17,19,24,.14); }
.use-cases { padding: 124px 110px 136px; background: white; }
.use-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 42px; }
.use-header > div:first-child { display: flex; flex-direction: column; gap: 16px; width: 720px; }
.use-cases h2 { font-size: 56px; line-height: 60px; }
.tabs { display: flex; padding: 4px; border-radius: 999px; background: #eef0f4; color: var(--secondary); font-size: 12px; }
.tabs button { padding: 9px 14px; border: 0; border-radius: 999px; color: var(--secondary); background: transparent; font: inherit; font-weight: 500; cursor: pointer; transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.tabs button:hover { color: var(--ink); }
.tabs button:active { transform: scale(.98); }
.tabs button[aria-selected="true"] { color: var(--ink); background: white; box-shadow: 0 1px 3px rgba(17,19,24,.08); }
.tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.scenario { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(560px, 1.28fr); min-height: 580px; overflow: hidden; border: 1px solid rgba(17,19,24,.07); border-radius: 30px; background: #f3f5f8; }
.scenario-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 58px 54px; }
.terminal { display: grid; flex: 0 0 56px; width: 56px; height: 56px; place-items: center; border-radius: 16px; color: var(--cyan); background: var(--ink); font-family: var(--mono); font-size: 20px; }
.terminal svg { width: 24px; height: 24px; }
.scenario-label { margin-top: 38px; color: var(--blue); font-size: 11px; line-height: 15px; font-weight: 600; letter-spacing: .08em; }
.scenario h3 { max-width: 470px; margin-top: 14px; font-size: 38px; line-height: 43px; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.scenario-copy > p { max-width: 480px; margin-top: 20px; color: var(--secondary); font-size: 16px; line-height: 26px; text-wrap: pretty; }
.scenario-outputs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.scenario-outputs span { padding: 8px 11px; border: 1px solid rgba(17,19,24,.08); border-radius: 9px; color: #4f5764; background: rgba(255,255,255,.72); font-size: 11px; line-height: 14px; font-weight: 500; }
.scenario-video { position: relative; min-height: 580px; overflow: hidden; border-left: 1px solid rgba(17,19,24,.07); background: radial-gradient(circle at 48% 12%, #eefaff 0%, #b9dcf2 48%, #7195b6 100%); }
.scenario-video > video { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; transition: opacity 180ms cubic-bezier(.22,1,.36,1); }
.scenario-video > video.is-active { z-index: 1; opacity: 1; }
.cta-wrap { padding: 96px 72px; }
.cta { min-height: 548px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 22px; padding: 72px; border-radius: 32px; color: white; text-align: center; background: radial-gradient(circle at 50% 0%, #66d7ff, #0a84ff 48%, #0754bf 100%); box-shadow: 0 30px 80px rgba(10,132,255,.24); }
.cta img { width: 104px; height: 104px; border-radius: 26px; filter: drop-shadow(0 14px 24px rgba(0,48,113,.26)); }
.cta .apple-logo { width: 15px; height: 15px; border-radius: 0; filter: none; }
.cta h2 { max-width: 800px; font-size: 60px; line-height: 63px; font-weight: 600; letter-spacing: -.05em; }
.cta p { color: #dceeff; font-size: 17px; line-height: 26px; }
.cta small { color: #c7e7ff; }
footer { display: flex; align-items: center; justify-content: space-between; padding: 30px 72px 42px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; color: var(--secondary); }
.footer-brand, .footer-links { display: flex; align-items: center; gap: 9px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand strong { color: var(--ink); font-size: 14px; }
.footer-links { gap: 26px; }

@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .hero { height: auto; }
  .nav { top: 0; width: 100%; height: 59px; padding: 8px 18px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--canvas); backdrop-filter: none; box-shadow: none; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-links, .nav-download { display: none; }
  .menu { display: block; }
  .hero-copy { gap: 18px; padding-top: 46px; }
  .announcement { padding: 6px 9px; font-size: 10px; line-height: 12px; }
  .announcement b, .announcement span:last-child { display: none; }
  .announcement span:first-of-type::before { content: "New · "; }
  .announcement span:first-of-type { font-size: 0; }
  .announcement span:first-of-type::after { content: "Aggregate Mode"; font-size: 10px; }
  .hero-logo { width: 78px; height: 78px; border-radius: 20px; }
  h1 { font-size: 46px; line-height: 47px; }
  .hero-copy > p { font-size: 16px; line-height: 24px; }
  .actions { width: 100%; }
  .actions .button { width: 100%; }
  .actions .button-light { display: none; }
  small { font-size: 9px; line-height: 12px; text-align: center; }
  .hero-media { position: relative; bottom: auto; width: calc(100% - 36px); height: 430px; margin-top: 32px; border-radius: 24px; }
  .trust, .native { display: none; }
  .feature, .split { display: flex; align-items: stretch; flex-direction: column; gap: 26px; padding: 70px 18px; }
  .section-copy, .section-copy.centered { align-items: flex-start; width: 100%; gap: 12px; text-align: left; }
  .eyebrow { font-size: 10px; line-height: 12px; }
  .section-copy h2 { font-size: 38px; line-height: 40px; }
  .section-copy p { font-size: 15px; line-height: 23px; }
  .structure-media { height: auto; aspect-ratio: 808 / 1080; border-radius: 20px; }
  .privacy-media { width: 100%; height: 135px; border-radius: 20px; }
  .aggregate { background: white; }
  .aggregate-media { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #eaf4fb; }
  .use-cases { display: block; padding: 70px 18px 76px; }
  .use-header { align-items: flex-start; flex-direction: column; gap: 26px; margin-bottom: 26px; }
  .use-header > div:first-child { width: 100%; gap: 12px; }
  .use-cases h2 { font-size: 38px; line-height: 40px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding-inline: 8px; }
  .scenario { display: flex; min-height: 0; flex-direction: column; border-radius: 20px; }
  .scenario-copy { min-height: 410px; padding: 32px 26px 36px; }
  .scenario-label { margin-top: 26px; font-size: 9px; line-height: 12px; }
  .scenario h3 { margin-top: 10px; font-size: 30px; line-height: 34px; }
  .scenario-copy > p { margin-top: 16px; font-size: 14px; line-height: 22px; }
  .scenario-outputs { margin-top: 24px; }
  .scenario-video { min-height: 310px; border-top: 1px solid rgba(17,19,24,.07); border-left: 0; }
  .cta-wrap { padding: 34px 18px 58px; }
  .cta { min-height: 335px; gap: 17px; padding: 38px 24px; border-radius: 24px; }
  .cta img { width: 80px; height: 80px; border-radius: 20px; }
  .cta .apple-logo { width: 15px; height: 15px; border-radius: 0; }
  .cta h2 { font-size: 35px; line-height: 37px; }
  .cta p { display: none; }
  .cta .button { width: 100%; padding: 13px 16px; font-size: 13px; line-height: 16px; }
  footer { flex-direction: column; gap: 14px; padding: 28px 18px 38px; }
  .footer-brand span { display: none; }
  .footer-links { gap: 18px; font-size: 10px; line-height: 12px; }
  .footer-links span { position: absolute; margin-top: 52px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-links a, .nav-links a::after { transition: none; }
  .scenario-video > video { transition: none; }
  .button:hover, .button:active, .nav-links a:hover, .nav-links a:active { transform: none; }
}
