/* ============================================================
   JewellerGen — Smart Jewellery Solutions
   Marketing site stylesheet.

   The palette is taken from the logo: gold rule and diamond
   emblem over a slate wordmark, set on warm paper. It shares
   nothing with the SilvERP product theme — JewellerGen is a
   separate product with a separate identity (plan §5.10 / D15).
   ============================================================ */

/* ---------------- Tokens ---------------- */
:root {
  /* Paper */
  --paper:        #fdfcfa;
  --paper-2:      #f9f6f0;
  --paper-3:      #f3eee5;
  --panel:        #ffffff;
  --panel-2:      #fefdfb;

  /* Ink */
  --ink:          #1b2430;
  --ink-2:        #2b3746;
  --text:         #26313d;
  --muted:        #5c6a7a;
  --faint:        #8a95a2;

  /* Gold */
  --gold:         #c9a227;
  --gold-bright:  #e0be55;
  --gold-deep:    #8a6a13;   /* passes AA on paper — use for gold text */
  --gold-soft:    #f7eed6;
  --gold-line:    #e3d3a6;

  /* Metal greys */
  --silver:       #9aa4ae;
  --silver-soft:  #eceef1;

  /* Signals */
  --pos:          #1c7a52;
  --pos-soft:     #e2f2ea;
  --warn:         #9a6a10;
  --warn-soft:    #f9efd9;
  --neg:          #b5392f;
  --neg-soft:     #fbe9e7;

  /* Dark band */
  --dark:         #151d26;
  --dark-2:       #1e2833;
  --dark-text:    #f2ede3;
  --dark-muted:   #a3aebb;
  --dark-border:  rgba(255, 255, 255, 0.10);

  --border:       #ece7dc;
  --border-2:     #dccfb6;

  --radius:       14px;
  --radius-sm:    9px;
  --radius-lg:    22px;

  --shadow-sm:  0 1px 2px rgba(27, 36, 48, .05);
  --shadow:     0 8px 26px -14px rgba(27, 36, 48, .22);
  --shadow-lg:  0 28px 60px -26px rgba(27, 36, 48, .30);
  --shadow-gold:0 18px 44px -22px rgba(160, 124, 24, .45);

  --font-head:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --nav-h: 68px;
  --maxw: 1180px;
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.16;
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.55rem); }
h3 { font-size: clamp(1.14rem, 1rem + .6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img, picture, video, svg { max-width: 100%; }
img { height: auto; display: block; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
li::marker { color: var(--gold); }

strong, b { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4rem 0; }

code, kbd, samp { font-family: var(--font-mono); font-size: .88em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- Layout ---------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: 780px; }

section { position: relative; }
.sec { padding: clamp(58px, 7vw, 104px) 0; }
.sec-tight { padding: clamp(40px, 5vw, 68px) 0; }

.sec-paper2 { background: var(--paper-2); }
.sec-panel  { background: var(--panel); }
.sec-line   { border-top: 1px solid var(--border); }

.sec-dark {
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(201, 162, 39, .16) 0%, transparent 62%),
    linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  color: var(--dark-text);
}
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #fff; }
.sec-dark p, .sec-dark li { color: var(--dark-muted); }
.sec-dark strong { color: #fff; }
.sec-dark a { color: var(--gold-bright); }
.sec-dark .lede { color: #cfd6de; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(30px, 4.5vw, 66px);
  align-items: center;
}
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }

/* ---------------- Section headers ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .705rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg); flex: none;
}
.sec-dark .eyebrow { color: var(--gold-bright); }

.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.02rem, .97rem + .28vw, 1.17rem);
  color: var(--muted);
  line-height: 1.66;
}
.serif-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--gold-deep);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 650; font-size: .93rem;
  line-height: 1; padding: 13px 21px;
  border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .16s ease, box-shadow .2s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg, .btn i { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, #d9b84a 0%, var(--gold) 48%, #a9861a 100%);
  color: #1a1408;
  box-shadow: var(--shadow-gold);
  border-color: rgba(120, 92, 12, .35);
}
.btn-primary:hover { color: #1a1408; box-shadow: 0 22px 50px -20px rgba(160, 124, 24, .6); }

.btn-ink { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn-ink:hover { background: #0f1620; color: #fff; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--panel); border-color: var(--gold); color: var(--ink); }

.sec-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.26); }
.sec-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold-bright); color: #fff; }

.btn-lg { padding: 16px 27px; font-size: 1rem; }
.btn-sm { padding: 9px 15px; font-size: .84rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650; font-size: .92rem; text-decoration: none;
  color: var(--gold-deep);
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------- Pills / badges ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  color: var(--gold-deep);
  font-size: .765rem; font-weight: 650; letter-spacing: .01em;
}
.pill-ghost { background: var(--panel); border-color: var(--border); color: var(--muted); }
.pill-dark { background: rgba(255,255,255,.07); border-color: var(--dark-border); color: var(--gold-bright); }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
}
.tag-now  { background: var(--pos-soft);  color: var(--pos); }
.tag-next { background: var(--gold-soft); color: var(--gold-deep); }
.tag-soon { background: var(--silver-soft); color: #5b6875; }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pos); flex: none;
  box-shadow: 0 0 0 3px var(--pos-soft);
}
.dot-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--pos-soft); }
  50%      { box-shadow: 0 0 0 6px rgba(28, 122, 82, .12); }
}

/* ---------------- Nav ---------------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  z-index: 120; transition: width .1s linear;
}

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 20px -8px rgba(27,36,48,.16); }

.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
}

.nav-logo {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; flex: none;
}
.nav-logo img { width: 36px; height: auto; }
.nav-logo .wm { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .wm b {
  font-family: var(--font-head); font-weight: 800; font-size: 1.06rem;
  color: var(--ink); letter-spacing: -.025em;
}
.nav-logo .wm span {
  font-family: var(--font-mono); font-size: .555rem; font-weight: 500;
  letter-spacing: .175em; text-transform: uppercase; color: var(--faint);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: .89rem; font-weight: 550; color: var(--muted);
  text-decoration: none; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  background: var(--gold); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--ink); cursor: pointer;
}
.nav-burger svg, .nav-burger i { width: 19px; height: 19px; }

.nav-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 14px 0 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 12px 4px;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.nav-drawer .btn { margin-top: 16px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: clamp(46px, 6vw, 84px) 0 clamp(52px, 6vw, 92px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(ellipse 46% 52% at 78% 14%, rgba(201, 162, 39, .17) 0%, transparent 64%),
    radial-gradient(ellipse 52% 46% at 8% 4%, rgba(154, 164, 174, .16) 0%, transparent 62%);
  pointer-events: none;
}
/* Faint facet lines echoing the emblem. */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, transparent 49.9%, rgba(201,162,39,.09) 50%, transparent 50.1%),
    linear-gradient(65deg,  transparent 49.9%, rgba(201,162,39,.07) 50%, transparent 50.1%);
  background-size: 190px 100%, 240px 100%;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 72%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(34px, 4.5vw, 60px);
  align-items: center;
}

