/* nowaffle.app landing page. The legal pages keep style.css. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/app/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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/app/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; }

:root {
  --bg: #FBFBFD;
  --band: #F2F2F5;
  --card: #FFFFFF;
  --ink: #111114;
  --muted: #6B6E76;
  --line: #E4E4EA;
  --accent: #007D40;
  --yes-top: #18A57A; --yes-bottom: #00825E;
  --no-top: #DD6614; --no-bottom: #A44700;
  --shadow: 0 30px 60px -20px rgba(17, 17, 20, 0.25), 0 12px 24px -12px rgba(17, 17, 20, 0.12);
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0F; --band: #131318; --card: #1C1C22; --ink: #F5F5F7; --muted: #A1A3AA; --line: #2A2A32;
    --accent: #2BD47D;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, calc((100vw - 1160px) / 2)); background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { border-radius: 7px; }
.bar-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
.bar-links a:not(.pill) { color: var(--muted); text-decoration: none; }
.bar-links a:not(.pill):hover { color: var(--ink); }
@media (max-width: 560px) { .bar-links a:not(.pill) { display: none; } }
@media (prefers-reduced-transparency: reduce) { .bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; }
.pill.primary { background: var(--ink); color: var(--bg); }
.pill.primary:hover { filter: brightness(1.15); }
.pill.small { min-height: 36px; padding: 0 16px; font-size: 15px; background: var(--ink); color: var(--bg); }
/* Plain text until the apps are out: the store badges may only be used for available apps. */
.soon { margin: 0; align-self: center; font-size: 15px; font-weight: 700; color: var(--muted); }

main > section { padding: 0 16px; }

/* Hero */
.hero { max-width: 1160px; margin: 0 auto; padding-top: 56px !important; padding-bottom: 72px !important; display: grid; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(48px, 9vw, 96px); font-weight: 900; }
.lede { margin: 22px 0 30px; max-width: 34em; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin: 22px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.hero-shot { margin: 0; justify-self: center; width: min(460px, 88vw); }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 460px; padding-top: 88px !important; padding-bottom: 104px !important; }
}

/* Sections */
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
.section-head p { margin: 16px 0 0; font-size: 19px; color: var(--muted); }

/* On air: the same cards as How it works, numbered. */
.onair { max-width: 1160px; margin: 0 auto; padding-top: 88px !important; padding-bottom: 88px !important; }
.num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 900; }
.more { margin: 28px 0 0; text-align: center; font-size: 19px; font-weight: 800; }

.scenes { background: var(--band); padding-top: 88px !important; padding-bottom: 96px !important; }
.grid { max-width: 1240px; margin: 0 auto; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.scene { margin: 0; background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.scene.wide { grid-column: 1 / -1; }
.scene.wide img { aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .scene.wide img { aspect-ratio: 21 / 9; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .scene:hover img { transform: scale(1.03); } }
.scene figcaption { position: relative; padding: 18px 22px 22px; font-size: 21px; font-weight: 800; line-height: 1.25; background: var(--card); }
.scene figcaption span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.how { position: relative; isolation: isolate; max-width: 1160px; margin: 0 auto; padding-top: 96px !important; padding-bottom: 96px !important; }
/* Answering the two buttons below tints the whole band in the verdict's colour (home.js). */
.how::before { content: ""; position: absolute; z-index: -1; inset: 0 auto; left: 50%; width: 100vw; transform: translateX(-50%); background: transparent; transition: background-color 0.5s ease; }
.how[data-answer="yes"]::before { background-color: color-mix(in srgb, var(--yes-top) 16%, var(--bg)); }
.how[data-answer="no"]::before { background-color: color-mix(in srgb, var(--no-top) 16%, var(--bg)); }
@media (prefers-reduced-motion: reduce) { .how::before { transition: none; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.steps h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); }
/* What only the iPhone and iPad app does, until it is out. */
.steps .tag { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.dot { display: block; width: 22px; height: 22px; border-radius: 50%; }
.dot.ink { background: var(--ink); }
.dot.split { background: linear-gradient(90deg, var(--yes-top) 50%, var(--no-top) 50%); }
.dot.grey { background: #8E9199; }
.dot-icon { display: block; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.dot-icon circle { fill: var(--ink); stroke: none; }
.answer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin: 40px auto 0; }
.answer button { display: grid; place-items: center; min-height: 112px; border: 0; border-radius: 30px; color: #fff; font: 900 30px var(--font); letter-spacing: 0.02em; cursor: pointer; transition: transform 0.15s ease, opacity 0.3s ease; }
.answer button:active { transform: scale(0.97); }
.answer button[aria-pressed="false"] { opacity: 0.45; }
.answer-note { min-height: 1.6em; margin: 24px 0 0; text-align: center; font-weight: 800; font-size: 19px; }
.answer .yes { background: linear-gradient(var(--yes-top), var(--yes-bottom)); box-shadow: 0 14px 30px -12px rgba(0, 158, 115, 0.55); }
.answer .no { background: linear-gradient(var(--no-top), var(--no-bottom)); box-shadow: 0 14px 30px -12px rgba(213, 94, 0, 0.55); }

.request { max-width: 760px; margin: 0 auto; text-align: center; padding-top: 96px !important; padding-bottom: 96px !important; }
.request h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
.request p { margin: 18px 0 30px; font-size: 19px; color: var(--muted); }

.final { background: var(--band); text-align: center; padding-top: 104px !important; padding-bottom: 104px !important; }
.final h2 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; margin-bottom: 30px; }
.final p { margin: 18px 0 0; color: var(--muted); font-weight: 700; }

.foot { border-top: 1px solid var(--line); padding: 28px max(16px, calc((100vw - 1160px) / 2)) 40px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px; font-weight: 700; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot p { margin: 0; }
.foot .credits { margin-top: 8px; font-size: 12px; line-height: 1.5; }
