:root {
  --ink: #07110e;
  --ink-2: #0d1a16;
  --panel: #11211a;
  --paper: #f5f6f2;
  --white: #fff;
  --muted: #a9b8b1;
  --dark-muted: #4c5d56;
  --line: #294038;
  --green: #b3cc2c;
  --green-bright: #c5dc38;
  --teal: #1ab5c0;
  --orange: #ffb928;
  --blue: #138bad;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(940px, calc(100% - 40px)); }
.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; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--orange); color: var(--ink); font-weight: 800; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,17,14,.94); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 28px; }
.brand img { width: 184px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 25px; }
.site-nav a { color: #dbe5e0; font-size: .78rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--teal); }
.mobile-nav-action { display: none; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.header-login { color: #f3f7f5; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.header-login:hover { color: var(--teal); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; color: var(--white); border-radius: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 4px; background: var(--green); color: var(--ink); font-size: .84rem; font-weight: 900; letter-spacing: .075em; line-height: 1; text-decoration: none; text-transform: uppercase; box-shadow: 0 10px 34px rgba(179,204,44,.13); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--green-bright); box-shadow: 0 15px 38px rgba(179,204,44,.22); }
.button-small { min-height: 44px; padding: 12px 17px; font-size: .72rem; }
.text-link { color: var(--white); font-weight: 800; text-underline-offset: 5px; }
.text-link:hover { color: var(--teal); }
.dark-link { color: var(--ink); }

.hero { position: relative; min-height: 700px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,14,.98) 0%, rgba(7,17,14,.92) 46%, rgba(7,17,14,.6) 100%), url('../images/balanced-meal.jpg') center/cover; opacity: .9; }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(26,181,192,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(26,181,192,.035) 1px, transparent 1px); background-size: 44px 44px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; min-height: 700px; padding-block: 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #067f89; }
.hero h1 { max-width: 700px; margin: 0 0 24px; font-size: clamp(3rem, 4.8vw, 4.65rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 650px; margin: 0 0 30px; color: #d2ddd8; font-size: 1.16rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 25px 0 0; list-style: none; color: #c3d0ca; font-size: .8rem; font-weight: 700; }
.trust-list span { color: var(--green); margin-right: 5px; }
.device-stage { position: relative; display: flex; justify-content: center; }
.device-glow { position: absolute; width: 420px; height: 420px; top: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(26,181,192,.22), transparent 66%); filter: blur(10px); }
.device-card { position: relative; width: min(370px, 90vw); margin: 0; overflow: hidden; border: 2px solid #4d5a55; border-radius: 40px; background: #232825; box-shadow: var(--shadow); transform: rotate(1deg); }
.device-top { display: flex; justify-content: center; padding: 10px; background: #050806; }
.device-top span { display: block; width: 78px; height: 19px; border-radius: 99px; background: #202823; }
.preview-window { position: relative; overflow: hidden; }
.results-preview { background: #f1f3f2; }
.results-preview img { display: block; width: 100%; height: auto; }
.device-card figcaption { padding: 13px 18px 15px; color: #aab7b1; background: #08100d; font-size: .7rem; text-align: center; }

.quick-benefits { border-bottom: 1px solid rgba(255,255,255,.09); background: #050b09; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit-row article { display: flex; gap: 17px; align-items: flex-start; padding: 35px 30px; border-right: 1px solid rgba(255,255,255,.09); }
.benefit-row article:last-child { border-right: 0; }
.benefit-row h2 { margin: 0 0 4px; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.benefit-row p { margin: 0; color: var(--muted); font-size: .85rem; }
.benefit-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-size: .73rem; font-weight: 900; }
.benefit-icon.orange { border-color: var(--orange); color: var(--orange); }
.benefit-icon.blue { border-color: var(--blue); color: var(--blue); }

.section { padding: 105px 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .output-copy h2, .food-copy h2, .fitness-copy h2, .final-cta h2 { margin: 0 0 18px; font-size: clamp(2.2rem, 4.5vw, 4.25rem); line-height: 1; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--dark-muted); font-size: 1.05rem; }
.section-heading.centered p:not(.eyebrow) { max-width: 680px; margin-inline: auto; }
.wizard-flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 22px; }
.flow-step { position: relative; min-width: 0; padding: 23px 12px 20px; border: 1px solid #d4dbd6; background: #fff; box-shadow: 0 12px 35px rgba(10,25,19,.06); text-align: center; }
.flow-step::after { content: "→"; position: absolute; top: 48px; right: -25px; z-index: 3; display: grid; width: 28px; height: 28px; place-items: center; border: 3px solid var(--paper); border-radius: 50%; background: var(--teal); color: var(--ink); font-size: 1rem; font-weight: 900; line-height: 1; box-shadow: 0 5px 16px rgba(7,17,14,.18); }
.flow-step:last-child::after { display: none; }
.flow-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 14px; border: 2px solid var(--teal); border-radius: 50%; color: #087e87; }
.flow-icon.final-icon { border-color: var(--green); color: #758a00; }
.flow-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-step > span { display: block; margin-bottom: 5px; color: #71827a; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.flow-step h3 { margin: 0 0 8px; font-size: .82rem; letter-spacing: .035em; text-transform: uppercase; }
.flow-step p { margin: 0; color: var(--dark-muted); font-size: .72rem; line-height: 1.5; }

.output-section { background: var(--ink-2); }
.output-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.output-copy > p:not(.eyebrow):not(.fine-print) { color: #c8d4cf; font-size: 1.04rem; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 28px 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: #eef4f1; }
.check-list li span { color: var(--green); font-weight: 900; }
.fine-print { padding-top: 20px; border-top: 1px solid var(--line); color: #82958d; font-size: .76rem; }
.meal-preview-card { margin: 0; overflow: hidden; border: 1px solid #3a4b44; background: #fff; box-shadow: var(--shadow); }
.preview-label { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 18px; background: #10231d; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.preview-label span { color: var(--teal); font-weight: 900; }
.preview-label strong { color: #90a199; font-size: .61rem; }
.meal-preview { height: 540px; display: flex; justify-content: center; align-items: flex-start; padding: 18px; background: #eef1ef; }
.meal-preview img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: top; box-shadow: 0 12px 28px rgba(16,35,29,.16); }
.meal-preview-card figcaption { padding: 13px 18px; color: #516159; background: #f8f9f7; font-size: .72rem; }

.food-section { background: #edf0eb; color: var(--ink); padding-block: 0; }
.food-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.food-photo { min-height: 650px; background: linear-gradient(rgba(5,15,11,.08), rgba(5,15,11,.08)), url('../images/balanced-meal.jpg') center/cover; }
.food-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(35px, 7vw, 110px); }
.food-copy > p:not(.eyebrow) { max-width: 660px; color: var(--dark-muted); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.mini-grid div { padding-top: 18px; border-top: 2px solid var(--teal); }
.mini-grid div:nth-child(2n) { border-color: var(--orange); }
.mini-grid strong, .mini-grid span { display: block; }
.mini-grid strong { margin-bottom: 5px; text-transform: uppercase; }
.mini-grid span { color: var(--dark-muted); font-size: .84rem; }

.fitness-section { background: #0b1914; }
.fitness-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.fitness-copy > p:not(.eyebrow) { color: #c6d3cd; }
.roadmap-note { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--orange); background: #07110e; }
.roadmap-note strong, .roadmap-note span { display: block; }
.roadmap-note strong { margin-bottom: 6px; color: var(--orange); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.roadmap-note span { color: #97aaa1; font-size: .82rem; }
.fitness-photo { margin: 0; overflow: hidden; border: 1px solid #3a4b44; background: #07110e; box-shadow: var(--shadow); }
.fitness-photo img { width: 100%; height: auto; object-fit: contain; object-position: center; background: #07110e; }
.fitness-photo figcaption { padding: 13px 18px; color: #9eb0a7; font-size: .72rem; }

.pricing-section { background: #07100d; }
.pricing-section .section-heading p:not(.eyebrow) { color: var(--muted); }
.pricing-card { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border: 1px solid #385047; background: var(--panel); box-shadow: var(--shadow); }
.price-main { padding: 46px; background: linear-gradient(155deg, #153129, #0a1712); text-align: center; }
.price-label { margin: 0; color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.price { margin: 12px 0 0; font-size: 6.5rem; font-weight: 900; line-height: .95; letter-spacing: -.08em; }
.price sup { position: relative; top: -.35em; margin-right: 6px; color: var(--green); font-size: 2rem; }
.price-note { margin: 3px 0 25px; color: var(--muted); font-size: .8rem; }
.price-details { padding: 46px; }
.price-details h3 { margin: 0 0 16px; font-size: 1.05rem; text-transform: uppercase; }
.compact { grid-template-columns: 1fr 1fr; margin: 0 0 28px; }
.compact li { color: #d9e3de; font-size: .84rem; }
.additional-plan { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; padding: 18px 20px; border-left: 3px solid var(--orange); background: #09130f; }
.additional-plan span { color: #becbc5; font-weight: 700; }
.additional-plan strong { color: var(--orange); font-size: 1.15rem; }
.additional-plan small { grid-column: 1 / -1; color: #798c83; }
.additional-login { grid-column: 1 / -1; width: fit-content; margin-top: 10px; color: var(--green); font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-underline-offset: 4px; text-transform: uppercase; }
.additional-login span { color: inherit; }
.additional-login:hover { color: var(--green-bright); }

.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.resource-card { min-height: 315px; display: flex; flex-direction: column; padding: 30px; border-top: 4px solid var(--teal); background: var(--white); box-shadow: 0 12px 35px rgba(10,25,19,.07); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(10,25,19,.12); }
.resource-card > span { color: #087e87; font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.resource-card h3 { margin: 30px 0 12px; font-size: 1.5rem; line-height: 1.1; }
.resource-card p { margin: 0 0 28px; color: var(--dark-muted); font-size: .88rem; }
.resource-card strong { margin-top: auto; font-size: .78rem; text-transform: uppercase; }
.orange-card { border-color: var(--orange); }
.orange-card > span { color: #9a6300; }
.blue-card { border-color: var(--blue); }
.blue-card > span { color: #086f8c; }
.green-card { border-color: var(--green); }
.green-card > span { color: #758a00; }
.resource-footer { margin-top: 30px; text-align: center; }

.faq-section { background: var(--ink-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 54px 24px 0; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 50%; right: 10px; width: 17px; height: 2px; background: var(--green); transition: transform .2s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 760px; padding: 0 54px 23px 0; margin: 0; color: var(--muted); font-size: .92rem; }

.final-cta { padding: 80px 0; border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(110deg, rgba(7,17,14,.97), rgba(7,17,14,.8)), url('../images/balanced-meal.jpg') center/cover; }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.final-cta h2 { max-width: 780px; font-size: clamp(2.3rem, 4vw, 4rem); }
.final-cta p:not(.eyebrow) { margin: 0; color: #c5d1cb; }

.account-login-section { padding: 46px 0; border-top: 1px solid rgba(255,255,255,.09); background: #10211b; }
.account-login-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.account-login-inner .eyebrow { margin-bottom: 7px; }
.account-login-inner h2 { margin: 0 0 5px; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.05; }
.account-login-inner p:not(.eyebrow) { margin: 0; color: #aebfb7; }
.button-secondary { border: 1px solid var(--teal); background: transparent; color: #fff; box-shadow: none; }
.button-secondary:hover { background: var(--teal); color: var(--ink); box-shadow: none; }

.site-footer { padding: 65px 0 25px; background: #030806; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 70px; padding-bottom: 45px; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 400px; margin: 0; font-size: .86rem; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid nav h2 { margin: 0 0 8px; color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid nav a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-grid nav a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 24px; border-top: 1px solid #1b2924; color: #6e8279; font-size: .7rem; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border: 1px solid var(--teal); border-radius: 50%; background: rgba(8,27,23,.92); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s, background .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); color: var(--ink); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; grid-column: 2; }
  .header-actions { grid-column: 3; }
  .site-nav { position: absolute; left: 0; right: 0; top: 82px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); background: #07110e; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid #172720; }
  .hero-grid, .output-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 75px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .trust-list { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .device-stage { margin-top: 10px; }
  .wizard-flow { display: flex; gap: 28px; overflow-x: auto; padding: 5px 5px 22px; scroll-snap-type: x proximity; }
  .flow-step { flex: 0 0 190px; scroll-snap-align: start; }
  .flow-step::after { right: -31px; }
  .output-grid { gap: 45px; }
  .food-grid { grid-template-columns: 1fr; }
  .food-photo { min-height: 450px; }
  .fitness-grid { grid-template-columns: 1fr; gap: 42px; }
  .pricing-card { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card { min-height: 240px; }
}

@media (max-width: 720px) {
  .shell, .narrow { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand img { width: 150px; }
  .site-nav { top: 70px; }
  .header-actions { display: none; }
  .mobile-nav-action { display: block; color: var(--green) !important; }
  .menu-toggle { grid-column: 2; }
  .hero-grid { padding-block: 58px 70px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .benefit-row { grid-template-columns: 1fr; }
  .benefit-row article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .section { padding: 75px 0; }
  .meal-preview { height: 460px; padding: 14px; }
  .preview-label { align-items: flex-start; flex-direction: column; gap: 3px; }
  .food-photo { min-height: 350px; }
  .food-copy { padding: 70px 24px; }
  .mini-grid, .compact { grid-template-columns: 1fr; }
  .price-main, .price-details { padding: 34px 24px; }
  .price { font-size: 5.5rem; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .final-cta .eyebrow { justify-content: center; }
  .account-login-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .account-login-inner .eyebrow { justify-content: center; }
  .account-login-inner .button { width: 100%; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .shell, .narrow { width: min(100% - 22px, 1180px); }
  .brand img { width: 138px; }
  .hero-grid { padding-block: 48px 58px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.25rem); letter-spacing: -.045em; }
  .hero-lead { line-height: 1.6; }
  .device-card { width: min(100%, 340px); border-radius: 30px; }
  .section { padding: 62px 0; }
  .section-heading h2, .output-copy h2, .food-copy h2, .fitness-copy h2, .final-cta h2 { font-size: clamp(1.95rem, 10vw, 2.7rem); }
  .flow-step { flex-basis: 170px; }
  .meal-preview { height: 400px; padding: 10px; }
  .food-photo { min-height: 285px; }
  .food-copy { padding: 58px 20px; }
  .price-main, .price-details { padding: 30px 20px; }
  .price { font-size: 4.8rem; }
  .resource-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .back-to-top { right: 14px; bottom: 14px; }
}

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