/* ============ 3D ASSET · 3d-asset.com — styles (2026-09 redesign) ============ */

:root {
  --outer: #e6e2d9;
  --paper: #faf8f3;
  --panel: #f3efe6;
  --panel-2: #efeadf;
  --card: #ffffff;
  --line: #e4dfd2;
  --line-2: #d8d2c5;
  --line-3: #eee7da;
  --ghost: #bdb6a6;
  --ink: #14120f;
  --ink-inv: #f2efe8;
  --text-2: #4a463d;
  --muted: #6b6558;
  --muted-2: #8a8375;
  --dark-muted: #8e8778;
  --dark-text: #c9c3b6;
  --accent: #c2512b;
  --accent-dk: #a8431f;
  --sans: 'Archivo', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gut: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: clip; }
body { background: var(--outer); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
canvas { touch-action: none; }

/* ---------- page sheet ---------- */
.page { width: 100%; max-width: 1280px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line-2); border-top: 0; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1 0 auto; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); margin: 0 0 12px; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.kicker-sm { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted-2); }
.dims { font-family: var(--mono); font-size: 10px; color: var(--muted-2); letter-spacing: .02em; }
.muted { color: var(--muted); }
.strike { text-decoration: line-through; color: var(--dark-muted); }
.link-u { border-bottom: 1px solid var(--ghost); padding-bottom: 2px; }
.link-u:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 2px; padding: 12px 22px; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; transition: background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-md { padding: 14px 22px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-dark { background: var(--ink); color: var(--ink-inv); }
.btn-dark:hover, .btn-dark:focus-visible { background: #2c2822; color: var(--ink-inv); }
.btn-ghost { border-color: var(--ghost); color: var(--ink); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--ink); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover, .btn-line:focus-visible { background: var(--ink); color: var(--ink-inv); }
.btn-accent { background: var(--accent); color: #fff; font-weight: 700; }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-dk); color: #fff; }
.btn-white { background: #fff; color: var(--ink); font-weight: 700; }
.btn-white:hover, .btn-white:focus-visible { background: var(--ink); color: #fff; }
.btn-ghost-dark { border-color: var(--muted); color: var(--ink-inv); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { border-color: var(--ink-inv); color: #fff; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- header ---------- */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gut); border-bottom: 1px solid var(--line); background: var(--paper); }
.hdr-left { display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; color: var(--ink); }
.hdr-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.hdr-nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.hdr-nav a:hover { color: var(--accent); }
.hdr-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.hdr-right { display: flex; align-items: center; gap: 14px; }
.hdr-count { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- shared sections ---------- */
.strip { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 14px var(--gut); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); background: var(--panel); }
.sec-head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; justify-content: space-between; padding: 44px var(--gut) 16px; }
.sec-head h2 { margin: 0; font-size: clamp(26px,3vw,34px); letter-spacing: -.03em; font-weight: 700; }
.sec-head .kicker, .sec-head .mono-link { font-size: 12px; letter-spacing: .08em; }
.mono-link { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.mono-link:hover { color: var(--ink); }
.page-head { padding: 38px var(--gut) 26px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.page-head > div:first-child { max-width: 640px; }
.page-head h1 { margin: 0 0 12px; font-size: clamp(34px,4.4vw,52px); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.page-head h1:last-child { margin-bottom: 0; }
.page-head p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.page-head-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); line-height: 1.9; text-align: right; }
.crumbs { padding: 14px var(--gut); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-2); }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink); }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px,100%), 1fr)); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(32px,4vw,52px) clamp(20px,3vw,36px) 44px clamp(20px,3vw,32px); display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { margin: 0; font-size: clamp(34px,4.4vw,56px); line-height: .98; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; }
.hero-copy p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 470px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); background: var(--panel-2); border-left: 1px solid var(--line); }
.hero-mosaic a { display: block; background: var(--panel); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 1 / 1; overflow: hidden; }
.hero-mosaic a:nth-child(3n) { border-right: 0; }
.hero-mosaic a:nth-last-child(-n+3) { border-bottom: 0; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.hero-mosaic a:hover img { transform: scale(1.05); }

/* ---------- home pack rows ---------- */
.pack-rows { padding: 8px var(--gut) 36px; display: flex; flex-direction: column; gap: 12px; }
.pack-row { position: relative; display: grid; grid-template-columns: minmax(150px,200px) minmax(0,1.6fr) minmax(0,110px) minmax(0,190px); align-items: center; gap: 22px; border: 1px solid var(--line); background: var(--card); padding: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.pack-row:hover { border-color: var(--line-2); box-shadow: 0 10px 30px rgba(20,18,15,.07); }
.row-link { position: absolute; inset: 0; z-index: 1; }
.pack-row-img { width: 100%; aspect-ratio: 200 / 112; object-fit: cover; background: var(--panel-2); }
.pack-row h3 { margin: 0 0 5px; font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.pack-row p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.pack-row .kicker { margin-bottom: 5px; }
.pack-row-spec { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.7; }
.pack-row-buy { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.price { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.above { position: relative; z-index: 2; }

/* ---------- the math / lifetime offers ---------- */
.math { margin: 0 var(--gut) 48px; border: 2px solid var(--accent); background: var(--card); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); }
.math-list { padding: 34px; }
.math-list h3, .offer-list h3 { margin: 0 0 18px; font-size: clamp(26px,3vw,34px); letter-spacing: -.03em; font-weight: 700; max-width: 460px; }
.ledger { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--text-2); max-width: 520px; }
.ledger div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted var(--line-2); padding-bottom: 7px; }
.ledger div:last-child { border-bottom: 0; padding-bottom: 0; padding-top: 3px; font-weight: 700; color: var(--ink); font-size: 17px; }
.ledger .count { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.ledger .count.is-accent { color: var(--accent); }
.math-deal { background: var(--accent); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.math-deal .kicker { color: rgba(255,255,255,.78); letter-spacing: .12em; }
.math-deal-price { font-size: 60px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.math-deal-note { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.72); text-align: center; }
.math-deal p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.9); }
.offer { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); }
.offer-list { padding: 36px var(--gut); }
.offer-list > p { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 460px; }
.offer-list > h2 { margin: 0 0 14px; font-size: clamp(24px,2.8vw,30px); letter-spacing: -.03em; font-weight: 700; }
.dark-deal { background: var(--ink); color: var(--ink-inv); padding: 36px var(--gut); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.dark-deal .eyebrow { font-size: 11px; letter-spacing: .12em; margin: 0; }
.dark-deal-title { font-size: clamp(30px,4vw,48px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.dark-deal-price { display: flex; align-items: baseline; gap: 12px; }
.dark-deal-price b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.dark-deal p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dark-text); max-width: 420px; }
.dark-deal .btn { align-self: flex-start; }

/* ---------- download contents ---------- */
.zip { padding: 0 var(--gut) 52px; }
.zip-intro { margin: 0 0 22px; font-size: 16px; color: var(--text-2); max-width: 640px; line-height: 1.5; }
.zip h2, .zip h3 { margin: 0 0 20px; font-size: clamp(26px,3vw,30px); letter-spacing: -.025em; font-weight: 700; }
.zip h2 + .zip-intro { margin-top: -12px; }
.zip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: 14px; }
.zip-card { border: 1px solid var(--line); background: var(--card); padding: 20px; }
.zip-card code { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.zip-card p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ---------- dark CTA band ---------- */
.cta-band { background: var(--ink); color: var(--ink-inv); padding: 40px var(--gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 30px; }
.cta-band > div:first-child { font-size: 26px; font-weight: 700; letter-spacing: -.025em; max-width: 560px; }

/* ---------- catalog: pack tiles ---------- */
.pack-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px,100%), 1fr)); border-bottom: 1px solid var(--line); }
.pack-tile { position: relative; background: var(--card); border-right: 1px solid var(--line); margin-bottom: -1px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .15s ease; }
.pack-tile:hover { background: #fffdf9; }
.pack-tile-img { width: 100%; height: 200px; object-fit: cover; background: var(--panel-2); }
.pack-tile-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pack-tile h2, .pack-tile h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.pack-tile p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.pack-tile .spec { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .06em; }
.pack-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-3); padding-top: 14px; margin-top: auto; }
.pack-tile-foot .price { font-size: 22px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: 14px; padding: 16px var(--gut) 48px; }
.related .pack-tile { border: 1px solid var(--line); margin: 0; }
.related .pack-tile-img { height: 140px; }
.related .pack-tile-body { padding: 16px; gap: 6px; }
.related .pack-tile h3 { font-size: 19px; }
.related .pack-tile .spec { font-size: 10px; margin-bottom: 6px; }
.related .pack-tile-foot { border: 0; padding: 0; }
.related .pack-tile-foot .price { font-size: 19px; }

