/* ============================================================
   SMASH & DASH — Private proposal
   Design system: "Carte Blanche"
   Gate in the void · document on paper · gold thread
   ============================================================ */

:root {
  /* Void */
  --void:      #0C0B08;
  --void-2:    #131109;
  --void-line: rgba(246, 240, 226, 0.10);
  --void-line2:rgba(246, 240, 226, 0.20);
  --bone:      #F6F0E2;
  --bone-dim:  #B5AD97;
  --bone-mute: #7C7560;

  /* Paper */
  --paper:     #F7F3E8;
  --paper-2:   #EFE9D8;
  --ink:       #161309;
  --ink-soft:  #4D4836;
  --ink-mute:  #8B8268;
  --ink-line:  rgba(22, 19, 9, 0.14);
  --ink-line2: rgba(22, 19, 9, 0.55);

  /* Gold */
  --gold:      #D9B154;
  --gold-deep: #9C7A1E;
  --gold-soft: rgba(217, 177, 84, 0.14);

  --f-display: 'Instrument Serif', Georgia, serif;
  --f-body:    'Satoshi', system-ui, sans-serif;

  --gutter:  clamp(20px, 5vw, 72px);
  --maxw:    1080px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--void); scroll-behavior: smooth; }
body { font-family: var(--f-body); font-size: clamp(1rem, 1.05vw, 1.06rem); color: var(--bone); background: var(--void); line-height: 1.65; overflow-x: hidden; }
body.is-locked { overflow: hidden; height: 100svh; }
body:not(.is-locked) { background: var(--paper); }
::selection { background: var(--gold); color: var(--void); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px; mix-blend-mode: overlay;
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: var(--gold); }

/* shake (wrong code) */
@keyframes shake { 0%,100%{transform:translateX(0);} 12%{transform:translateX(-9px);} 25%{transform:translateX(9px);} 40%{transform:translateX(-7px);} 55%{transform:translateX(7px);} 72%{transform:translateX(-4px);} 86%{transform:translateX(4px);} }
.is-shake { animation: shake 0.5s var(--ease); }

/* ============================================================
   GATE — the void
   ============================================================ */
.gate {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(90px, 14vh, 140px) var(--gutter) clamp(60px, 9vh, 100px);
  overflow: hidden; transition: opacity 0.36s var(--ease);
}
.gate::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(56% 42% at 50% 36%, rgba(217, 177, 84, 0.08) 0%, transparent 70%);
}
.gate.is-dismiss { opacity: 0; }

.gate-brand {
  position: absolute; top: clamp(18px, 3vh, 30px); left: var(--gutter);
  font-family: var(--f-display); font-size: 1.3rem; color: var(--bone);
}
.gate-brand .amp { font-style: italic; color: var(--gold); }

.gate-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(1.1rem, 2.4vh, 1.7rem); max-width: 600px; }

.gate-eyebrow { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-mute); }

.gate-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--bone);
}
.gate-title em { color: var(--gold); }

.gate-sub { font-size: clamp(0.98rem, 1.25vw, 1.1rem); color: var(--bone-dim); max-width: 42ch; }

.gate-form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem; }
.gate-field {
  display: flex; gap: 0; border: 1px solid var(--void-line2); border-radius: 3px;
  background: var(--void-2); overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gate-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.gate-field input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--bone); font-family: var(--f-body); font-weight: 500;
  font-size: 1.02rem; letter-spacing: 0.08em;
  padding: 1rem 1.1rem;
}
.gate-field input::placeholder { color: var(--bone-mute); letter-spacing: 0.04em; font-weight: 400; }
.gate-go {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-body); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em;
  background: var(--gold); color: var(--void); border: none; cursor: pointer;
  padding: 0 1.4em; transition: background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.gate-go .btn-arrow { transition: transform 0.3s var(--ease); }
.gate-go:hover .btn-arrow { transform: translateX(4px); }
.gate-go:disabled { opacity: 0.55; cursor: wait; }
.gate-go.is-busy .btn-arrow { animation: busy 0.9s linear infinite; }
@keyframes busy { 0%{transform:translateX(0);} 50%{transform:translateX(5px);} 100%{transform:translateX(0);} }

