:root {
  /* Core palette */
  --color-black: #000000;
  --color-dark: #0b0d11;
  --color-light: #f7f6f3;
  --color-white: #ffffff;

  /* Gold accent */
  --color-gold: #c9a040;
  --color-gold-bright: #ddb94e;
  --color-gold-dim: #a07e30;
  --color-gold-glow: rgba(201,160,64,0.12);
  --color-gold-border: rgba(201,160,64,0.25);

  /* Text */
  --text-on-dark: #f0efe8;
  --text-muted-dark: #8a8880;
  --text-primary: #1a1a18;
  --text-secondary: #6b6b65;

  /* Legacy aliases (existing HTML references) */
  --color-navy: var(--color-black);
  --color-graphite: var(--text-primary);
  --color-softgray: var(--color-light);
  --color-teal: var(--color-gold);
  --color-teal-hover: var(--color-gold-bright);
  --color-blue: var(--color-gold-dim);
  --color-success: #28c840;
  --color-warning: #D97706;
  --color-danger: #DC2626;

  /* Typography */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout */
  --radius-sm: 7px;
  --radius-md: 12px;
  --shadow-card: 0 8px 30px rgba(0,0,0,0.06);
  --max-width: 1080px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: clamp(56px, 8vw, 100px);
  --transition-base: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-gold-bright);
}

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

/* ─── Layout ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ─── Header — Dark Glassmorphism Nav ─── */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Push main content below fixed header */
main {
  padding-top: 68px;
}

/* Hero pulls up into header space */
.hero {
  margin-top: -68px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 5px;
}

/* ─── Nav ─── */

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-on-dark);
}

.nav a.active {
  color: var(--text-on-dark);
}

.nav a.btn-primary,
.nav a.btn-secondary {
  font-size: 0.82rem;
  padding: 9px 20px;
}

.nav a.btn-primary {
  color: var(--color-black);
}

.nav a.btn-primary:hover {
  color: var(--color-black);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ─── Buttons ─── */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  padding: 12px 28px;
  background: var(--color-gold);
  color: var(--color-black);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--color-gold-bright);
  color: var(--color-black);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-gold-border);
  outline-offset: 2px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.btn-secondary {
  padding: 11px 24px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  background: var(--color-gold-glow);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-gold-border);
  outline-offset: 2px;
}

/* Nav button overrides — white outline on dark bg */
.nav a.btn-secondary {
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.15);
  background: transparent;
}

.nav a.btn-secondary:hover {
  border-color: var(--color-gold-border);
  color: var(--color-gold-bright);
  background: transparent;
}

/* ─── Hero ─── */

.hero {
  background: var(--color-black);
  padding: 140px 0 var(--space-7);
  color: var(--text-on-dark);
}

.hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

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

.hero p.lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
  max-width: 420px;
  margin-bottom: var(--space-4);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero figure — clean container for mockup or image */
.hero-figure {
  display: flex;
  justify-content: center;
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  box-shadow: none;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ─── Live Banner (hero badge style) ─── */

.live-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: rgba(201,160,64,0.08);
  border: 1px solid var(--color-gold-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gold-bright);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.live-banner::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.beta-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(201,160,64,0.08);
  border: 1px solid var(--color-gold-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gold-bright);
  letter-spacing: 0.02em;
}

/* ─── Sections ─── */

.section {
  padding: var(--space-7) 0;
}

.section-gray {
  background: var(--color-white);
}

.section-navy {
  background: var(--color-dark);
  color: var(--text-on-dark);
}

.section h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: inherit;
}

.section-label {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
  margin-bottom: 10px;
}

.page-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.page-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
}

.section p {
  margin-bottom: var(--space-3);
}

/* ─── Grids ─── */

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.subheading {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

/* ─── Cards ─── */

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.card p,
.card li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.card ul {
  padding-left: var(--space-3);
  margin: 0;
  display: grid;
  gap: var(--space-1);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-gold-glow);
  border: 1px solid rgba(201,160,64,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.card-highlight {
  border: 2px solid var(--color-gold-border);
  background: rgba(201,160,64,0.03);
}

/* ─── Steps ─── */

.steps-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 48px auto;
  gap: var(--space-3);
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold-glow);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-headings);
  font-size: 18px;
}

.step-content strong {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-primary);
}

/* ─── Pricing ─── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card.featured {
  border-color: var(--color-gold-border);
  box-shadow: 0 16px 32px rgba(201,160,64,0.12);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.pricing-card h3 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-headings);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

/* ─── Utility ─── */

.muted {
  color: var(--text-secondary);
}

/* ─── CTA Strip ─── */

.cta-strip {
  text-align: center;
  padding: var(--space-7) 0;
}

.cta-strip h2 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.cta-strip .lead {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  margin-bottom: var(--space-4);
}

/* ─── Dark Stripe (vision / divider sections) ─── */

.stripe-dark {
  background: var(--color-dark);
  padding: var(--space-5) 0;
  text-align: center;
  color: var(--text-on-dark);
}

.stripe-dark .stripe-text {
  font-family: var(--font-headings);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}

.stripe-dark .stripe-text .gold {
  color: var(--color-gold-bright);
}

.stripe-dark .stripe-sub {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  margin-top: 8px;
}

.stripe-dark .btn-gold,
.stripe-dark .btn-primary {
  margin-top: 28px;
}

/* ─── Footer (black) ─── */

footer.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 0;
  text-align: center;
}

.legal-note {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  margin: 0;
}

footer.site-footer a {
  color: var(--color-gold-dim);
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--color-gold);
}

/* ─── Mockup (hero app preview) ─── */

.mockup {
  width: 100%;
  max-width: 440px;
  background: #0e1015;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.m-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.m-dot:nth-child(1) { background: #ff5f57; }
.m-dot:nth-child(2) { background: #ffbd2e; }
.m-dot:nth-child(3) { background: #28c840; }

.mockup-bar .url {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.m-mod {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 13px;
  transition: border-color 0.3s;
}

.m-mod:hover {
  border-color: var(--color-gold-border);
}

.m-mod.active {
  border-color: var(--color-gold-border);
  background: rgba(201,160,64,0.03);
}

.m-mod .ico {
  font-size: 0.85rem;
  margin-bottom: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-glow);
  border: 1px solid var(--color-gold-border);
  border-radius: 5px;
}

.m-mod h4 {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin: 0 0 3px;
}

.m-mod p {
  font-size: 0.65rem;
  color: var(--text-muted-dark);
  line-height: 1.35;
  margin: 0;
}

.mockup-foot {
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-foot .live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: #28c840;
}

.mockup-foot .live span {
  width: 5px;
  height: 5px;
  background: #28c840;
  border-radius: 50%;
}

.mockup-foot .ver {
  font-size: 0.65rem;
  color: var(--text-muted-dark);
}

/* ─── Animations ─── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.22,0.61,0.36,1) forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.38s; }
.d5 { animation-delay: 0.50s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */

@media (max-width: 960px) {
  .hero .hero-grid,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero p.lead {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-3);
    gap: var(--space-2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: var(--space-1) 0;
    width: 100%;
  }

  .hero .container {
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .live-banner {
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 120px 0 var(--space-6);
  }
}
