/* ==========================================================================
   CookingVerse — cookingverse.co
   Structural grammar: inset rounded gradient panels, centred section headers,
   hairline-bordered cards on a warm neutral ground, one accent-filled cell
   per bento grid.
   ========================================================================== */

/* ------------------------------------------------------------- 1. tokens -- */

:root {
  /* brand */
  --saffron:      #FF6A13;
  --saffron-lite: #FF9147;
  --ember:        #E0350B;
  --ember-deep:   #B62608;
  --basil:        #0E7C5A;
  --basil-lite:   #E6F4EE;

  /* neutrals — warm, never blue-grey */
  --ink:      #14110E;
  --ink-2:    #4B443D;
  --ink-3:    #857B71;
  --ink-4:    #A79C91;
  --line:     #E9E2D9;
  --line-2:   #F2ECE4;
  --cream:    #FBF7F2;
  --cream-2:  #F6F0E8;
  --white:    #FFFFFF;

  /* type */
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* geometry */
  --r-xs: 8px;  --r-sm: 12px; --r-md: 16px;
  --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px;
  --nav-h: 68px;

  /* elevation — warm-tinted, never pure black */
  --sh-sm: 0 1px 2px rgba(20,17,14,.05), 0 1px 1px rgba(20,17,14,.04);
  --sh-md: 0 4px 16px rgba(20,17,14,.06), 0 1px 3px rgba(20,17,14,.05);
  --sh-lg: 0 24px 60px -18px rgba(72,42,20,.22), 0 4px 12px rgba(20,17,14,.05);
  --sh-glow: 0 20px 60px -20px rgba(224,53,11,.45);
}

/* ------------------------------------------------------ 2. reset + base -- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-variation-settings: "wdth" 100, "opsz" 32;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--saffron); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

.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: absolute; left: 50%; top: 8px; translate: -50% -200%;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: var(--r-pill); z-index: 200; font-weight: 600; font-size: 14px;
  transition: translate .18s ease;
}
.skip-link:focus { translate: -50% 0; }

/* --------------------------------------------------- 3. layout primitives */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1400px; }

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

/* Centred section header — the repeating rhythm of the page. */
.shead { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.shead h2 { font-size: clamp(30px, 4.4vw, 46px); }
.shead p { margin-top: 14px; color: var(--ink-3); font-size: clamp(16px, 1.6vw, 18px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5;
}

/* ------------------------------------------------------------ 4. buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--ink); color: #fff; box-shadow: var(--sh-md);
}
.btn--primary:hover { background: #2a231d; transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn--flame {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--ember) 100%);
  color: #fff; box-shadow: var(--sh-glow);
}
.btn--flame:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.04); }

.btn--white { background: #fff; color: var(--ember-deep); box-shadow: 0 8px 24px -8px rgba(90,30,0,.45); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(90,30,0,.5); }

.btn--ghost-light {
  color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px);
  background: rgba(255,255,255,.08);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }

.btn--outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink-4); background: var(--cream); }

.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--ember);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------ 5. header -- */

.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }

.nav__inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand__word {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -.035em; color: var(--ink);
}

.nav__menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
  padding: 8px 13px; border-radius: var(--r-sm); font-size: 15px;
  font-weight: 500; color: var(--ink-2); transition: background-color .16s ease, color .16s ease;
}
.nav__link:hover, .nav__link.is-active { background: var(--cream-2); color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__ghost { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; }
.nav__ghost:hover { color: var(--ember); }

.nav__burger {
  display: none; width: 40px; height: 40px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
}
.nav__burger:hover { background: var(--cream-2); }
.nav__burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .22s ease, opacity .18s ease;
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--ink); border-radius: 2px; transition: transform .22s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 40px;
  overflow-y: auto; opacity: 0; visibility: hidden; translate: 0 -8px;
  transition: opacity .22s ease, translate .22s ease, visibility .22s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; translate: 0 0; }
.drawer a {
  display: block; padding: 15px 4px; font-size: 19px; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--line-2);
  font-family: var(--display); letter-spacing: -.02em;
}
.drawer .drawer__cta { margin-top: 26px; display: grid; gap: 10px; }
.drawer .drawer__cta a { border: 0; padding: 14px; text-align: center; font-size: 15px; }

/* -------------------------------------------------------------- 6. hero -- */

