:root {
  --bg: #06080d;
  --bg-soft: #0c1018;
  --panel: rgba(15, 20, 31, 0.92);
  --panel-2: rgba(10, 14, 21, 0.96);
  --text: #f7f4ee;
  --muted: #b8b2a6;
  --gold: #d8a545;
  --gold-bright: #f0cb73;
  --gold-soft: rgba(216, 165, 69, 0.18);
  --line: rgba(216, 165, 69, 0.18);
  --line-strong: rgba(216, 165, 69, 0.32);
  --success: #9ddeab;
  --danger: #ffb6a0;
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1220px;
  --shadow: 0 28px 70px rgba(0,0,0,0.45);
  --shadow-soft: 0 18px 42px rgba(0,0,0,0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(216, 165, 69, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(22, 38, 68, 0.16), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #0a0d13 40%, #06080d 100%);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.55), transparent 82%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 12px; top: 12px; width: auto; height: auto; padding: 10px 14px; z-index: 999;
  border-radius: 12px; background: #111827; border: 1px solid var(--line-strong);
}
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.24);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 203, 115, 0.46), transparent);
}
.header-inner {
  min-height: 80px; display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content;
}
.brand img { width: 44px; height: 44px; }
.brand strong { font-size: 1.7rem; letter-spacing: -0.05em; }
.brand span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-toggle {
  display: none; min-width: 48px; min-height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: #fff; font-size: 1.2rem;
}
.nav {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; flex: 1;
}
.nav a {
  text-decoration: none; color: #ebe4d5; font-weight: 700; font-size: 0.95rem;
  padding: 11px 14px; border-radius: 999px; transition: 0.18s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: rgba(216,165,69,0.11); color: #fff;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 800; line-height: 1; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #161106; border-color: rgba(255,226,153,0.45);
  background: linear-gradient(180deg, #f0cb73 0%, #d29a34 100%);
  box-shadow: 0 16px 28px rgba(176, 121, 18, 0.28), inset 0 1px 0 rgba(255, 248, 219, 0.4);
}
.btn-secondary {
  color: #fff; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-color: rgba(216,165,69,0.24);
}
.btn-ghost {
  color: #efe7d7; background: transparent; border-color: rgba(255,255,255,0.08);
}
.btn.full { width: 100%; }
.billing-actions { display: grid; gap: 10px; margin-top: 18px; }
.billing-actions .btn { min-height: 46px; font-size: 0.95rem; }
.billing-actions .btn-secondary { color: #f7edd7; }

.hero-wrap { padding: 52px 0 28px; position: relative; overflow: hidden; }
.hero-shell {
  position: relative; overflow: hidden; border-radius: 34px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(216,165,69,0.18), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(26, 51, 86, 0.25), transparent 30%),
    linear-gradient(180deg, rgba(14,19,30,0.96), rgba(8,11,18,0.98));
  box-shadow: var(--shadow);
  padding: 30px;
}
.hero-shell::before {
  content: ""; position: absolute; inset: 16px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.04); pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 28px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-bright);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 800; font-size: 0.74rem; margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--gold-bright); box-shadow: 0 0 18px rgba(240, 203, 115, 0.7);
}
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 5vw, 5.2rem); letter-spacing: -0.07em; max-width: 12ch; }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -0.055em; }
h3 { font-size: 1.25rem; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.info-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 26px;
}
.info-item, .metric, .card, .price-card, .location-card, .faq-item, .guide-card, .legal-card, .notice, .contact-card, .step-card, .cta-panel, .mini-stat {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 20, 31, 0.94), rgba(8, 11, 18, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.info-item::before, .metric::before, .card::before, .price-card::before, .location-card::before, .faq-item::before, .guide-card::before, .legal-card::before, .contact-card::before, .step-card::before, .cta-panel::before, .mini-stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,234,190,0.2), transparent);
}
.info-item { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.info-item img { width: 22px; height: 22px; margin-top: 3px; }
.info-item strong, .metric strong, .mini-stat strong { display: block; font-size: 1rem; }
.info-item span, .metric span, .muted, .small, .table-wrap td, .table-wrap th { color: var(--muted); }
.hero-visual {
  position: relative; min-height: 100%;
}
.hero-stage {
  position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(216,165,69,0.22);
  background:
    linear-gradient(180deg, rgba(7,10,17,0.3), rgba(7,10,17,0.72)),
    url('/assets/hero-reference-bg.png') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 24px 60px rgba(0,0,0,0.38);
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(240,203,115,0.18), transparent 26%),
    radial-gradient(circle at 20% 0%, rgba(77,113,176,0.18), transparent 36%);
}
.hero-stage > img.hero-visual-art {
  position: absolute; right: 0; bottom: 0; width: min(100%, 590px); z-index: 2;
}
.hero-stage > img.hero-visual-ornament {
  position: absolute; left: 12%; top: 10%; width: min(48%, 250px); opacity: 0.8; z-index: 1;
}
.stage-copy {
  position: absolute; inset: auto 18px 18px 18px; z-index: 3; display: grid; gap: 12px;
}
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mini-stat { padding: 14px; backdrop-filter: blur(8px); background: rgba(6,9,16,0.74); }
.mini-stat small { color: var(--muted); display: block; }
.section { padding: 30px 0; }
.section-head { margin-bottom: 20px; }
.section-head.center { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.eyebrow.center { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card, .guide-card, .faq-item, .legal-card, .contact-card, .step-card, .price-card, .location-card, .metric { padding: 24px; }
.card-icon { width: 26px; height: 26px; margin-bottom: 14px; }
.tag-row, .pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill, .tag {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  border: 1px solid rgba(216,165,69,0.18); background: rgba(255,255,255,0.03);
  color: #e5dccb; padding: 9px 13px; font-size: 0.92rem;
}
.tag.success { color: var(--success); border-color: rgba(157,222,171,0.24); background: rgba(157,222,171,0.08); }
.tag.warning { color: #f4d58d; }
.price-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px;
}
.price-card.highlight {
  border-color: rgba(240,203,115,0.34); transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.36), 0 0 0 1px rgba(240,203,115,0.08) inset;
}
.price-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.price { font-size: 2.7rem; letter-spacing: -0.07em; font-weight: 900; }
.price small { font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.plan-name { font-size: 1.35rem; }
.feature-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 18px; color: var(--muted); }
.feature-list li::before { content: "•"; position: absolute; left: 0; color: var(--gold-bright); }
.location-card h3 { margin-bottom: 8px; }
.location-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(216,165,69,0.1); }
th { color: #f1e8d8; font-size: 0.92rem; }
.cta-panel { padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cta-panel > div { max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.step-number {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(240,203,115,0.18), rgba(240,203,115,0.05)); border: 1px solid rgba(240,203,115,0.28); color: var(--gold-bright); font-weight: 900;
}
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 14px 0 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.notice { padding: 18px; color: #efe7d7; }
.notice strong { display: block; margin-bottom: 8px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 18px; align-items: start; }
.legal-nav { position: sticky; top: 100px; padding: 20px; }
.legal-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--muted); border-radius: 12px; }
.legal-nav a:hover { background: rgba(255,255,255,0.03); color: #fff; }
.legal-card section + section { margin-top: 26px; }
.site-footer {
  padding: 24px 0 50px; margin-top: 20px;
}
.footer-shell {
  border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(11,16,24,0.94), rgba(7,10,16,0.98)); padding: 24px; box-shadow: var(--shadow-soft);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0,1fr)); gap: 18px; }
