/* asknoodle.club: a kitchen-table picture book. Flat colour blocks, drawn still lifes and
   handwritten questions; nothing that looks like a screen. Same teal and noodle yellow as the
   app, plus tomato and a warm paper peach. */
:root {
  color-scheme: light;
  --yellow: #ffd54a;
  --noodle: #f5b800;
  --teal: #0f5c63;
  --teal-deep: #0a4247;
  --on-teal: #d7ecec;
  --tomato: #e4572e;
  --tomato-deep: #c4421d;
  --paper: #fff3e6;
  --crumb: #f3d9c2;
  --ink: #1f2433;
  --ink-2: #3a3f4d;
  --ink-yellow: #2b2f3b;
  --on-yellow-muted: #3d3200;
  --line: #e6e8ec;
  --white: #ffffff;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--yellow); color: var(--ink); font-family: var(--body); font-weight: 700; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
::selection { background: var(--noodle); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
p { margin: 0; }
.h { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.hand { font-family: var(--hand); font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.skip:hover { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { color: var(--ink); background: var(--paper); }
.btn-yellow { background: var(--noodle); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow); color: var(--ink); }
.btn-sm { min-height: 48px; font-size: 16px; padding: 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; white-space: nowrap; }
.sticky-col { position: sticky; top: 24px; }
.brand:hover { color: var(--ink); }
.navlinks { display: flex; gap: 30px; font-weight: 800; font-size: 17px; }
.navlinks a { color: var(--ink); text-decoration: none; }
.navlinks a:hover, .navlinks a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--tomato); }
.navend { display: flex; gap: 8px; align-items: center; }
.navend .login { font-weight: 800; color: var(--ink); text-decoration: none; padding: 0 10px; }

/* sections */
.band { padding: 112px 0; }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-teal { background: var(--teal); color: var(--white); }
.band-tomato { background: var(--tomato-deep); color: var(--white); }
.band-yellow { background: var(--yellow); }
.band-ink { background: var(--ink); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.title { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.lede { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.band-teal .lede, .band-teal p, .band-teal .row p, .band-teal .prose p { color: var(--on-teal); }
.kicker-hand { font-size: 30px; color: var(--tomato-deep); }
.prose p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.prose { display: flex; flex-direction: column; gap: 20px; }
.strand { display: block; width: 100%; height: 90px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-block: 24px 40px; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.95; }
.hero .lede { color: var(--ink-yellow); }
.small-print { font-size: 16px; font-weight: 800; color: var(--on-yellow-muted); }
.stage { position: relative; min-height: 560px; }
.stage > svg { display: block; width: 100%; max-width: 520px; margin: 40px auto 0; }
.note { position: absolute; margin: 0; background: var(--white); padding: 12px 16px 14px; font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 1.05; color: var(--ink); box-shadow: 0 6px 14px rgba(31, 36, 51, 0.14); max-width: 190px; }
.note::before { content: ""; position: absolute; top: -10px; left: 50%; width: 56px; height: 20px; margin-left: -28px; background: rgba(245, 184, 0, 0.55); transform: rotate(-4deg); }

/* alternating still lifes */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.row .copy { display: flex; flex-direction: column; gap: 18px; }
.row h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; }
.row p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.art svg { display: block; width: 100%; max-width: 460px; margin: 0 auto; }
.rows { display: flex; flex-direction: column; gap: 112px; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.problem h3 { font-size: 26px; color: var(--tomato-deep); margin-bottom: 8px; }
.problem p { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.bowl { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.bowl b { font-size: 34px; }
.bowl p { font-size: 18px; line-height: 1.5; }
.promise { font-family: var(--hand); font-weight: 700; font-size: 34px; line-height: 1.3; }

/* item tiles (modes) */
.item { background: var(--white); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.item svg { width: 72px; height: 72px; }
.item h3 { font-size: 26px; }
.item p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.item-yellow { background: var(--yellow); }
.item-yellow p { color: var(--ink); }

/* recipe card (how a question is answered) */
.recipe { position: relative; background: var(--white); border-radius: 14px; padding: 40px 40px 44px; box-shadow: 0 10px 30px rgba(31, 36, 51, 0.1); transform: rotate(-0.6deg); }
.recipe::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18px; background: var(--tomato); border-radius: 14px 14px 0 0; }
.recipe::after { content: ""; position: absolute; top: -12px; right: 48px; width: 80px; height: 26px; background: rgba(245, 184, 0, 0.6); transform: rotate(6deg); }
.recipe h2 { font-family: var(--hand); font-size: clamp(40px, 5vw, 58px); letter-spacing: 0; }
.recipe ol { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; counter-reset: step; }
.recipe li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; padding: 18px 0; border-top: 2px dashed var(--crumb); }
.recipe li::before { content: counter(step); grid-row: span 2; font-family: var(--hand); font-size: 52px; line-height: 0.9; color: var(--tomato); }
.recipe li b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.recipe li span { font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* pricing: the menu board */
.menu { background: var(--teal-deep); color: var(--white); border-radius: 32px; padding: 44px 40px 48px; box-shadow: inset 0 0 0 10px #0d4f55, inset 0 0 0 12px rgba(255, 255, 255, 0.12); }
.menu-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 32px; }
.menu-head h2 { font-family: var(--hand); font-size: clamp(44px, 6vw, 72px); letter-spacing: 0; color: var(--yellow); }
.toggle { display: inline-flex; gap: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 4px; }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 800; font-size: 16px; color: var(--on-teal); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.dish { padding: 8px 28px 4px; display: flex; flex-direction: column; gap: 14px; }
.dish + .dish { border-left: 2px dashed rgba(255, 255, 255, 0.22); }
.dish h3 { font-size: 32px; }
.dish .for { font-family: var(--hand); font-size: 26px; color: var(--yellow); line-height: 1.05; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: 56px; letter-spacing: -0.03em; }
.price span { color: var(--on-teal); }
.price-note { font-size: 14px; color: var(--on-teal); margin-top: -8px; min-height: 1.2em; }
.dish ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--on-teal); }
.dish li { display: flex; gap: 10px; }
.dish li svg { flex-shrink: 0; margin-top: 2px; }
.dish li b { color: var(--white); }
.dish .btn { margin-top: auto; }
.dish-best { position: relative; }
.dish-best .tag { position: absolute; top: -22px; left: 28px; background: var(--tomato-deep); color: var(--white); border-radius: 10px; padding: 4px 10px; font-size: 14px; font-weight: 800; transform: rotate(-3deg); }

.table-box { overflow-x: auto; background: var(--white); border-radius: 22px; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 16px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 2px dashed var(--crumb); vertical-align: top; }
thead th { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
tbody th { color: var(--ink-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.count { background: var(--white); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.count b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.count:not(.free) span { color: var(--ink-2); }
.count span { line-height: 1.4; }
.count.free { background: var(--teal); color: var(--white); }
.count.free span { color: var(--on-teal); }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 19px; line-height: 1.45; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex-shrink: 0; margin-top: 3px; }

/* questions */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 20px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; min-height: 44px; align-items: center; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--hand); font-size: 34px; line-height: 0.7; color: var(--tomato); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* footer */
.footer { background: var(--ink); color: #d7dbe3; padding: 44px 0 60px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; }
.footer .hand { font-size: 30px; color: var(--yellow); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a { color: #d7dbe3; }
.footer a:hover { color: var(--white); }

@media (max-width: 960px) {
  .band { padding: 80px 0; }
  .hero, .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row .art { order: -1; }
  .stage { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .note { position: static; transform: none !important; max-width: none; }
  .notes { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .three, .four, .dishes { grid-template-columns: minmax(0, 1fr); }
  .dish + .dish { border-left: 0; border-top: 2px dashed rgba(255, 255, 255, 0.22); padding-top: 28px; margin-top: 20px; }
  .navlinks { display: none; }
  .menu { padding: 32px 22px 36px; }
  .recipe { padding: 36px 22px 30px; }
  .sticky-col { position: static; }
}
@media (max-width: 560px) {
  .brand span { font-size: 21px; }
  .brand svg { width: 36px; height: 36px; }
  .nav { min-height: 72px; }
  .counts { grid-template-columns: minmax(0, 1fr); }
  .navend .login { display: none; }
  .four { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 561px) and (max-width: 960px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