/* The signature element: an inset, rounded, gradient-filled panel with a
   radial bloom rising from the bottom edge and fine scanline texture. */
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(255,214,140,.95) 0%, rgba(255,150,60,.55) 26%, rgba(255,150,60,0) 58%),
    linear-gradient(168deg, #FF7A1F 0%, #F14E0F 44%, #D3350A 100%);
  color: #fff;
}
.panel::before {  /* scanline weave */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.panel::after {   /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero { padding: 12px var(--gutter) 0; }
.hero .panel { padding: clamp(52px, 8vw, 104px) clamp(20px, 5vw, 64px) clamp(230px, 26vw, 300px); text-align: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.95); margin-bottom: 28px;
}
.hero__badge b { font-weight: 600; }
.hero__badge .pill {
  background: #fff; color: var(--ember-deep); border-radius: var(--r-pill);
  padding: 3px 10px; font-size: 12.5px; font-weight: 600;
}
.hero__badge .sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); }

.hero h1 {
  color: #fff; font-size: clamp(36px, 6.2vw, 68px); line-height: 1.02;
  letter-spacing: -.04em; max-width: 19ch; margin-inline: auto;
  font-variation-settings: "wdth" 96, "opsz" 48;
}
.hero h1 .em { color: #FFE1B5; font-style: normal; }

.hero__sub {
  margin: 24px auto 0; max-width: 56ch; font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.55; color: rgba(255,255,255,.86);
}

.hero__cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }

/* Product visual straddling the panel's bottom edge. */
.hero__shot {
  position: relative; z-index: 3; width: min(100%, 1000px);
  margin: clamp(-215px, -23vw, -270px) auto 0;
  padding-inline: var(--gutter);
}
.hero__shot .frame {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(20,17,14,.06);
  background: #fff;
}
.hero__shot img, .hero__shot svg { width: 100%; height: auto; display: block; }

/* Marquee of integration names under the hero. */
.marquee { overflow: hidden; padding-block: 34px 6px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__label { text-align: center; font-size: 13px; color: var(--ink-4); margin-bottom: 20px; letter-spacing: .01em; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--display); font-size: 19px; font-weight: 600;
  color: var(--ink-4); letter-spacing: -.02em; white-space: nowrap;
  transition: color .2s ease;
}
.marquee__item:hover { color: var(--ink-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------- 7. network map */

.map { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.map__canvas { padding: clamp(16px, 3vw, 34px); background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.map__canvas svg { width: 100%; height: auto; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillars > div { padding: clamp(22px, 3vw, 32px); border-left: 1px solid var(--line); }
.pillars > div:first-child { border-left: 0; }
.pillars svg { width: 22px; height: 22px; color: var(--ember); margin-bottom: 14px; }
.pillars h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.pillars p { font-size: 14.5px; line-height: 1.58; color: var(--ink-3); }

/* ------------------------------------------------------- 8. social proof */

.logotabs {
  display: flex; gap: 4px; overflow-x: auto; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  scrollbar-width: none;
}
.logotabs::-webkit-scrollbar { display: none; }
.logotab {
  flex: none; padding: 10px 18px; border-radius: var(--r-sm);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: -.02em; color: var(--ink-4); position: relative;
  transition: color .2s ease, background-color .2s ease;
}
.logotab:hover { color: var(--ink-2); background: var(--cream); }
.logotab[aria-selected="true"] { color: var(--ink); background: var(--cream-2); }
.logotab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--ember);
}

.quotecard {
  margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.quotecard blockquote {
  font-family: var(--display); font-size: clamp(20px, 2.5vw, 28px); line-height: 1.32;
  letter-spacing: -.025em; color: var(--ink); font-weight: 600;
}
.quotecard blockquote em { color: var(--ember); font-style: normal; }
.quotecard figcaption { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.quotecard figcaption b { display: block; color: var(--ink); font-weight: 600; }
.quotecard__mark {
  width: 108px; height: 108px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; letter-spacing: -.05em;
  background: linear-gradient(150deg, var(--saffron) 0%, var(--ember) 100%);
  font-family: var(--display); font-weight: 700; font-size: 38px; color: #fff;
  box-shadow: 0 12px 28px -12px rgba(224,53,11,.6);
}
.quotecard[hidden] { display: none; }

.logorow {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 60px);
  justify-content: center; align-items: center; margin-top: 40px;
}
.logorow span {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  color: var(--ink-4); letter-spacing: -.02em;
  filter: grayscale(1); transition: color .2s ease;
}
.logorow span:hover { color: var(--ink-2); }
.logorow__more { text-align: center; margin-top: 28px; font-size: 14px; color: var(--ink-4); }

/* ------------------------------------------------------ 9. before / after */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.split__before, .split__after {
  border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px);
  min-height: 400px; position: relative; overflow: hidden;
}
.split__before { background: var(--cream); border: 1px solid var(--line); }
.split__before h3 { font-size: clamp(22px, 2.8vw, 30px); color: var(--ink-3); max-width: 14ch; }

/* Scattered "chaos" notes — deliberately misaligned, slightly rotated. */
.chaos { position: absolute; inset: 0; pointer-events: none; }
.chaos i {
  position: absolute; display: block; font-style: normal;
  font-size: 12.5px; line-height: 1.4; padding: 9px 12px; border-radius: var(--r-xs);
  background: #fff; border: 1px solid var(--line); color: var(--ink-3);
  box-shadow: var(--sh-sm); max-width: 190px;
}
.chaos i b { color: var(--ink); font-weight: 600; }
.chaos i:nth-child(1) { top: 14%;  right: 6%;  rotate: 3deg; }
.chaos i:nth-child(2) { top: 40%;  right: 22%; rotate: -2.5deg; }
.chaos i:nth-child(3) { bottom: 20%; left: 8%;  rotate: -1.5deg; }
.chaos i:nth-child(4) { bottom: 6%; right: 10%; rotate: 2deg; }
.chaos i:nth-child(5) { top: 62%;  left: 44%;  rotate: 1deg; }

.split__after {
  background: linear-gradient(160deg, var(--saffron) 0%, var(--ember) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--sh-glow);
}
.split__after h3 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); max-width: 12ch; }
.split__after > p { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 14px; max-width: 34ch; }
.checklist { display: grid; gap: 9px; margin-top: 28px; }
.checklist span {
  display: flex; align-items: center; gap: 11px; font-size: 14.5px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-sm); padding: 11px 14px; backdrop-filter: blur(4px);
}
.checklist svg { width: 15px; height: 15px; flex: none; }