.hero h1 { margin-bottom: .42em; }
.hero h1 .grad {
  background: linear-gradient(100deg, #a9861a 0%, var(--gold) 42%, #dcbd58 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-deep);
}
.hero-sub { font-size: clamp(1.03rem, .97rem + .35vw, 1.2rem); color: var(--muted); max-width: 36em; }
.hero-ctas { margin: 28px 0 0; }
.hero-note { margin-top: 14px; font-size: .82rem; color: var(--faint); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-proof div { font-size: .83rem; color: var(--muted); }
.hero-proof strong {
  display: block; font-family: var(--font-head);
  font-size: 1.34rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.2;
}

/* ---------------- Bill card (hero visual) ---------------- */
.billcard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.billcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), #a9861a);
}
.bill-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.bill-head .t { font-family: var(--font-head); font-weight: 750; font-size: .96rem; color: var(--ink); }
.bill-head .s { font-family: var(--font-mono); font-size: .7rem; color: var(--faint); letter-spacing: .04em; }

.bill-item {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.bill-thumb {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--gold-soft), #efe3c3);
  border: 1px solid var(--gold-line);
  display: grid; place-items: center; color: var(--gold-deep);
}
.bill-thumb svg, .bill-thumb i { width: 20px; height: 20px; }
.bill-item .nm { font-weight: 700; color: var(--ink); font-size: .93rem; }
.bill-item .mt { font-family: var(--font-mono); font-size: .715rem; color: var(--faint); margin-top: 3px; letter-spacing: .02em; }

