/* ==========================================================================
   Victory Lane Ecommerce — dark theme
   Self-hosted display face: Sifonn (assets/fonts/Sifonn.otf)
   ========================================================================== */

@font-face{
  font-family: 'Sifonn';
  src: url('/assets/fonts/Sifonn.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root{
  /* ground + ink */
  --bg: #0B0B0A;
  --bg-alt: #131312;
  --bg-lift: #1A1A18;
  --ink: #F4F4F0;
  --ink-soft: #CBCBC4;
  --text-muted: #91918A;

  /* legacy aliases kept so .on-dark rules resolve */
  --dark: #131312;
  --dark-text: #F4F4F0;
  --dark-muted: #91918A;
  --dark-line: rgba(244,244,240,.14);

  /* accent — brand gold */
  --gold: #D4A855;
  --gold-dim: #D9AE5C;
  --gold-bright: #E8C77E;

  --line: rgba(244,244,240,.13);
  --line-strong: rgba(244,244,240,.30);

  --radius: 3px;
  --max: 1120px;

  --font-display: 'Sifonn', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 64px 0; }
@media (min-width: 720px) { section { padding: 96px 0; } }

.bg-alt { background: var(--bg-alt); }
.on-dark { background: var(--bg-alt); color: var(--ink); }
.on-dark p, .on-dark .text-muted { color: var(--text-muted); }
.on-dark a { color: var(--ink); }

/* ---- typography ---- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.05;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { margin: 0 0 16px; }

.lede { font-size: clamp(1.02rem, 1.8vw, 1.15rem); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lede { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.on-dark .eyebrow { color: var(--gold); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.center { text-align: center; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: .92rem; font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn::after { content: '\2192'; font-family: var(--font-mono); }

.btn-primary { background: var(--gold); color: #14130F; }
.on-dark .btn-primary { background: var(--gold); color: #14130F; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline::after { content: none; }
.btn-outline:hover { border-color: var(--ink); opacity: 1; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ---- header / nav ---- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,10,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { height: 50px; width: auto; }
.logo span { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); text-transform: lowercase; }

/* ---- promo bar ---- */

.promo-bar {
  display: block; background: var(--gold); color: #14130F; text-align: center;
  padding: 11px 20px; text-decoration: none; font-family: var(--font-mono);
  font-size: .8rem; letter-spacing: .02em; line-height: 1.5; font-weight: 500;
}
.promo-bar .tag { font-weight: 700; }
.promo-bar:hover { opacity: .92; }

.nav-links { display: none; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: none; }

.nav-toggle { background: none; border: none; cursor: pointer; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 0 20px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---- hero ---- */

.hero { padding: 56px 0 0; }
.hero-inner { padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 900px; }

/* hero split: copy left, dashboard right */
.hero-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero-split .hero-copy h1 { max-width: 100%; }
.hero-media img { width: 100%; max-width: 420px; margin: 0 auto; height: auto; cursor: pointer; }
@media (max-width: 899px) { .hero-media img { max-width: 330px; } }
.hero h1 .accent { color: var(--gold); }
.hero .lede { margin-bottom: 34px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }

/* ---- stat splits ---- */

.splits { display: grid; grid-template-columns: repeat(2,1fr); }
@media (min-width: 720px) { .splits { grid-template-columns: repeat(4,1fr); } }
.split { padding: 26px 28px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.split:nth-child(1) { border-left: none; }
@media (max-width: 719px) { .split:nth-child(odd) { border-left: none; } }
.split .num { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; display: block; color: var(--ink); }
.split .lbl { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin-top: 5px; display: block; }
.on-dark .split { border-color: var(--line); }

/* ---- generic ruled grid ---- */

.grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid > div { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- discount / promo tags ---- */

.tag-save { display: inline-block; background: var(--gold); color: #14130F; font-family: var(--font-mono); font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.price-strike { text-decoration: line-through; color: var(--text-muted); font-weight: 400; margin-right: 6px; }

/* ---- pricing tier blocks ---- */

.tier-block { border-top: 3px solid var(--tier, var(--gold)); padding-top: 22px; }
.tier-block.silver { --tier: #9A9A93; }
.tier-block.gold { --tier: var(--gold); }
.tier-block.diamond { --tier: #6E93A8; }
.tier-block .tier-name { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tier); margin-bottom: 10px; }
.tier-block .tier-price { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier-block .tier-price .period { font-family: var(--font-mono); font-size: .95rem; color: var(--text-muted); }
.tier-block .tier-alt { font-family: var(--font-mono); font-size: .84rem; color: var(--ink-soft); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tier-block .tier-note { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); margin-bottom: 18px; min-height: 18px; }
.tier-block .tier-desc { color: var(--ink-soft); margin-bottom: 22px; }
.tier-block .tier-features { list-style: none; margin: 0 0 26px; padding: 0; }
.tier-block .tier-features li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.tier-block .tier-features li:first-child { border-top: none; }
.tier-block .tier-features .check { color: var(--tier); font-weight: 700; flex-shrink: 0; }

/* ---- comparison table ---- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.scroll-hint { display: none; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 720px) { .scroll-hint { display: block; } }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); }
table.compare thead th { border-top: none; background: var(--bg-lift); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
table.compare th:first-child, table.compare td:first-child { color: var(--text-muted); font-weight: 500; }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare .yes { color: var(--gold); font-weight: 700; font-family: var(--font-mono); }
table.compare .no { color: rgba(244,244,240,.22); font-family: var(--font-mono); }
table.compare .format-row td { font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }

/* ---- clean phone-frame images (no box, no caption) ---- */

.clean-shots { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.clean-shots img { width: 470px; max-width: min(92vw, 470px); height: auto; cursor: pointer; flex: 0 1 auto; }
@media (max-width: 1060px) { .clean-shots img { width: 46%; min-width: 300px; } }
@media (max-width: 700px) { .clean-shots img { width: 100%; min-width: 0; } }
.clean-shots.single img { width: 520px; max-width: 92vw; }

/* ---- alternating image / copy flow rows ---- */

.flow-row { display: grid; gap: 32px; align-items: center; padding: 52px 0; border-top: 1px solid var(--line); }
@media (min-width: 880px) {
  .flow-row { grid-template-columns: 1fr 1fr; gap: 72px; padding: 64px 0; }
  .flow-row.reverse .flow-media { order: 2; }
}
.flow-media img { width: 100%; max-width: 440px; height: auto; margin: 0 auto; cursor: pointer; }
.flow-copy h3 { margin-bottom: 12px; }
.flow-copy p { color: var(--ink-soft); margin-bottom: 0; }
.flow-copy .kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; }

/* ---- roadmap ---- */

.roadmap { border-top: 1px solid var(--line); }
.roadmap-step { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 760px) { .roadmap-step { grid-template-columns: 100px 1.1fr 1.4fr; gap: 32px; } }
.roadmap-step .stage { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 760px) { .roadmap-step .stage { padding-top: 6px; } }
.roadmap-step h3 { margin-bottom: 0; }
.roadmap-step p { color: var(--text-muted); margin-bottom: 0; font-size: .95rem; }

/* ---- how it works ---- */

.steps { display: grid; gap: 36px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3,1fr); } }
.step .step-num { font-family: var(--font-mono); font-size: .78rem; color: var(--gold); margin-bottom: 12px; display: block; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---- offer callout ---- */

.offer-box { border: 1px solid var(--gold); background: rgba(212,168,85,.06); padding: 32px; display: grid; gap: 28px; }
@media (min-width: 720px) { .offer-box { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }
.offer-box h3 { margin-bottom: 12px; }
.offer-box p { color: var(--ink-soft); margin-bottom: 0; max-width: 60ch; }
.offer-box .offer-cta { display: flex; flex-direction: column; gap: 10px; }
.offer-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.offer-list li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.offer-list .check { color: var(--gold); font-family: var(--font-mono); flex-shrink: 0; }

/* ---- discord ---- */

.discord-box { border: 1px solid var(--line-strong); padding: 36px 32px; display: grid; gap: 24px; align-items: center; text-align: center; justify-items: center; }
@media (min-width: 800px) { .discord-box { grid-template-columns: 1fr auto; text-align: left; justify-items: start; padding: 44px 40px; } }
.discord-box h2 { margin-bottom: 10px; }
.discord-box p { color: var(--ink-soft); margin-bottom: 0; max-width: 56ch; }

/* ---- testimonial cards + marquee ---- */

.proof-card { border: 1px solid var(--line); background: var(--bg-lift); cursor: pointer; }
.proof-card .shot { overflow: hidden; max-height: 340px; }
.proof-card .shot img { width: 100%; display: block; }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .proof-card { width: 260px; flex-shrink: 0; }
.marquee-track .proof-card .shot { max-height: 300px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

.proof-more { margin-top: 32px; text-align: center; }
.proof-gallery { display: none; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 32px; }
.proof-gallery.open { display: grid; }
@media (min-width: 640px) { .proof-gallery { grid-template-columns: repeat(4,1fr); } }
.proof-thumb { border: 1px solid var(--line); overflow: hidden; max-height: 220px; cursor: pointer; background: var(--bg-lift); }
.proof-thumb img { width: 100%; display: block; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(5,5,5,.94); z-index: 200; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border: 1px solid var(--line); }
.lightbox .close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--ink); font-family: var(--font-mono); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ---- FAQ accordion ---- */

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.faq-q .icon { flex-shrink: 0; font-family: var(--font-mono); font-size: 1.3rem; color: var(--gold); transition: transform .2s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 2px 22px; color: var(--text-muted); max-width: 68ch; }
.faq-a a { color: var(--gold); }

/* ---- forms ---- */

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.form-field .hint { font-weight: 400; color: var(--text-muted); }
.field-note { font-size: .78rem; color: var(--text-muted); margin: 8px 0 0; line-height: 1.5; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: var(--font-body);
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-lift); color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); margin-top: 16px; }
.form-note a { color: var(--gold); }

#form-success { display: none; text-align: center; padding: 60px 20px; }
#form-success.show { display: block; }
#apply-form.hide { display: none; }
.form-error { display: none; background: rgba(212,168,85,.1); border: 1px solid var(--gold); color: var(--gold-bright); padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 20px; }
.form-error.show { display: block; }

/* ---- CTA band ---- */

.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; align-items: center; }

/* ---- footer ---- */

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer-row { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 720px) { .footer-row { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; font-size: .88rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--ink); }
.footer-fine { font-family: var(--font-mono); font-size: .74rem; color: var(--text-muted); }

/* ---- misc ---- */

.list-check { list-style: none; padding: 0; margin: 0 0 24px; }
.list-check li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.list-check li:first-child { border-top: none; }
.list-check .check { color: var(--gold); font-weight: 700; flex-shrink: 0; font-family: var(--font-mono); }

.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }

.page-hero { padding: 52px 0 44px; }
.page-hero h1 { max-width: 760px; }