/* ------------------------------------------------------------ 10. stages */

.stages { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.stage {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  padding: clamp(24px, 3.4vw, 38px); position: relative; overflow: hidden;
  transition: border-color .22s ease, transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.stage:hover { border-color: var(--saffron-lite); transform: translateY(-3px); box-shadow: var(--sh-md); }
.stage::after {
  content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.10), transparent 68%);
  opacity: 0; transition: opacity .3s ease;
}
.stage:hover::after { opacity: 1; }

.stage__n {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--ember); display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.stage__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.stage__n span {
  background: var(--basil-lite); color: var(--basil); border-radius: var(--r-pill);
  padding: 2px 9px; font-size: 11px; letter-spacing: .06em;
}
.stage h3 { font-size: clamp(20px, 2.3vw, 25px); margin-bottom: 12px; }
.stage p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.stage__stat {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; gap: 10px;
}
.stage__stat b {
  font-family: var(--display); font-size: 30px; color: var(--ink);
  letter-spacing: -.035em; line-height: 1;
}
.stage__stat small { font-size: 13px; color: var(--ink-4); }

/* ----------------------------------------------------------- 11. pricing */

.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--cream-2); border-radius: var(--r-pill); }
.tab {
  padding: 9px 20px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600;
  color: var(--ink-3); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--saffron), var(--ember));
  color: #fff; box-shadow: 0 4px 12px -3px rgba(224,53,11,.5);
}
.tab:not([aria-selected="true"]):hover { color: var(--ink); }

.pricing {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr);
}
.plan { padding: clamp(24px, 2.6vw, 32px); border-left: 1px solid var(--line); position: relative; }
.plan:first-child { border-left: 0; }
.plan--featured { background: var(--cream); }
.plan--featured::before {
  content: "Most chosen"; position: absolute; top: 0; left: 50%; translate: -50% -0%;
  background: linear-gradient(135deg, var(--saffron), var(--ember)); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 0 0 var(--r-xs) var(--r-xs);
}
.plan__name { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.plan__blurb { font-size: 13.5px; color: var(--ink-4); margin-top: 6px; min-height: 40px; line-height: 1.45; }
.plan__price {
  font-family: var(--display); font-size: clamp(34px, 4vw, 44px); color: var(--ink);
  letter-spacing: -.045em; line-height: 1; margin-top: 20px; font-weight: 700;
}
.plan__period { font-size: 12.5px; color: var(--ink-4); margin-top: 8px; min-height: 32px; }
.plan .btn { margin-top: 18px; }
.plan__feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan__feats li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.plan__feats svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--basil); }

