/* Texas Tinted — studio look
   Dark graphite base, hairline structure, wide-tracked uppercase labels, one red rule as accent.
   Committed single dark theme. */
:root {
  --bg: #0b0d11;
  --bg-2: #10131a;
  --bg-3: #161a23;
  --fg: #eef0f3;
  --fg-2: #c3c8d1;
  --muted: #8b93a1;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --red: #d2232a;
  --red-2: #ee3a41;
  --gold: #c9a24a;
  --ok: #4fbf7f;
  --no: #ff5b5b;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --maxw: 1200px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.7 var(--body); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--red-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .98; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.005em; }
strong { font-weight: 600; color: var(--fg); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* labels */
.tag { display: inline-block; margin: 0 0 16px; }
.tag span { font: 500 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.tag span::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.card-kicker, .pkg-meta, .step-n, .facts dt, .answer-label, .foot-h, .viz-vlt, .spec thead th { font: 500 .68rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* top bar + header */
.topbar { background: #000; color: var(--muted); font-size: .78rem; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-block: 8px; }
.topbar p { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--fg-2); text-decoration: none; }
.topbar a:hover { color: var(--fg); }
.dot { width: 3px; height: 3px; background: var(--red); display: inline-block; border-radius: 50%; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11,13,17,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.logo { flex: none; display: block; }
.logo img { width: 128px; height: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 10px 13px; text-decoration: none; color: var(--fg-2); font-weight: 500; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--fg); }
.nav-list > li.is-active > a { box-shadow: inset 0 -2px 0 var(--red); }
.sub { list-style: none; padding: 10px 0; margin: 0; position: absolute; left: 0; top: 100%; min-width: 260px; background: #0f1218; border: 1px solid var(--line-2); display: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: 9px 18px; text-decoration: none; color: var(--fg-2); font-size: .92rem; }
.sub a:hover, .sub a[aria-current] { color: var(--fg); background: rgba(255,255,255,.04); }
.head-cta { flex: none; }
.nav-toggle { display: none; }
@media (max-width: 1140px) {
  .head-in { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; order: 2; background: transparent; border: 1px solid var(--line-2); padding: 9px 14px; font: 500 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 1px; background: currentColor; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .head-cta { order: 3; }
  .nav { order: 4; flex-basis: 100%; display: none; margin: 0; max-height: 70vh; overflow-y: auto; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav-list > li { border-top: 1px solid var(--line); }
  .nav-list > li > a { padding: 14px 4px; }
  .nav-list > li.is-active > a { box-shadow: none; color: var(--gold); }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 10px 12px; min-width: 0; background: transparent; }
  .sub a { padding: 6px 4px; color: var(--muted); }
}
@media (max-width: 520px) { .logo img { width: 104px; } .site-header .head-cta { display: none; } .topbar-in p:first-child span:not(.dot), .topbar .dot { display: none; } }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 26px; font: 600 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn-red { background: var(--fg); color: #0b0d11; }
.btn-red:hover { background: var(--red); color: #fff; }
.btn-ghost, .btn-ghost-light { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-ghost:hover, .btn-ghost-light:hover { border-color: var(--fg); }

/* hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 420px at 18% 0%, rgba(255,255,255,.08), transparent 60%),
  radial-gradient(700px 500px at 85% 100%, rgba(210,35,42,.12), transparent 60%),
  linear-gradient(180deg, #0f1218 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); }
.hero-in { display: grid; gap: 48px; padding-block: 64px 80px; }
.hero-split .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
.hero-copy { min-width: 0; max-width: 700px; display: grid; gap: 22px; justify-items: start; }
.hero .tag { margin: 0; }
.hero h1 em { font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.75); color: transparent; }
.lede { font-size: 1.15rem; color: var(--fg-2); max-width: 58ch; line-height: 1.65; }
.hero-proof { list-style: none; padding: 18px 0 0; margin-top: 6px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .75rem; }
.hero-side { min-width: 0; }
@media (max-width: 920px) { .hero-split .hero-in { grid-template-columns: 1fr; } .hero-in { padding-block: 44px 56px; } }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* visualizer */
.viz { display: grid; gap: 18px; padding: 18px; background: linear-gradient(180deg, #171b24, #0f1218); border: 1px solid var(--line-2); }
.viz-stage { position: relative; background: radial-gradient(70% 70% at 50% 30%, #f7f8fa 0%, #e6e9ee 55%, #cfd4dc 100%); padding: 10px 8px 0; }
.viz svg { width: 100%; height: auto; display: block; }
.glass { fill: #05070a; mix-blend-mode: multiply; transition: fill-opacity .35s ease; }
[data-glass="front"] .glass { fill-opacity: var(--tint-front, .65); }
[data-glass="rear"] .glass { fill-opacity: var(--tint-rear, .8); }
.viz-pick { display: grid; gap: 12px; }
.viz-row { display: grid; gap: 6px; }
.viz-row-label { font: 500 .68rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.viz-controls { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.shade { display: grid; justify-items: center; gap: 5px; padding: 7px 2px 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 500 .76rem var(--mono); color: var(--fg-2); }
.shade .sw { width: 100%; max-width: 40px; height: 12px; background: rgba(223,231,242, calc(1 - var(--a))); border: 1px solid rgba(255,255,255,.2); }
.shade[aria-pressed="true"] { border-color: var(--gold); color: var(--fg); }
.viz-read { display: grid; gap: 10px; font-size: .92rem; }
.viz-read ul { list-style: none; padding: 0; display: grid; gap: 6px; color: var(--fg-2); }
.viz-read li { padding-left: 24px; position: relative; }
.viz-read li::before { position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; content: ""; }
.viz-read li.ok::before { background: var(--ok); }
.viz-read li.no::before { background: var(--no); }
.viz-read strong { color: var(--fg); }
.viz-note { font-size: .8rem; color: var(--muted); }

/* bands */
.band { padding-block: 88px; border-top: 1px solid var(--line); }
.band-paper { background: var(--bg-2); }
.band-navy { background: var(--bg-3); }
.band .wrap > * + * { margin-top: 28px; }
.band h2 + p, .band h2 + .lead { margin-top: 16px; }
.lead { font-size: 1.12rem; color: var(--fg-2); max-width: 66ch; }
.prose { max-width: 70ch; display: grid; gap: 18px; color: var(--fg-2); }
.prose h2 { margin-top: 20px; color: var(--fg); }
.prose h3 { margin-top: 6px; color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose dl div { display: grid; gap: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: start; }
.split-a, .split-b { min-width: 0; display: grid; gap: 18px; align-content: start; color: var(--fg-2); }
.split-a h2, .split-b h2 { color: var(--fg); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } .band { padding-block: 60px; } }

/* answer */
.answer { border-top: 1px solid var(--red); padding: 20px 0 0; max-width: 78ch; display: grid; gap: 8px; }
.answer-label { color: var(--red-2); }
.answer p:last-child { font-size: 1.12rem; color: var(--fg); line-height: 1.6; }

/* cards: hairline grid, no boxes */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { min-width: 0; background: var(--bg); padding: 28px; display: grid; gap: 12px; align-content: start; transition: background-color .2s; }
.band-paper .card { background: var(--bg-2); }
.card:hover { background: var(--bg-3); }
.card h3 { color: var(--fg); }
.card h3 a { color: var(--fg); text-decoration: none; }
.card p { color: var(--muted); font-size: .98rem; }
.card-link { color: var(--fg); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; margin-top: auto; padding-top: 6px; }
.card-link:hover { color: var(--gold); }

/* checklists */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; color: var(--fg-2); }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--red); }

/* steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { min-width: 0; border-top: 1px solid var(--line-2); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps h3 { color: var(--fg); }
.steps p { color: var(--muted); font-size: .98rem; }
.split .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .split .steps { grid-template-columns: 1fr; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.spec { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; color: var(--fg-2); }
.spec caption { text-align: left; padding: 14px 18px 0; font-weight: 600; color: var(--fg); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { background: rgba(255,255,255,.03); }
.spec tbody th { font-weight: 600; color: var(--fg); }
.spec td { font-variant-numeric: tabular-nums; }
.spec .mono { font-family: var(--mono); font-size: .86rem; color: var(--fg); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec .yes { color: var(--ok); font-weight: 600; }
.spec .no { color: var(--no); font-weight: 600; }
.table-note { font-size: .82rem; color: var(--muted); max-width: 90ch; margin-top: 12px !important; }

/* facts */
.facts { border: 1px solid var(--line-2); padding: 26px 28px; display: grid; gap: 14px; background: rgba(255,255,255,.02); color: var(--fg-2); }
.facts-title { font: 800 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--fg); }
.facts dl { display: grid; gap: 0; }
.facts dl > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.facts dt { padding-top: 3px; }
.facts dd { margin: 0; min-width: 0; }
.facts a { color: var(--fg); }

/* packages */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pkg { padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; background: var(--bg-2); }
.band:not(.band-paper) .pkg { background: var(--bg); }
.pkg h3 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--fg); }
.pkg p { color: var(--muted); font-size: .98rem; }
.pkg .pkg-meta { color: var(--gold); }
@media (max-width: 860px) { .pkgs { grid-template-columns: 1fr; } }

/* shade scale */
.scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scale > div { padding: 56px 14px 16px; position: relative; background: var(--bg-2); min-width: 0; }
.scale > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42px; background: rgba(223,231,242, calc(1 - var(--a))); }
.scale b { display: block; font: 800 1.7rem/1 var(--display); color: var(--fg); margin-bottom: 4px; }
.scale span { font-size: .82rem; color: var(--muted); display: block; }
@media (max-width: 620px) { .scale { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.band-faq { background: var(--bg-2); }
.faq { display: grid; max-width: 920px; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.6rem/1 var(--body); color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h3 { font-size: 1.05rem; display: inline; color: var(--fg); }
.faq-a { padding: 0 0 22px; color: var(--fg-2); max-width: 75ch; }

/* areas */
.area-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line-2); text-decoration: none; color: var(--fg-2); font-size: .9rem; }
.area-list a::after { content: "→"; color: var(--gold); }
.area-list a:hover { border-color: var(--fg); color: var(--fg); }

/* trust strip */
.trust { background: var(--bg); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 26px; gap: 16px 28px; }
.trust li { display: grid; gap: 4px; min-width: 0; padding-left: 16px; border-left: 1px solid var(--line-2); }
.trust b { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--fg); }
.trust span { font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.note { border-left: 1px solid var(--gold); padding: 4px 0 4px 18px; font-size: .94rem; color: var(--muted); }
.law-cite { font: 500 .8rem var(--mono); color: var(--muted); }

/* CTA band */
.band-cta { background: linear-gradient(180deg, var(--bg-3), var(--bg)); padding-block: 72px; border-top: 1px solid var(--red); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner > div:first-child { display: grid; gap: 10px; max-width: 640px; min-width: 0; }
.band-cta p { color: var(--fg-2); }
.band .wrap.cta-inner > * + * { margin-top: 0; }

.embed { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.embed iframe { width: 100%; border: 0; display: block; }
.quote-cards .card h2 { font-size: 2rem; }

.post-meta { font: 500 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc { border: 1px solid var(--line); padding: 18px 22px; background: var(--bg-2); }
.toc p { font-weight: 600; color: var(--fg); }
.toc ol { padding-left: 1.2em; margin-top: 8px; display: grid; gap: 4px; }

/* footer */
.site-footer { background: #000; color: var(--muted); font-size: .92rem; padding-block: 64px 100px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--fg-2); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-name { font: 800 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--fg); }
.foot-h { color: var(--gold); margin-bottom: 14px; }
address { font-style: normal; line-height: 1.6; }
.foot-hours { display: grid; gap: 4px; }
.foot-hours > div { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-hours dt { color: var(--fg-2); font-weight: 500; }
.foot-hours dd { margin: 0; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .04em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2);
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); gap: 8px; }
  .mbar a { display: grid; place-items: center; min-height: 44px; color: var(--fg); text-decoration: none; font: 600 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); }
  .mbar .mbar-quote { background: var(--fg); color: #000; border-color: var(--fg); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.answer + h2, .answer + .toc { margin-top: 28px; }
@media (max-width: 520px) { .trust b { font-size: 1.15rem; } .trust li { padding-left: 12px; } }
