/* ============================================================
   LockedOut — Shared Stylesheet
   ============================================================
   All common styles extracted from page-level <style> blocks.
   Fonts are loaded in each HTML <head> via Google Fonts link.
   ============================================================ */


/* -- Reset & Variables -- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #000000;
  --surface: #141414;
  --surface2: #1c1c1c;
  --border: #2a2a2a;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --gold-10: rgba(201,169,110,0.10);
  --gold-20: rgba(201,169,110,0.20);
  --gold-40: rgba(201,169,110,0.40);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --accent: #5856D6;
  --red: #c97070;
  --green: #6ea87a;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}


/* -- Typography -- */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.1;
}

.gold { color: var(--gold); }

.label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 80px; }
.section-header .label { display: block; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(36px, 5vw, 56px); }


/* -- Nav -- */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.4s ease; background: transparent;
}
nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { text-decoration: none; cursor: pointer; }
.nav-logo-img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta {
  padding: 10px 24px; background: var(--gold); color: var(--bg);
  border-radius: 999px; font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--gold-light, #d4b87a); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }


/* -- Hero -- */

.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px; background: var(--gold); top: -200px; right: -100px;
  opacity: 0.15; animation: float1 6s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px; background: var(--gold); bottom: -100px; left: -100px;
  opacity: 0.08; animation: float2 8s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,20px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,-30px)} }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-tag {
  display: inline-block; margin-bottom: 32px; padding: 6px 16px;
  border: 1px solid var(--border); border-radius: 100px;
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.hero h1 { font-size: clamp(48px, 8vw, 96px); margin-bottom: 24px; letter-spacing: -1px; }
.hero-sub {
  font-size: 16px; color: var(--muted); max-width: 560px;
  margin: 0 auto 48px; line-height: 1.8;
}
.hero-email {
  display: flex; flex-direction: column; align-items: center;
  max-width: 480px; margin: 0 auto;
}
.hero-email form {
  display: flex; gap: 8px; width: 100%;
}
.hero-email input[type="email"] {
  flex: 1; padding: 16px 22px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px; color: var(--text);
  font-family: 'DM Mono', monospace; font-size: 14px;
  transition: border-color 0.3s;
}
.hero-email input[type="email"]::placeholder { color: var(--dim); }
.hero-email input[type="email"]:focus { border-color: var(--gold-40); outline: none; }
.hero-email button {
  padding: 16px 32px; background: var(--gold); border: none; border-radius: 999px;
  color: var(--bg); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s; white-space: nowrap;
}
.hero-email button:hover { background: var(--gold-light, #d4b87a); transform: scale(1.03); }
.hero-email-hint {
  font-size: 12px; color: var(--dim); margin-top: 14px;
  letter-spacing: 0.5px; text-align: center;
}

@media (max-width: 640px) {
  .hero-email { max-width: 320px; }
  .hero-email form { flex-direction: column; }
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  will-change: opacity, height;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3;height:40px} 50%{opacity:1;height:60px} }

/* fix #41 — hide scroll indicator on short viewports */
@media (max-height: 700px) {
  .hero-scroll { display: none; }
}


/* -- Use Cases / Cards -- */

.use-cases { border-top: 1px solid var(--border); }

.use-cases .cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.case-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 40px 32px; transition: all 0.4s ease;
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.case-card:hover::before { opacity: 1; }
.case-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.case-card h3 { font-size: 22px; margin-bottom: 12px; }
.case-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* fix #52 — gate translateY hover behind hover media query */
@media (hover: hover) {
  .case-card:hover {
    border-color: var(--gold-40); transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  }
}


/* -- Problem -- */

.problem { border-top: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.problem-text { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 16px; }
.problem-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 32px; text-align: center; transition: all 0.4s ease;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif; font-size: 48px;
  font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* fix #52 — gate translateY hover behind hover media query */
@media (hover: hover) {
  .stat-card:hover { border-color: var(--gold-40); transform: translateY(-4px); }
}


/* -- How It Works -- */

.how-it-works { border-top: 1px solid var(--border); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 60px; left: 16.67%; right: 16.67%;
  height: 1px; background: linear-gradient(to right, transparent, var(--gold-40), transparent);
}
.step { text-align: center; position: relative; }
.step-number {
  width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: var(--gold);
  background: var(--bg); position: relative; z-index: 2;
}
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 280px; margin: 0 auto; }


/* -- Audience -- */

.audience { border-top: 1px solid var(--border); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.audience-card:last-child { border-bottom: none; }
.audience-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}
.audience-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}


/* -- Features (numbered list) -- */

.features { border-top: 1px solid var(--border); }
.features-list { max-width: 720px; margin: 0 auto; }
.feature-row {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-row:last-child { border-bottom: none; }
.feature-num {
  font-family: 'Cormorant Garamond', serif; font-size: 32px;
  font-weight: 600; color: var(--gold); line-height: 1;
  min-width: 48px; opacity: 0.5;
}
.feature-row-content h3 { font-size: 20px; margin-bottom: 8px; }
.feature-row-content p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* fix #52 — gate hover behind hover media query */
@media (hover: hover) {
  .feature-row:hover { padding-left: 8px; }
  .feature-row:hover .feature-num { opacity: 1; }
}


/* -- FAQ -- */

.faq { border-top: 1px solid var(--border); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 20px; margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-chevron {
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-item p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 12px; }


/* -- Philosophy -- */
/* NOTE (fix #48): Use curly quotes in HTML for the blockquote text */

.philosophy { border-top: 1px solid var(--border); text-align: center; }
.philosophy-quote {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 44px);
  font-style: italic; font-weight: 400; max-width: 800px;
  margin: 0 auto 32px; line-height: 1.4;
}
.philosophy-author { color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.gold-line { width: 60px; height: 1px; background: var(--gold); margin: 24px auto; }


/* -- App Ticker -- */

.app-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--glass);
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--gold);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}


