/* ============================================================
   Red Gum Gaming — earth-tone design system
   Rugged, grounded, dependable. No hype.
   ============================================================ */

/* ---- Brand palette (raw values; do not use directly in rules) ---- */
:root {
  /* Ember */
  --coal:     #8A2F1C;
  --ironbark: #A23420;
  --ember:    #C24A2A;   /* PRIMARY */
  --clay:     #D9763E;
  --dusk:     #E89A6B;
  /* Timber */
  --bark:     #2A211C;
  --trunk:    #6E5A48;
  --sand:     #E7D6B8;
  --paper:    #F4ECDC;
  /* Accent — reserved for success / "online" only */
  --gumleaf:  #7C8B5A;
  --gumleaf-bright: #A6B581;
  /* Surfaces */
  --cream:    #ECE4D3;

  /* Type */
  --font-head: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale (8pt rhythm) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 22px; --r-btn: 11px; --r-pill: 999px;

  /* Layout */
  --maxw: 1120px;
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 200ms;
}

/* ---- Semantic tokens: LIGHT (default) ---- */
:root,
[data-theme="light"] {
  --bg:         var(--cream);
  --bg-2:       #F3EBDA;            /* raised panels */
  --surface:    #FFFFFF;           /* cards (board uses white on cream) */
  --surface-2:  #F1E9D8;
  --ink:        var(--bark);       /* primary text */
  --ink-soft:   #574A3A;           /* secondary text (>=4.5:1) */
  --ink-faint:  #6E5F4D;           /* tertiary / captions (Trunk) */
  --line:       #DDD2BD;           /* borders / dividers */
  --line-strong:#C8B79A;
  --logo-bar1:  #C9A86E;           /* wide logo bar — deeper tan for light surfaces */
  --primary:    var(--ember);
  --primary-ink:#FFFFFF;           /* text on primary */
  --primary-hover: var(--ironbark);
  --link:       var(--coal);
  --link-hover: var(--ironbark);
  --on-ember-ink: #FFFFFF;
  --shadow:     0 1px 2px rgba(42,33,28,.06), 0 8px 24px rgba(42,33,28,.08);
  --shadow-lg:  0 2px 6px rgba(42,33,28,.10), 0 24px 48px rgba(42,33,28,.14);
  --success:    #4F5E33;           /* gum leaf, darkened for AA text (5.6:1 on tint) */
  --success-bg: #E8ECDC;
  --danger:     #A23420;           /* ironbark red — AA on light surfaces */
  --danger-bg:  #FBE6DE;
  --eyebrow:    #A23420;           /* accent label colour, AA on light */
  --hero-grad:  radial-gradient(120% 90% at 70% -10%, #F6D9B0 0%, #ECC79A 22%, var(--cream) 60%);
  --hero-scrim: linear-gradient(100deg, var(--cream) 0%, rgba(236,228,211,.97) 24%, rgba(236,228,211,.74) 44%, rgba(236,228,211,.18) 66%, rgba(236,228,211,0) 84%);
  --hero-photo-filter: saturate(1.02);
}

/* ---- Semantic tokens: DARK (bark) ---- */
[data-theme="dark"] {
  --bg:         var(--bark);
  --bg-2:       #221A15;
  --surface:    #33271D;
  --surface-2:  #3D3026;
  --ink:        var(--paper);
  --ink-soft:   #CDB89A;
  --ink-faint:  #A2906F;
  --line:       #3A2F25;
  --line-strong:#52432F;
  --logo-bar1:  #E7D6B8;           /* wide logo bar — sand reads well on dark */
  --primary:    var(--ember);
  --primary-ink:#FFFFFF;
  --primary-hover: var(--ironbark); /* deeper on hover keeps white at ~6.9:1 (clay would fail AA) */
  --link:       var(--dusk);
  --link-hover: #F2B98E;
  --on-ember-ink: #FFFFFF;
  --shadow:     0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg:  0 2px 6px rgba(0,0,0,.4), 0 24px 48px rgba(0,0,0,.5);
  --success:    var(--gumleaf-bright);
  --success-bg: #2E3322;
  --danger:     #ED8C6B;           /* lightened terracotta-red — AA on bark surfaces */
  --danger-bg:  #3A241B;
  --eyebrow:    #D9763E;           /* clay — AA accent label on bark (ember too dark here) */
  --hero-grad:  radial-gradient(120% 90% at 70% -10%, #5A3320 0%, #3A271B 30%, var(--bark) 62%);
  --hero-scrim: linear-gradient(100deg, var(--bark) 0%, rgba(42,33,28,.97) 26%, rgba(42,33,28,.82) 46%, rgba(42,33,28,.45) 68%, rgba(42,33,28,.25) 88%);
  --hero-photo-filter: brightness(.46) saturate(1.05) contrast(1.02);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
p  { margin: 0 0 var(--s-4); max-width: 65ch; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: var(--s-3); top: -60px;
  background: var(--ember); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); z-index: 1000; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-3); color: #fff; }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-4); }
.section { padding-block: var(--s-8); }
@media (min-width: 768px) { .section { padding-block: var(--s-9); } }

.eyebrow {
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--eyebrow); margin: 0 0 var(--s-3);
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--r-btn); border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--trunk); }
.btn-lg { min-height: 54px; padding: 0 var(--s-6); font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: var(--s-4); height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 36px; height: 36px; flex: none; }
.brand .mark .lb { fill: var(--logo-bar1); }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); }
.brand .wm-sub { font-family: var(--font-head); font-weight: 600; font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
.nav-spacer { flex: 1; }
.nav-links { display: none; gap: var(--s-2); align-items: center; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); padding: 8px 12px; border-radius: var(--r-sm);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: var(--s-2); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft);
  cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* Mobile menu */