.gate-msg { min-height: 1.4em; font-size: 0.88rem; font-weight: 500; color: var(--bone-mute); }
.gate-msg.is-err { color: #D98454; }
.gate-msg.is-ok { color: var(--gold); }
.gate-msg.is-pending { color: var(--bone-dim); }

.gate-back { font-size: 0.82rem; font-weight: 500; color: var(--bone-mute); transition: color 0.3s var(--ease); margin-top: 0.6rem; }
.gate-back:hover { color: var(--bone); }

/* ============================================================
   DOC NAV — sticky section chips (injected by proposal.js)
   ============================================================ */
.doc-nav {
  position: sticky; top: 0; z-index: 8000;
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(12, 11, 8, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--void-line);
  padding: 0 max(calc((100% - var(--maxw)) / 2 - 14px), 10px);
}
.doc-nav-brand {
  flex: 0 0 auto; font-family: var(--f-display); font-size: 1.05rem; color: var(--bone);
  padding: 0.78rem 0.9rem 0.78rem 0.4rem; border-right: 1px solid var(--void-line);
  margin-right: 0.3rem; cursor: pointer; background: none; border-top: none; border-left: none; border-bottom: none;
}
.doc-nav-brand .amp { font-style: italic; color: var(--gold); }
.doc-nav-chips {
  display: flex; align-items: stretch; gap: 0.1rem; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.doc-nav-chips::-webkit-scrollbar { display: none; }
.doc-nav-chip {
  flex: 0 0 auto; position: relative; cursor: pointer;
  display: inline-flex; align-items: center;
  font-weight: 500; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bone-mute); padding: 0.85rem 0.85rem;
  transition: color 0.25s var(--ease); white-space: nowrap;
  background: none; border: none; font-family: var(--f-body);
}
.doc-nav-chip::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.doc-nav-chip:hover { color: var(--bone); }
.doc-nav-chip.is-active { color: var(--gold); }
.doc-nav-chip.is-active::after { transform: scaleX(1); }

/* anchor offset below the sticky nav */
.doc-section, .doc-hero { scroll-margin-top: 60px; }

/* ============================================================
   DOCUMENT — shell
   ============================================================ */
.doc-shell { background: var(--paper); color: var(--ink); }
.doc { display: block; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* legacy glyphs from payload: hide the ⁄⁄ ticks */
.tick { display: none; }

/* shared label (payload markup: .label > i + text) */
.doc .label {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute);
}
.doc .label i { width: 7px; height: 7px; background: var(--gold-deep); display: inline-block; }

/* ============================================================
   DOC HERO — dark cover page
   ============================================================ */
.doc-hero {
  background: var(--void); color: var(--bone);
  padding: clamp(70px, 10vh, 120px) var(--gutter) clamp(60px, 8vh, 90px);
  position: relative; overflow: hidden;
}
.doc-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 0%, rgba(217, 177, 84, 0.09) 0%, transparent 65%);
}
.doc-hero > * { position: relative; max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.doc-eyebrow {
  display: flex; align-items: center; gap: 0.8em; flex-wrap: wrap;
  font-weight: 500; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bone-mute); margin-bottom: clamp(1.6rem, 3vh, 2.4rem);
}
.doc-eyebrow-loc { margin-left: auto; color: var(--bone-mute); }

.doc-kicker { font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.6rem); color: var(--gold); margin-bottom: 0.6rem; }

.doc-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 8rem); line-height: 0.95; letter-spacing: -0.012em;
  color: var(--bone); margin-bottom: clamp(1.2rem, 2.6vh, 1.8rem);
}
.doc-title-2 { color: var(--bone); }
.doc-dot { color: var(--gold); }

.doc-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--bone-dim);
  max-width: 56ch; line-height: 1.6; margin-bottom: clamp(1.6rem, 3vh, 2.2rem);
}
.doc-lead em { color: var(--gold); font-style: italic; }

.doc-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(2rem, 4vh, 3rem); }

/* buttons (used in hero + cta) */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-body); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 0.9em 1.5em; border-radius: 2px; cursor: pointer; border: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn .btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--gold); color: var(--void); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(217, 177, 84, 0.5); }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid var(--void-line2); }
.btn-ghost:hover { border-color: var(--bone); transform: translateY(-2px); }

