/* ============================================================
   Custom Bots — editorial system "Gallery"
   Warm near-black · ivory · ONE crimson accent · champagne reserved.
   Hierarchy by size + whitespace. Sharp edges, hairline structure,
   flat (no glow/shadow). Onest + JetBrains Mono. Ref: A24.
   ============================================================ */

:root {
  /* warm surfaces */
  --bg:  #0B0A09;
  --s1:  #100E0C;   /* alt band */
  --s2:  #16130F;   /* cards */
  --s3:  #211C16;   /* hover / inputs */
  --line:   rgba(243, 239, 231, 0.10);
  --line-2: rgba(243, 239, 231, 0.18);

  /* ink (warm) */
  --ink:   #F3EFE7;
  --muted: #ADA597;
  --faint: #8C8475;

  /* accent — sensual crimson (replaces techy purple) */
  --accent:     #E2546B;
  --accent-2:   #C8324C;   /* button bg, white text passes AA */
  --accent-soft: rgba(226, 84, 107, 0.12);
  --accent-line: rgba(226, 84, 107, 0.42);

  /* champagne — RESERVED: VIP tier, renewal price, discount/gift */
  --gold:      #CDA877;
  --gold-soft: rgba(205, 168, 119, 0.12);

  --radius: 2px;          /* sharp editorial */
  --maxw: 1200px;
  --section-pad: clamp(72px, 9vw, 124px);

  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --tnum: "tnum" 1, "lnum" 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 17px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem; line-height: 1.62;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--sans); margin: 0; font-weight: 700; line-height: 1.06; letter-spacing: -0.022em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* numbers everywhere: crisp tabular lining figures */
.num-tab, .price .amount, .renew, .setup-line, table.compare, .hero-stats .stat .n,
.fact .v, .m-price, .step .num, .sla .pill, .pay-methods .m, table:not(.compare) td:last-child {
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: var(--tnum);
}

.grad-text { color: var(--accent); }
.gold-text { color: var(--gold); }

/* mono micro-label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: .79rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .6; }

/* ---------- Buttons (rectangular, editorial) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--accent-2); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-gold { background: var(--gold); color: #241a0c; }
.btn-gold:hover { background: #ddbb8a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Age bar ---------- */
.agebar {
  background: var(--bg); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--faint); text-align: center; padding: 8px 16px;
}

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--accent-2); color: #fff; flex: none;
}
.brand .mark svg { width: 18px; height: 18px; display: block; }
.brand small { display: block; font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 1px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: .9rem; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; line-height: 1; }

/* ---------- Sections ---------- */
section { padding: var(--section-pad) 0; position: relative; }
section.alt { background: var(--s1); border-top: 1px solid var(--line); }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; line-height: 1.55; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 92px); border-top: 0; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 26px; font-weight: 800; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 600px; margin: 0 0 38px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.track-pills { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: fit-content; max-width: 100%; }
.track-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; color: var(--muted);
}
.track-pill + .track-pill { border-left: 1px solid var(--line); }
.track-pill b { color: var(--ink); font-weight: 600; }