.pricing-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-4); }

/* -------------------------------------------------------------- 12. bento */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cell {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  padding: clamp(22px, 2.8vw, 32px); overflow: hidden; position: relative;
}
.cell h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.025em; }
.cell p { font-size: 14.5px; line-height: 1.58; color: var(--ink-3); }
.cell__icon { width: 20px; height: 20px; color: var(--ember); margin-bottom: 14px; }
.cell--wide { grid-column: span 2; }
.cell--flame {
  background: linear-gradient(155deg, var(--saffron) 0%, var(--ember) 100%);
  border-color: transparent; color: #fff; box-shadow: var(--sh-glow);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px;
}
.cell--flame h3 { color: #fff; font-size: clamp(21px, 2.4vw, 27px); }
.cell--flame p { color: rgba(255,255,255,.85); font-size: 15px; }
.cell--pad0 { padding: 0; }
.cell--full {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(180px, 240px) 1fr auto;
  gap: clamp(20px, 3vw, 44px); align-items: center;
}
.cell--full h3 { margin-bottom: 0; }
.cell__stats { display: flex; gap: clamp(18px, 2.4vw, 32px); flex-wrap: wrap; }
.cell__stats span { font-size: 12.5px; color: var(--ink-4); white-space: nowrap; }
.cell__stats b {
  display: block; font-family: var(--display); font-size: 21px; font-weight: 700;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.2;
}

/* Timeline mock (meal plan deploy-log analogue). */
.timeline { font-family: var(--mono); font-size: 12px; }
.timeline__row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center;
  padding: 13px clamp(18px, 2.4vw, 26px); border-bottom: 1px solid var(--line-2);
}
.timeline__row:last-child { border-bottom: 0; }
.timeline__row:first-child { background: var(--cream); }
.timeline__t { color: var(--ink-4); }
.timeline__name { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--ink); }
.timeline__badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--body);
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill);
}
.timeline__badge--ok   { background: var(--basil-lite); color: var(--basil); }
.timeline__badge--warm { background: #FFF0E4; color: var(--ember); }
.timeline__badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Voice transcript mock. */
.transcript { font-family: var(--mono); font-size: 12.5px; line-height: 1.75; padding: 20px 22px; background: var(--ink); color: #E7DED4; border-radius: var(--r-md); }
.transcript .u { color: var(--saffron-lite); }
.transcript .a { color: #9BD9BE; }
.transcript .dim { color: #6C645C; }
.transcript .cursor { display: inline-block; width: 7px; height: 14px; background: var(--saffron); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ------------------------------------------------------- 13. integrations */

.intg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.intg__group { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 26px; }
.intg__group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-4); font-family: var(--body); font-weight: 700; margin-bottom: 16px; }
.intg__group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.intg__group li {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 13px;
  background: var(--cream); transition: border-color .18s ease, color .18s ease;
}
.intg__group li:hover { border-color: var(--saffron-lite); color: var(--ink); }

/* --------------------------------------------------------------- 14. faq */

.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 20px);
  color: var(--ink); letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 1.75px solid var(--ink-4); border-bottom: 1.75px solid var(--ink-4);
  translate: 0 -70%; rotate: 45deg; transition: rotate .24s ease, border-color .2s ease;
}
.faq details[open] summary::after { rotate: -135deg; border-color: var(--ember); }
.faq details p { padding: 0 44px 24px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-3); }

/* ---------------------------------------------------- 15. waitlist + cta */

.cta { padding: 0 var(--gutter) clamp(48px, 6vw, 72px); }
.cta .panel { padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 60px); text-align: center; }
.cta h2 { color: #fff; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.04em; max-width: 16ch; margin-inline: auto; }
.cta p { margin: 20px auto 0; max-width: 52ch; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.7vw, 17.5px); }

