:root {
  color-scheme: light dark;
  --bg: #fcfcfd;
  --surface: #fff;
  --fill: #edf1f2;
  --fill-2: #f5f7f8;
  --ink: #12181a;
  --secondary: rgba(18, 24, 26, 0.64);
  --tertiary: rgba(18, 24, 26, 0.42);
  --separator: rgba(18, 24, 26, 0.11);
  --tint: #0c6e77;
  --tint-hover: #095860;
  --tint-soft: rgba(12, 110, 119, 0.1);
  --material: rgba(252, 252, 253, 0.82);
  --shadow: 0 40px 90px -45px rgba(12, 110, 119, 0.55), 0 24px 50px -34px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080b0c;
    --surface: #141a1b;
    --fill: #1b2324;
    --fill-2: #0f1516;
    --ink: #eef3f3;
    --secondary: rgba(238, 243, 243, 0.68);
    --tertiary: rgba(238, 243, 243, 0.44);
    --separator: rgba(238, 243, 243, 0.13);
    --tint: #2aa7b0;
    --tint-hover: #48c2ca;
    --tint-soft: rgba(42, 167, 176, 0.16);
    --material: rgba(8, 11, 12, 0.82);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tint); text-decoration: none; }
a:hover { color: var(--tint-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--tint) 45%, transparent); outline-offset: 3px; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--separator);
  background: var(--material);
  backdrop-filter: blur(20px) saturate(1.5);
}

.nav, .section, .footer-inner { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.nav { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: -0.4px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: var(--tint); color: #fff; }
.brand-mark img { width: 23px; height: 17px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 550; }
.nav-links a { color: var(--secondary); }
.button, .nav-links .button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 999px; background: var(--tint); color: #fff; font-weight: 650; }
.button:hover, .nav-links .button:hover { background: var(--tint-hover); color: #fff; }
.button.secondary { border: 1px solid var(--separator); background: var(--fill); color: var(--ink); }

.hero { padding-block: 88px 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--tint-soft); color: var(--tint); font-size: 13px; font-weight: 650; letter-spacing: .2px; }
h1 { max-width: 720px; margin: 22px 0 20px; font-size: clamp(44px, 6vw, 68px); line-height: .99; letter-spacing: -2.2px; text-wrap: balance; }
.hero-copy { max-width: 560px; margin: 0 0 32px; color: var(--secondary); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.aside-note { margin-top: 12px; color: var(--tertiary); font-size: 13px; }

.phone { width: min(318px, 100%); aspect-ratio: 300 / 640; margin-inline: auto; padding: 9px; border-radius: 48px; background: #090909; box-shadow: var(--shadow); }
.phone-screen { height: 100%; overflow: hidden; border-radius: 39px; background: var(--surface); }
.phone-photo { position: relative; height: 44%; background: radial-gradient(circle at 65% 34%, rgba(255,255,255,.24), transparent 15%), linear-gradient(145deg, #7e3424, #bd7049 48%, #213b3d); }
.phone-photo::before { content: ""; position: absolute; inset: 16% 12% 8%; border-radius: 50% 46% 42% 48%; background: radial-gradient(circle at 48% 42%, #d7b07b 0 9%, #752817 10% 22%, #9e3e24 23% 36%, #412319 37% 46%, transparent 47%), radial-gradient(circle at 62% 52%, #d9b680 0 8%, #6f281b 9% 25%, #9e4025 26% 38%, transparent 39%); filter: drop-shadow(0 18px 22px rgba(0,0,0,.33)); }
.dynamic-island { position: absolute; top: 12px; left: 50%; width: 96px; height: 28px; translate: -50%; border-radius: 16px; background: #000; }
.phone-content { padding: 19px 20px; }
.recipe-type { color: var(--tint); font-size: 10px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.recipe-title { margin-top: 7px; font-size: 23px; font-weight: 740; line-height: 1.08; letter-spacing: -.5px; }
.recipe-meta { display: flex; gap: 9px; margin: 10px 0 16px; color: var(--secondary); font-size: 12px; font-weight: 600; }
.segment { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 13px; padding: 2px; border-radius: 9px; background: var(--fill); font-size: 13px; font-weight: 620; text-align: center; }
.segment span { padding: 7px; color: var(--secondary); }
.segment .selected { border-radius: 7px; background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.09); }
.ingredient { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--separator); font-size: 13px; }
.ingredient:last-child { border: 0; }
.check { width: 19px; height: 19px; flex: none; border: 2px solid var(--tint); border-radius: 6px; }
.amount { margin-left: auto; color: var(--secondary); font-weight: 650; }

.platforms { padding-block: 12px 78px; display: flex; justify-content: center; gap: 30px; color: var(--tertiary); font-size: 14px; font-weight: 550; }
.platforms span + span::before { content: "·"; margin-right: 30px; }

.feature-band { border-block: 1px solid var(--separator); background: var(--fill-2); }
.feature-section { padding-block: 76px; }
.section-heading { max-width: 620px; margin-bottom: 42px; }
.kicker { color: var(--tint); font-size: 13px; font-weight: 720; letter-spacing: .8px; text-transform: uppercase; }
h2 { margin: 10px 0 13px; font-size: clamp(32px, 4vw, 42px); line-height: 1.06; letter-spacing: -1.2px; text-wrap: balance; }
.section-heading p { margin: 0; color: var(--secondary); font-size: 17px; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--separator); border-radius: 18px; background: var(--separator); gap: 1px; }
.feature-card { min-height: 210px; padding: 30px; background: var(--surface); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); font-size: 21px; font-weight: 750; }
.feature-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.3px; }
.feature-card p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.55; }

.privacy-callout { padding-block: 76px; display: grid; grid-template-columns: .7fr 1fr; gap: 70px; align-items: center; }
.privacy-symbol { width: 150px; height: 150px; display: grid; place-items: center; margin-inline: auto; border-radius: 42px; background: var(--tint-soft); color: var(--tint); font-size: 64px; }
.privacy-callout p { color: var(--secondary); font-size: 17px; line-height: 1.58; }

.closing { padding-block: 88px; text-align: center; }
.closing h2 { max-width: 620px; margin-inline: auto; }
.closing p { max-width: 500px; margin: 0 auto 26px; color: var(--secondary); font-size: 17px; line-height: 1.55; }

.site-footer { border-top: 1px solid var(--separator); background: var(--fill-2); }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--tertiary); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--secondary); }

.document { width: min(760px, calc(100% - 48px)); margin-inline: auto; padding-block: 70px 100px; }
.document h1 { margin-top: 12px; font-size: clamp(42px, 7vw, 58px); }
.updated { margin: -7px 0 42px; color: var(--tertiary); font-size: 14px; }
.document section { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--separator); }
.document h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.5px; }
.document p, .document li { color: var(--secondary); font-size: 16px; line-height: 1.68; }
.document li + li { margin-top: 9px; }
.document .summary { font-size: 18px; color: var(--ink); }

@media (max-width: 800px) {
  .nav, .section, .footer-inner { width: min(100% - 32px, 680px); }
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 62px; gap: 58px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .actions { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-inner { padding-block: 25px; flex-direction: column; justify-content: center; }
}

@media (max-width: 480px) {
  .button { width: 100%; }
  .platforms { gap: 12px; }
  .platforms span + span::before { margin-right: 12px; }
  .feature-card { padding: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

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