@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/nunito-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/nunito-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #eef4f0; --white: #fbfdfb; --ink: #10231c; --muted: #4a6057;
  --emerald: #059669; --emerald-d: #047857; --grout: #cfe2d7; --tile: #e2eee7;
  --font: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }

/* Top bar */
.topbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--emerald); color: #fff; }
.brand-mark.sm { width: 30px; height: 30px; border-radius: 10px; }
.mark-ico { width: 22px; height: 22px; }
.brand-mark.sm .mark-ico { width: 17px; height: 17px; }
.brand-name { font-family: var(--display); font-size: 18px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 700; color: var(--muted); }
.nav-link:hover { color: var(--emerald-d); }
.lang { padding: 5px 11px; border: 1.5px solid var(--grout); border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--ink); }
.lang:hover { border-color: var(--emerald); }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 800; transition: background .18s ease; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d3a2f; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #dff0e7; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 40px 0 96px; }
h1 { display: flex; flex-direction: column; gap: 10px; }
.h1-a { font-size: clamp(48px, 8.4vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.h1-b { font-size: clamp(26px, 4.2vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--emerald-d); }
.lead { max-width: 30em; margin-top: 28px; font-size: 19px; line-height: 1.7; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 18px; border-radius: 18px; background: var(--ink); color: #fff; cursor: default; }
.store-ico { width: 24px; height: 24px; }
.store-text small { display: block; font-size: 12px; font-weight: 700; line-height: 1.1; color: #7fe0b8; }
.store-text strong { display: block; font-family: var(--display); font-size: 18px; line-height: 1.2; }
.note { font-size: 15px; color: var(--muted); max-width: 16em; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone { position: relative; width: min(300px, 72vw); border: 9px solid var(--ink); border-radius: 44px; background: var(--ink); overflow: hidden; box-shadow: 0 32px 60px -18px rgb(16 35 28 / 45%); }
.phone img { display: block; width: 100%; height: auto; border-radius: 35px; }
.hero-visual .phone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }

/* How it works */
.how { background: var(--white); padding: 96px 0; }
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.how-visual { display: grid; place-items: center; }
.how-visual .phone { width: min(270px, 72vw); transform: rotate(-2deg); }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.sec-lead { margin-top: 16px; max-width: 30em; color: var(--muted); font-size: 18px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1.5px solid var(--grout); }
.steps li:last-child { border-bottom: 1.5px solid var(--grout); }
.step-n { font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--emerald); }
.steps h3 { font-size: 21px; letter-spacing: -.02em; }
.steps p { margin-top: 6px; color: var(--muted); }

/* Features */
.features { padding: 96px 0; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin: 48px 0 0; }
.feat-list > div { padding: 24px 0 30px; border-top: 1.5px solid var(--ink); }
.feat-list dt { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.feat-list dd { margin: 8px 0 0; color: var(--muted); max-width: 26em; }

/* Beta */
.beta { background: var(--ink); color: #eef4f0; padding: 80px 0; }
.beta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.beta h2 { max-width: 16em; }
.beta p { margin-top: 14px; max-width: 34em; color: #b9cdc3; font-size: 18px; }
.beta .btn { flex: none; }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.foot-brand { color: var(--ink); font-size: 15px; }
.foot-links { display: flex; gap: 20px; font-weight: 700; }
.foot-links a:hover { color: var(--emerald-d); }

.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.nf h1 { color: var(--emerald); font-size: 72px; }
.nf p { margin-bottom: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 64px; }
  .hero-visual { min-height: 600px; }
  .how { padding: 64px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .features { padding: 64px 0; }
  .feat-list { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .beta { padding: 56px 0; }
  .beta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { min-height: 72px; }
  .brand-name { font-size: 14px; white-space: nowrap; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .nav { gap: 10px; }
  .btn { white-space: nowrap; }
  .nav .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }
  .lead { font-size: 17px; margin-top: 22px; }
  .hero-visual { min-height: 560px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-n { font-size: 36px; }
  .beta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual .phone { animation: none; }
}

/* Blurred hero backdrop (decorative, from the app's own artwork): fades into the page colour. */
body { position: relative; }
body::before { content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 880px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(238 244 240 / 0) 40%, rgb(238 244 240) 100%), linear-gradient(rgb(238 244 240 / .45), rgb(238 244 240 / .45)), url('/cookingadvisor/img/hero-bg.webp') center / cover no-repeat; }