/* -- CTA -- */

.cta { border-top: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.cta-bg-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: var(--gold); filter: blur(160px); opacity: 0.08;
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
  animation: ctaPulse 4s ease-in-out infinite; will-change: transform;
}
@keyframes ctaPulse {
  0%,100%{opacity:0.08;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:0.12;transform:translate(-50%,-50%) scale(1.2)}
}
.cta-content { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.cta-sub {
  color: var(--muted); font-size: 14px; max-width: 500px;
  margin: 0 auto 40px; line-height: 1.8;
}


/* -- Footer -- */

footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-content {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo-img { height: 24px; width: auto; display: block; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 11px; color: var(--muted); width: 100%; text-align: center;
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border);
}


/* -- Scroll Reveal -- */

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }
.reveal-scale {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); will-change: auto; }


/* -- Mobile Nav -- */

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.98); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif; font-size: 28px;
  color: var(--text); text-decoration: none; transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold); }
/* fix #38 — ensure close button meets 44x44px minimum touch target */
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--text); font-size: 32px; cursor: pointer;
  min-width: 44px; min-height: 44px; padding: 6px;
  display: flex; align-items: center; justify-content: center;
}


/* -- Comparison Table -- */

.comparison { border-top: 1px solid var(--border); }

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
}
.comparison-table thead th {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid var(--gold-40);
  color: var(--gold);
  font-weight: 500;
}
.comparison-table thead th:first-child { color: var(--muted); }
.comparison-table thead th:nth-child(2) { color: var(--gold); }
.comparison-table tbody td:nth-child(2) { background: var(--gold-10); }
.comparison-table tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.6;
  vertical-align: top;
}
.comparison-table tbody td:first-child {
  font-weight: 400;
  color: var(--text);
  min-width: 180px;
}
.comparison-table tbody td:nth-child(2) { color: var(--muted); }
.comparison-table tbody td:nth-child(3) { color: var(--text); }
.comparison-table tbody tr:hover { background: var(--gold-10); }
.table-check { color: var(--green); font-weight: 500; }
.table-cross { color: var(--red); font-weight: 500; }


/* -- Legal Pages (privacy, terms) -- */

.legal-page { max-width: 720px; margin: 0 auto; padding: 80px 24px; }
.legal-page h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 42px; margin-bottom: 8px; line-height: 1.1; }
.legal-page h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; margin: 40px 0 16px; color: var(--gold); }
.legal-page p { margin-bottom: 16px; color: var(--muted); }
.legal-page ul { margin-bottom: 16px; padding-left: 20px; color: var(--muted); }
.legal-page li { margin-bottom: 8px; }
.legal-page .updated { font-size: 12px; color: var(--muted); margin-bottom: 48px; }
.legal-page a { color: var(--gold); }
.legal-page .back { display: inline-block; margin-bottom: 32px; font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }
.legal-page .back:hover { color: var(--gold); }


