/* huntgrid.net, the public website (roadmap 15.8d). Static, no JavaScript. Colours are the app's light and dark theme
   tokens (src/web/src/styles/_tokens.scss); fonts are the app's own (OFL, files and licences in ./fonts). */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5e5b54;
  --primary: #2f5a43;
  --accent: #c94600;
  --on-accent: #ffffff;
  --accent-text: #a63a00; /* small orange text: 4.5:1 on paper and white */
  --border: #d9d4ca;
  --forest: #1d3a2b;
  --forest-text: #f5f3ef;
  --forest-muted: #c9d6cd;
  --blaze: #ff6a13;
  --shadow: 0 1px 2px rgb(28 28 26 / 0.06), 0 8px 24px rgb(28 28 26 / 0.08);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121513;
    --surface: #1b201d;
    --text: #ecedea;
    --muted: #a3a8a2;
    --primary: #6aae88;
    --accent: #ff7a2e;
    --on-accent: #121513;
    --accent-text: #ff7a2e;
    --border: #2e3631;
    --forest: #0d1a13;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 0.15em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: 0.005em; margin: 0 0 0.75rem; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.5vw, 2.85rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: 20; background: var(--surface); padding: 0.75rem 1rem; border-radius: 0.5rem; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--forest); background: rgb(from var(--forest) r g b / 0.94); backdrop-filter: blur(8px); color: var(--forest-text); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font: 700 1.6rem/1 var(--display); min-height: 48px; }
.site-nav { display: flex; gap: 0.25rem 1.25rem; margin-left: auto; }
.site-nav a, .lang { color: var(--forest-text); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .lang:hover { text-decoration: underline; }
.header-cta { margin-left: 0.5rem; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .lang { margin-left: auto; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 0.6rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-small { min-height: 44px; padding: 0 1rem; font-size: 0.95rem; }
@media (max-width: 420px) { .header-cta { display: none; } }

/* Hero */
.hero { background: var(--forest) url('topo.svg') center / cover; color: var(--forest-text); padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 0.9fr 1.1fr; } }
.eyebrow { font: 600 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.12em; color: var(--blaze); margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); text-transform: uppercase; }
.hero .lead { font-size: 1.2rem; color: var(--forest-muted); max-width: 34rem; }
.hero-copy { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.5rem; }
.hero .btn-primary { background: var(--blaze); color: #121513; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; margin: 0; list-style: none; color: var(--forest-muted); font-size: 0.95rem; }
.facts li::before { content: '✓'; color: var(--blaze); font-weight: 700; margin-right: 0.4rem; }
.hero-shots { position: relative; padding-bottom: 0; min-width: 0; }
.shot-desktop { border-radius: 0.75rem 0.75rem 0 0; border: 6px solid #0b1510; border-bottom: 0; box-shadow: 0 20px 60px rgb(0 0 0 / 0.45); }
.shot-phone { position: absolute; right: 2%; bottom: 0; width: 28%; border-radius: 1.4rem 1.4rem 0 0; border: 5px solid #0b1510; border-bottom: 0; box-shadow: 0 20px 50px rgb(0 0 0 / 0.5); }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-head .tag { color: var(--accent-text); font-size: 0.8rem; margin-bottom: 0.6rem; }
.alt { background: var(--surface); border-block: 1px solid var(--border); }

.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.grid-features li { background: var(--surface); border: 1px solid var(--border); border-radius: 0.9rem; padding: 1.5rem; box-shadow: var(--shadow); }
.alt .grid-features li { background: var(--bg); }
.grid-features p { color: var(--muted); margin: 0; }
.icon { width: 2.75rem; height: 2.75rem; border-radius: 0.7rem; display: grid; place-items: center; background: var(--bg); background: rgb(from var(--primary) r g b / 0.14); color: var(--primary); margin-bottom: 1rem; }
.icon svg { width: 1.5rem; height: 1.5rem; }

.feature { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.flip .feature-media { order: 2; }
}
.feature-media img { border-radius: 0.9rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature-media.phone { max-width: 22rem; margin-inline: auto; }
.feature-media.phone img { border-radius: 1.6rem; border: 6px solid #0b1510; }
.feature ul { padding-left: 1.25rem; margin: 0; color: var(--muted); }
.feature li + li { margin-top: 0.4rem; }
.tag { display: inline-block; font: 600 0.8rem/1 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-text); margin-bottom: 0.6rem; }
.soon { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); vertical-align: middle; margin-left: 0.4rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 0.9rem; padding: 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font: 700 2.6rem/1 var(--display); margin: 0.25rem 0 0.25rem; }
.plan .price small { font: 400 1rem/1 'Inter', sans-serif; color: var(--muted); }
.plan ul { padding-left: 1.25rem; color: var(--muted); flex: 1; }
.plan .btn { margin-top: 1rem; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 1.5rem; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; padding: 0.75rem 0; }
.faq details p { color: var(--muted); }

/* Final call to action and footer */
.cta { background: var(--forest) url('topo.svg') center / cover; color: var(--forest-text); text-align: center; }
.cta h2 { text-transform: uppercase; }
.cta p { color: var(--forest-muted); max-width: 36rem; margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta .btn-primary { background: var(--blaze); color: #121513; }
.site-footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.95rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-bottom: 0.75rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; }
