/* ============================================================
   HF Enterprise Explorer — "editorial fintech"
   Fraunces (display) · Hanken Grotesk (UI) · JetBrains Mono (figures)
   ============================================================ */

:root {
  --paper:        #F4F1E9;
  --paper-2:      #FBF9F3;
  --card:         #FFFFFF;
  --ink:          #1B1A16;
  --ink-soft:     #6E695B;
  --ink-faint:    #A39C8A;
  --line:         #E6E0D2;
  --line-soft:    #EFEADD;

  --hf:           #FFD21E;
  --hf-deep:      #E9B800;

  --save:         #0C7C56;
  --save-bg:      #E7F4EE;
  --save-line:    #BDE3D2;

  --cost:         #C0392B;
  --cost-soft:    #D9745F;
  --cost-bg:      #FBEDE9;
  --cloud-store:  #BBB4A3;

  --radius:       16px;
  --radius-sm:    11px;
  --shadow-sm:    0 1px 2px rgba(27,26,22,.05), 0 2px 8px rgba(27,26,22,.04);
  --shadow-md:    0 8px 30px rgba(27,26,22,.10), 0 2px 8px rgba(27,26,22,.05);
  --shadow-card:  0 18px 50px rgba(27,26,22,.16);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --ui:   "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  /* warm atmosphere: soft glow + faint grain */
  background-image:
    radial-gradient(1100px 600px at 78% -8%, rgba(255,210,30,.16), transparent 60%),
    radial-gradient(900px 520px at 4% 4%, rgba(255,210,30,.06), transparent 55%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body::before {
  /* fine grain overlay for paper texture */
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative; z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 40px) 64px;
}

.lede { margin-bottom: 30px; }
.lede .eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hf-deep); font-weight: 700; margin-bottom: 12px;
}
.lede h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 460;
  font-size: clamp(31px, 5.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -.018em;
  margin-bottom: 14px;
  white-space: nowrap;
}
.lede h1 em { font-style: normal; color: var(--hf-deep); }
.lede p { font-size: 16px; color: var(--ink-soft); max-width: none; }

/* ---------- main grid ---------- */
.console {
  display: grid;
  grid-template-columns: 0.86fr 1.05fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ---------- inputs ---------- */
.inputs {
  padding: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(180deg, var(--paper-2), #fff 70%);
  border-right: 1px solid var(--line-soft);
}
.panel-label {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-bottom: 20px;
}

.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field .top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 2px;
}
.field .lbl { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .val { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.field .val .unit { color: var(--ink-faint); font-size: 12px; margin-left: 1px; }
.field .hint { font-size: 11.5px; color: var(--ink-faint); margin-top: 7px; line-height: 1.45; }
.field .hint b { color: var(--ink-soft); font-weight: 600; }

/* egress free tier callout */
.hf-egress-note {
  color: var(--save); background: var(--save-bg);
  border-radius: 7px; padding: 5px 9px; margin-top: 7px;
}
.hf-egress-note b { color: var(--save); font-weight: 700; }

/* range slider */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--line); outline: none; margin: 12px 0 2px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm); cursor: grab; transition: transform .12s ease;
}
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm); cursor: grab;
}

/* segmented control */
.seg {
  display: inline-flex; border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper-2); padding: 2px; gap: 2px;
}
.seg button {
  font-family: var(--ui); font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); background: transparent; border: 0;
  padding: 5px 13px; border-radius: 7px; cursor: pointer; transition: all .15s ease;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }

/* provider tabs */
.providers { display: flex; gap: 7px; flex-wrap: wrap; }
.providers button {
  font-family: var(--ui); font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); background: #fff; border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 9px; cursor: pointer; transition: all .15s ease;
}
.providers button:hover { border-color: var(--ink-faint); }
.providers button[aria-pressed="true"] {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.row-split { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* ---------- results ---------- */
.results { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; }

.headline {
  background: var(--save-bg);
  border: 1px solid var(--save-line);
  border-radius: var(--radius-sm);
  padding: 18px 20px; margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.headline .cap {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--save); font-weight: 700; margin-bottom: 4px;
}
.headline .figure {
  font-family: var(--ui); font-weight: 800;
  font-size: clamp(38px, 6.3vw, 56px); line-height: 1; color: var(--save);
  letter-spacing: -.032em; font-variant-numeric: tabular-nums lining-nums;
}
.headline .figure .per { font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--save); opacity: .8; }
.headline .sub { font-size: 13px; color: var(--save); margin-top: 11px; font-weight: 500; }
.headline .sub b { font-weight: 700; }

/* two-column ledger with a continuous "vs" divider */
.ledger { display: grid; grid-template-columns: 1fr auto 34px auto; align-items: stretch; }
.ledger > div { display: flex; align-items: center; justify-content: flex-end; }
.ledger .lc { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.ledger .rlabel { justify-content: flex-start; font-family: var(--ui); font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.ledger .rlabel .permo { color: var(--ink-faint); margin-left: 2px; }
.ledger .hfcol, .ledger .ccol {
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums; color: var(--ink); min-width: 76px;
}
.ledger .ccol { color: var(--cost); min-width: 84px; }
.ledger .zero { color: var(--save); font-weight: 700; }
.ledger .total { font-weight: 800; }
.ledger .total.ccol { color: var(--cost); }
.ledger .total.rlabel { color: var(--ink); font-weight: 700; }
.ledger .total.hfcol { color: var(--ink); }

/* header row */
.ledger .lh {
  padding: 0 0 8px; border-bottom: 1px solid var(--line); align-items: flex-end;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
}

/* the vertical divider column (continuous line, horizontal rules break around it) */
.ledger .dv { justify-content: center; padding: 0; }
.ledger .lc.dv { border-bottom: 0; }
.ledger .lc.dv::before { content: ""; width: 1px; align-self: stretch; background: var(--line); }

/* competitor column header: name row + tier chip stacked */
.comp-name-row { display: inline-flex; align-items: center; }
.ledger .lh.ccol { flex-direction: column; align-items: flex-end; justify-content: flex-end; }
.tier-chip {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  color: var(--ink-faint); text-transform: none; letter-spacing: 0;
  margin-top: 2px; white-space: nowrap;
}

/* "also not in their bill" strip */
.notincl-strip {
  margin-top: 14px; padding: 9px 12px;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-left: 2px solid var(--hf); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notincl-hd {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--ink-soft); margin-bottom: 5px;
}
.notincl-list {
  margin: 0; padding-left: 14px;
  font-size: 11.5px; color: var(--ink-faint); line-height: 1.65;
}
.notincl-list li::marker { color: var(--hf-deep); }

/* provider logos on tabs */
.providers button { display: inline-flex; align-items: center; gap: 7px; }
.plogo { width: 16px; height: 16px; display: block; flex: none; }
.providers button[aria-pressed="true"] .plogo { filter: none; }

/* share-card bar logo + ledger column logo */
.blogo { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
.lh-logo { margin-right: 5px; font-size: 12px; vertical-align: -1px; }


.effective {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--paper-2); border: 1px solid var(--line-soft);
}
.effective .elabel { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.effective .echips { display: flex; gap: 9px; align-items: center; }
.echip {
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 7px; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.echip.good { background: var(--save-bg); color: var(--save); }
.echip.bad  { background: var(--cost-bg); color: var(--cost); }
.echip .x { color: var(--ink-faint); font-weight: 500; }

/* show the math */
.math { margin-top: 16px; }
.math summary {
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  list-style: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 0;
}
.math summary::-webkit-details-marker { display: none; }
.math summary .chev { transition: transform .2s ease; color: var(--ink-faint); }
.math[open] summary .chev { transform: rotate(90deg); }
.math .body {
  font-size: 12px; color: var(--ink-soft); line-height: 1.6;
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-top: 8px; background: var(--paper-2);
}
.math .body b { color: var(--ink); font-weight: 600; }
.math .body a { color: var(--hf-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.math .body a:hover { border-color: var(--hf-deep); }
.math .body .mrow { margin-bottom: 7px; }
.math .body .src { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); margin-top: 8px; }
.math .body .notincl { border-left: 2px solid var(--hf); padding-left: 10px; margin-top: 10px; }

/* ---------- why / advantages ---------- */
.why { margin-top: 28px; }
.why-head {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-bottom: 14px;
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px 20px; box-shadow: var(--shadow-sm);
}
.why-ico {
  height: 32px; min-width: 32px; width: max-content; padding: 0 10px; border-radius: 9px;
  display: inline-grid; place-items: center; margin-bottom: 13px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: -.01em;
}
.why-ico.egress { background: var(--save-bg); color: var(--save); }
.why-ico.xet    { background: #FBF0C4; color: var(--hf-deep); }
.why-ico.ml     { background: #ECEAE0; color: var(--ink); }
.why-ico.migrate { background: #E7F0FB; color: #2563aa; }
.why-card h3 { font-family: var(--ui); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- share band ---------- */
.share-band {
  margin-top: 26px;
  background: #15140F;
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-md);
}
.share-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  color: #8C8675; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.share-head::after { content: ""; flex: 1; height: 1px; background: #2A271E; }

/* exportable card */
#card {
  background: var(--card); border-radius: 14px; padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-cap {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: .01em; margin-bottom: 9px;
}
.card-lead { font-size: 13px; color: var(--ink-soft); }
.card-fig {
  font-family: var(--ui); font-weight: 800;
  font-size: clamp(36px, 6vw, 48px); line-height: 1.02; color: var(--save);
  letter-spacing: -.032em; font-variant-numeric: tabular-nums lining-nums; margin: 3px 0;
}
.card-fig .per { font-family: var(--ui); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.card-note { font-size: 12.5px; color: var(--ink-soft); }
.card-brand { text-align: right; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.card-brand .b2 { color: var(--ink-faint); font-weight: 600; }

.bars { margin-top: 18px; display: flex; flex-direction: column; gap: 17px; }
.barline .bl-top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.barline .bl-name { display: inline-flex; align-items: center; white-space: nowrap; }
.barline .bl-amt { font-family: var(--mono); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.barline .bl-amt.cost { color: var(--cost); }
.bar { height: 26px; border-radius: 7px; background: var(--line-soft); overflow: hidden; display: flex; }
.bar .seg-store { background: var(--hf); }
.bar .seg-store.cloud { background: var(--cloud-store); }
.bar .seg-egress { background: var(--cost); box-shadow: inset 2px 0 0 #fff; }

/* the empty remainder of the HF bar, drawn as "money you keep" */
.bar .seg-saved {
  min-width: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(12,124,86,.13) 0 6px, rgba(12,124,86,0) 6px 12px),
    var(--save-bg);
  box-shadow: inset 1px 0 0 var(--save-line);
}
.bar .seg-saved .saved-lbl {
  font-family: var(--ui); font-size: 11px; font-weight: 600; color: var(--save);
  white-space: nowrap; padding: 0 8px; letter-spacing: .01em;
}
.bar .seg-saved .saved-lbl b { font-family: var(--mono); font-weight: 700; }
/* plain inline flow (no flex) so the caption uses the full card width in the
   exported image, yet still wraps naturally on a narrow phone */
.bl-foot { margin-top: 8px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }
.bl-foot .k { display: inline; }
.bl-foot .k + .k { margin-left: 18px; }
.bl-foot .k b { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); margin-left: 3px; }
.bl-foot .k.egress b { color: var(--cost); }
.bl-foot .sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; vertical-align: middle; margin-right: 6px; position: relative; top: -1px; }
.pill {
  display: inline-block; background: var(--hf); color: var(--ink);
  font-weight: 700; border-radius: 999px; padding: 1px 9px; font-size: 10px;
  vertical-align: middle; margin-left: 6px; white-space: nowrap;
}
.bars-note { font-size: 10.5px; color: var(--ink-faint); text-align: right; margin-top: 2px; }

.actions { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.btn {
  font-family: var(--ui); font-size: 13px; font-weight: 600;
  padding: 9px 15px; border-radius: 10px; cursor: pointer;
  border: 1px solid #2E2A20; background: #1F1D16; color: #EDE7D6;
  display: inline-flex; align-items: center; gap: 7px; transition: all .15s ease;
}
.btn:hover { border-color: #4a4533; background: #262219; }
.btn.primary { background: var(--hf); color: var(--ink); border-color: var(--hf-deep); }
.btn.primary:hover { background: var(--hf-deep); }
.btn .ok { color: var(--save); }
.toast {
  font-size: 11.5px; color: #8C8675; margin-top: 11px; min-height: 14px;
  font-family: var(--mono);
}

/* ---------- CTA + trust ---------- */
.cta { margin-top: 28px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-md);
}
.cta-copy h2 {
  font-family: var(--display); font-weight: 460; font-optical-sizing: auto;
  font-size: clamp(21px, 3vw, 27px); letter-spacing: -.02em; line-height: 1.08; margin-bottom: 6px;
}
.cta-copy p { font-size: 14px; color: var(--ink-soft); max-width: 470px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btn {
  font-family: var(--ui); font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 11px 20px; border-radius: 11px; white-space: nowrap; transition: all .15s ease;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.cta-btn:hover { border-color: var(--ink-faint); }
.cta-btn.primary { background: var(--hf); border-color: var(--hf-deep); color: var(--ink); box-shadow: var(--shadow-sm); }
.cta-btn.primary:hover { background: var(--hf-deep); }
.topbar {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: .02em; text-align: center; padding-bottom: 14px;
}
@media (max-width: 640px) { .cta-inner { flex-direction: column; align-items: flex-start; } .cta-actions { width: 100%; } .cta-btn { flex: 1; text-align: center; } }

/* footer */
.foot {
  margin-top: 28px; font-size: 11.5px; color: var(--ink-faint);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
}
.foot a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- entrance animation ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.anim { opacity: 0; animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .04s; } .d2 { animation-delay: .12s; }
.d3 { animation-delay: .20s; } .d4 { animation-delay: .30s; }
@media (prefers-reduced-motion: reduce) { .anim { animation: none; opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .lede h1 { white-space: normal; }
}
@media (max-width: 760px) {
  .console { grid-template-columns: 1fr; }
  .inputs { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- phones ---------- */
@media (max-width: 480px) {
  /* all-in effective rate: stack label over chips so nothing wraps mid-value */
  .effective { grid-template-columns: 1fr; row-gap: 11px; align-items: start; }
  .effective .echips { justify-content: flex-start; }
  .effective .elabel { font-size: 13px; }
}

/* ---------- touch devices: larger, comfier hit targets ---------- */
@media (pointer: coarse) {
  input[type="range"] { height: 8px; margin: 14px 0 2px; }
  input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
  input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }

  .seg button { padding: 9px 16px; font-size: 13px; }
  .providers button { padding: 10px 14px; font-size: 13px; }

  .math summary { padding: 9px 0; }
}

/* ============================================================
   HF Enterprise Explorer — components on top of the shared base
   ============================================================ */

/* ---------- masthead ---------- */
.masthead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--hf);
  display: grid; place-items: center; font-size: 19px; box-shadow: var(--shadow-sm);
}
.brand .kicker {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
}
.brand .name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.masthead .dateline {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: .02em; text-align: right;
}

/* ---------- governance band ---------- */
.govband { margin: 38px 0; padding: 28px clamp(20px,3vw,34px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); }
.govband h2 { font-family: var(--display); font-weight: 460; font-size: clamp(22px,2.6vw,30px);
  letter-spacing: -.015em; line-height: 1.08; margin-bottom: 14px; }
.govband p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; max-width: 760px; }
.govband p em { font-style: italic; color: var(--ink); }
.pullquote { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-family: var(--display); font-size: 18px; font-style: italic; color: var(--ink); }
.pullquote span { display: block; margin-top: 4px; font-family: var(--ui); font-style: normal;
  font-size: 12px; color: var(--ink-faint); letter-spacing: .02em; }

/* ---------- two plans ---------- */
.plans-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 34px; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); }
.plan-card.star { border-color: var(--hf-deep); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fffdf2, #fff 60%); }
.plan-card .pname { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.plan-card .star-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hf-deep); margin-bottom: 4px; }
.plan-card .price { font-family: var(--mono); font-size: 24px; font-weight: 600; margin: 8px 0 2px; }
.plan-card .price small { font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.plan-card .ptag { font-size: 13px; color: var(--ink-soft); }

/* ---------- section intros + how it works ---------- */
.section-head { font-family: var(--display); font-weight: 460; font-size: clamp(20px,2.4vw,26px);
  letter-spacing: -.015em; margin-bottom: 8px; }
.section-intro { font-size: 14.5px; color: var(--ink-soft); max-width: 760px; margin: 0 0 18px; line-height: 1.5; }
.section-intro b { color: var(--ink); }
.how { margin-bottom: 36px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm); }
.how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--mono); font-weight: 600; font-size: 14px; display: grid; place-items: center; margin-bottom: 12px; }
.how-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.how-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- catalog (rich cards) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
.cat-grid.scale { grid-template-columns: repeat(3, 1fr); }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.cat-card h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.cat-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.cat-links { list-style: none; margin-top: auto; }
.cat-links li { padding: 6px 0; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 6px; }
.cat-links li:first-child { border-top: 0; }
.cat-links a { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cat-links a:hover { color: var(--save); text-decoration: underline; }
.cat-links .ar { margin-left: auto; color: var(--ink-faint); font-size: 12px; }
.epill { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--hf-deep); background: #fff7d6; border: 1px solid var(--hf); border-radius: 5px;
  padding: 1px 5px; vertical-align: middle; }

/* ---------- picker ---------- */
.picker { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden; margin-bottom: 36px; }
.picker .pk-inputs { padding: clamp(20px,2.6vw,28px); background: linear-gradient(180deg,var(--paper-2),#fff 70%);
  border-right: 1px solid var(--line-soft); }
.seatbox { display: inline-flex; align-items: baseline; gap: 6px; }
.seatbox input { width: 92px; font-family: var(--mono); font-size: 22px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; background: #fff; color: var(--ink); }
.seatbox .unit { color: var(--ink-faint); font-size: 12px; margin-left: 2px; }
.cta-btn { cursor: pointer; }
.needs { display: grid; gap: 8px; margin-top: 6px; }
.need { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.need input { width: 15px; height: 15px; accent-color: var(--ink); cursor: pointer; }
.need.plus-need { font-weight: 600; color: var(--ink); }
.needs-divider { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin: 12px 0 2px; }
.pk-result { padding: clamp(20px,2.6vw,28px); }
.rec-plan { font-family: var(--display); font-weight: 460; font-size: 30px; letter-spacing: -.015em; }
.rec-tagline { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.rec-why { font-size: 13.5px; color: var(--ink); margin: 10px 0 12px; font-weight: 600; }
.rec-includes { font-size: 12.5px; color: var(--ink-soft); background: var(--paper-2);
  border: 1px solid var(--line-soft); border-radius: 9px; padding: 9px 11px; margin-bottom: 14px; line-height: 1.45; }
.rec-math { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.rec-billed { font-family: var(--mono); font-size: 26px; font-weight: 600; margin: 6px 0; }
.rec-credit { font-size: 13px; color: var(--save); background: var(--save-bg);
  border: 1px solid var(--save-line); border-radius: 9px; padding: 8px 10px; margin: 8px 0; }
.rec-min-note { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }

/* ---------- beyond the platform ---------- */
.beyond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.beyond-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.beyond-card.feature { border-color: var(--hf-deep); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fffdf2, #fff 55%); }
.beyond-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hf-deep); margin-bottom: 8px; }
.beyond-card h3 { font-family: var(--display); font-weight: 460; font-size: 21px; letter-spacing: -.01em; margin-bottom: 4px; }
.beyond-who { font-size: 12px; font-weight: 600; color: var(--ink-faint); margin-bottom: 12px; }
.beyond-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 10px; }
.beyond-foot { margin-top: auto; color: var(--ink); font-size: 13px; }
.beyond-link { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--save); text-decoration: none; }
.beyond-link:hover { text-decoration: underline; }

/* ---------- toast show state ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .cat-grid, .cat-grid.scale, .beyond-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .plans-row, .cat-grid, .cat-grid.scale, .beyond-grid, .how-grid { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .picker .pk-inputs { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}
