@font-face {
  font-family: "Baloo 2";
  src: url("/assets/baloo-2.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  --ink: #080b22;
  --ink-soft: #111633;
  --panel: #171a3c;
  --cream: #fff3d7;
  --muted: #b8bdd5;
  --gold: #ffc344;
  --gold-deep: #dd841f;
  --coral: #f2694b;
  --aqua: #5ed9eb;
  --green: #76c840;
  --line: rgba(255, 218, 132, 0.22);
  --shell: min(1180px, calc(100% - 40px));
  --display: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 16%, rgba(86, 52, 132, 0.17), transparent 30rem),
    var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 112px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 12px 18px; border-radius: 10px; color: var(--ink); background: var(--cream); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 0;
  min-height: 72px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background .25s, border-color .25s, backdrop-filter .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(8, 11, 34, .84); border-color: var(--line); backdrop-filter: blur(18px); box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 800 1.35rem/1 var(--display); letter-spacing: -.03em; }
.brand img { border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: #d8d9e7; font-weight: 700; font-size: .92rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--cream); background: rgba(255,255,255,.07); outline: none; }
.site-nav .nav-cta { margin-left: 4px; color: var(--ink); background: var(--gold); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: var(--ink); background: #ffd269; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--cream); }

.hero { position: relative; min-height: 900px; padding-top: 150px; isolation: isolate; overflow: hidden; }
.hero-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 760px; object-fit: cover; object-position: center; filter: saturate(.9); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,9,30,.98) 4%, rgba(7,9,30,.88) 42%, rgba(7,9,30,.3) 72%, rgba(7,9,30,.56)), linear-gradient(0deg, var(--ink) 7%, transparent 46%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 530px 0 auto; height: 270px; background: linear-gradient(180deg, transparent, var(--ink)); }
.hero-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: 70px; align-items: center; }
.hero-copy { padding-bottom: 70px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 900; }
.eyebrow span { width: 34px; height: 3px; border-radius: 4px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { max-width: 700px; margin-bottom: 16px; font-size: clamp(4.3rem, 8vw, 7.4rem); line-height: .82; letter-spacing: -.065em; text-wrap: balance; text-shadow: 0 6px 0 rgba(0,0,0,.18); }
h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 610px; color: #d0d2df; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.65; }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#download { scroll-margin-block: 28vh; }
.store-button { min-width: 188px; min-height: 60px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(255,216,125,.56); border-radius: 15px; color: #fff; background: rgba(5,6,17,.82); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 10px 24px rgba(0,0,0,.2); transition: transform .2s, border-color .2s, background .2s; }
.store-button:hover, .store-button:focus-visible { transform: translateY(-3px); border-color: var(--gold); background: #111426; outline: 3px solid rgba(255,195,68,.25); }
.store-button small, .store-button strong { display: block; line-height: 1.05; }
.store-button small { margin-bottom: 4px; font-size: .63rem; letter-spacing: .04em; }
.store-button strong { font-size: 1.17rem; }
.store-icon { width: 28px; text-align: center; font-size: 1.75rem; line-height: 1; }
.store-icon.google { color: var(--aqua); text-shadow: 5px 0 var(--green), -3px 0 var(--gold); }
.store-icon.apple { color: #fff; }
.store-note { margin: 14px 0 0; color: #9ca1bc; font-size: .82rem; }
.hero-phone-wrap { position: relative; width: min(440px, 100%); margin-inline: auto; padding: 14px; }
.hero-phone-wrap::before { content: ""; position: absolute; inset: 12% -20% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255,179,55,.28), transparent 66%); filter: blur(20px); }
.phone-frame { position: relative; aspect-ratio: 9 / 16; padding: 13px; border: 4px solid #d88a25; border-radius: 48px; background: #080916; box-shadow: 0 0 0 3px #ffe19a, 0 36px 80px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.18); overflow: hidden; transform: rotate(2deg); }
.phone-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 34px; }
.phone-speaker { position: absolute; z-index: 2; top: 20px; left: 50%; width: 86px; height: 16px; transform: translateX(-50%); border-radius: 20px; background: #070811; box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.device-shot { position: relative; aspect-ratio: 9 / 16; padding: 14px 7px 7px; border: 3px solid #d88a25; border-radius: 26px; background: #080916; box-shadow: 0 0 0 2px #ffe19a, 0 18px 36px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.18); overflow: hidden; transition: transform .35s ease; }
.device-shot::before { content: ""; position: absolute; z-index: 2; top: 5px; left: 50%; width: 24%; height: 5px; transform: translateX(-50%); border-radius: 10px; background: #050611; }
.device-shot img { width: 100%; height: 100%; border-radius: 18px; background: #080916; object-fit: contain; }
.device-shot--step { height: 330px; }
.device-shot--feature { height: 610px; }
.device-shot--gallery { height: 270px; margin: 14px auto 0; }
.orbit { position: absolute; z-index: 3; display: grid; place-items: center; width: 62px; aspect-ratio: 1; border: 3px solid var(--gold); border-radius: 50%; background: var(--ink-soft); box-shadow: 0 12px 28px rgba(0,0,0,.42); font-size: 1.75rem; }
.orbit-one { right: -14px; top: 22%; animation: float 4s ease-in-out infinite; }
.orbit-two { left: -18px; bottom: 20%; animation: float 4.5s .6s ease-in-out infinite; }
.hero-stats { position: relative; z-index: 2; margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; background: rgba(18,22,52,.88); box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; }
.hero-stats div { padding: 22px 28px; display: flex; align-items: baseline; gap: 12px; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats strong { color: var(--gold); font: 800 2rem/1 var(--display); }
.hero-stats span { color: #c5c8d8; font-size: .9rem; }

.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading h2, .feature-copy h2, .final-cta h2 { margin-bottom: 15px; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.section-heading > p:last-child, .feature-copy > p, .final-cta p { color: var(--muted); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(29,33,73,.95), rgba(15,18,44,.96)); overflow: hidden; box-shadow: 0 24px 54px rgba(0,0,0,.22); }
.step-number { position: absolute; z-index: 2; top: 16px; left: 16px; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: var(--ink); background: var(--gold); font: 800 1rem/1 var(--display); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.step-image { height: 370px; padding: 20px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 42%, rgba(255,195,68,.12), transparent 54%), #0c0e26; }
.step-card:hover .device-shot { transform: translateY(-5px); }
.step-copy { padding: 24px 24px 28px; }
.step-copy h3 { margin-bottom: 7px; font-size: 1.75rem; line-height: 1.1; }
.step-copy p { margin: 0; color: var(--muted); font-size: .94rem; }

.feature-band { position: relative; background: #0e1230; border-block: 1px solid rgba(255,255,255,.055); overflow: hidden; }
.feature-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border: 80px solid rgba(255,195,68,.055); border-radius: 50%; }
.feature-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.feature-copy > p { max-width: 570px; }
.feature-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 15px 18px; display: grid; grid-template-columns: 125px 1fr; gap: 14px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.035); }
.feature-list b { color: var(--cream); }
.feature-list span { color: var(--muted); font-size: .9rem; }
.feature-visual { position: relative; min-height: 640px; }
.feature-card { position: absolute; border-radius: 30px; border: 1px solid rgba(255,224,151,.3); box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; }
.feature-card-front { z-index: 2; width: min(380px, 70%); height: 610px; right: 10%; top: 0; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; transform: rotate(3deg); }
.feature-card-back { left: 2%; bottom: 30px; width: 290px; height: 220px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #e88b2a, #b4492e); transform: rotate(-8deg); }
.feature-card-back::before { content: "?"; position: absolute; top: 12px; right: 26px; color: rgba(255,255,255,.24); font: 800 6rem/1 var(--display); }
.feature-card-back span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.feature-card-back strong { font: 800 1.8rem/1.1 var(--display); }
.ingredient-chip { position: absolute; z-index: 3; width: 72px; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--gold); border-radius: 50%; background: #181a38; box-shadow: 0 15px 32px rgba(0,0,0,.36); font-size: 2rem; }
.chip-tomato { right: 0; top: 20%; }
.chip-onion { left: 12%; top: 16%; }

.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; }
.split-heading p:last-child { margin-bottom: 8px; }
.screenshot-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screenshot-rail figure { position: relative; isolation: isolate; margin: 0; min-width: 0; border: 1px solid rgba(255,225,159,.22); border-radius: 24px; background: #121631; box-shadow: 0 24px 55px rgba(0,0,0,.28); overflow: hidden; transition: transform .28s, border-color .28s, box-shadow .28s; }
.screenshot-rail figure::before { content: ""; position: absolute; z-index: -1; inset: -28px; background: linear-gradient(rgba(8,11,34,.38), rgba(8,11,34,.72)), var(--card-image) center / cover; filter: blur(18px) saturate(.75); opacity: .48; }
.screenshot-rail figure:hover { transform: translateY(-6px); border-color: rgba(255,195,68,.7); box-shadow: 0 30px 60px rgba(0,0,0,.38); }
.screenshot-rail figure:hover .device-shot { transform: translateY(-3px); }
.screenshot-rail figcaption { position: relative; padding: 16px 20px 18px; color: var(--cream); background: rgba(13,16,40,.88); border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); font: 700 1.15rem/1 var(--display); text-align: center; }

.final-cta { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.final-cta > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,11,34,.95), rgba(8,11,34,.72) 58%, rgba(8,11,34,.38)), linear-gradient(0deg, var(--ink), transparent 30%, transparent 75%, var(--ink)); }
.final-cta-content { padding-right: 38%; }
.final-cta-content > p { max-width: 620px; }
.site-footer { border-top: 1px solid var(--line); background: #07091d; }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; color: #8f95b0; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.footer-links a { color: #c9cada; font-size: .87rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold); }

.has-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .screenshot-rail .reveal:nth-child(2) { transition-delay: .09s; }
.steps .reveal:nth-child(3), .screenshot-rail .reveal:nth-child(3) { transition-delay: .18s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .section { padding-block: 84px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-backdrop { height: 650px; object-position: 32% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,9,30,.98), rgba(7,9,30,.78)), linear-gradient(0deg, var(--ink) 8%, transparent 42%); }
  .hero-content { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { padding-bottom: 0; }
  .hero-phone-wrap { width: min(380px, 80vw); }
  .hero-stats { margin-top: 70px; }
  .hero-stats div { padding: 18px; flex-direction: column; gap: 4px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { display: grid; grid-template-columns: 42% 1fr; min-height: 330px; }
  .step-image { height: 100%; min-height: 350px; }
  .device-shot--step { height: 310px; }
  .step-copy { align-self: center; }
  .feature-layout { grid-template-columns: 1fr; gap: 55px; }
  .feature-visual { width: min(600px, 100%); margin-inline: auto; }
  .split-heading { grid-template-columns: 1fr; gap: 0; }
  .screenshot-rail { gap: 16px; }
  .final-cta-content { padding-right: 20%; }
  .footer-inner { padding-block: 30px; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; min-height: 62px; }
  .brand span { font-size: 1.08rem; }
  .brand img { width: 42px; height: 42px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; display: none; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,11,34,.97); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px; }
  .site-nav .nav-cta { margin: 0; text-align: center; }
  .hero { padding-top: 112px; }
  .hero-backdrop { height: 570px; }
  h1 { font-size: clamp(3.6rem, 19vw, 5.5rem); }
  .hero-lead { font-size: .98rem; }
  .store-actions { flex-direction: column; align-items: stretch; }
  .store-button { width: 100%; justify-content: center; }
  .hero-phone-wrap { width: min(330px, 82vw); margin-top: 24px; }
  .orbit { width: 52px; font-size: 1.4rem; }
  .hero-stats { grid-template-columns: 1fr; margin-top: 55px; }
  .hero-stats div { flex-direction: row; align-items: center; padding: 15px 20px; }
  .hero-stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats strong { min-width: 75px; font-size: 1.65rem; }
  .section-heading h2, .feature-copy h2, .final-cta h2 { font-size: 2.75rem; }
  .step-card { display: block; min-height: auto; }
  .step-image { height: 330px; }
  .device-shot--step { height: 290px; }
  .feature-list li { grid-template-columns: 1fr; gap: 2px; }
  .feature-visual { min-height: 520px; }
  .feature-card-front { width: 76%; height: 500px; right: 5%; }
  .device-shot--feature { height: 500px; }
  .feature-card-back { width: 245px; height: 180px; }
  .ingredient-chip { width: 58px; font-size: 1.5rem; }
  .screenshot-rail { grid-template-columns: repeat(3, 78vw); margin-inline: calc((100vw - 100%) / -2); padding: 4px 16px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .screenshot-rail figure { scroll-snap-align: center; }
  .device-shot--gallery { height: 250px; }
  .final-cta { min-height: 650px; }
  .final-cta-shade { background: linear-gradient(0deg, rgba(8,11,34,.96), rgba(8,11,34,.72)), linear-gradient(0deg, var(--ink), transparent 30%, transparent 75%, var(--ink)); }
  .final-cta > img { object-position: 68% center; }
  .final-cta-content { padding-right: 0; text-align: center; }
  .final-cta-content .eyebrow { justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