.wform { margin: 30px auto 0; display: flex; gap: 10px; max-width: 480px; }
.wform input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14);
  color: #fff; font-size: 15px; backdrop-filter: blur(6px);
}
.wform input::placeholder { color: rgba(255,255,255,.62); }
.wform input:focus { outline: 2px solid #fff; outline-offset: 2px; background: rgba(255,255,255,.22); }

.formnote { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.72); }
.formnote a { text-decoration: underline; text-underline-offset: 2px; }
.flash {
  margin: 18px auto 0; max-width: 480px; border-radius: var(--r-sm); padding: 11px 16px;
  font-size: 14px; font-weight: 500;
}
.flash--ok  { background: rgba(255,255,255,.92); color: var(--basil); }
.flash--err { background: rgba(20,17,14,.7); color: #FFD9C4; }

.trustbar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px;
  margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.22);
}
.trustbar span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.82); }
.trustbar svg { width: 14px; height: 14px; flex: none; }

/* ------------------------------------------------------------ 16. footer */

.foot { background: var(--cream); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 28px; }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px 28px; }
.foot__brand .brand { margin-bottom: 16px; }
.foot__brand p { font-size: 14px; color: var(--ink-3); max-width: 30ch; line-height: 1.6; }
.foot__social { display: flex; gap: 8px; margin-top: 20px; }
.foot__social a {
  width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.foot__social a:hover { color: var(--ember); border-color: var(--saffron-lite); transform: translateY(-2px); }
.foot__social svg { width: 15px; height: 15px; }

.foot h4 {
  font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--ink-4); margin-bottom: 14px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot ul a { font-size: 14px; color: var(--ink-2); transition: color .16s ease; }
.foot ul a:hover { color: var(--ember); }

.foot__bar {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-4);
}
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__bar a:hover { color: var(--ember); }
.foot__disclaimer {
  margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--ink-4);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 12px 16px;
}

/* --------------------------------------------------------- 17. legal page */

.legal { padding-block: clamp(48px, 6vw, 84px); }
.legal__grid { display: grid; grid-template-columns: 232px 1fr; gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.legal__toc h4 { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-4); margin-bottom: 14px; }
.legal__toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.legal__toc a { display: block; font-size: 13.5px; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-3); }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ember); border-left-color: var(--ember); }

.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 12px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 44px; margin-bottom: 12px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h3 { font-size: 17px; margin-top: 26px; margin-bottom: 8px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 7px; }
.prose a { color: var(--ember); text-decoration: underline; text-underline-offset: 2px; }
.prose__meta { font-size: 13.5px; color: var(--ink-4); padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--cream); font-weight: 600; color: var(--ink); }
.prose__callout { background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--r-sm); padding: 16px 20px; margin-bottom: 22px; }
.prose__callout p:last-child { margin-bottom: 0; }

/* Error page */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.err__code { font-family: var(--display); font-size: clamp(80px, 16vw, 170px); line-height: .9; letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--saffron), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------- 18. motion + a11y */

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------------------------------------------------------- 19. responsive */

