/* ============================================================
   SecurePawnSystems — full design system.
   Marketing landing + legal pages + checkout flow.
   Indigo + gold palette, generous spacing, mobile-first.
   ============================================================ */

:root {
  --indigo-950: #15123b;
  --indigo-900: #1e1b4b;
  --indigo-800: #272561;
  --indigo-700: #312e81;
  --indigo-500: #6366f1;
  --indigo-100: #e0e7ff;
  --gold:       #d4af37;
  --gold-soft:  #f3e7b8;
  --gold-deep:  #a07d18;
  --green:      #0a7a3b;
  --red:        #b91c1c;
  --bg:         #fdfcf7;
  --bg-alt:     #f5f3ec;
  --card:       #ffffff;
  --ink:        #1f1d2e;
  --ink-muted:  #6b6878;
  --ink-soft:   #93909d;
  --line:       rgba(15, 12, 60, 0.08);
  --line-strong:rgba(15, 12, 60, 0.16);
  --shadow-sm:  0 1px 2px rgba(15, 12, 60, 0.04);
  --shadow:     0 4px 24px rgba(15, 12, 60, 0.08);
  --shadow-lg:  0 16px 48px rgba(15, 12, 60, 0.12);
  --shadow-xl:  0 32px 80px rgba(15, 12, 60, 0.18);
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --max-w:      1160px;
  --ease:       cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--gold-soft); color: var(--indigo-900); }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--indigo-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--gold-deep); }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  color: var(--indigo-950);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

/* ============================================================
   TOP NAV — sticky, blurs on scroll
   ============================================================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(253, 252, 247, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.topnav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(253, 252, 247, 0.94);
}
.topnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--indigo-950);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--indigo-900); }
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--indigo-950) 0%, var(--indigo-700) 60%, var(--indigo-500) 100%);
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-muted);
  font-weight: 500;
}
.navlinks a { color: inherit; transition: color .15s; }
.navlinks a:hover { color: var(--indigo-900); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hamburger button — hidden on desktop, visible on tablet/mobile */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.nav-burger:hover { background: var(--bg-alt); border-color: var(--line-strong); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--indigo-900);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.topnav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav.open .nav-burger span:nth-child(2) { opacity: 0; }
.topnav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), filter .2s var(--ease);
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(180deg, var(--indigo-900), var(--indigo-950));
  color: #fff;
  box-shadow: 0 6px 22px rgba(30, 27, 75, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.10);
  box-shadow: 0 8px 28px rgba(30, 27, 75, 0.40);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, #e8c25b 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: #1f1408;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-gold:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.btn-secondary {
  background: #f0eff5;
  color: var(--indigo-900);
}
.btn-secondary:hover:not(:disabled) { background: #e6e5ee; }
.btn-outline {
  background: transparent;
  color: var(--indigo-900);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--indigo-700);
  background: rgba(49, 46, 129, 0.04);
}
.btn-link {
  background: transparent;
  color: var(--indigo-700);
  padding: 8px 4px;
  font-weight: 500;
}
.btn-link:hover { text-decoration: underline; }
.btn-row { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 88px 24px 96px;
  text-align: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: blob 18s ease-in-out infinite alternate;
}
.hero::before {
  width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.28), transparent);
  top: -120px; left: -120px;
}
.hero::after {
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.22), transparent);
  bottom: -160px; right: -160px;
  animation-delay: -8s;
}
@keyframes blob {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(49, 46, 129, 0.08);
  color: var(--indigo-700);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(10, 122, 59, 0.18);
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold-deep); flex-shrink: 0; }

/* Phone mockup floating below hero text */
.phone-mockup {
  margin: 56px auto 0;
  width: 280px;
  height: 560px;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a1838, #0d0c20);
  border-radius: 42px;
  box-shadow:
    0 50px 100px rgba(15, 12, 60, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  padding: 14px;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-screen .ps-bar {
  height: 28px;
  background: var(--indigo-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
}
.phone-screen .ps-content {
  padding: 22px 18px;
}
.phone-screen .ps-shop {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.phone-screen .ps-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--indigo-900);
  margin-bottom: 16px;
}
.phone-screen .ps-stat {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.phone-screen .ps-stat-label {
  font-size: 11px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phone-screen .ps-stat-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--indigo-900);
  margin-top: 2px;
}
.phone-screen .ps-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-screen .ps-row .name { font-size: 13px; font-weight: 600; }
.phone-screen .ps-row .amt  { font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.phone-screen .ps-row .pn   { font-size: 11px; color: var(--ink-muted); }

/* Notch */
.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0d0c20;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

/* ============================================================
   SECTIONS / LAYOUT
   ============================================================ */
.section {
  padding: 80px 24px;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--indigo-950) 0%, var(--indigo-800) 100%);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--indigo-100), #fff);
  border: 1px solid var(--line);
  color: var(--indigo-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.gold {
  background: linear-gradient(135deg, var(--gold-soft), #fff);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-deep);
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px; right: 24px;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  padding-right: 60px;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fffdf3 0%, #fff 60%);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18);
}
.price-card.featured::after {
  content: "Most popular";
  position: absolute;
  top: -12px; right: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1f1408;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--indigo-950);
  margin-bottom: 4px;
  font-feature-settings: "tnum";
}
.price-amount .suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 6px;
}
.price-desc { font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; }
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.price-list li {
  font-size: 14.5px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}
.price-list li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-color: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
  margin-top: 4px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item.open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--indigo-900);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-q .icn {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-q .icn::before {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.faq-item.open .faq-q .icn {
  transform: rotate(45deg);
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.7;
  transition: max-height .3s var(--ease), padding-bottom .3s var(--ease);
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  text-align: center;
  padding: 72px 24px;
}
.cta-strip h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin: 0 0 28px;
}
.cta-strip .btn-gold { font-size: 17px; padding: 16px 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--indigo-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 28px;
  margin-top: auto;
}
.footer a { color: rgba(255, 255, 255, 0.78); }
.footer a:hover { color: var(--gold); }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col p { font-size: 14px; margin: 0 0 14px; line-height: 1.6; }
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
}
.footer-brand .brand-mark { background: linear-gradient(135deg, #6366f1, #d4af37); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-page h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 10px;
}
.legal-page .updated {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}
.legal-page h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.75;
}
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--indigo-900); }
.legal-page .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.legal-page .contact-card .ci {
  font-size: 14px;
}
.legal-page .contact-card .ci .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.legal-page .contact-card .ci a { font-weight: 500; }