.doc-metagrid {
  display: grid; grid-template-columns: 1fr; gap: 0 clamp(1.6rem, 3vw, 3rem);
  border-top: 1px solid var(--void-line); margin-bottom: clamp(1.6rem, 3vh, 2.2rem);
}
.meta-item { display: flex; justify-content: space-between; gap: 1.4rem; padding: 0.7rem 0; border-bottom: 1px solid var(--void-line); }
.meta-item dt { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-mute); }
.meta-item dd { font-weight: 500; font-size: 0.92rem; color: var(--bone); text-align: right; }

.doc-note { font-size: 0.92rem; color: var(--bone-mute); max-width: 70ch; line-height: 1.6; }

/* ============================================================
   SECTIONS — paper
   ============================================================ */
.doc-section {
  padding: clamp(60px, 9vh, 110px) var(--gutter);
  border-bottom: 1px solid var(--ink-line);
}
.doc-section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.doc-sec-head { margin-bottom: clamp(1.8rem, 3.4vw, 2.8rem); display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0.5rem 1.3rem; }
.doc-num { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 0.8; color: var(--gold-deep); grid-row: span 2; }
.doc-h2 {
  grid-column: 2; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--ink);
  margin-top: 0.3rem;
}
.doc-h2 .dim { color: var(--ink-mute); }
.doc-h2 .volt { color: var(--gold-deep); font-style: italic; }

.doc-prose { max-width: 72ch; }
.doc-prose p { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--ink-soft); line-height: 1.7; }
.doc-prose p + p { margin-top: 0.9rem; }
.doc-prose strong { color: var(--ink); font-weight: 600; }

.doc-eyebrow-sub {
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute); margin: clamp(1.8rem, 3.4vw, 2.6rem) auto 1.1rem;
}

.doc-fineprint { font-size: 0.84rem; color: var(--ink-mute); line-height: 1.6; max-width: 80ch; margin-top: 1.2rem; }

/* dark feature sections (pilot, founding) */
.doc-section-feature { background: var(--void); border-bottom: none; }
.doc-section-feature .doc-h2 { color: var(--bone); }
.doc-section-feature .doc-h2 .volt { color: var(--gold); }
.doc-section-feature .label { color: var(--bone-mute); }
.doc-section-feature .label i { background: var(--gold); }
.doc-section-feature .doc-num { color: var(--gold); }
.doc-section-feature .doc-prose p { color: var(--bone-dim); }
.doc-section-feature .doc-prose strong { color: var(--bone); }
.doc-section-feature .doc-fineprint { color: var(--bone-mute); }

/* ============================================================
   FEATURE GRID (what has been built)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 2vw, 1.8rem); }
.feature { border-top: 1.5px solid var(--ink-line2); padding-top: 1rem; }
.feature-i { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--gold-deep); display: block; margin-bottom: 0.35rem; }
.feature h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.05; color: var(--ink); margin-bottom: 0.35rem; }
.feature p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.feature-quiet { opacity: 0.85; }

/* ============================================================
   STEPS
   ============================================================ */
.doc-steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 2.4vw, 2rem); }
.step { border-top: 1.5px solid var(--ink-line2); padding-top: 1.1rem; }
.doc-section-feature .step { border-top-color: var(--void-line2); }
.step-num { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); display: block; margin-bottom: 0.35rem; }
.doc-section-feature .step-num { color: var(--gold); }
.step-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.05; color: var(--ink); margin-bottom: 0.4rem; }
.doc-section-feature .step-title { color: var(--bone); }
.step-desc { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }
.doc-section-feature .step-desc { color: var(--bone-dim); }