.footer-grid h3 { font-size: 1rem; margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.footer-meta { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(216,165,69,0.12); color: var(--muted); font-size: 0.95rem; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.small { font-size: 0.95rem; }
.align-center { text-align: center; }
.stack { display: grid; gap: 14px; }
.banner {
  border-radius: 18px; border: 1px solid rgba(216,165,69,0.2); background: linear-gradient(180deg, rgba(216,165,69,0.08), rgba(216,165,69,0.04));
  padding: 16px 18px; color: #f0e7d4; margin-bottom: 16px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 1100px) {
  .info-strip, .price-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid, .contact-grid, .legal-layout, .footer-grid, .grid-3 { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .steps { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding: 14px 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; width: 100%; justify-content: flex-start; padding-top: 8px;
    flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 14px; }
  .header-actions { margin-left: auto; }
  .hero-shell { padding: 22px; }
  .hero-stage { min-height: 420px; }
  .info-strip, .price-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  h1 { max-width: 14ch; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .brand strong { font-size: 1.44rem; }
  .hero-wrap { padding-top: 24px; }
  .hero-shell { border-radius: 24px; padding: 16px; }
  .hero-stage { min-height: 350px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-shell { padding: 18px; }
}

/* Step 28BX — pricing billing hover/focus visual-state patch */
.billing-actions .btn-secondary:hover,
.billing-actions .btn-secondary:focus-visible {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #20170a;
  border-color: rgba(255, 226, 125, 0.95);
  box-shadow: 0 18px 38px rgba(214, 164, 58, 0.26);
  transform: translateY(-1px);
}

.price-card:hover,
.price-card:focus-within {
  border-color: rgba(214, 164, 58, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(214, 164, 58, 0.12);
}

.price-card:hover .tag.warning,
.price-card:focus-within .tag.warning {
  border-color: rgba(214, 164, 58, 0.72);
  background: rgba(214, 164, 58, 0.14);
  color: #ffe8a3;
}

/* Step 28BY — dim default 28-day button when another billing option is hovered/focused */
.billing-actions:has(.btn-secondary:hover) .btn-primary,
.billing-actions:has(.btn-secondary:focus-visible) .btn-primary {
  background: rgba(255, 255, 255, 0.035);
  color: #f7edd7;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: none;
}

/* Step 28CA — stronger pricing plan and billing hover states */
.price-card:hover,
.price-card:focus-within {
  border-color: rgba(255, 210, 83, 0.98);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 204, 82, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 204, 82, 0.10), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 0 0 2px rgba(255, 210, 83, 0.34),
    0 0 34px rgba(255, 190, 54, 0.34),
    0 26px 70px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.price-card:hover .plan-name,
.price-card:focus-within .plan-name,
.price-card:hover .price,
.price-card:focus-within .price {
  color: #ffe8a3;
  text-shadow: 0 0 18px rgba(255, 204, 82, 0.34);
}

.price-card:hover .tag,
.price-card:focus-within .tag {
  border-color: rgba(255, 210, 83, 0.95);
  background: rgba(255, 204, 82, 0.16);
  color: #ffe8a3;
}

.billing-actions .btn-secondary:hover,
.billing-actions .btn-secondary:focus-visible {
  background: linear-gradient(135deg, #f7c84a, #d6a43a);
  color: #20170a;
  border-color: rgba(255, 226, 125, 1);
  box-shadow:
    0 0 0 2px rgba(255, 210, 83, 0.28),
    0 16px 34px rgba(214, 164, 58, 0.38);
  transform: translateY(-1px);
}

/* Keep only the hovered billing option visually gold */
.billing-actions:has(.btn-secondary:hover) .btn-primary,
.billing-actions:has(.btn-secondary:focus-visible) .btn-primary {
  background: rgba(255, 255, 255, 0.035);
  color: #f7edd7;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: none;
}

/* Step 28CC — global secondary button hover/focus gold fill */
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: linear-gradient(135deg, #f7c84a, #d6a43a);
  color: #20170a;
  border-color: rgba(255, 226, 125, 1);
  box-shadow:
    0 0 0 2px rgba(255, 210, 83, 0.24),
    0 16px 34px rgba(214, 164, 58, 0.34);
  transform: translateY(-1px);
}

/* Keep pricing-specific dim rule after global hover rule */
.billing-actions:has(.btn-secondary:hover) .btn-primary,
.billing-actions:has(.btn-secondary:focus-visible) .btn-primary {
  background: rgba(255, 255, 255, 0.035);
  color: #f7edd7;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: none;
}

/* Step 28CE — dim primary button when paired secondary CTA is hovered/focused */
.hero-actions:has(.btn-secondary:hover) .btn-primary,
.hero-actions:has(.btn-secondary:focus-visible) .btn-primary,
.cta-panel:has(.btn-secondary:hover) .btn-primary,
.cta-panel:has(.btn-secondary:focus-visible) .btn-primary {
  background: rgba(255, 255, 255, 0.035);
  color: #f7edd7;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  transform: none;
}
