/* ============================================================
   WindMaster — Field Target Wind Master
   Design system. Brand tokens distilled from the app (AppTheme.kt).
   Dark is the default (matches the app); light + OS-preference supported.
   ============================================================ */

/* ---- Tokens: dark (default) ---- */
:root {
  color-scheme: dark;
  --bg:            #0b100b;
  --bg-2:          #0e140e;
  --surface:       #141b14;
  --surface-2:     #1a231a;
  --surface-3:     #202b20;
  --border:        rgba(210,226,210,0.10);
  --border-strong: rgba(210,226,210,0.18);
  --text:          #d7e4d7;
  --text-dim:      #97a895;
  --text-mute:     #6d7d69;
  --gold:          #ffd464;
  --gold-soft:     #cccc88;
  --wind:          #ffd464;
  --master:        #9dbf9d;
  --green:         #62b062;
  --green-deep:    #2a5a2a;
  --cta:           #3d8b3d;
  --cta-hover:     #4a9d4a;
  --cta-ink:       #061006;
  --good:          #52c07a;
  --warn:          #e0b83e;
  --bad:           #e06a6a;
  /* charts (validated for this surface) */
  --chart-surface: #141a14;
  --chart-grid:    #26302a;
  --chart-axis:    #55614f;
  --chart-ink:     #d7e4d7;
  --chart-ink-dim: #97a895;
  --series-1:      #3987e5;
  --series-2:      #d95926;
  --chart-ref:     #dcae4a;
  /* effects */
  --shadow:        0 18px 50px -20px rgba(0,0,0,0.75);
  --glow:          0 0 0 1px var(--border), 0 20px 60px -30px rgba(0,0,0,0.85);
  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1160px;
  --hero-grad:     radial-gradient(120% 90% at 82% -10%, rgba(255,212,100,0.10), transparent 55%),
                   radial-gradient(90% 80% at 5% 5%, rgba(86,160,86,0.12), transparent 50%);
  --font-ui:       system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Tokens: light ---- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg:            #eef2e7;
    --bg-2:          #e7ede0;
    --surface:       #ffffff;
    --surface-2:     #f4f7ef;
    --surface-3:     #e9efe1;
    --border:        rgba(20,40,20,0.12);
    --border-strong: rgba(20,40,20,0.20);
    --text:          #1a281a;
    --text-dim:      #4b5b48;
    --text-mute:     #6b7b66;
    --gold:          #9a6f0e;
    --gold-soft:     #7a5a14;
    --wind:          #8a6410;
    --master:        #3e5a34;
    --green:         #2a7a2a;
    --green-deep:    #cfe6bf;
    --cta:           #2c7a2c;
    --cta-hover:     #256a25;
    --cta-ink:       #ffffff;
    --good:          #1a8a3a;
    --warn:          #9a6f0e;
    --bad:           #c0392b;
    --chart-surface: #f4f2e8;
    --chart-grid:    #d9ddca;
    --chart-axis:    #8a9384;
    --chart-ink:     #1a281a;
    --chart-ink-dim: #5a6b58;
    --series-1:      #2a78d6;
    --series-2:      #c85a1e;
    --chart-ref:     #b0770e;
    --shadow:        0 18px 44px -22px rgba(40,70,40,0.35);
    --glow:          0 0 0 1px var(--border), 0 18px 50px -30px rgba(40,70,40,0.30);
    --hero-grad:     radial-gradient(120% 90% at 82% -10%, rgba(154,111,14,0.10), transparent 55%),
                     radial-gradient(90% 80% at 5% 5%, rgba(42,122,42,0.12), transparent 50%);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg:            #eef2e7;
  --bg-2:          #e7ede0;
  --surface:       #ffffff;
  --surface-2:     #f4f7ef;
  --surface-3:     #e9efe1;
  --border:        rgba(20,40,20,0.12);
  --border-strong: rgba(20,40,20,0.20);
  --text:          #1a281a;
  --text-dim:      #4b5b48;
  --text-mute:     #6b7b66;
  --gold:          #9a6f0e;
  --gold-soft:     #7a5a14;
  --wind:          #8a6410;
  --master:        #3e5a34;
  --green:         #2a7a2a;
  --green-deep:    #cfe6bf;
  --cta:           #2c7a2c;
  --cta-hover:     #256a25;
  --cta-ink:       #ffffff;
  --good:          #1a8a3a;
  --warn:          #9a6f0e;
  --bad:           #c0392b;
  --chart-surface: #f4f2e8;
  --chart-grid:    #d9ddca;
  --chart-axis:    #8a9384;
  --chart-ink:     #1a281a;
  --chart-ink-dim: #5a6b58;
  --series-1:      #2a78d6;
  --series-2:      #c85a1e;
  --chart-ref:     #b0770e;
  --shadow:        0 18px 44px -22px rgba(40,70,40,0.35);
  --glow:          0 0 0 1px var(--border), 0 18px 50px -30px rgba(40,70,40,0.30);
  --hero-grad:     radial-gradient(120% 90% at 82% -10%, rgba(154,111,14,0.10), transparent 55%),
                   radial-gradient(90% 80% at 5% 5%, rgba(42,122,42,0.12), transparent 50%);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { font-size: 117.5%; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; letter-spacing: -0.01em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-alt { background:
    linear-gradient(180deg, var(--bg-2), transparent 12%, transparent 88%, var(--bg-2)),
    var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* language visibility */
[data-lang="es"] .lang-en { display: none; }
[data-lang="en"] .lang-es { display: none; }

.kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.section-head { max-width: 720px; margin: 0 auto clamp(34px,5vw,54px); text-align: center; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }
.eyebrow-line { color: var(--text-dim); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .wm-wind { color: var(--wind); }
.brand .wm-master { color: var(--master); font-weight: 700; }
.brand-logotype { display: flex; flex-direction: column; line-height: .96; }
.brand-logotype .wm-wind { font-size: 1.02rem; letter-spacing: .22em; }
.brand-logotype .wm-master { font-size: .62rem; letter-spacing: .34em; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  color: var(--text-dim); font-weight: 600; font-size: .93rem;
  padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.toggle-group { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.toggle-group button {
  border: 0; background: transparent; color: var(--text-dim);
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
  padding: 5px 11px; border-radius: 999px; line-height: 1;
}
.toggle-group button[aria-pressed="true"] { background: var(--surface-3); color: var(--gold); box-shadow: inset 0 0 0 1px var(--border); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text-dim);
  border-radius: 10px; cursor: pointer; padding: 0;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
/* dark (default): offer light → show sun. light: offer dark → show moon. */
.theme-moon { display: none; } .theme-sun { display: block; }
:root[data-theme="light"] .theme-sun { display: none; }
:root[data-theme="light"] .theme-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-moon { display: block; }
}
.nav-cta { display: inline-flex; }
.hamburger { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-weight: 700; font-size: .98rem; padding: 13px 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .15s, border-color .15s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-play { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--cta) 70%, transparent); }
.btn-play:hover { background: var(--cta-hover); }
.btn-play svg { width: 20px; height: 20px; }
.btn-play .bp-sub { font-size: .66rem; font-weight: 600; opacity: .82; letter-spacing: .04em; text-transform: uppercase; }
.btn-play .bp-main { font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; }
.btn-play .bp-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 15px; font-size: .88rem; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(46px, 7vw, 92px) 0 clamp(40px,6vw,72px); background: var(--hero-grad); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,64px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
  color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge b { color: var(--good); font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--gold); }
.hero-tagline { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--text-dim); max-width: 34ch; margin-bottom: 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; color: var(--text-mute); font-size: .86rem; }
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }
.hero-visual { display: flex; justify-content: center; position: relative; }

/* ---- Phone mockup ---- */
.phone {
  position: relative; width: 344px; max-width: 82vw; aspect-ratio: 300 / 610;
  background: #05080a; border-radius: 40px; padding: 11px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone::before {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 20px; background: #05080a; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #0a0f0a; }
.phone-screen svg { width: 100%; height: 100%; display: block; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* real screenshots: match the cropped aspect and drop the fake notch */
.phone.shot { aspect-ratio: 720 / 1500; }
.phone.shot::before { display: none; }
/* wide (landscape) screenshot figure */
.shot-wide { margin: 26px 0 0; }
.shot-wide img { width: 100%; border-radius: 14px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); display: block; }
.shot-wide figcaption { text-align: center; color: var(--text-mute); font-size: .82rem; margin-top: 10px; }
.phone-tag {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text-dim);
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.phone.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@media (prefers-reduced-motion: reduce) { .phone.floaty { animation: none; } }

/* ---- Trust strip ---- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding: 20px 22px; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--text-dim); font-size: .9rem; font-weight: 600; }
.trust-row svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* ---- Cards / feature grid ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .16s, border-color .16s, background .16s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 15px;
  background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green);
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-dim); font-size: .95rem; margin: 0; }
.card .card-es-name { display: block; color: var(--text-mute); font-size: .82rem; font-weight: 600; margin-top: 2px; }

/* ---- Mode rows ---- */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; margin-bottom: clamp(40px,6vw,72px); }
.mode:last-child { margin-bottom: 0; }
.mode.reverse .mode-media { order: 2; }
.mode-media { display: flex; justify-content: center; }
.mode-badge { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.mode h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.01em; }
.mode p { color: var(--text-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: .8rem; font-weight: 600; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }

/* ---- Charts ---- */
.chart-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 20px 14px; overflow: hidden;
}
.chart-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.chart-card .chart-sub { color: var(--text-dim); font-size: .86rem; margin-bottom: 12px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 10px; }
.chart-legend .lg { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text-dim); font-weight: 600; }
.chart-legend .sw { width: 22px; height: 3px; border-radius: 2px; }
.chart-legend .sw.dash { background: repeating-linear-gradient(90deg, var(--chart-ref) 0 5px, transparent 5px 9px); height: 2px; }
.chart-holder { position: relative; width: 100%; }
.chart-holder svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-note { color: var(--text-mute); font-size: .78rem; margin-top: 8px; }
.chart-tip {
  position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, -108%);
  background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text);
  padding: 7px 10px; border-radius: 9px; font-size: .78rem; white-space: nowrap; z-index: 4;
  box-shadow: var(--shadow); transition: opacity .1s;
}
.chart-tip b { color: var(--gold); }
.axis-label { fill: var(--chart-ink-dim); font-size: 12px; font-weight: 600; }
.tick-label { fill: var(--chart-axis); font-size: 11px; }
.tick-label.tabular { font-variant-numeric: tabular-nums; }
/* chart SVG elements (recolour with theme via CSS vars) */
.wm-grid   { stroke: var(--chart-grid); stroke-width: 1; }
.wm-axis   { stroke: var(--chart-axis); stroke-width: 1.25; }
.wm-cross  { stroke: var(--chart-axis); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; }
.wm-line   { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.wm-s1     { stroke: var(--series-1); }
.wm-s2     { stroke: var(--series-2); }
.wm-ref    { stroke: var(--chart-ref); stroke-width: 2; stroke-dasharray: 5 5; fill: none; }
.wm-area1  { fill: var(--series-1); opacity: .10; stroke: none; }
.wm-dot1   { fill: var(--series-1); }
.wm-dot2   { fill: var(--series-2); }
.wm-dot    { stroke: var(--chart-surface); stroke-width: 2; opacity: 0; }
.wm-zerotxt{ fill: var(--chart-ref); font-size: 11px; font-weight: 700; }

/* ---- Data table (a11y fallback for charts) ---- */
.data-table-toggle { background: none; border: 0; color: var(--text-mute); font: inherit; font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin-top: 10px; }
.data-table[hidden] { display: none; }
.data-table th, .data-table td { text-align: right; padding: 5px 9px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { color: var(--text-dim); font-weight: 700; }

/* ---- Spec / inputs table ---- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table caption { text-align: left; color: var(--text-mute); font-size: .82rem; padding-bottom: 8px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table thead th { color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.spec-table tbody tr:hover { background: var(--surface-2); }
.spec-table td.num { font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.spec-table td .u { color: var(--text-mute); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }

/* ---- Premium ---- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.tier.tier-pro { border-color: color-mix(in srgb, var(--gold) 45%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 7%, var(--surface)), var(--surface)); }
.tier h3 { display: flex; align-items: center; gap: 10px; }
.tier .price { font-size: 1.05rem; color: var(--text-dim); margin: 2px 0 16px; font-weight: 600; }
.tier .price b { color: var(--gold); font-size: 1.15rem; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text-dim); }
.tier li svg { width: 18px; height: 18px; color: var(--good); flex: none; margin-top: 2px; }
.tag-pill { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cta-ink); background: var(--gold); padding: 3px 9px; border-radius: 999px; }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-dim); font-size: .95rem; padding-bottom: 16px; margin: 0; }

/* ---- Specialized shops ---- */
/* A fixed column count, not auto-fit: the shops are meant to read as one row, and a track floor
   only has to be a few pixels too wide before the browser silently drops a column and strands the
   last card on a line of its own. Keep this number equal to the number of visible cards. */
.shop-grid {
  display: grid; gap: 14px; max-width: 820px; margin: 0 auto;
  grid-template-columns: repeat(5, 1fr);
}
/* One row of five is too tight for a phone; rows of two keep the logos legible. */
@media (max-width: 720px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
}
.shop-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 14px; text-decoration: none; color: inherit;
  transition: transform .16s, border-color .16s;
}
.shop-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
/* Brand marks are drawn for white paper, so they keep their own plate in both themes rather
   than being dropped straight onto the dark surface as mismatched bright rectangles. */
.shop-plate {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 84px; background: #fff; border-radius: 12px; padding: 12px;
  /* Guard: whatever the artwork's intrinsic size, it can never spill onto the name below. */
  overflow: hidden;
}
.shop-plate img {
  display: block; width: auto; height: auto;
  /* A flex item will not shrink below its intrinsic size while min-* is auto, so a tall logo
     ignored max-height and overflowed the plate. These two are what let the cap take effect. */
  min-width: 0; min-height: 0;
  /* Capped in px rather than as a percentage so every mark lands at the same optical height,
     whether it is a wide wordmark or a near-square pictorial one. */
  max-width: 100%; max-height: 54px;
  object-fit: contain;
}
.shop-card .shop-name { font-weight: 800; font-size: 1rem; line-height: 1.25; }
.shop-card .shop-site { font-size: .82rem; color: var(--text-dim); word-break: break-word; }

/* ---- Hardware spotlight ---- */
.section-spot {
  background: radial-gradient(90% 75% at 82% 0%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.badge-new { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta-ink); background: var(--gold); padding: 3px 11px; border-radius: 999px; margin-bottom: 1rem; }
.duo { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.duo .phone { width: 196px; max-width: 42vw; }
.duo .phone:nth-child(2) { margin-top: 30px; }
.hw-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.hw-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-dim); font-size: .96rem; }
.hw-list svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.vendor-note { margin-top: 18px; font-size: .84rem; color: var(--text-mute); }

/* ---- Gallery strip ---- */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 2px 26px; scroll-snap-type: x mandatory; }
.gallery .phone { width: 250px; flex: none; scroll-snap-align: center; }
.gallery .phone.floaty { animation: none; }
.gallery-cap { text-align: center; color: var(--text-dim); font-size: .9rem; margin-top: 6px; }

