/* Nag's colours and type, as in the app (lib/src/ui/palette.dart, theme.dart). */
@font-face {
  font-family: Anton;
  src: url(/fonts/anton.woff2) format('woff2');
  font-display: swap;
}

:root {
  --hazard: #FFD60A;
  --ink: #0D0D0D;
  --panel: #181818;
  --line: #2E2E2E;
  --text: #F4F1E8;
  --mute: #9A968C;
  --chill: #6FD08C;
  --loud: #FF8A1F;
  --nuclear: #FF3B30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hazard);
  color: var(--ink);
  font-family: Roboto, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.display {
  font-family: Anton, Impact, 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
}
.caps, .meta {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.meta { color: var(--mute); }

.tape {
  height: 26px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--hazard) 16px 32px);
}
.wrap { max-width: 1164px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-tile { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.brand-name { font-size: 44px; line-height: 44px; letter-spacing: 1px; }

/* Hero */
.hero { padding-top: 22px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(64px, 26.5vw, 200px); line-height: 0.93; }
.hero h1 span { display: block; }
.sub { margin-top: 14px; font-size: clamp(20px, 5.4vw, 30px); line-height: 1.2; font-weight: 900; }
.status { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pill {
  background: var(--ink); color: var(--hazard);
  padding: 15px 22px; border-radius: 12px;
  font-size: 14px; line-height: 1; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase;
}
.status-note { font-weight: 700; }

/* The nag ladder */
.demo { padding-bottom: 56px; }
.demo h2 { font-size: clamp(34px, 8vw, 64px); margin-bottom: 18px; }
.card-black { background: var(--ink); color: var(--text); border-radius: 14px; padding: 18px 18px 22px; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--text);
  font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}
.seg button:hover { border-color: var(--mute); }
.seg button[aria-pressed="true"] { background: var(--hazard); border-color: var(--hazard); color: var(--ink); }
.seg button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

.ladder li {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.ladder li:last-child { border-bottom: 1px solid var(--line); }
.time { font-size: 26px; line-height: 1.15; }
.said { display: flex; flex-direction: column; gap: 3px; }
.line { font-size: 18px; line-height: 1.35; font-weight: 700; }
.t-chill { color: var(--chill); }
.t-nag { color: var(--hazard); }
.t-loud { color: var(--loud); }
.t-nuclear { color: var(--nuclear); }

.levels { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; font-size: 15px; line-height: 1.4; }
.level { display: block; font-size: 28px; line-height: 1.15; letter-spacing: 0.5px; margin-bottom: 2px; }

/* Dark band */
.dark { background: var(--ink); color: var(--text); padding: 56px 0 64px; }
.split { display: grid; gap: 32px; align-items: center; justify-items: center; }
.shot { width: min(280px, 78%); border-radius: 28px; border: 2px solid var(--line); }
.split-copy { display: flex; flex-direction: column; gap: 16px; max-width: 34em; }
.split-copy h2 { font-size: clamp(38px, 9vw, 76px); color: var(--hazard); }
.split-copy p { font-size: 18px; }

.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.cards li { background: var(--panel); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cards h3 { font-size: 28px; line-height: 1.1; color: var(--hazard); letter-spacing: 0.5px; }
.cards p { font-size: 16px; }

/* Footer */
.foot { padding-bottom: 44px; }
.foot-url { text-transform: none; font-size: clamp(40px, 9vw, 72px); letter-spacing: 1px; }
.fine { font-size: 15px; font-weight: 500; max-width: 62ch; }
.fine + .fine { margin-top: 8px; }

@media (min-width: 700px) {
  .wrap { padding-inline: 32px; }
  .card-black { padding: 24px 28px 28px; }
  .ladder li { grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; }
  .time { font-size: 32px; }
  .line { font-size: 20px; }
  .levels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; justify-items: start; }
  .shot { width: 280px; }
}

@media (min-width: 900px) {
  .hero { padding-top: 32px; padding-bottom: 56px; }
  .hero h1 { font-size: min(13.2vw, 160px); }
  .hero h1 span { display: inline; }
  .sub { font-size: 32px; }
  .demo { padding-bottom: 72px; }
  .dark { padding: 80px 0 88px; }
  .cards { margin-top: 64px; }
  .notify { padding-top: 72px; }
}

/* Links, the hero's button, section titles */
a { color: inherit; text-underline-offset: 0.15em; }
.lead { margin-top: 12px; max-width: 34em; font-size: 18px; font-weight: 500; }
a.pill { display: inline-block; text-decoration: none; }
a.pill:hover { background: #000; }
a.pill:focus-visible, .signup button:focus-visible, .signup input:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
.dark a:focus-visible, .dark-page a:focus-visible { outline: 3px solid var(--hazard); outline-offset: 2px; }
.section-title { margin-top: 64px; font-size: clamp(38px, 9vw, 76px); color: var(--hazard); }
.section-title + .cards { margin-top: 24px; }

/* Questions */
.faq { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px 40px; }
.faq dt { font-size: 19px; font-weight: 800; }
.faq dd { margin: 6px 0 0; font-size: 16px; }
.faq a { color: var(--hazard); }

/* Sign-up */
.notify { padding-top: 56px; padding-bottom: 16px; scroll-margin-top: 16px; }
.notify h2 { font-size: clamp(48px, 13vw, 132px); line-height: 0.95; }
.notify-lead { margin-top: 18px; max-width: 32em; font-size: 20px; line-height: 1.4; font-weight: 700; }
.signup { margin-top: 24px; display: grid; gap: 16px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 800; }
.signup input[type="email"] {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--ink); border-radius: 12px;
  background: var(--ink); color: var(--text);
  font: inherit; font-size: 17px;
}
.signup ::placeholder { color: var(--mute); opacity: 1; }
.signup button {
  justify-self: start; min-height: 56px; padding: 0 24px;
  border: 0; border-radius: 12px; background: var(--ink); color: var(--hazard);
  font: inherit; font-size: 15px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
}
.signup button:hover { background: #000; }
.signup button[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 18px; font-weight: 800; }
.form-status:empty { display: none; }

/* Footer, now below the sign-up */
.foot { padding-top: 40px; }
.foot-url { margin: 0 0 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 20px; font-weight: 800; }
.foot-links a { display: inline-block; padding: 10px 0; }

/* Short pages: thanks, unsubscribe, not found */
.plain { max-width: 760px; padding-top: 28px; padding-bottom: 72px; }
.plain .brand-name, .prose .brand-name { text-decoration: none; }
.plain h1 { margin: 28px 0 8px; font-size: clamp(44px, 11vw, 96px); }
.plain p { margin-top: 14px; font-size: 18px; font-weight: 500; }

/* The privacy page: long text, so light on dark */
.dark-page { background: var(--ink); color: var(--text); }
.prose { max-width: 800px; padding-top: 28px; padding-bottom: 80px; }
.prose .brand-name { color: var(--hazard); }
.prose h1 { margin: 28px 0 12px; font-size: clamp(44px, 10vw, 88px); color: var(--hazard); }
.prose h2 { margin: 48px 0 12px; font-size: 32px; line-height: 1.1; letter-spacing: 0.5px; color: var(--hazard); }
.prose h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 800; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 8px; }
.prose ul + p { margin-top: 12px; }
.prose a { color: var(--hazard); }
.prose .back { margin-top: 48px; font-weight: 800; }

/* Who is behind it: small and quiet, on every page */
.company { margin-top: 28px; font-size: 14px; line-height: 1.5; font-weight: 500; color: rgba(13, 13, 13, 0.78); }
.plain .company { margin-top: 48px; font-size: 14px; }
.dark-page .company { color: var(--mute); }
.dark-page .company a { color: var(--mute); }
.prose .company { margin-top: 20px; font-size: 14px; }
.prose .provider { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