/* ============================================================
   CALLOUTS
   ============================================================ */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  border-left: 3px solid var(--gold); background: rgba(217, 177, 84, 0.07);
  padding: 1.2rem 1.4rem; margin-top: clamp(1.8rem, 3vw, 2.6rem); border-radius: 0 3px 3px 0;
}
.doc-section-feature .callout { background: rgba(217, 177, 84, 0.08); }
.callout-mark { color: var(--gold-deep); font-size: 1.1rem; line-height: 1.4; }
.doc-section-feature .callout-mark { color: var(--gold); }
.callout p { font-size: 0.96rem; line-height: 1.65; color: var(--ink-soft); }
.doc-section-feature .callout p { color: var(--bone-dim); }
.callout p strong { color: var(--ink); }
.doc-section-feature .callout p strong { color: var(--bone); }
.callout-quiet { border-left-color: var(--ink-line2); background: var(--paper-2); }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 2vw, 1.8rem); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.price-card {
  position: relative; background: var(--paper); border: 1.5px solid var(--ink-line2); border-radius: 4px;
  padding: clamp(1.7rem, 2.8vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.85rem;
}
.price-card.is-rec {
  border-color: var(--gold-deep);
  box-shadow: 0 2px 0 var(--gold-soft), 0 26px 60px -30px rgba(22, 19, 9, 0.3);
}
.price-badge {
  position: absolute; top: -0.8em; left: clamp(1.7rem, 2.8vw, 2.4rem);
  background: var(--gold); color: var(--void);
  font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.36em 0.9em; border-radius: 2px;
}
.price-opt { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.price-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; color: var(--ink); }
.price-tagline { font-family: var(--f-display); font-style: italic; font-size: 1.08rem; color: var(--gold-deep); }
.price-blurb { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

.price-rows { display: grid; border-top: 1px solid var(--ink-line); margin-top: 0.3rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid var(--ink-line); }
.price-row dt { font-size: 0.86rem; color: var(--ink-mute); }
.price-row dd { font-weight: 600; font-size: 0.95rem; color: var(--ink); text-align: right; }
.price-row .per { font-weight: 500; font-size: 0.8em; color: var(--ink-mute); margin-left: 0.15em; }
.price-row-hero dt { color: var(--ink-soft); font-weight: 500; }
.price-row-hero dd { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: var(--gold-deep); }

.price-fees { display: flex; align-items: center; gap: 0.6em; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.price-fees .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); flex: 0 0 auto; }
.price-best { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; border-top: 1px solid var(--ink-line); padding-top: 0.85rem; }
.price-best strong { color: var(--ink); }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { width: 100%; overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table thead th {
  text-align: left; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1.5px solid var(--ink-line2);
}
.spec-table tbody th, .spec-table tbody td { padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--ink-line); vertical-align: top; text-align: left; }
.spec-table tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.spec-table tbody td { color: var(--ink-soft); line-height: 1.6; }
.glance-table tbody td { font-weight: 500; color: var(--ink); }

/* severity badges */
.sev { display: inline-block; font-family: var(--f-body); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 2px; }
.sev-crit { background: var(--gold); color: var(--void); }
.sev-high { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-line2); }
.sev-norm { background: var(--paper-2); color: var(--ink-mute); }

/* ============================================================
   SLA CARDS
   ============================================================ */
.sla-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 2vw, 1.8rem); }
.sla-card { border: 1.5px solid var(--ink-line2); border-radius: 4px; padding: clamp(1.5rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 0.5rem; background: var(--paper); }
.sla-k { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.sla-v { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--gold-deep); display: flex; align-items: baseline; gap: 0.3em; }
.sla-unit { font-size: 0.38em; font-style: italic; color: var(--ink-mute); }
.sla-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   ASSURANCES + TICKS
   ============================================================ */
.assure-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.3rem, 2.2vw, 2rem); }
.assure { border-top: 1.5px solid var(--ink-line2); padding-top: 1rem; }
.assure h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.4rem; }
.assure p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; }
.opt-tag { font-family: var(--f-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold-deep); border-radius: 2px; padding: 0.2em 0.5em; vertical-align: middle; margin-left: 0.5em; }

.ticks { list-style: none; max-width: 64ch; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.7rem; font-size: 0.98rem; border-bottom: 1px solid var(--ink-line); color: var(--ink-soft); }
.ticks li::before { content: '—'; position: absolute; left: 0; color: var(--gold-deep); }
.doc-section-feature .ticks li { color: var(--bone-dim); border-bottom-color: var(--void-line); }
.doc-section-feature .ticks li::before { color: var(--gold); }

/* ============================================================
   CTA + FOOT
   ============================================================ */