.nav-toggle { display: inline-flex; }
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-family: var(--font-head); font-weight: 500;
  padding: 14px var(--s-4); color: var(--ink-soft); border-top: 1px solid var(--line);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--hero-grad); isolation: isolate; }
.hero-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("/assets/img/hero-1376.jpg"); /* fallback for old browsers */
  background-image: image-set(url("/assets/img/hero-1376.webp") type("image/webp"),
                              url("/assets/img/hero-1376.jpg") type("image/jpeg"));
  background-image: -webkit-image-set(url("/assets/img/hero-1376.webp") type("image/webp"),
                              url("/assets/img/hero-1376.jpg") type("image/jpeg"));
  background-size: cover; background-position: 72% center; background-repeat: no-repeat;
  filter: var(--hero-photo-filter);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--hero-scrim); }
.hero .container { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .hero-photo {
    background-image: image-set(url("/assets/img/hero-768.webp") type("image/webp"),
                                url("/assets/img/hero-768.jpg") type("image/jpeg"));
    background-position: 64% center;
  }
}
.hero-inner { padding-block: var(--s-8) var(--s-9); max-width: 720px; }
@media (min-width: 768px) { .hero-inner { padding-block: var(--s-9); } }
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); margin-bottom: var(--s-6); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-note { margin-top: var(--s-5); font-size: .95rem; color: var(--ink-faint); display: flex; align-items: center; gap: var(--s-2); }

/* status dot — gum leaf, the only place green appears */
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 4px var(--success-bg); }
.status {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  color: var(--success); background: var(--success-bg);
  padding: 5px 12px 5px 10px; border-radius: var(--r-pill);
}

/* ============================================================
   Pillars / feature grid
   ============================================================ */
.grid { display: grid; gap: var(--s-4); }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid.cols-2, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow);
}
.feature .ficon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ember) 14%, transparent);
  color: var(--ember); margin-bottom: var(--s-4);
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: var(--s-2); }
.feature p { color: var(--ink-soft); margin-bottom: 0; font-size: .98rem; }

/* Trust / split */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: var(--s-3); padding: var(--s-2) 0; color: var(--ink-soft); }
.checklist li svg { width: 22px; height: 22px; flex: none; color: var(--ember); margin-top: 2px; }
.checklist strong { color: var(--ink); font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.3rem); color: var(--ember); line-height: 1; }
.stat .lbl { font-size: .85rem; color: var(--ink-faint); margin-top: var(--s-2); }

/* ============================================================
   Plans / configurator
   ============================================================ */
.config { display: grid; gap: var(--s-6); }
@media (min-width: 980px) { .config { grid-template-columns: 1fr 360px; align-items: start; } }

.field-group { margin-bottom: var(--s-6); }
.field-group > .label { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: var(--s-2); color: var(--ink); }
.field-group > .hint { font-size: .92rem; color: var(--ink-faint); margin: 0 0 var(--s-4); }

/* choice chips (game type) */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .choices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice {
  position: relative; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); min-height: 56px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice:hover { border-color: var(--line-strong); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ck { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.choice .ck small { display: block; font-weight: 400; color: var(--ink-faint); font-size: .82rem; font-family: var(--font-body); }
.choice .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: border-color var(--dur) var(--ease); }
/* per-game icon chip */
.choice-ic {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ink-faint) 16%, transparent);
  color: var(--ink-soft);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.choice-ic svg { width: 21px; height: 21px; }
.choice:hover .choice-ic { color: var(--ink); }
.choice:has(input:checked) {
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 12%, var(--surface));
  box-shadow: 0 0 0 1px var(--ember) inset;
}
.choice:has(input:checked) .choice-ic {
  background: color-mix(in srgb, var(--ember) 30%, transparent);
  color: var(--dusk); transform: scale(1.05);
}
.choice:has(input:checked) .dot { border-color: var(--ember); background:
  radial-gradient(circle, var(--ember) 0 5px, transparent 6px); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ember); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .choice:has(input:checked) .choice-ic { transform: none; } }