/* ---- Reticle band ---- */
.reticle-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,52px); align-items: center; }
.reticle-visual { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.scope-count { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.scope-count .n { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.scope-count .l { color: var(--text-dim); font-size: .85rem; }

/* ---- Callout ---- */
.callout { display: flex; gap: 16px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: var(--radius); padding: 20px 22px; }
.callout svg { width: 24px; height: 24px; color: var(--green); flex: none; }
.callout p { margin: 0; color: var(--text-dim); font-size: .95rem; }
.callout strong { color: var(--text); }

/* ---- CTA band ---- */
.cta-band { text-align: center; background: var(--hero-grad), var(--bg-2); border-top: 1px solid var(--border); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--text-dim); max-width: 46ch; margin: 0 auto 26px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 46px 0 34px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--text-mute); font-size: .86rem; margin-top: 10px; }
.footer-links { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); margin: 0 0 12px; }
.footer-col a, .footer-col span { display: block; color: var(--text-dim); font-size: .9rem; padding: 4px 0; cursor: pointer; }
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--text-mute); font-size: .82rem; }

/* ---- Prose (privacy) ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.prose h1 { font-size: clamp(1.8rem,4vw,2.4rem); }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.prose .hl-box { background: var(--surface-2); border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 16px 0; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.prose th { background: var(--surface-3); text-align: left; padding: 10px 14px; font-size: .85rem; }
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.page-hero { padding: clamp(40px,7vw,80px) 0 20px; background: var(--hero-grad); }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mode, .reticle-band { grid-template-columns: 1fr; }
  .mode.reverse .mode-media { order: 0; }
  .mode-media { order: -1; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 16px;
  }
  .nav-links.open a { padding: 12px; }
  .hamburger { display: inline-grid; }
}
@media (max-width: 720px) {
  html { font-size: 106.25%; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
