/* GaffHunt landing — page styles over the DS bundle (ds.css).
   Flattened from the design of record (Claude Design project "Rental
   Hunt UI", templates/landing-page/LandingPage.dc.html); the helmet
   styles live here, plus the ticket-02 form additions and the
   responsive rules the ship target needs. Tokens only — no raw values
   outside the self-hosted @font-face. */

/* Inter, self-hosted (no Google Fonts request — the privacy page says
   no third-party calls, so the page makes none). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-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;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
html { scroll-behavior: smooth; }
/* Inline display:flex on the form/done blocks must not defeat hidden. */
[hidden] { display: none !important; }

[data-accents="mono"] .gh-eb { font-family: var(--typeface-mono); font-weight: 600; }
[data-accents="sans"] .gh-eb { font-weight: 700; }
[data-accents="mono"] .gh-num { font-family: var(--typeface-mono); font-weight: 700; }
[data-accents="sans"] .gh-num { font-weight: 800; }

/* Pill options — the template's .gh-pill, carried onto real radios so
   the form works before (and without) JS. */
.gh-pill {
  padding: 7px 14px;
  border-radius: var(--corner-full);
  border: var(--stroke-hairline) solid var(--input);
  background: var(--card);
  color: var(--secondary-foreground);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.gh-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gh-pill:has(input:checked) {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.gh-pill:has(input:focus-visible) {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Conditional city field: only when "Somewhere else" is picked. */
.wl-where { display: none; }
form:has(#wl-loc-elsewhere:checked) .wl-where { display: flex; }

/* Honeypot: removed from view, not from the DOM. */
.wl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive — the design of record is a desktop composition; below
   900px the two-column grids stack and display type steps down. */
@media (max-width: 900px) {
  .gh-hero, .gh-2col { grid-template-columns: 1fr !important; gap: 48px !important; }
  .gh-3col { grid-template-columns: 1fr !important; }
  .gh-faq { grid-template-columns: 1fr !important; }
  .gh-hero h1 { font-size: 40px !important; }
  h2 { font-size: 32px !important; }
}