/* Contact page big cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.contact-card-lg {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.contact-card-lg:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.contact-card-lg .icn {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--indigo-100), #fff);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-700);
  margin-bottom: 16px;
}
.contact-card-lg h3 { font-size: 17px; margin: 0 0 6px; }
.contact-card-lg .desc { font-size: 13.5px; color: var(--ink-muted); margin: 0 0 12px; }
.contact-card-lg a {
  font-weight: 600;
  font-size: 14.5px;
}

/* ============================================================
   CHECKOUT — preserved from original (subscribe.html)
   ============================================================ */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 56px;
}
.signed-in-as {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.signed-in-as button {
  background: transparent;
  border: 0;
  color: var(--indigo-700);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.signed-in-as button:hover { background: var(--indigo-100); }

.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  margin: 0 auto;
}
.card-lg { max-width: 520px; padding: 36px 32px; }
.card-head { text-align: center; margin-bottom: 24px; }
.card-head h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--indigo-900);
  letter-spacing: -0.01em;
}
.card-head p { margin: 0; color: var(--ink-muted); font-size: 15px; }

.hero-mark {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--indigo-950), var(--indigo-700));
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.25);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-hint { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  border-color: var(--indigo-700);
  box-shadow: 0 0 0 4px rgba(49, 46, 129, 0.10);
}
.field input::placeholder { color: #b3b0c5; }

.phone-row { display: flex; gap: 10px; }
.phone-row .cc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #f0eff5;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.phone-row input { flex: 1; }

.otp-input {
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 22px !important;
  font-weight: 600;
  padding: 16px !important;
  font-feature-settings: "tnum";
}

.banner {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 12px;
}
.banner.info    { background: rgba(49, 46, 129, 0.08);  color: var(--indigo-900); }
.banner.success { background: rgba(10, 122, 59, 0.10);  color: var(--green); }
.banner.error   { background: rgba(185, 28, 28, 0.10);  color: var(--red); }

.status {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fdfcf7 0%, #ffffff 100%);
}
.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.status-dot.active  { background: var(--green); box-shadow: 0 0 0 4px rgba(10, 122, 59, 0.12); }
.status-dot.trial   { background: var(--gold);  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18); }
.status-dot.warn    { background: #e08e00;      box-shadow: 0 0 0 4px rgba(224, 142, 0, 0.18); }
.status-dot.expired { background: var(--red);   box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12); }
.status-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 600;
}
.status-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--indigo-900);
  margin: 6px 0 4px;
  letter-spacing: -0.01em;
}
.status-sub { font-size: 14px; color: var(--ink-muted); }

.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  background: #fff;
}
.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 15px;
}
.quote-row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 18px;
  color: var(--indigo-900);
}
.quote-row .label { color: var(--ink-muted); }
.quote-row .value { font-variant-numeric: tabular-nums; }
.quote-row.discount .value { color: var(--green); }
.plan-name {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; }
.coupon-status { font-size: 13px; margin-top: 8px; min-height: 18px; }
.coupon-status.ok  { color: var(--green); }
.coupon-status.err { color: var(--red); }

.success-tick {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(10, 122, 59, 0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 18px;
}
.license-key {
  display: inline-block;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  background: #f0eff5;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--indigo-900);
  word-break: break-all;
  margin: 8px 0 16px;
}
.next-steps {
  background: rgba(49, 46, 129, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  margin: 16px 0;
}
.next-steps strong { color: var(--indigo-900); }

.trust {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-muted);
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--gold-deep); }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

section[data-state] { width: 100%; display: flex; justify-content: center; }
section[data-state][hidden] { display: none; }

.muted   { color: var(--ink-muted); }
.small   { font-size: 13px; }
.center  { text-align: center; }
.gold    { color: var(--gold-deep); font-weight: 600; }

/* ============================================================
   SCROLL-REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .phone-mockup { animation: none; }
  .hero::before, .hero::after { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  /* Burger replaces inline nav links */
  .nav-burger { display: flex; }

  /* Convert .navlinks into a slide-down panel under the sticky nav */
  .navlinks {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(253, 252, 247, 0.98);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    padding: 14px 24px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 12, 60, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease),
                visibility .25s var(--ease);
  }
  .navlinks a {
    padding: 12px 4px;
    font-size: 16px;
    color: var(--indigo-900);
    border-bottom: 1px solid var(--line);
  }
  .navlinks a:last-child { border-bottom: 0; }
  .topnav.open .navlinks {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topnav-inner { padding: 12px 18px; gap: 12px; }
  .hero { padding: 64px 20px 80px; }
  .section { padding: 60px 20px; }
  .cta-strip { padding: 56px 20px; }
  .footer { padding: 44px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .phone-mockup { width: 240px; height: 480px; }
  .page { padding: 24px 16px 40px; }
  .card { padding: 24px 20px; border-radius: 14px; }
  .card-head h1 { font-size: 21px; }
  .legal-page { padding: 44px 20px 60px; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
}