/* -- 404 Page -- */

.page-404 { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 140px); text-align: center; padding: 24px; }
.page-404 h1 { font-family: 'Cormorant Garamond', serif; font-size: 72px; color: var(--gold); margin-bottom: 16px; font-weight: 500; }
.page-404 p { font-size: 13px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px; }
.page-404 a { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(201,169,110,0.3); padding: 12px 24px; border-radius: 12px; transition: background 0.2s; }
.page-404 a:hover { background: rgba(201,169,110,0.1); }


/* -- Utility Classes -- */

.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;
}

.stat-source {
  font-size: 10px; color: var(--muted); text-align: center;
  margin-top: 16px; opacity: 0.6;
}

.email-capture { margin-top: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.email-capture p { font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.email-capture form { display: flex; gap: 8px; }
.email-capture input[type="email"] {
  flex: 1; padding: 14px 18px; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; color: var(--text); font-family: 'DM Mono', monospace; font-size: 13px;
}
.email-capture input[type="email"]::placeholder { color: var(--muted); }
.email-capture input[type="email"]:focus { border-color: var(--gold-40); outline: none; }
.email-capture button {
  padding: 14px 24px; background: var(--gold); border: none; border-radius: 999px;
  color: var(--bg); font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.email-capture button:hover { background: var(--gold-light, #d4b87a); }

.legal-nav {
  padding: 20px 0; position: relative; background: transparent;
}
.legal-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.legal-nav .home-link {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.legal-nav .home-link:hover { color: var(--gold); }

.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--gold); font-size: 18px; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.back-to-top:hover { border-color: var(--gold-40); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }


/* -- Responsive: 968px -- */

@media (max-width: 968px) {
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step {
    text-align: left;
    padding-left: 64px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  .features-grid, .cases-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table { font-size: 12px; }
  .comparison-table thead th, .comparison-table tbody td { padding: 14px 12px; }
  .audience-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-links { gap: 20px; }
  .cases-grid { gap: 28px; }
}


/* -- Responsive: 768px -- */

@media (max-width: 768px) {
  .cases-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}


/* -- Responsive: 640px -- */

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .use-cases .cases-grid { grid-template-columns: 1fr; }
  .problem .problem-stats { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; }
  .hero h1 { font-size: 36px; }
  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child { min-width: 120px; }
}


/* -- Accessibility -- */

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  padding: 8px 16px; background: var(--gold); color: var(--bg);
  font-family: 'DM Mono', monospace; font-size: 12px; border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-bg-orb, .cta-bg-orb { animation: none !important; }
  .scroll-line { animation: none !important; }
  html { scroll-behavior: auto; }
}


/* Success page */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}
.success-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(160px);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: successPulse 4s ease-in-out infinite;
}
@keyframes successPulse {
  0%, 100% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.14; transform: translate(-50%, -50%) scale(1.15); }
}
.success-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
}
.success-icon {
  font-size: 48px;
  margin-bottom: 32px;
  display: block;
}
.success-content h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.success-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.success-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 40px;
}
.success-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
}
.success-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.success-back:hover { color: var(--gold); }

/* ── App Store button ─────────────────────────────────────────── */
.hero-cta { margin-top: 32px; display: flex; justify-content: center; }
.cta-download { margin-top: 32px; display: flex; justify-content: center; }

.appstore-btn,
a.appstore-btn:link,
a.appstore-btn:visited {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-radius: 12px;
  text-decoration: none !important;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.25);
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.35);
  background: #d4b87c;
}
.appstore-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.appstore-btn-small {
  font-size: 11px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.appstore-btn-large {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.appstore-btn-large-cta {
  padding: 18px 30px;
}
.appstore-btn-large-cta .appstore-btn-large {
  font-size: 22px;
}

/* ── Pricing section ─────────────────────────────────────────── */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: rgba(201, 169, 110, 0.04);
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.08);
}
.price-card-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #999;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 100px;
}
.price-card-tag-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.price-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 8px 0 4px;
  color: #fff;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 6px;
}
.price-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.price-period {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: #999;
}
.price-sub {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #999;
  margin-bottom: 28px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-features li {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #ccc;
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.price-features li:last-child {
  border-bottom: none;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.price-btn {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #777;
  margin-top: 32px;
}