.bill-rows { padding: 6px 20px 4px; }
.bill-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; padding: 8px 0;
  font-size: .87rem;
  border-bottom: 1px dashed var(--border);
}
.bill-row:last-child { border-bottom: 0; }
.bill-row .k { color: var(--muted); }
.bill-row .k small { display: block; font-family: var(--font-mono); font-size: .655rem; color: var(--faint); letter-spacing: .02em; }
.bill-row .v { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bill-row.is-credit .v { color: var(--pos); }
.bill-row.is-tax .v { color: var(--muted); }

.bill-total {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 15px 20px;
  background: var(--ink); color: #fff;
}
.bill-total .k { font-size: .8rem; color: #b9c2cd; letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-mono); }
.bill-total .v { font-family: var(--font-mono); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }

.bill-foot {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 20px; background: var(--panel-2);
  border-top: 1px solid var(--border);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .655rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); background: var(--paper);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 8px;
}
.chip svg, .chip i { width: 11px; height: 11px; color: var(--gold-deep); }

/* Rate ticker floating over the bill */
.rate-float {
  position: absolute; right: -12px; top: -20px;
  background: var(--ink); color: #fff;
  border-radius: 12px; padding: 11px 15px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.rate-float .lbl {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-bright); display: flex; align-items: center; gap: 6px;
}
.rate-float .val {
  font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600;
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.rate-float .sub { font-size: .68rem; color: #9aa5b2; margin-top: 1px; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, box-shadow .22s ease, border-color .2s ease;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .925rem; color: var(--muted); margin-bottom: 0; }
.card > .link-arrow { margin-top: 15px; }

.sec-dark .card {
  background: rgba(255,255,255,.045);
  border-color: var(--dark-border);
}
.sec-dark .card p { color: var(--dark-muted); }

.icon-tile {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--gold-soft), #f0e5c8);
  border: 1px solid var(--gold-line);
  color: var(--gold-deep);
}
.icon-tile svg, .icon-tile i { width: 20px; height: 20px; }
.sec-dark .icon-tile {
  background: rgba(201,162,39,.14); border-color: rgba(201,162,39,.3); color: var(--gold-bright);
}

.card-list { list-style: none; padding: 0; margin: 14px 0 0; }
.card-list li {
  position: relative; padding-left: 20px; margin-bottom: 7px;
  font-size: .875rem; color: var(--muted); line-height: 1.5;
}
.card-list li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 6px; height: 6px; background: var(--gold);
  transform: rotate(45deg);
}

/* Feature list with checks */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative; padding-left: 28px; margin-bottom: 11px;
  font-size: .93rem; color: var(--muted);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.checks li::after {
  content: ""; position: absolute; left: 5.5px; top: .6em;
  width: 5px; height: 8px; border: solid var(--gold-deep);
  border-width: 0 1.8px 1.8px 0; transform: rotate(42deg);
}
.checks li strong { color: var(--ink); }
.sec-dark .checks li::before { background: rgba(201,162,39,.16); border-color: rgba(201,162,39,.34); }
.sec-dark .checks li::after { border-color: var(--gold-bright); }

/* ---------------- Steps ---------------- */
.steps { counter-reset: step; }
.step {
  position: relative; padding: 26px 24px 24px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -15px; left: 22px;
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-bright);
  font-family: var(--font-mono); font-size: .84rem; font-weight: 600;
}
.step h3 { margin-top: 8px; }
.step p { font-size: .91rem; color: var(--muted); margin-bottom: 0; }
.step .keys {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px;
}
.step .keys span {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 5px;
  background: var(--paper-2); color: var(--muted); border: 1px solid var(--border);
}