/* ---------- model index ---------- */
.index { display: grid; grid-template-columns: minmax(230px,260px) minmax(0,1fr); }
.index-side { border-right: 1px solid var(--line); padding: 26px 24px 34px; display: flex; flex-direction: column; gap: 22px; background: var(--panel); align-self: start; position: sticky; top: 0; }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.filter button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 5px 0; border: 0; background: none; color: var(--text-2); cursor: pointer; text-align: left; }
.filter button span:last-child { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.filter button:hover { color: var(--accent); }
.filter button.is-active { color: var(--ink); font-weight: 600; }
.filter button.is-active span:last-child { color: var(--muted); }
.side-cta { border-top: 1px solid var(--line); padding-top: 20px; }
.side-cta b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.side-cta p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0 0 12px; }
.index-main { padding: 24px 26px 34px; min-width: 0; }
.index-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.model-grid.in-pack { padding: 0 var(--gut) 20px; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); }
.model-card { border: 1px solid var(--line); background: var(--card); min-width: 0; }
.model-card[hidden] { display: none; }
.model-card-img { width: 100%; aspect-ratio: 5 / 4; background: var(--panel); overflow: hidden; }
.model-card-img img { width: 100%; height: 100%; object-fit: contain; }
.model-card-img.is-photo img { object-fit: cover; }
.model-card-img.is-blank { background: repeating-linear-gradient(135deg, var(--panel-2) 0 8px, #e7e1d4 8px 16px); }
.model-card-body { padding: 10px 12px 12px; }
.model-card .kicker-sm { font-size: 9px; letter-spacing: .1em; margin-bottom: 3px; }
.model-card b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.model-card .dims { margin-top: 4px; }
.load-more { display: block; width: 100%; margin-top: 16px; border: 1px dashed #cfc8b8; background: none; padding: 14px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); cursor: pointer; }
.load-more:hover { border-color: var(--ink); color: var(--ink); }
.load-more[hidden], .reveal-more[hidden] { display: none; }
.reveal-more { padding: 0 var(--gut) 44px; }

/* ---------- pack page ---------- */
.pack-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px,100%), 1fr)); border-bottom: 1px solid var(--line); }
.pack-gallery { background: var(--panel-2); border-right: 1px solid var(--line); min-width: 0; outline: none; }
.pack-gallery:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.pack-gallery-stage { position: relative; background: #2d2823; }
.pack-gallery-main { width: 100%; height: clamp(260px, 36vw, 440px); object-fit: cover; }
.pack-gallery-arrow { position: absolute; top: 50%; width: 42px; height: 42px; border: 1px solid rgba(250,248,243,.7); border-radius: 2px; background: rgba(20,18,15,.5); color: #fff; font: 18px/1 var(--mono); cursor: pointer; transform: translateY(-50%); transition: background .15s ease; }
.pack-gallery-arrow:hover, .pack-gallery-arrow:focus-visible { background: var(--accent); outline: none; }
.pack-gallery-prev { left: 14px; }
.pack-gallery-next { right: 14px; }
.pack-gallery-label { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.pack-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px,1fr)); gap: 6px; padding: 0 14px 14px; }
.pack-gallery-thumb { padding: 0; border: 2px solid transparent; background: var(--ink); aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; opacity: .82; transition: opacity .15s ease, border-color .15s ease; }
.pack-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pack-gallery-thumb:hover, .pack-gallery-thumb:focus-visible { opacity: 1; outline: none; border-color: var(--ghost); }
.pack-gallery-thumb.is-active { opacity: 1; border-color: var(--accent); }
.pack-info { padding: 34px var(--gut); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pack-info .eyebrow { font-size: 11px; letter-spacing: .12em; margin: 0; }
.pack-info h1 { margin: 0; font-size: clamp(36px,4.6vw,54px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.pack-info > p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.specs > div { background: var(--paper); padding: 14px 16px; }
.specs .kicker-sm { letter-spacing: .1em; }
.specs b { display: block; font-size: 19px; font-weight: 700; margin-top: 4px; }
.buy-box { border: 1px solid var(--ink); background: var(--card); padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.buy-box b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.life-box { background: var(--ink); color: var(--ink-inv); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.life-box-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dark-muted); }
.life-box-top span:first-child { color: var(--accent); letter-spacing: .12em; }
.life-box-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.life-box-title span:first-child { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.life-box-title b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.life-box-title .strike { font-size: 14px; }
.life-box p { margin: 0; font-size: 14px; color: var(--dark-text); line-height: 1.5; }
.life-box .btn { align-self: flex-start; }
.pack-info-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pack-info-foot > a { font-size: 14px; font-weight: 600; }

/* share */
.sharebar { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.sharebar [role="button"] { cursor: pointer; }
.sharebar [role="button"]:hover { color: var(--accent); }

/* ---------- samples ---------- */
.samples-head { padding: 46px var(--gut) 36px; border-bottom: 1px solid var(--line); }
.samples-head > * { max-width: 760px; }
.samples-head h1 { margin: 0 0 16px; font-size: clamp(34px,4.6vw,54px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.samples-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); }
.sample { background: var(--card); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-right: -1px; }
.sample-img { width: 100%; height: 230px; object-fit: contain; background: var(--panel); }
.sample-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.sample-body b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sample-body .dims { font-size: 11px; letter-spacing: .06em; }
.sample-body .btn { margin-top: 6px; }

/* ---------- documents (about / legal / account) ---------- */
.doc { max-width: 760px; padding: 40px var(--gut) 60px; }
.doc-lead { font-size: 18px; line-height: 1.62; color: var(--ink); margin: 0 0 26px; }
.doc-lead-xl { font-weight: 500; font-size: clamp(22px,3vw,28px); line-height: 1.35; letter-spacing: -.015em; margin: 0 0 30px; }
.doc h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 34px 0 12px; font-weight: 500; }
.doc p { font-size: 17px; line-height: 1.6; color: #2a261f; margin: 0 0 18px; }
.doc a:not(.btn) { border-bottom: 1px solid var(--ghost); }
.doc a:not(.btn):hover { border-color: var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; }
.stat-row div { background: var(--card); padding: 20px; }
.stat-row b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-row span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; margin-top: 8px; }

/* account (client-rendered) */
.acct { max-width: 900px; padding: 36px var(--gut) 64px; }
.acct h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.025em; font-weight: 700; }
.acct p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.acct-email { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.acct-nav { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.acct-nav a { color: var(--muted); }
.acct-nav a:hover { color: var(--accent); }
.acct-card { border: 1px solid var(--line); background: var(--card); padding: 22px 24px; margin-top: 14px; }
.acct-card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; text-transform: capitalize; }
.acct-links { display: flex; flex-wrap: wrap; gap: 10px; }
.acct-row { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15px; }
.acct-row strong { font-weight: 600; }
.acct-note { border: 1px solid var(--accent); background: var(--card); padding: 16px 18px; }
.acct-warn { color: #8b2218; }
.field { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.input { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--card); color: var(--ink); font: 15px var(--sans); }
.input:focus { outline: none; border-color: var(--ink); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.form-row .input { margin-top: 0; flex: 1 1 240px; width: auto; }
.btn-text { border: 0; background: none; padding: 0; font: 600 14px var(--sans); cursor: pointer; color: var(--ink); }
.btn-text:hover { color: var(--accent); }
.btn-text.danger { color: #8b2218; }

/* ---------- license modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(14,18,12,.62); display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal-scrim { position: absolute; inset: 0; }
.modal-box { position: relative; width: 100%; max-width: 880px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); margin: auto; }
.modal-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.modal-close { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.modal-close:hover { color: var(--ink); }
.modal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr)); }
.modal-col { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-col + .modal-col { border-left: 1px solid var(--line); }
.modal-col h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.modal-col p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.modal-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.modal-foot b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.modal-col.is-dark { background: var(--ink); color: var(--ink-inv); border-left-color: var(--ink); }
.modal-col.is-dark p { color: var(--dark-text); }
.modal-col.is-dark .modal-foot { border-top-color: #2c2822; }
.modal-col.is-dark .eyebrow { font-size: 11px; letter-spacing: .12em; margin: 0; }
.modal-fan { position: relative; height: 104px; margin: 2px 0 4px; }
.modal-fan img { position: absolute; top: 8px; width: 120px; height: 78px; object-fit: cover; border: 2px solid var(--ink); }
.modal-note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dark-muted); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--ink-inv); padding: 52px var(--gut) 34px; display: flex; flex-direction: column; gap: 36px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { margin: 0; font-size: 14px; line-height: 1.5; color: #9a9385; max-width: 300px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 24px; align-items: start; }
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols .kicker { color: var(--muted); letter-spacing: .12em; }
.foot a { font-size: 14px; color: #d6d0c3; overflow-wrap: anywhere; }
.foot a:hover { color: #e8835f; }
.foot .wordmark { color: var(--ink-inv); }

/* ---------- responsive ---------- */
@media (max-width: 1300px) { .page { border-left: 0; border-right: 0; } }
@media (max-width: 900px) {
  .index { grid-template-columns: 1fr; }
  .index-side { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .filter { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter button { width: auto; border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 2px; gap: 8px; background: var(--card); }
  .filter button.is-active { border-color: var(--ink); }
  .pack-row { grid-template-columns: minmax(120px,170px) minmax(0,1fr); }
  .pack-row-spec { display: none; }
  .pack-row-buy { grid-column: 1 / -1; justify-content: space-between; }
  .hero-mosaic { border-left: 0; border-top: 1px solid var(--line); }
  .pack-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hdr { display: grid; grid-template-columns: 1fr auto; row-gap: 12px; }
  .hdr-left { display: contents; }
  .hdr-nav { grid-column: 1 / -1; grid-row: 2; }
  .hdr-right { grid-column: 2; grid-row: 1; }
  .model-grid.in-pack { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hdr-count { display: none; }
  .hdr-left { gap: 10px 18px; }
  .hdr-nav { gap: 16px; }
  .pack-row { grid-template-columns: 1fr; gap: 14px; }
  .page-head-meta { text-align: left; }
  .math { margin-left: var(--gut); margin-right: var(--gut); }
  .math-list, .math-deal { padding: 26px 20px; }
  .math-deal-price { font-size: 46px; }
  .stat-row { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .index-main { padding: 20px 16px 30px; }
  .modal { padding: 12px; }
  .modal-col + .modal-col { border-left: 0; border-top: 1px solid var(--line); }
  .modal-col { padding: 24px 20px; }
  .cta-band > div:first-child { font-size: 22px; }
}