/* tier cards */
.tiers { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiers { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tier {
  position: relative; cursor: pointer; display: block;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tier:hover { border-color: var(--line-strong); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset, var(--shadow); }
.tier:has(input:focus-visible) { outline: 3px solid var(--ember); outline-offset: 2px; }
.tier .tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.tier .tier-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.tier .tier-price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier .tier-price small { font-size: .8rem; font-weight: 500; color: var(--ink-faint); }
.tier .tier-tag {
  position: absolute; top: -11px; right: var(--s-5);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ember); color: #fff; padding: 4px 10px; border-radius: var(--r-pill);
}
.tier .specs { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.tier .specs li { display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--ink-soft); }
.tier .specs svg { width: 16px; height: 16px; color: var(--ink-faint); }
.tier .specs b { color: var(--ink); font-weight: 600; }

/* add-ons */
.addons { display: grid; gap: var(--s-3); }
.addon {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); min-height: 56px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.addon:hover { border-color: var(--line-strong); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon .box {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong);
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.addon .box svg { width: 14px; height: 14px; opacity: 0; transition: opacity var(--dur) var(--ease); }
.addon:has(input:checked) { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 6%, var(--surface)); }
.addon:has(input:checked) .box { background: var(--ember); border-color: var(--ember); }
.addon:has(input:checked) .box svg { opacity: 1; }
.addon:has(input:focus-visible) { outline: 3px solid var(--ember); outline-offset: 2px; }
.addon .addon-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.addon .addon-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.2; }
.addon .addon-desc { font-size: .85rem; color: var(--ink-faint); line-height: 1.35; }
.addon .addon-price { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* summary (sticky) */
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 980px) { .summary { position: sticky; top: calc(var(--nav-h) + var(--s-4)); } }
.summary-head { padding: var(--s-5) var(--s-5) var(--s-4); border-bottom: 1px solid var(--line); }
.summary-head h3 { margin: 0; }
.summary-body { padding: var(--s-4) var(--s-5); }
.summary-line { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; font-size: .95rem; color: var(--ink-soft); }
.summary-line span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; }
.summary-line.muted span:last-child { color: var(--success); font-weight: 600; }
.summary-divider { height: 1px; background: var(--line); margin: var(--s-3) 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-2); }
.summary-total .t-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.summary-total .t-amt { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-total .t-amt small { font-size: .82rem; font-weight: 500; color: var(--ink-faint); }
.summary-foot { padding: 0 var(--s-5) var(--s-5); }
.summary-foot .fineprint { font-size: .82rem; color: var(--ink-faint); margin: var(--s-3) 0 0; text-align: center; }
.included { font-size: .85rem; color: var(--ink-soft); padding: var(--s-3) var(--s-5); background: var(--surface-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.included span { display: inline-flex; align-items: center; gap: 5px; }
.included svg { width: 15px; height: 15px; color: var(--success); }

/* ============================================================
   Forms
   ============================================================ */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 620px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: var(--ember); }
.field .helper { font-size: .85rem; color: var(--ink-faint); }
.input, .textarea, select.input {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 13px var(--s-4); min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); opacity: .8; }
.input:focus, .textarea:focus, select.input:focus {
  outline: none; border-color: var(--ember);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 22%, transparent);
}
.field.invalid .input, .field.invalid .textarea { border-color: var(--danger); }
.field-error { display: none; font-size: .85rem; color: var(--danger); font-weight: 600; }
.field.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .9rem; color: var(--ink-faint); }
.form-status { display: none; padding: var(--s-4); border-radius: var(--r-md); font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: var(--success-bg); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 40%, transparent); }
.form-status.err { background: var(--danger-bg); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent); }

.order-recap { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: var(--s-4); font-size: .92rem; }
.order-recap h4 { font-family: var(--font-head); margin: 0 0 var(--s-2); font-size: 1rem; }
.order-recap .recap-line { display: flex; justify-content: space-between; gap: var(--s-3); padding: 3px 0; color: var(--ink-soft); }
.order-recap .recap-line b { color: var(--ink); }

