/* ReelRecipes landing. Paprika on kitchen-tile grey, numbers as food-label stickers. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
:root {
  --paprika: #e5431f; --paprika-tint: #ffe7df; --basil: #1e8a55; --basil-tint: #e2f3e9; --butter: #f2b21b; --butter-tint: #fff3d1;
  --berry: #5b5bd6; --berry-tint: #e8e8fb; --ink: #1b1a17; --ink-2: #5e5850; --muted: #6f695f; --bg: #f6f5f3; --card: #fff; --line: #e6e2dc; --reel: #15120f;
}
@media (prefers-color-scheme: dark) {
  :root { --paprika: #ff6a47; --paprika-tint: #3a2119; --basil: #3dbb7b; --basil-tint: #16301f; --butter: #f5c04a; --butter-tint: #3a2f14; --berry: #8b8bf0; --berry-tint: #23234a;
    --ink: #f6f2ec; --ink-2: #c2baae; --muted: #a39b8f; --bg: #14120f; --card: #1e1b17; --line: #332e27; --reel: #0b0a09; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .num { font-family: 'Bricolage', -apple-system, sans-serif; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin: 0 0 18px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0 0 14px; }
h3 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; font-weight: 600; }
p { margin: 0 0 14px; max-width: 62ch; }
.muted { color: var(--muted); }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.langs { display: flex; gap: 6px; font-size: 14px; }
.langs a { text-decoration: none; padding: 6px 10px; border-radius: 999px; color: var(--ink-2); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: 'title stage' 'copy stage'; column-gap: 40px; align-items: center; padding: 40px 0 70px; }
.hero-title { grid-area: title; align-self: end; }
.hero-copy { grid-area: copy; align-self: start; }
.stage { grid-area: stage; }
.lede { font-size: 20px; color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 22px 0 18px; }
.price strong { font-family: 'Bricolage', sans-serif; font-size: 30px; }
.price span { color: var(--ink-2); }
form.join { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
form.join input { flex: 1 1 240px; min-height: 54px; padding: 0 18px; font-size: 17px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
form.join input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
button.cta { min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--paprika); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; }
button.cta:active { transform: scale(0.98); }
.form-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.form-ok { font-weight: 700; color: var(--basil); }
.form-err { color: #c62828; }

/* the reel that becomes a recipe */
.stage { position: relative; height: 540px; }
.reel { position: absolute; left: 4%; top: 0; width: 64%; aspect-ratio: 9/16; background: var(--reel); border-radius: 30px; transform: rotate(-5deg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.reel .dish { position: absolute; inset: 0 0 34% 0; display: grid; place-items: center; font-size: 110px; }
.reel .cap { position: absolute; left: 16px; right: 48px; bottom: 18px; color: #fff; font-size: 13px; line-height: 1.35; }
.reel .cap b { display: block; font-size: 14px; }
.reel .badge { position: absolute; left: 14px; top: 14px; color: #fff; background: rgba(0,0,0,.45); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.reel .scan { position: absolute; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--paprika), transparent); top: 0; animation: scan 1.6s linear 3 alternate; }
@keyframes scan { to { top: calc(100% - 4px); } }
.card { position: absolute; right: 0; top: 44%; width: 78%; background: var(--card); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px rgba(0,0,0,.18); transform: rotate(3deg); animation: rise .6s cubic-bezier(.23,1,.32,1) 1.9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) rotate(3deg) scale(.96); } }
.card h3 { font-size: 20px; }
.stickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.st { border-radius: 12px; padding: 8px 10px; }
.st .num { display: block; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.1; white-space: nowrap; }
.st .num i { font-style: normal; font-size: .68em; margin-left: 2px; }
.st small { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.k { background: var(--paprika-tint); color: #b8320f; } .p { background: var(--basil-tint); color: #166b42; } .c { background: var(--butter-tint); color: #8a5d00; } .f { background: var(--berry-tint); color: #4343b8; }
@media (prefers-color-scheme: dark) { .k { color: #ff8a6b; } .p { color: #5fd196; } .c { color: var(--butter); } .f { color: #a5a5f5; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; }

section { padding: 70px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 12px; font-family: 'Bricolage', sans-serif; font-weight: 800; }
.steps li:nth-child(1)::before { background: var(--paprika-tint); color: #b8320f; }
.steps li:nth-child(2)::before { background: var(--basil-tint); color: #166b42; }
.steps li:nth-child(3)::before { background: var(--butter-tint); color: #8a5d00; }
.gets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.gets div { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.gets .emoji { font-size: 30px; }
.honest { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 34px; }
.honest p { color: inherit; opacity: .85; }
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.plan > div { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 24px; }
.plan > div.best { border-color: var(--paprika); }
.plan .num { font-size: 40px; }
.plan ul { padding-left: 18px; margin: 12px 0 0; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; }
footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer a { margin-right: 14px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: 'title' 'stage' 'copy'; padding-top: 10px; }
  .stage { height: 470px; max-width: 420px; margin: 4px auto 26px; width: 100%; }
  .steps, .gets, .plan { grid-template-columns: 1fr; }
  .card { width: 88%; padding: 14px; }
  .stickers { gap: 6px; }
  .st { padding: 7px 7px; }
  .st small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .reel .scan { animation: none; display: none; } .card { animation: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* legal pages: one reading column */
.legal main { max-width: 720px; }
.legal article { padding: 20px 0 50px; }
.legal article + article { border-top: 1px solid var(--line); }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; margin: 30px 0 8px; }
.legal ul { padding-left: 20px; max-width: 62ch; }
.legal li { margin-bottom: 6px; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 6px; }
.lost .emoji { font-size: 64px; }
.lost p { margin-inline: auto; }
