/* Waingoo site theme A (Clean Sheet): shared by every page on waingoo.com. */

/* Fonts are self-hosted (latin subset, SIL OFL, licences in /fonts) so the
   first paint waits on no third-party stylesheet. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-mono-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-mono-500-latin.woff2) format('woff2');
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0B0B0B;
  --ink-soft: #3A3A3A;
  --paper: #FAFAF7;
  --panel: #EFEFE8;
  --card: #FFFFFF;
  --lime: #C6F432;
  --on-dark: #FAFAF7;
  --on-dark-soft: #CFCFC8;
  --border: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius-card: 18px;
  --radius-panel: 32px;
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1200px;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: var(--border);
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--lime); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-secondary { background: var(--card); font-weight: 700; }
.btn-secondary:hover { background: var(--panel); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover, .btn-primary:active { transform: none; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 247, 0.92); backdrop-filter: blur(8px); border-bottom: 2px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px 24px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper) !important;
  font-weight: 700; text-decoration: none !important;
}
.nav-cta { white-space: nowrap; }
@media (max-width: 860px) { .nav-links .nav-text { display: none; } }
@media (max-width: 420px) {
  .nav-cta { font-size: 15px; padding: 8px 14px; }
  .brand img { height: 44px; }
}

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero h1 { font-size: clamp(48px, 7.2vw, 96px); line-height: 0.95; letter-spacing: -0.045em; }
.hero-lede { font-size: 21px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }

.compare {
  flex: 1 1 440px; min-width: 0;
  background: var(--panel);
  border-radius: var(--radius-panel);
  padding: 48px 32px 28px;
  display: flex; flex-direction: column; gap: 32px;
}
.compare-title { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; color: var(--ink); }
.compare-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.ticket {
  flex: 1 1 200px;
  background: var(--card);
  border: var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.ticket:first-child { transform: rotate(-1.5deg); }
.ticket:last-child { transform: rotate(1deg); background: var(--lime); }
.ticket .mono { font-size: 12px; margin-bottom: 12px; }
.ticket-text { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.compare-foot { text-align: center; font-weight: 500; font-size: 13px; }

/* Asks */
.asks { padding: 8px 0 40px; }
.asks .mono { margin-bottom: 18px; }
.ask-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.ask-list li {
  background: var(--card);
  border: var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}
.ask-list li:nth-child(3n+1) { transform: rotate(-1deg); }
.ask-list li:nth-child(3n+2) { transform: rotate(0.8deg); }

/* Sections */
.section { padding: 64px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.section-head p { font-size: 20px; }

.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  flex: 1 1 280px;
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card.is-lime { background: var(--lime); }
.card.is-lime p { color: #1A1A1A; }
.card .num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }

.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.sources .mono { margin-right: 6px; }
.source { border: var(--border); border-radius: 999px; padding: 6px 14px; font-weight: 600; background: var(--card); }
.pay-note { margin-top: 18px; font-family: var(--font-mono); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { border: var(--border); border-radius: var(--radius-card); padding: 24px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 22px; }

/* Safety */
.safety { padding: 24px 0; }
.safety-panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-panel);
  padding: 56px 40px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
}
.safety-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.safety-copy .mono { color: var(--lime); }
.safety-copy h2 { color: var(--on-dark); font-size: clamp(34px, 4.5vw, 54px); }
.safety-copy p { color: var(--on-dark-soft); }
.signals { flex: 1 1 380px; min-width: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.signals li { border: 2px solid var(--on-dark); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.safety-note { flex-basis: 100%; font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-soft); }
@media (max-width: 520px) { .safety-panel { padding: 40px 22px; border-radius: 24px; } }

/* Coming soon */
.soon-card {
  background: var(--card);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.soon-card > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.soon-card h3 { font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.03em; }
.soon-tag { background: var(--lime); border: var(--border); border-radius: 999px; padding: 8px 16px; transform: rotate(3deg); font-weight: 500; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.faq { background: var(--card); border: var(--border); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 19px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform .15s ease; }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* Final CTA and footer */
.final { padding: 56px 0 48px; border-top: var(--border); }
.final-title { font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 28px; }
.footer { padding: 28px 0 48px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.footer-row a { color: var(--ink-soft); }
.disclaimer { margin-top: 16px; font-size: 14px; max-width: 760px; }

/* Legal and text pages (privacy) */
.legal { padding: 40px 0 72px; }
.legal-wrap { max-width: 860px; }
.legal-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 0.95; letter-spacing: -0.045em; }
.legal-head .lede { font-size: 20px; max-width: 620px; }
.legal-section {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 28px 0;
  border-top: var(--border);
}
.legal-section .num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; padding-top: 10px; }
.legal-section h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 12px; }
.legal-section p + p, .legal-section .legal-list + p { margin-top: 12px; }
.legal-section strong { color: var(--ink); font-weight: 700; }
.legal-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; color: var(--ink-soft); }
.legal-list li { position: relative; padding-left: 24px; }
.legal-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 11px; height: 11px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
}
.contact-card {
  margin-top: 18px;
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.contact-card .name { color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
@media (max-width: 640px) {
  .legal-section { grid-template-columns: minmax(0, 1fr); }
  .legal-section .num { padding-top: 0; }
}
