/* BirdyGo site. Tokens from fork/DESIGN.md (Loriot theme). */
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #13233A;
  --mist: #EEF1EC;
  --kingfisher: #19A7B3;
  --kingfisher-text: #0B6E77;
  --kingfisher-on-dark: #4FC3CC;
  --oriole: #F4C542;
  --lichen: #9DB46A;
  --bark: #6B5847;
  --surface: #FFFFFF;
  --line: #D9DED6;
  --bg: var(--mist);
  --text: var(--ink);
  --text2: var(--bark);
  --link: var(--kingfisher-text);
  --radius: 20px;
  --display: "Nunito", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1A2C;
    --surface: #182B45;
    --line: #26405F;
    --text: #EEF1EC;
    --text2: #AEBACB;
    --link: var(--kingfisher-on-dark);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}
a { color: var(--link); }
img, svg { max-width: 100%; height: auto; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: var(--ink); color: var(--mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--mist); text-decoration: none; font: 800 22px var(--display); }
.brand img { width: 40px; height: 40px; }
/* Wordmark « Birdy·Go » (fork/store/graphics/logo): Birdy in Brume, Loriot dot, Go in kingfisher. */
.wm { font: 800 24px/1 var(--display); letter-spacing: -.2px; color: var(--mist); white-space: nowrap; }
.wm-dot { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--oriole); margin: 0 .12em; vertical-align: .2em; }
.wm-go { color: var(--kingfisher-on-dark); }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.site-header nav a { color: var(--mist); text-decoration: none; opacity: .85; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero { background: var(--ink); color: var(--mist); text-align: center; padding: 40px 0 72px; }
.hero-bird { width: min(320px, 78vw); aspect-ratio: 570 / 450; margin: 0 auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-bird.small { width: 220px; }
.hero-bird svg, .hero-bird img { display: block; width: 100%; height: 100%; overflow: visible; }
.hero h1 { font: 800 clamp(40px, 8vw, 72px)/1.05 var(--display); margin: 16px 0 16px; letter-spacing: -.5px; }
.hero h1 .k { color: var(--kingfisher-on-dark); }
.hero h1 .dot { color: var(--oriole); }
.hero p.lead { font-size: clamp(18px, 2.6vw, 22px); color: #C9D3DF; max-width: 560px; margin: 0 auto 28px; }
.soon { display: inline-block; margin-top: 18px; font-size: 15px; color: #AEBACB; }

.btn {
  display: inline-block; background: var(--kingfisher); color: var(--ink);
  font: 800 18px var(--display); text-decoration: none; border: 0; cursor: pointer;
  padding: 16px 32px; border-radius: 999px; min-height: 56px;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--oriole); outline-offset: 2px; }

/* Sections */
section { padding: 64px 0; }
h2 { font: 800 clamp(28px, 4vw, 36px)/1.15 var(--display); margin: 0 0 12px; }
h3 { font: 800 20px/1.25 var(--display); margin: 0 0 6px; }
.sub { color: var(--text2); margin: 0 0 32px; }

.pill { display: inline-block; font: 800 13px var(--display); padding: 3px 10px; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.pill.sure { background: var(--lichen); }
.pill.likely { background: var(--kingfisher-on-dark); }
.pill.verify { background: var(--oriole); }

/* Feature showcase: real app screens next to their text, alternating sides. */
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; margin: 0 0 72px; }
.show.flip .shot { order: 2; }
.show-text h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; }
.show-text p { color: var(--text2); margin: 0 0 12px; }
.shot { margin: 0; justify-self: center; width: 100%; max-width: 380px; background: var(--ink); border-radius: 28px; padding: 10px; box-shadow: 0 18px 48px -18px rgba(19, 35, 58, .55); }
.shot img { display: block; width: 100%; height: auto; border-radius: 20px; }
.show.wide { grid-template-columns: 1fr; gap: 20px; text-align: center; }
.show.wide .show-text p { max-width: 560px; margin: 0 auto; }
.shot.strip { max-width: 760px; padding: 14px 18px; border-radius: 999px; }
.shot.strip img { border-radius: 0; }
.privacy-band { background: var(--ink); color: var(--mist); border-radius: 28px; padding: 32px; }
.privacy-band h3 { color: var(--mist); margin-bottom: 14px; }
.privacy-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; }
.privacy-band li { color: #C9D3DF; }
.privacy-band strong { color: var(--kingfisher-on-dark); display: block; font-family: var(--display); font-size: 18px; }
@media (max-width: 760px) {
  .show, .show.flip { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .show.flip .shot { order: 0; }
  .shot { max-width: 340px; }
}

/* Form */
.testers { background: var(--surface); }
form { display: grid; gap: 18px; max-width: 520px; }
label { font-weight: 700; display: block; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--text2); font-size: 15px; }
input[type=text], input[type=email], select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 52px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.hidden { position: absolute; left: -9999px; }
.small { font-size: 14px; color: var(--text2); }

/* Prose pages (policy, support) */
.prose { padding-top: 48px; padding-bottom: 64px; }
.prose h1 { font: 800 clamp(30px, 5vw, 42px)/1.1 var(--display); margin: 0 0 8px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose code { font-size: .9em; background: var(--surface); padding: 1px 5px; border-radius: 6px; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--display); }

/* .justcodeit> wordmark: always on ink so #00FFAA stays readable */
.jci { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 700; color: #00FFAA; background: var(--ink); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

/* Footer */
footer { background: var(--ink); color: #AEBACB; font-size: 14px; padding: 32px 0; }
footer a { color: var(--mist); }
footer p { margin: 6px 0; }