.hero-stats { display: flex; gap: clamp(28px, 5vw, 60px); flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .stat .n { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.hero-stats .stat .l { font-family: var(--mono); font-size: .79rem; color: var(--faint); margin-top: 9px; letter-spacing: .02em; }

/* hero mode + full-page personal/commercial filtering */
.hero-mode { display: none; }
body[data-mode="personal"] .hero-mode[data-mode="personal"],
body[data-mode="commercial"] .hero-mode[data-mode="commercial"] { display: block; animation: heroFade .35s ease; }
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body[data-mode="personal"] [data-track="commercial"],
body[data-mode="commercial"] [data-track="personal"] { display: none; }

.hero-switch { margin-top: clamp(40px, 6vw, 68px); padding: 24px 26px; border: 1px solid var(--line-2); background: var(--s1); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.hero-switch-label { font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.seg-btn { padding: 15px 28px; background: transparent; border: 0; color: var(--muted); font-family: var(--sans); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .18s ease, color .18s ease; }
.seg-btn + .seg-btn { border-left: 1px solid var(--line-2); }
.seg-btn.active { background: var(--accent-2); color: #fff; }
.seg-btn:not(.active):hover { color: var(--ink); background: rgba(243,239,231,.04); }
@media (prefers-reduced-motion: reduce) { .hero-mode { animation: none !important; } }

/* ---------- Trust strip ---------- */
.trust { padding: 0 0 var(--section-pad); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.trust-item { padding: 28px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ic { color: var(--accent); margin-bottom: 16px; }
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item .t { font-size: .94rem; font-weight: 600; color: var(--ink); }
.trust-item .s { font-family: var(--mono); font-size: .81rem; color: var(--muted); margin-top: 6px; letter-spacing: .01em; }

/* ---------- About Melissa ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
.about-main h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 26px; }
.about-lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink); line-height: 1.5; margin: 0 0 22px; font-weight: 500; }
.about-body { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 56ch; }
.about-facts { border-top: 1px solid var(--line-2); }
.about-facts .fact { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-facts .fact .k { font-family: var(--mono); font-size: .79rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.about-facts .fact .v { font-weight: 600; color: var(--ink); text-align: right; }
.about-quote { margin: 30px 0 0; padding-left: 22px; border-left: 2px solid var(--accent); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.32; letter-spacing: -0.02em; color: var(--ink); max-width: 26ch; }
.about-sig { font-family: var(--mono); font-size: .81rem; color: var(--accent); margin-top: 26px; letter-spacing: .04em; }
.model .m-setup { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: 16px; }

/* ---------- Track banner ---------- */
.track-banner { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.track-banner .tag { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.track-banner .desc { color: var(--muted); font-size: 1.02rem; max-width: 600px; line-height: 1.55; }
.track-banner .desc b { color: var(--ink); font-weight: 600; }

/* ---------- Comparison tables ---------- */
.scroll-hint { display: none; font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: 14px; letter-spacing: .02em; }
.scroll-hint::before { content: "→  "; color: var(--accent); }
.compare-wrap { border: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
table.compare col.col-hot { background: var(--accent-soft); }
table.compare col.col-lux { background: var(--gold-soft); }
table.compare th, table.compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.compare thead th { font-size: 1rem; font-weight: 700; color: var(--ink); vertical-align: bottom; padding-top: 26px; background: var(--s1); letter-spacing: -0.01em; }
table.compare thead th small { display: block; font-family: var(--mono); font-weight: 400; font-size: .75rem; color: var(--muted); margin-top: 7px; line-height: 1.35; letter-spacing: 0; text-transform: none; }
table.compare thead th .col-badge { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; margin-bottom: 11px; border-radius: var(--radius); }
table.compare thead th .col-badge.v { background: var(--accent-2); color: #fff; }
table.compare thead th .col-badge.g { background: var(--gold); color: #241a0c; }
table.compare th:first-child, table.compare td:first-child {
  text-align: left; color: var(--muted); font-weight: 500;
  width: 32%; min-width: 220px;
  position: sticky; left: 0; z-index: 2; background: var(--s1); box-shadow: 1px 0 0 var(--line);
}
table.compare thead th:first-child { z-index: 3; }
table.compare td:first-child small { display: block; font-family: var(--mono); font-weight: 400; font-size: .75rem; color: var(--faint); margin-top: 5px; line-height: 1.45; }
table.compare tbody tr:hover td { background: rgba(243,239,231,.012); }
table.compare tbody tr:hover td:first-child { background: var(--s1); }
table.compare .row-price td { padding-top: 10px; padding-bottom: 16px; }
table.compare .row-price b { font-size: 1.22rem; font-weight: 700; color: var(--ink); display: block; line-height: 1.12; letter-spacing: -0.02em; white-space: nowrap; }
table.compare .row-price small { font-family: var(--mono); color: var(--gold); font-size: .73rem; white-space: nowrap; }
table.compare .row-sub td { color: var(--ink); font-weight: 600; font-size: .9rem; }
table.compare .yes { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
table.compare .no  { color: var(--faint); }
table.compare .val { color: var(--ink); font-weight: 600; font-size: .86rem; }
table.compare .val small { display: block; font-family: var(--mono); color: var(--muted); font-weight: 400; font-size: .75rem; margin-top: 3px; }
table.compare tfoot td { padding: 20px 12px; border-bottom: 0; }
table.compare tfoot td:first-child { background: var(--s1); }
table.compare tfoot .btn { width: 100%; padding: 11px 14px; font-size: .85rem; }
.note { font-size: .88rem; color: var(--faint); margin-top: 24px; line-height: 1.65; max-width: 880px; }

/* ---------- Cards (turnkey etc.) ---------- */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--bg); padding: 32px 28px; transition: background .2s ease; }
.card:hover { background: var(--s2); }
.card.featured { background: var(--s2); }
.card.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.card.gold-edge::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.card .badge { font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.card .badge.gold { color: var(--gold); }
.card .tier-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card .tier-sub { color: var(--muted); font-size: .87rem; min-height: 40px; margin-bottom: 18px; line-height: 1.45; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .from { font-family: var(--mono); font-size: .79rem; color: var(--faint); }
.price .amount { font-size: 1.85rem; font-weight: 700; white-space: nowrap; letter-spacing: -0.03em; }
.price .per { font-size: .82rem; color: var(--muted); }
.renew { font-family: var(--mono); font-size: .81rem; color: var(--gold); margin-bottom: 20px; }
.setup-line { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.setup-line b { color: var(--ink); }
.unlim-chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; padding: 5px 10px; margin-bottom: 20px; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(205,168,119,.28); }
.feat-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.feat-list li { font-size: .87rem; color: var(--ink); padding-left: 24px; position: relative; line-height: 1.4; }
.feat-list li::before { content: ""; position: absolute; left: 1px; top: .4em; width: 10px; height: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.feat-list li.no { color: var(--faint); }
.feat-list li.no::before { content: "—"; border: 0; transform: none; left: 2px; top: 0; color: var(--faint); width: auto; height: auto; }
.feat-list li .up { color: var(--gold); }
.card-cta { margin-top: auto; }
.card-cta .btn { width: 100%; }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }
.model { background: var(--bg); padding: 32px 28px; }
.model .m-tag { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.model h4 { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.model .m-price { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.model p { font-size: .88rem; color: var(--muted); margin: 0 0 9px; line-height: 1.45; }

/* ---------- Add-ons (responsive list) ---------- */
.addons-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.addon { background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 7px; transition: background .2s ease; }
.addon:hover { background: var(--s2); }
.addon-name { font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.addon-desc { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0; flex: 1; }
.addon-price { font-family: var(--mono); color: var(--gold); font-size: .88rem; margin-top: 2px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: 30px 26px; }
.step .num { font-family: var(--mono); font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-bottom: 16px; letter-spacing: .04em; }
.step h4 { font-size: 1.02rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.sla { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.sla .pill { font-family: var(--mono); border: 1px solid var(--line); padding: 9px 16px; font-size: .76rem; color: var(--muted); letter-spacing: .01em; }
.sla .pill b { color: var(--gold); font-weight: 600; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bot { background: var(--bg); display: flex; flex-direction: column; gap: 7px; padding: 24px 22px; transition: background .2s ease; }
.bot:hover { background: var(--s2); }
.bot .bot-top { display: flex; flex-direction: column; gap: 4px; }
.bot .name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.bot .handle { font-family: var(--mono); font-size: .82rem; color: var(--accent); align-self: flex-start; }
.bot .handle:hover { text-decoration: underline; }
.bot .role { font-size: .92rem; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }
.bot .bot-feat { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--accent); line-height: 1.4; display: flex; gap: 8px; align-items: baseline; flex: 1; }
.bot .bot-feat .star { flex: none; }
.bot-actions { margin-top: 16px; display: grid; gap: 8px; }
.bot-try { display: block; width: 100%; padding: 12px 14px; text-align: center; background: var(--accent-2); color: #fff; border: 1px solid var(--accent-2); font-weight: 600; font-size: .9rem; transition: background .18s ease, border-color .18s ease; }
.bot-try:hover { background: var(--accent); border-color: var(--accent); }
.bot-shots-btn { width: 100%; padding: 12px 14px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); font-family: var(--mono); font-size: .82rem; letter-spacing: .02em; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.bot-shots-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* ---------- Mobile plan cards (generated from tables) ---------- */
.plan-cards { display: none; }
.plan-card { border: 1px solid var(--line); background: var(--s2); padding: 24px 22px; }
.plan-card + .plan-card { margin-top: 16px; }
.plan-card .pc-badge { display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; margin-bottom: 12px; }
.plan-card .pc-badge.v { background: var(--accent-2); color: #fff; }
.plan-card .pc-badge.g { background: var(--gold); color: #241a0c; }
.plan-card .pc-name { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-card .pc-sub { display: block; font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-top: 6px; }
.plan-card .pc-price { margin-top: 16px; }
.plan-card .pc-price b { font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; display: block; }
.plan-card .pc-price small { font-family: var(--mono); color: var(--gold); font-size: .8rem; }
.plan-card .pc-sub2 { font-family: var(--mono); font-size: .82rem; color: var(--gold); margin-top: 10px; }
.plan-card .pc-feats { margin-top: 20px; border-top: 1px solid var(--line); }
.plan-card .pc-feat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.plan-card .pc-k { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.plan-card .pc-v { text-align: right; font-weight: 600; font-size: .92rem; flex: none; max-width: 54%; }
.plan-card .pc-v .yes { color: var(--accent); }
.plan-card .pc-v .no { color: var(--faint); }
.plan-card .pc-v .val { color: var(--ink); }
.plan-card .pc-v small { display: block; font-family: var(--mono); color: var(--muted); font-size: .76rem; font-weight: 400; margin-top: 3px; }
.plan-card .btn { width: 100%; margin-top: 22px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 60px 16px; background: rgba(6, 5, 4, 0.93); backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lb-stage { width: min(620px, 92vw); height: 82vh; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 1px solid var(--line-2); }
.lb-title { position: absolute; top: 22px; left: 24px; right: 72px; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close:hover { color: var(--accent); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; background: rgba(243,239,231,.05); border: 1px solid var(--line-2); color: var(--ink); font-size: 1.7rem; cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-prev:hover, .lb-next:hover { border-color: var(--accent); color: var(--accent); }
.lb-counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .84rem; color: var(--muted); }

/* ---------- Product story / timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.tl-item { position: relative; padding: 0 0 38px 70px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 21px; top: 4px; bottom: 0; width: 1px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--mono); font-size: .84rem; font-weight: 600; color: var(--accent); border: 1px solid var(--line-2); background: var(--bg); }
.tl-body { padding-top: 5px; }
.tl-badge { display: inline-block; font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); padding: 2px 9px; margin-bottom: 10px; }
.tl-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 7px; letter-spacing: -0.01em; }
.tl-desc { color: var(--muted); font-size: .96rem; line-height: 1.55; margin: 0; max-width: 58ch; }

/* ---------- Payments & terms ---------- */
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.pay-methods .m { border: 1px solid var(--line-2); padding: 14px 20px; font-weight: 600; font-size: .9rem; }
.gift { display: inline-block; margin-top: 10px; padding: 12px 18px; background: var(--gold-soft); border: 1px solid rgba(205,168,119,.28); color: var(--gold); font-weight: 600; font-size: .86rem; }
.terms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.terms-list li { padding-left: 26px; position: relative; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.terms-list li b { color: var(--ink); font-weight: 600; }
.terms-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { cursor: pointer; padding: 22px 4px; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.01em; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 300; transition: transform .2s; line-height: 1; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { color: var(--muted); font-size: .94rem; margin: 0 0 24px; padding: 0 4px; line-height: 1.65; max-width: 70ch; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-box { padding: clamp(48px, 7vw, 88px) 24px; border: 1px solid var(--line); background: var(--s1); }
.cta-box h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; letter-spacing: -0.03em; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; font-size: 1.06rem; }
.cta-box .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 68px; color: var(--faint); font-size: .85rem; }
.foot-top { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; margin-bottom: 34px; }
.foot-disclaimer { max-width: 580px; line-height: 1.7; }
.foot-disclaimer strong { color: var(--gold); }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: .9rem; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: .81rem; letter-spacing: .02em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3n) { border-right: 0; }
  .trust-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 70px; left: 0; right: 0; background: var(--s1); border-bottom: 1px solid var(--line); padding: 24px 28px; gap: 22px; }
  .menu-toggle { display: block; }

  .hero-switch { flex-direction: column; align-items: stretch; gap: 12px; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 12px 8px; font-size: .85rem; text-align: center; }

  .cards.cols-3, .cards.cols-4, .models, .steps, .addons-list { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(n) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-grid { grid-template-columns: 1fr; gap: 32px; }

  /* tariff tables reflow into per-plan cards on mobile */
  .compare-wrap, .scroll-hint { display: none; }
  .plan-cards { display: block; }

  .foot-top { flex-direction: column; gap: 28px; }
}

@media (max-width: 420px) {
  .container { padding: 0 20px; }
  .brand small { display: none; }
  .nav-cta .btn { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 24px 30px; }
  .track-pills { flex-direction: column; width: 100%; }
  .track-pill { width: 100%; }
  .track-pill + .track-pill { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .tl-item { padding-left: 56px; }
  .tl-num { width: 40px; height: 40px; font-size: .78rem; }
  .tl-item::before { left: 19px; }
}