@media (max-width: 1080px) {
  .foot__top { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quotecard { grid-template-columns: 1fr; gap: 26px; }
  .quotecard__mark { width: 84px; height: 84px; font-size: 26px; }
}

@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__actions .nav__ghost, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .bento, .intg { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; }
  .cell--full { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .split { grid-template-columns: 1fr; }
  .split__before { min-height: 340px; }
  .stages { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars > div { border-left: 0; border-top: 1px solid var(--line); }
  .pillars > div:first-child { border-top: 0; }
  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
  .legal__toc ul { display: flex; flex-wrap: wrap; border-left: 0; gap: 6px 14px; }
  .legal__toc a { padding: 4px 0; border-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --r-xl: 22px; --r-lg: 18px; }
  .hero .panel { padding-bottom: clamp(150px, 34vw, 200px); }
  .hero__shot { margin-top: clamp(-140px, -30vw, -190px); }
  .hero__badge { font-size: 12.5px; padding-left: 11px; }
  .hero__badge .sep, .hero__badge .hide-sm { display: none; }
  .hero__cta .btn { width: 100%; }
  .pricing { grid-template-columns: 1fr; }
  .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .wform { flex-direction: column; }
  .wform .btn { width: 100%; }
  .chaos i:nth-child(5) { display: none; }
  .trustbar { gap: 10px 20px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
}

@media print {
  .nav, .drawer, .cta, .marquee, .foot__social { display: none !important; }
  body { color: #000; }
  .prose { max-width: none; }
}

/* ================================================== 20. hero product mock */
/* Built in HTML rather than exported as an image so it stays crisp at every
   DPR, reflows on small screens, and can be edited without a design tool.   */

.appshot { background: var(--white); font-size: 13px; }

.appshot__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--cream-2); border-bottom: 1px solid var(--line);
}
.appshot__chrome .dot { width: 9px; height: 9px; border-radius: 50%; background: #D9CFC2; flex: none; }
.appshot__chrome .dot:first-child { background: #F5A28A; }
.appshot__url {
  flex: 1; margin-inline: 10px; max-width: 320px;
  display: flex; align-items: center; gap: 7px; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 5px 14px; font-size: 11.5px; color: var(--ink-3);
}
.appshot__url svg { width: 11px; height: 11px; color: var(--basil); }
.appshot__live {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600;
  color: var(--basil); background: var(--basil-lite); border-radius: var(--r-pill); padding: 4px 10px;
}
.appshot__live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.appshot__body { display: grid; grid-template-columns: 1fr 1.25fr 1fr; min-height: 340px; }
.appshot__col { padding: 16px; border-left: 1px solid var(--line-2); }
.appshot__col:first-child { border-left: 0; }
.appshot__col--main { padding: 0; background: var(--cream-2); overflow: hidden; }

.appshot__h {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-4); margin-bottom: 10px;
}
.appshot__h b { color: var(--ember); text-transform: none; letter-spacing: 0; font-size: 11.5px; }

.daycard {
  display: flex; gap: 10px; align-items: center; padding: 7px; border-radius: var(--r-xs);
  border: 1px solid transparent; margin-bottom: 3px;
}
.daycard.is-active { background: #fff; border-color: var(--saffron-lite); box-shadow: var(--sh-sm); }
.daycard img { border-radius: 7px; flex: none; width: 34px; height: 34px; }
.daycard b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.daycard span { font-size: 11px; color: var(--ink-4); }

.appshot__banner { width: 100%; height: 132px; object-fit: cover; object-position: 50% 46%; }

.cookpane { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 9px; }
.cookpane__top { display: flex; align-items: baseline; gap: 9px; }
.cookpane__step {
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--saffron), var(--ember));
  border-radius: var(--r-pill); padding: 3px 9px;
}
.cookpane__title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -.025em; }
.cookpane__body { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.cookpane__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 10.5px; font-weight: 600; color: var(--ink-3); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 10px;
}
.chip--live { color: var(--ember); border-color: #FFD3B4; background: #FFF4EC; display: inline-flex; align-items: center; gap: 6px; }
.chip--live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }

.appshot__prog { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.appshot__prog i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--saffron-lite), var(--ember)); }

.appshot__voice {
  margin-top: 2px; display: flex; align-items: center; gap: 9px;
  background: var(--ink); border-radius: var(--r-pill); padding: 7px 14px 7px 11px;
}
.appshot__voice svg { width: 13px; height: 13px; color: var(--saffron-lite); flex: none; }
.appshot__voice span { font-size: 11px; color: #E7DED4; font-style: italic; }
.wave { display: flex; align-items: center; gap: 2px; height: 14px; flex: none; }
.wave i { width: 2px; border-radius: 2px; background: var(--saffron); height: 30%; animation: eq .9s ease-in-out infinite; }
.wave i:nth-child(2n)   { animation-delay: .12s; }
.wave i:nth-child(3n)   { animation-delay: .26s; }
.wave i:nth-child(4n+1) { animation-delay: .4s; }
@keyframes eq { 0%,100% { height: 26%; } 50% { height: 100%; } }

.linerow {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2);
}
.linerow b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.linerow--muted, .linerow--muted b { color: var(--ink-4); font-weight: 500; }
.linerow--total { border-bottom: 0; padding-top: 10px; }
.linerow--total b { color: var(--ember); font-size: 14px; }

.applrow {
  display: flex; align-items: center; gap: 9px; padding: 7px 0;
  border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2);
}
.applrow:last-child { border-bottom: 0; }
.applrow svg { width: 14px; height: 14px; color: var(--ink-4); flex: none; }
.applrow span { flex: 1; }
.applrow b { font-weight: 600; color: var(--ink-4); font-size: 11.5px; }
.applrow b.on { color: var(--basil); background: var(--basil-lite); border-radius: var(--r-pill); padding: 2px 8px; }

@media (max-width: 900px) {
  .appshot__body { grid-template-columns: 1fr 1fr; }
  .appshot__col--main { grid-column: 1 / -1; grid-row: 1; }
  .appshot__banner { height: 168px; }
  .appshot__col { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .appshot__body { grid-template-columns: 1fr; }
  .appshot__live { display: none; }
  .appshot__col:nth-child(3) { display: none; }
}