/* contact info cards */
.contact-cards { display: grid; gap: var(--s-3); }
.contact-cards .card { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); }
.contact-cards .ic { width: 40px; height: 40px; flex: none; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ember) 12%, transparent); color: var(--ember); }
.contact-cards .ic svg { width: 20px; height: 20px; }
.contact-cards .ct-label { font-size: .8rem; color: var(--ink-faint); }
.contact-cards .ct-value { font-family: var(--font-head); font-weight: 600; color: var(--ink); }

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band { background: var(--ember); color: #fff; border-radius: var(--r-lg); padding: var(--s-7); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: color-mix(in srgb, #fff 88%, var(--ember)); margin-inline: auto; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.cta-band .btn-light { background: #fff; color: var(--ironbark); }
.cta-band .btn-light:hover { background: var(--paper); color: var(--coal); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: var(--s-8); }
.footer-grid { display: grid; gap: var(--s-6); padding-block: var(--s-8) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: var(--s-3); }
.footer-brand p { color: var(--ink-soft); font-size: .95rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: var(--s-3); }
.footer-col a { display: block; color: var(--ink-soft); padding: 5px 0; font-size: .96rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); justify-content: space-between; align-items: center; font-size: .88rem; color: var(--ink-faint); }
.footer-bottom .made { display: inline-flex; align-items: center; gap: var(--s-2); }

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-faint); }
.hidden { display: none !important; }
.hide-sm { display: none; }
@media (min-width: 560px) { .hide-sm { display: inline-flex; } }
.summary-line.muted-line span { color: var(--ink-faint); }
.checklist[style*="columns"] li { break-inside: avoid; }
.mono { font-family: var(--font-mono); }

/* ============================================================
   "Outback Ember" theme additions — monospace data + dark panels
   ============================================================ */

/* Technical data reads in JetBrains Mono */
.stat .num,
.tier .specs li,
.tier .tier-price,
.summary-line span:last-child,
.summary-total .t-amt,
.hero-stats,
.console-ram .ram-top span:last-child { font-family: var(--font-mono); }
.tier .tier-price { font-weight: 700; letter-spacing: -0.02em; }
.summary-total .t-amt { font-weight: 700; }

/* ---- Hero: dark "feature panel" on the page (board cover style) ---- */
.hero {
  position: relative; overflow: hidden; isolation: auto;
  padding-block: var(--s-7) var(--s-6);
  /* soft ember ambience instead of a raised panel */
  background: radial-gradient(115% 80% at 90% -15%, rgba(194,74,42,.20) 0%, rgba(194,74,42,0) 55%);
}
@media (min-width: 768px) { .hero { padding-block: var(--s-8) var(--s-7); } }
.hero-panel {
  position: relative;
  padding: 0;
  display: grid; gap: var(--s-7); align-items: center;
  grid-template-columns: 1fr;
  color: var(--paper);
}
@media (min-width: 900px) { .hero-panel { grid-template-columns: 1.05fr .95fr; gap: var(--s-7); } }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.hero-copy h1 { color: var(--paper); margin: 0; }
.hero-copy .lead { color: #C2AD92; margin: 0; max-width: 46ch; }
.hero-copy .hero-cta { margin-top: var(--s-1); }
.hero-copy .status { background: #3A2F25; color: #CDB89A; align-self: flex-start; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .9rem; color: #8A7A64; margin-top: var(--s-1); }
.hero-stats b { color: var(--dusk); font-weight: 500; }
.hero-stats .sep { color: #52432F; }
.btn-onpanel { background: transparent; color: var(--sand); border-color: var(--trunk); }
.btn-onpanel:hover { background: rgba(244,236,220,.08); color: #fff; border-color: var(--sand); }

/* ---- Server console card ---- */
.console {
  background: #211A14; border: 1px solid #3A2F25; border-radius: var(--r-lg);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4);
  box-shadow: 0 24px 48px rgba(0,0,0,.28);
}
.console-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.console-id { display: flex; align-items: center; gap: 10px; }
.console-badge { width: 30px; height: 30px; border-radius: 8px; background: var(--ember); color: var(--paper); font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.console-name { font-family: var(--font-mono); font-size: .92rem; color: var(--paper); }
.status-sm { padding: 5px 11px; font-size: .72rem; background: #2C3322; color: #9BAC76; }
.console-divider { height: 1px; background: #3A2F25; }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); }
.console-grid > div { display: flex; flex-direction: column; gap: 4px; }
.ck-label { font-family: var(--font-body); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #8A7A64; }
.ck-val { font-family: var(--font-mono); font-size: .95rem; color: var(--sand); }
.ck-val.leaf { color: var(--gumleaf-bright); }
.console-ram .ram-top { display: flex; justify-content: space-between; font-size: .72rem; color: #8A7A64; margin-bottom: 7px; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.console-ram .ram-top span:last-child { text-transform: none; color: var(--sand); }
.ram-bar { height: 8px; border-radius: 4px; background: #3A2F25; overflow: hidden; }
.ram-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--ember)); }
.console-foot { font-family: var(--font-mono); font-size: .76rem; color: #7C8B5A; }

/* ---- Photo media frame (red gum, used in "why us") ---- */
.media-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4);
  font-family: var(--font-mono); font-size: .74rem; color: var(--paper);
  background: linear-gradient(0deg, rgba(26,19,13,.82), rgba(26,19,13,0));
}
