/* Palette carried over from the original site: deep navy with a cyan accent. */
:root {
  --bg: hsl(217 33% 5%);
  --surface: hsl(217 28% 8%);
  --surface-2: hsl(215 22% 11%);
  --border: hsl(215 15% 17%);
  --text: hsl(210 10% 95%);
  --muted: hsl(210 10% 64%);
  --primary: hsl(187 86% 53%);
  --primary-hover: hsl(187 80% 62%);
  --primary-deep: hsl(197 71% 23%);
  --primary-mid: hsl(192 91% 36%);
  --on-primary: hsl(217 40% 7%);
  --success: hsl(160 70% 45%);
  --warning: hsl(38 92% 55%);
  --radius: 12px;
  --max: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(217 33% 5% / 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.site-nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; font-size: 16px; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 16px/1 "Inter", system-ui, sans-serif; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: var(--on-primary); background: var(--primary); }
.btn svg { width: 18px; height: 18px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); }
.section-head p { color: var(--muted); margin-top: 10px; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }

/* Hero */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (max-width: 900px) {
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Phone preview */
.phone {
  width: 100%; max-width: 320px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 20px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.phone-top strong { color: var(--text); font-size: 15px; }
.phone-amount { margin-top: 22px; color: var(--muted); font-size: 13px; }
.phone-amount b { display: block; color: var(--text); font-size: 38px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.phone-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-top: 14px;
  color: var(--muted); font-size: 14px;
}
.phone-row b { color: var(--text); font-size: 18px; }
.phone-btn { margin-top: 18px; background: var(--primary); color: var(--on-primary); text-align: center; font-weight: 600; border-radius: 10px; padding: 13px; }
.phone-caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: hsl(187 86% 53% / 0.12); color: var(--primary);
}
.card-icon svg { width: 22px; height: 22px; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; }
.card.is-off { opacity: 0.72; }
.card.is-off .card-icon { background: var(--surface-2); color: var(--muted); }
.card-link[aria-disabled="true"] { color: var(--muted); cursor: default; }

.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: hsl(160 70% 45% / 0.14); color: var(--success);
}
.is-off .badge { background: var(--surface-2); color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: 22px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 14px;
}
.step.card { padding-top: 66px; }

/* Lists and prose */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: hsl(187 86% 53% / 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2320d6ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks li b { color: var(--text); font-weight: 600; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }

/* Page header */
.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(30px, 5vw, 42px); }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 620px; font-size: 17px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Unavailable panel */
.notice {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 640px;
}
.notice h2 { font-size: 22px; }
.notice p { color: var(--muted); margin-top: 8px; }
.notice .hero-actions { margin-top: 20px; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: .6; }

/* CTA band */
.cta-band {
  border: 1px solid var(--border); border-radius: 16px; padding: 36px;
  background: linear-gradient(135deg, var(--primary-deep), var(--surface) 70%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 30px); }
.cta-band p { color: var(--muted); margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 14px; color: var(--text); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 300px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (max-width: 560px) {
  section { padding: 52px 0; }
  .hero-actions .btn { width: 100%; }
  .cta-band { padding: 24px; }
  .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.page-head .eyebrow { color: var(--primary); }
.nowrap { white-space: nowrap; }