/* ---------------- Stat band ---------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stats > div { background: var(--panel); padding: 22px 20px; }
.stats .n {
  font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1;
}
.stats .n em { font-style: normal; color: var(--gold-deep); }
.stats .l { font-size: .83rem; color: var(--muted); margin-top: 5px; }

.sec-dark .stats { background: var(--dark-border); border-color: var(--dark-border); }
.sec-dark .stats > div { background: rgba(255,255,255,.04); }
.sec-dark .stats .n { color: #fff; }
.sec-dark .stats .n em { color: var(--gold-bright); }
.sec-dark .stats .l { color: var(--dark-muted); }

/* ---------------- Rate board ---------------- */
.rateboard {
  background: var(--dark-2); border: 1px solid var(--dark-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.rateboard-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--dark-border);
  background: rgba(255,255,255,.03);
}
.rateboard-head .t {
  font-family: var(--font-mono); font-size: .69rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold-bright);
}
.rateboard-head .s { font-family: var(--font-mono); font-size: .68rem; color: #8b97a5; }
.rateboard table { width: 100%; border-collapse: collapse; }
.rateboard th, .rateboard td {
  padding: 11px 18px; text-align: right;
  font-family: var(--font-mono); font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.055);
  font-variant-numeric: tabular-nums;
}
.rateboard th {
  text-align: right; font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: #7f8b99; font-weight: 500;
}
.rateboard th:first-child, .rateboard td:first-child { text-align: left; }
.rateboard td:first-child { color: #fff; font-family: var(--font-head); font-weight: 650; font-size: .87rem; }
.rateboard td { color: #d7dde4; }
.rateboard tr:last-child td { border-bottom: 0; }
.rateboard .up { color: #4ec08a; }
.rateboard .dn { color: #e37a6f; }

/* ---------------- Tabs ---------------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button {
  font-family: var(--font-head); font-size: .9rem; font-weight: 650;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); color: var(--muted);
  transition: all .16s ease;
}
.tabs button:hover { border-color: var(--border-2); color: var(--ink); }
.tabs button[aria-selected="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.tabpanel[hidden] { display: none; }

/* ---------------- Accordion / FAQ ---------------- */
.acc { border-top: 1px solid var(--border); }
.acc details {
  border-bottom: 1px solid var(--border);
}
.acc summary {
  list-style: none; cursor: pointer;
  padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); line-height: 1.4;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 8px; top: 27px;
  width: 9px; height: 9px;
  border: solid var(--gold-deep); border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .2s ease;
}
.acc details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.acc summary:hover { color: var(--gold-deep); }
.acc .acc-body { padding: 0 40px 22px 0; color: var(--muted); font-size: .95rem; }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------------- Feature matrix ---------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
table.matrix { width: 100%; border-collapse: collapse; min-width: 640px; }
table.matrix th, table.matrix td {
  padding: 13px 16px; text-align: left; font-size: .89rem;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
table.matrix thead th {
  background: var(--panel-2);
  font-family: var(--font-mono); font-size: .655rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  position: sticky; top: 0; z-index: 1;
}
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr:hover { background: var(--panel-2); }
table.matrix td:first-child { font-weight: 650; color: var(--ink); }
table.matrix td.c { text-align: center; }
table.matrix .id {
  font-family: var(--font-mono); font-size: .68rem; color: var(--faint);
  letter-spacing: .04em;
}

/* ---------------- Timeline ---------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--gold), var(--border));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 6px;
  width: 12px; height: 12px; background: var(--paper);
  border: 2px solid var(--gold); transform: rotate(45deg);
}
.tl-item.done::before { background: var(--gold); }
.tl-item h3 { margin-bottom: .3em; }
.tl-item .when {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px;
}
.tl-item p { font-size: .92rem; color: var(--muted); }

/* ---------------- Pricing ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  display: flex; flex-direction: column; height: 100%;
}
.plan.featured {
  border-color: var(--gold); box-shadow: var(--shadow-gold);
  position: relative;
}
.plan.featured::before {
  content: "Most chosen"; position: absolute; top: -12px; left: 26px;
  background: linear-gradient(135deg, #d9b84a, var(--gold));
  color: #1a1408; font-size: .68rem; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.plan .pname { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; color: var(--ink); }
.plan .pfor { font-size: .85rem; color: var(--muted); margin-top: 4px; min-height: 2.6em; }
.plan .pprice {
  margin: 18px 0 4px; font-family: var(--font-head);
  font-size: 2.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em;
  line-height: 1;
}
.plan .pprice sub { font-size: .82rem; font-weight: 500; color: var(--muted); vertical-align: baseline; }
.plan .pnote { font-size: .78rem; color: var(--faint); margin-bottom: 20px; }
.plan .checks { flex: 1; margin-bottom: 22px; }
.plan .checks li { font-size: .875rem; margin-bottom: 9px; }

.price-note {
  margin-top: 26px; padding: 18px 20px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  border-radius: var(--radius); font-size: .89rem; color: #6b5510;
}

/* ---------------- Logo / trust strip ---------------- */
.trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 26px; padding: 22px 0;
}
.trust span {
  font-family: var(--font-mono); font-size: .715rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust span::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ---------------- Quote ---------------- */
.quote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.6;
  color: var(--ink); font-style: italic;
}
.quote cite {
  display: block; margin-top: 12px; font-family: var(--font-body);
  font-size: .84rem; font-style: normal; color: var(--muted); font-weight: 600;
}

/* ---------------- CTA band ---------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 650; color: var(--ink); }
.field label .req { color: var(--neg); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  padding: 11px 13px; border-radius: 9px;
  border: 1px solid var(--border-2); background: var(--panel);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.16);
}
.field .hint { font-size: .76rem; color: var(--faint); }
.form-note { font-size: .8rem; color: var(--faint); margin-top: 14px; }

.contact-box {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.contact-aside .row {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-aside .row:last-child { border-bottom: 0; }
.contact-aside .row .ic {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-deep);
}
.contact-aside .row .ic svg, .contact-aside .row .ic i { width: 16px; height: 16px; }
.contact-aside .row .k { font-size: .78rem; color: var(--faint); }
.contact-aside .row .v { font-weight: 650; color: var(--ink); font-size: .95rem; }
.contact-aside .row .v a { color: var(--ink); text-decoration: none; }
.contact-aside .row .v a:hover { color: var(--gold-deep); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: clamp(46px, 5vw, 68px) 0 0;
  border-top: 3px solid var(--gold);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 42px;
}
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; color: var(--dark-muted); max-width: 34ch; }
.footer h4 {
  color: #fff; font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer li a {
  color: var(--dark-muted); text-decoration: none; font-size: .885rem;
  transition: color .15s ease;
}
.footer li a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom a { color: var(--dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-bottom .made { color: #6f7c8a; }

/* ---------------- Page header (inner pages) ---------------- */
.pagehead {
  padding: clamp(38px, 4.5vw, 66px) 0 clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: -40% -10% auto 40%; height: 160%;
  background: radial-gradient(ellipse 48% 46% at 70% 20%, rgba(201,162,39,.15) 0%, transparent 65%);
  pointer-events: none;
}
.pagehead > .container { position: relative; }
.pagehead h1 { font-size: clamp(1.95rem, 1.4rem + 2.4vw, 3rem); }
.pagehead .lede { max-width: 62ch; }

.crumbs {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em;
  color: var(--faint); margin-bottom: 14px;
}
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs .sep { margin: 0 7px; opacity: .55; }

/* ---------------- Jump nav ---------------- */
.jump {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(251,248,243,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.jump-inner {
  display: flex; gap: 4px; overflow-x: auto; padding: 10px 22px;
  scrollbar-width: none;
}
.jump-inner::-webkit-scrollbar { display: none; }
.jump-inner a {
  flex: none; padding: 7px 13px; border-radius: 999px;
  font-size: .81rem; font-weight: 600; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
}
.jump-inner a:hover { background: var(--panel); border-color: var(--border); color: var(--ink); }
.jump-inner a.active { background: var(--ink); color: #fff; }

/* ---------------- Callouts ---------------- */
.callout {
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  font-size: .92rem;
  color: #6b5510;
}
.callout strong { color: #4f3f0a; }
.callout.neutral { background: var(--panel-2); border-color: var(--border); color: var(--muted); }
.callout.neutral strong { color: var(--ink); }

/* ---------------- Reveal animation ----------------
   `.reveal` alone is deliberately visible. The hidden state is `.pending`,
   which only JavaScript ever applies, and only to elements below the fold.
   So no-JS, a blocked script, a stalled IntersectionObserver or a backgrounded
   tab all leave the page fully readable — an animation must never be able to
   turn the content off. */
.reveal.pending { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }

/* ---------------- 404 ---------------- */
.nf { text-align: center; padding: clamp(70px, 12vh, 140px) 0; }
.nf .code {
  font-family: var(--font-mono); font-size: 4.4rem; font-weight: 600;
  color: var(--gold); letter-spacing: -.04em; line-height: 1;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn-primary { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-float { right: 8px; top: -18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 14px 22px; }
  .hero-proof div { min-width: 42%; }
  .btn-row .btn { width: 100%; }
  .btn-row { gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .rate-float { position: static; margin-bottom: 14px; display: inline-block; }
  .bill-head, .bill-item, .bill-rows, .bill-total, .bill-foot { padding-inline: 15px; }
  .quote { font-size: 1.06rem; padding-left: 18px; }
  .timeline { padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal.pending { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .progress, .jump, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .sec { padding: 12pt 0; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ---------------- Icons ----------------
   Every icon is a <use> into the sprite inlined at the top of each page, so
   there is no icon font, no runtime script and no extra request. Size comes
   from the context (.btn svg, .icon-tile svg, …); this is only the default. */
.ic {
  width: 18px; height: 18px;
  flex: none; vertical-align: -.16em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
