/* ===========================================================
   Geneticker demopage — themes + marketing site styles
   =========================================================== */

:root {
  --font-display: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-code: 'JetBrains Mono', monospace;
}

/* THEME: google-light (default) */
[data-theme='google-light'] {
  --bg-base: #ffffff;
  --bg-surface: #f8f9fa;
  --bg-elevated: #ffffff;
  --bg-hover: #f1f3f4;
  --bg-inset: #e8eaed;
  --bg-tint: #e8f0fe;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #80868b;
  --text-inverse: #ffffff;
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --accent-soft: #d2e3fc;
  --border: #dadce0;
  --border-strong: #bdc1c6;
  --success: #0d904f;
  --warning: #f9ab00;
  --error: #d93025;
  --gradient-hero: linear-gradient(135deg, #e8f0fe 0%, #ffffff 60%, #fef7e0 100%);
  --gradient-accent: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
  --shadow-1: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-2: 0 4px 12px rgba(60,64,67,0.18);
  --shadow-3: 0 12px 28px rgba(60,64,67,0.22);
}

/* THEME: helix-dark */
[data-theme='helix-dark'] {
  --bg-base: #0d1117;
  --bg-surface: #161b22;
  --bg-elevated: #1f2937;
  --bg-hover: #21262d;
  --bg-inset: #0a0e13;
  --bg-tint: #142242;
  --text-primary: #e6edf3;
  --text-secondary: #9aa6b2;
  --text-tertiary: #6e7681;
  --text-inverse: #0d1117;
  --accent: #58a6ff;
  --accent-hover: #79b8ff;
  --accent-soft: #1f3a5f;
  --border: #30363d;
  --border-strong: #484f58;
  --success: #3fb950;
  --warning: #d29922;
  --error: #f85149;
  --gradient-hero: linear-gradient(135deg, #142242 0%, #0d1117 60%, #1a1f2e 100%);
  --gradient-accent: linear-gradient(135deg, #58a6ff 0%, #79b8ff 100%);
  --shadow-1: 0 1px 0 rgba(0,0,0,0.4);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-3: 0 16px 32px rgba(0,0,0,0.6);
}

/* THEME: midnight-lab */
[data-theme='midnight-lab'] {
  --bg-base: #050a17;
  --bg-surface: #0a1428;
  --bg-elevated: #11203b;
  --bg-hover: #15294a;
  --bg-inset: #030712;
  --bg-tint: #1c2e57;
  --text-primary: #e0f2fe;
  --text-secondary: #93c5fd;
  --text-tertiary: #60a5fa;
  --text-inverse: #050a17;
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-soft: #1e4658;
  --border: #1e3a5f;
  --border-strong: #2d4d7a;
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --gradient-hero: linear-gradient(135deg, #1c2e57 0%, #050a17 60%, #14143b 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  --shadow-1: 0 0 0 1px rgba(34,211,238,0.1);
  --shadow-2: 0 4px 16px rgba(34,211,238,0.15);
  --shadow-3: 0 16px 36px rgba(34,211,238,0.18);
}

/* THEME: terminal */
[data-theme='terminal'] {
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-elevated: #111111;
  --bg-hover: #161616;
  --bg-inset: #050505;
  --bg-tint: #0a1a0a;
  --text-primary: #00ff88;
  --text-secondary: #00cc6a;
  --text-tertiary: #008844;
  --text-inverse: #000000;
  --accent: #00ff88;
  --accent-hover: #44ffaa;
  --accent-soft: #00331a;
  --border: #1a3a1a;
  --border-strong: #2a5a2a;
  --success: #00ff88;
  --warning: #ffd700;
  --error: #ff3344;
  --gradient-hero: linear-gradient(135deg, #001a0d 0%, #000000 60%, #0d1a00 100%);
  --gradient-accent: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  --shadow-1: 0 0 8px rgba(0,255,136,0.15);
  --shadow-2: 0 0 16px rgba(0,255,136,0.25);
  --shadow-3: 0 0 32px rgba(0,255,136,0.35);
}

/* THEME: sunset */
[data-theme='sunset'] {
  --bg-base: #fff7ed;
  --bg-surface: #fef3e2;
  --bg-elevated: #ffffff;
  --bg-hover: #fde7c8;
  --bg-inset: #fed7aa;
  --bg-tint: #ffedd5;
  --text-primary: #7c2d12;
  --text-secondary: #9a3412;
  --text-tertiary: #c2410c;
  --text-inverse: #fff7ed;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #ffedd5;
  --border: #fdba74;
  --border-strong: #fb923c;
  --success: #65a30d;
  --warning: #ca8a04;
  --error: #b91c1c;
  --gradient-hero: linear-gradient(135deg, #ffedd5 0%, #fff7ed 60%, #fef3c7 100%);
  --gradient-accent: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --shadow-1: 0 1px 2px rgba(124,45,18,0.18);
  --shadow-2: 0 4px 12px rgba(124,45,18,0.2);
  --shadow-3: 0 16px 36px rgba(124,45,18,0.22);
}

/* THEME: sequoia */
[data-theme='sequoia'] {
  --bg-base: #1a2419;
  --bg-surface: #243024;
  --bg-elevated: #2d3a2d;
  --bg-hover: #354435;
  --bg-inset: #121b12;
  --bg-tint: #2a4a2a;
  --text-primary: #ecfccb;
  --text-secondary: #bef264;
  --text-tertiary: #84cc16;
  --text-inverse: #1a2419;
  --accent: #84cc16;
  --accent-hover: #a3e635;
  --accent-soft: #365314;
  --border: #3f5f3f;
  --border-strong: #4d7c0f;
  --success: #65a30d;
  --warning: #facc15;
  --error: #ef4444;
  --gradient-hero: linear-gradient(135deg, #2a4a2a 0%, #1a2419 60%, #1a3520 100%);
  --gradient-accent: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  --shadow-1: 0 1px 0 rgba(0,0,0,0.4);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-3: 0 16px 36px rgba(0,0,0,0.6);
}

/* THEME: rose-quartz */
[data-theme='rose-quartz'] {
  --bg-base: #fff1f5;
  --bg-surface: #fdf2f8;
  --bg-elevated: #ffffff;
  --bg-hover: #fce7f3;
  --bg-inset: #fbcfe8;
  --bg-tint: #fce7f3;
  --text-primary: #500724;
  --text-secondary: #831843;
  --text-tertiary: #be185d;
  --text-inverse: #fff1f5;
  --accent: #db2777;
  --accent-hover: #be185d;
  --accent-soft: #fce7f3;
  --border: #f9a8d4;
  --border-strong: #f472b6;
  --success: #16a34a;
  --warning: #ca8a04;
  --error: #dc2626;
  --gradient-hero: linear-gradient(135deg, #fce7f3 0%, #fff1f5 60%, #fdf2f8 100%);
  --gradient-accent: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
  --shadow-1: 0 1px 2px rgba(80,7,36,0.18);
  --shadow-2: 0 4px 12px rgba(80,7,36,0.18);
  --shadow-3: 0 16px 36px rgba(80,7,36,0.18);
}

/* ===================== BASE ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--accent);
  color: var(--text-inverse);
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
}
.banner-close {
  margin-left: auto;
  padding: 4px;
  border-radius: 4px;
}
.banner-close:hover {
  background: var(--bg-hover);
}

/* ===================== NAV ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme='helix-dark'] .site-nav,
[data-theme='midnight-lab'] .site-nav,
[data-theme='terminal'] .site-nav,
[data-theme='sequoia'] .site-nav {
  background: rgba(13, 17, 23, 0.86);
}
.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
}
.site-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}
.site-nav-link {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.site-nav-link:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.site-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}
.btn-ghost {
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

/* ===================== TYPOGRAPHY ===================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h1.headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  h1.headline {
    font-size: 64px;
  }
}
h2.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  h2.section-title {
    font-size: 40px;
  }
}
h3.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.subhead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 640px;
}

/* ===================== LAYOUT ===================== */
.section {
  padding: 96px 24px;
}
.section-tight {
  padding: 64px 24px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: var(--gradient-hero);
  padding: 96px 24px 120px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* product-mock card on hero */
.product-mock {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mock-dot.r {
  background: #ff5f57;
}
.mock-dot.y {
  background: #febc2e;
}
.mock-dot.g {
  background: #28c840;
}
.mock-url {
  margin-left: 12px;
  padding: 4px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  flex: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.feature-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .kpi-strip {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.kpi {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
}
.kpi-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.kpi-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.split-flip {
  direction: rtl;
}
.split-flip > * {
  direction: ltr;
}

/* pricing */
.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(26, 115, 232, 0.18);
  transform: translateY(-4px);
}
.pricing-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.pricing-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-price {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.pricing-price small {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-display);
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.pricing-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}
.pricing-list li.muted {
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.pricing-list li .material-icons-outlined {
  color: var(--success);
  flex-shrink: 0;
  font-size: 18px;
}
.pricing-list li.muted .material-icons-outlined {
  color: var(--text-tertiary);
}

/* faq */
.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 20px;
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.6;
}

/* timeline */
.timeline-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .timeline-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .timeline-cards {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.timeline-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-card .when {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline-card h4 {
  font-size: 15px;
  font-weight: 700;
}
.timeline-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* security cards */
.security-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.sec-tag.live {
  background: rgba(13, 144, 79, 0.14);
  color: var(--success);
}
.sec-tag.scheduled {
  background: rgba(26, 115, 232, 0.14);
  color: var(--accent);
}
.sec-tag.in-progress {
  background: rgba(249, 171, 0, 0.14);
  color: var(--warning);
}

/* testimonial */
.quote-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 22px;
}
.quote-card blockquote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  font-style: italic;
}
.quote-card cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--text-tertiary);
  font-size: 12px;
  font-family: var(--font-mono);
}

/* footer */
.site-footer {
  padding: 48px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-list a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* code */
.code-block {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-code);
  font-size: 12.5px;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre;
  line-height: 1.65;
}
.code-block .keyword {
  color: var(--accent);
  font-weight: 700;
}
.code-block .string {
  color: var(--success);
}
.code-block .num {
  color: var(--warning);
}
.code-block .comment {
  color: var(--text-tertiary);
  font-style: italic;
}

/* dropdown for theme picker on home nav */
.dropdown {
  position: absolute;
  top: 56px;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  padding: 8px;
  min-width: 280px;
  z-index: 100;
}
.dropdown-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 6px 8px;
}
.theme-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  text-align: left;
  width: 100%;
}
.theme-tile:hover {
  background: var(--bg-hover);
}
.theme-tile.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.theme-swatch-row {
  display: flex;
  gap: 4px;
}
.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.theme-tile-name {
  font-size: 13px;
  font-weight: 700;
}
.theme-tile-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
}
.icon-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.relative {
  position: relative;
}

/* fade-in */
.fade-in {
  animation: fadeIn 0.35s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* table */
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.compare-table th,
table.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.compare-table th {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-surface);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.compare-table td.feature {
  font-weight: 700;
  color: var(--text-primary);
}
table.compare-table td.yes {
  color: var(--success);
  font-weight: 700;
}
table.compare-table td.no {
  color: var(--error);
  font-weight: 700;
}
table.compare-table tr:hover {
  background: var(--bg-hover);
}

/* contact */
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.input,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-base);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.15s;
}
.input:focus,
.textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.textarea {
  min-height: 120px;
  resize: vertical;
}
.label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

/* cta band */
.cta-band {
  background: var(--gradient-accent);
  color: var(--text-inverse);
  padding: 64px 24px;
  text-align: center;
}
.cta-band h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 16px;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 22px;
}
.cta-band .btn-primary {
  background: var(--bg-elevated);
  color: var(--accent);
}
.cta-band .btn-primary:hover {
  background: var(--bg-hover);
}
.cta-band .btn-secondary {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.4);
}

/* about timeline */
.about-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.about-list li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
}
.about-list li b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.about-list li span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* mobile menu */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }
  .site-nav-links.open {
    display: flex;
  }
  .site-nav-link {
    width: 100%;
    padding: 10px 12px;
  }
  .site-nav-actions .btn-secondary {
    display: none;
  }
}