.doc-cta {
  background: var(--void); color: var(--bone); border-radius: 6px;
  padding: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-top: clamp(2.4rem, 4.5vw, 3.6rem);
  position: relative; overflow: hidden;
}
.doc-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 70% at 85% 0%, rgba(217, 177, 84, 0.12) 0%, transparent 60%); }
.doc-cta > * { position: relative; }
.doc-cta-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.02; color: var(--bone); margin-bottom: 0.9rem; }
.doc-cta-sub { font-size: clamp(0.98rem, 1.3vw, 1.14rem); color: var(--bone-dim); max-width: 52ch; line-height: 1.6; margin-bottom: 1.6rem; }
.doc-cta .doc-actions { margin-bottom: 0; }

.doc-foot { padding: clamp(50px, 7vh, 80px) var(--gutter); }
.doc-foot > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.doc-disclaimer { font-size: 0.86rem; color: var(--ink-mute); line-height: 1.65; max-width: 76ch; border-top: 1px solid var(--ink-line); padding-top: 1.6rem; margin-left: max(calc((100% - var(--maxw)) / 2), 0px); margin-right: 0; }
.doc-disclaimer strong { color: var(--ink-soft); }
.doc-foot-mark { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--ink); margin-top: 1.6rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.footer-amp { font-style: italic; color: var(--gold-deep); }
.doc-foot-tag { font-family: var(--f-display); font-style: italic; font-size: 0.95rem; color: var(--ink-mute); }

/* ============================================================
   SCREENSHOTS — the Platform, in practice
   ============================================================ */
.shots-wide { display: grid; gap: clamp(20px, 3vw, 34px); margin-top: 1.4rem; }
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--ink-line); border-radius: 10px;
  box-shadow: 0 18px 44px rgba(22, 19, 9, 0.10);
  background: #fff;
}
.shot figcaption { margin-top: 0.65rem; font-size: 0.84rem; color: var(--ink-mute); line-height: 1.5; }
.shots-phones { display: flex; gap: 16px; margin-top: 2rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.6rem; }
.shots-phones .shot { flex: 0 0 62%; scroll-snap-align: start; }
.shots-phones .shot img { border-radius: 18px; }
@media (min-width: 860px) {
  .shots-phones { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; padding-bottom: 0; }
  .shots-phones .shot { flex: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 700px) {
  .doc-metagrid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .sla-grid { grid-template-columns: repeat(2, 1fr); }
  .assure-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .doc-steps { grid-template-columns: repeat(4, 1fr); }
  #next-steps .doc-steps { grid-template-columns: repeat(5, 1fr); }
}

/* stacked tables on small screens */
@media (max-width: 700px) {
  .spec-table thead { display: none; }
  .spec-table tbody tr { display: block; border-bottom: 1.5px solid var(--ink-line2); padding: 0.7rem 0; }
  .spec-table tbody th, .spec-table tbody td { display: block; border-bottom: none; padding: 0.25rem 0; white-space: normal; }
  .spec-table tbody td[data-label]::before {
    content: attr(data-label); display: block;
    font-family: var(--f-body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.15rem;
  }
}

/* ============================================================
   PRINT — clean paper document
   ============================================================ */
@media print {
  .grain, .scroll-progress, .doc-nav, .gate, .doc-actions { display: none !important; }
  body, .doc-shell { background: #fff !important; color: #000 !important; }
  body.is-locked { overflow: visible; height: auto; }
  .doc-hero, .doc-section-feature, .doc-cta { background: #fff !important; color: #000 !important; }
  .doc-hero::before, .doc-cta::before { display: none; }
  .doc-title, .doc-h2, .doc-cta-title, .step-title, .price-name, .doc-kicker, .doc-lead,
  .doc-section-feature .doc-prose p, .doc-section-feature .step-desc, .doc-section-feature .callout p,
  .meta-item dd, .doc-note, .doc-section-feature .ticks li, .doc-foot-mark { color: #000 !important; }
  .doc-eyebrow, .meta-item dt, .doc-section-feature .label { color: #444 !important; }
  .doc-section, .doc-hero, .doc-foot { padding-left: 0; padding-right: 0; }
  .price-card, .sla-card, .shot { break-inside: avoid; }
  .shots-phones { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .shot img { box-shadow: none; border-color: #ddd; }
  .doc-section { border-bottom-color: #ddd; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
