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

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #10b981;
  --green-light: #d1fae5;
  --orange: #f59e0b;
  --orange-light: #fef3c7;
  --red: #ef4444;
  --red-light: #fee2e2;
  --purple: #8b5cf6;
  --purple-light: #ede9fe;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
  --shadow-xl: 0 24px 60px rgba(15,23,42,0.16);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22,0.72,0.2,1), transform 0.75s cubic-bezier(0.22,0.72,0.2,1), filter 0.7s ease;
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(42px); }
[data-reveal="down"]  { transform: translateY(-34px); }
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
@media (max-width: 767px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(38px); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 32px; align-items: center; }
nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
nav a:hover { color: var(--ink); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-label:hover { color: var(--ink); }
.nav-label svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-label svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  padding-top: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 300px;
}
.nav-dropdown-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink);
}
.nav-dropdown-inner a:hover {
  background: var(--bg);
  color: var(--accent);
}
.nav-dropdown-inner a small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.nav-state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-fl { background: #f97316; }
.dot-tx { background: #ef4444; }
.dot-ny { background: #2563eb; }
.dot-ccss { background: #8b5cf6; }

/* Hero standards chips */
.hero-standards {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-std-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}
.hero-std-chip.fl { border-color: rgba(249,115,22,0.4); color: #fdba74; }
.hero-std-chip.tx { border-color: rgba(239,68,68,0.4); color: #fca5a5; }
.hero-std-chip.ny { border-color: rgba(37,99,235,0.4); color: #93c5fd; }
.hero-std-chip.ccss { border-color: rgba(139,92,246,0.4); color: #c4b5fd; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-nav:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e3a5f 100%);
  color: #fff;
  padding: 94px 24px 48px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── 3D Card Scene ── */
.card-scene {
  position: absolute;
  left: 47%;
  right: 0;
  top: 92px;
  bottom: 0;
  perspective: 1100px;
  perspective-origin: 50% 46%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.card-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #0f172a 0%, rgba(15,23,42,0) 22%);
}
.card-world {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.tarot-card {
  position: absolute;
  width: 128px;
  height: 184px;
  margin-left: -64px;
  margin-top: -92px;
  transform-style: preserve-3d;
  transition: opacity 0.4s;
}
.tarot-front,
.tarot-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
}
.tarot-back {
  transform: rotateY(180deg);
}

/* Text card front */
.tarot-front--text {
  background: var(--surface);
  padding: 15px 13px 13px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.tarot-accent {
  height: 3px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.tarot-numeral {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-family: var(--font);
}
.tarot-title {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  flex: 1;
}
.tarot-desc {
  font-size: 0.58rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Branded card back */
.tarot-cardback {
  background: linear-gradient(150deg, #1e293b, #0f172a);
  display: flex; align-items: center; justify-content: center;
}
.tarot-cardback::before {
  content: ''; position: absolute; inset: 9px;
  border: 1.5px solid rgba(96,165,250,0.30); border-radius: 8px;
}
.tarot-cardback::after {
  content: 'BR'; font-family: var(--font); font-weight: 900;
  font-size: 1.3rem; letter-spacing: -0.04em; color: rgba(147,197,253,0.6);
}

/* Hero overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15,23,42,0.72) 30%, rgba(15,23,42,0) 56%),
    linear-gradient(to bottom, transparent 86%, #0f172a);
  z-index: 2;
  pointer-events: none;
}

/* Hero content — centred over cards */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  width: 50%;
  max-width: 640px;
  margin-right: auto;
  padding-left: clamp(4px, 3vw, 44px);
  animation: fadeUp 0.8s ease forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.3rem, 3.5vw, 4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(15,23,42,0.6);
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.hero-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}
.hero-actions .btn-outline {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.hero-actions .btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .card-world { animation: none !important; }
  .tarot-card { animation: none !important; }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
}

/* ── Section shared ── */
section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Features v2 ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.blue { background: var(--accent-light); }
.feature-icon.green { background: var(--green-light); }
.feature-icon.orange { background: var(--orange-light); }
.feature-icon.purple { background: var(--purple-light); }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Two-in-One ── */
.two-in-one-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.format-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.format-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.interactive-label { background: var(--accent-light); color: var(--accent); }
.worksheet-label { background: var(--orange-light); color: #b45309; }
.mini-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.mini-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}
.mdot { width: 8px; height: 8px; border-radius: 50%; }
.mdot.r { background: #ef4444; }
.mdot.y { background: #f59e0b; }
.mdot.g { background: #10b981; }
.mini-url {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 6px;
}
.mini-content { padding: 16px; }
.mini-q {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.mini-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mc {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--muted);
}
.mc.selected { background: var(--green-light); border-color: var(--green); color: #065f46; }
.mini-feedback {
  font-size: 0.75rem;
  background: var(--green-light);
  border-radius: 6px;
  padding: 8px 12px;
  color: #065f46;
  line-height: 1.5;
  margin-bottom: 8px;
}
.mini-score {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}
.worksheet-mock { border: none; background: #fff; }
.ws-header {
  padding: 16px;
  border-bottom: 2px solid var(--ink);
  text-align: center;
}
.ws-title { font-size: 0.88rem; font-weight: 800; color: var(--ink); }
.ws-meta { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }
.ws-body { padding: 14px 16px; }
.ws-q {
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.6;
  padding-bottom: 10px;
  border-bottom: 1px dotted var(--border);
}
.ws-opts { color: var(--muted); font-size: 0.74rem; }
.ws-more {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  padding: 8px 0;
}
.ws-footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 10px;
  background: var(--bg);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
.format-features {
  list-style: none;
}
.format-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 5px 0 5px 22px;
  position: relative;
}
.format-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Comparison ── */
.comparison-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.comparison-table thead th:first-child { color: var(--ink); }
.comparison-table thead th.highlight {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.comparison-table td { color: var(--muted); }
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.comparison-table td.highlight {
  background: var(--accent-light);
  text-align: center;
  font-weight: 700;
  color: var(--accent);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.check { color: var(--green); font-weight: 700; }
.cross { color: #cbd5e1; }

/* ── State Tabs ── */
.state-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.state-tab {
  flex: 1;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.state-tab:hover { color: var(--ink); }
.state-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.state-panel { display: none; }
.state-panel.active { display: block; }

.state-summary {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.state-summary-item { text-align: center; }
.state-summary-item .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink);
  display: block;
  letter-spacing: -0.02em;
}
.state-summary-item .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Grade Cards v2 ── */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
}
.grade-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.grade-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.grade-name {
  font-size: 1.15rem;
  font-weight: 800;
}
.grade-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent);
}
.grade-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.grade-meta-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
}
.grade-meta-chip strong { color: var(--ink); }
.grade-includes {
  list-style: none;
  margin-bottom: 20px;
}
.grade-includes li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 5px 0 5px 24px;
  position: relative;
}
.grade-includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}
.grade-links { display: flex; gap: 8px; }
.grade-links a, .grade-links span {
  flex: 1;
  text-align: center;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}
.link-etsy { background: #f97316; color: #fff; }
.link-etsy:hover { background: #ea580c; color: #fff; transform: translateY(-1px); }
.link-tpt { background: var(--green); color: #fff; }
.link-tpt:hover { background: #059669; color: #fff; transform: translateY(-1px); }
.link-coming {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: default;
  font-weight: 600;
}

/* ── CCSS Coming Soon ── */
.ccss-coming {
  text-align: center;
  padding: 60px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.ccss-coming-icon { margin-bottom: 24px; }
.ccss-coming h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}
.ccss-coming p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── How It Works video ── */
.how-video-wrapper {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.how-video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
  background: #000;
}
.how-video-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ── How It Works v2 ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  opacity: 0.2;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.step-visual { margin-bottom: 16px; }
.step-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.step-screen-bar {
  height: 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.step-screen-content {
  padding: 12px;
  font-size: 0.72rem;
}
.sv-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sv-icon { font-size: 1rem; }
.sv-text { font-weight: 600; color: var(--ink); font-size: 0.75rem; }
.sv-badge { background: var(--accent-light); color: var(--accent); font-weight: 800; padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; }
.sv-btn { background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 5px; font-weight: 700; font-size: 0.68rem; margin-left: auto; }
.sv-folder { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 0.74rem; }
.sv-files { padding-left: 16px; }
.sv-file { color: var(--muted); font-size: 0.68rem; padding: 2px 0; }
.sv-file.dim { opacity: 0.5; font-style: italic; }
.sv-test-q { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 0.74rem; }
.sv-test-choices { display: flex; gap: 6px; margin-bottom: 6px; }
.sv-c { padding: 4px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 600; border: 1px solid var(--border); color: var(--muted); }
.sv-c.active { background: var(--green-light); border-color: var(--green); color: #065f46; }
.sv-test-fb { font-size: 0.68rem; color: #065f46; font-weight: 600; }
.sv-print-header { font-weight: 700; color: var(--ink); font-size: 0.74rem; margin-bottom: 8px; }
.sv-print-body { padding: 6px 0; }
.sv-print-line { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 6px; }
.sv-print-line.short { width: 60%; }
.sv-print-label { font-size: 0.68rem; color: var(--muted); font-style: italic; text-align: center; margin-top: 4px; }

/* ── Guarantee v2 ── */
.guarantee-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 80px 0;
  color: #fff;
}
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.guarantee-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.guarantee-content p {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 16px;
}
.guarantee-promise {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.guarantee-promise p {
  color: #6ee7b7;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}
.guarantee-features {
  display: grid;
  gap: 16px;
}
.guarantee-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px;
}
.guarantee-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.guarantee-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.guarantee-feature p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── Coming Soon ── */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.coming-soon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.coming-soon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--accent), var(--orange));
}
.coming-soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.coming-soon-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.coming-soon-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FAQ v2 ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
  color: var(--accent);
}
.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Disclaimer ── */
.disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.footer-brand .logo span { color: #60a5fa; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}
/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1002;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 899px) {
  .hero { flex-direction: column; justify-content: center; text-align: center; }
  .hero-content { width: 100%; max-width: 640px; margin: 0 auto; padding-left: 0; text-align: center; }
  .hero h1 { text-align: center; font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-standards { justify-content: center; }
  .card-scene { left: 0; right: 0; top: 0; bottom: 0; }
  .card-scene::after { display: none; }
  .hero-overlay {
    background:
      radial-gradient(ellipse 64% 60% at 50% 46%, rgba(15,23,42,0.9), rgba(15,23,42,0.4) 74%, transparent),
      linear-gradient(to bottom, transparent 84%, #0f172a);
  }
}
@media (max-width: 768px) {
  .grade-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .header-inner { height: 60px; }
  .comparison-table { overflow-x: auto; }
  .coming-soon-grid { grid-template-columns: 1fr; }
  .two-in-one-grid { grid-template-columns: 1fr; }

  /* Card field: smaller cards on mobile */
  .tarot-card { width: 104px; height: 150px; margin-left: -52px; margin-top: -75px; }
  .tarot-title { font-size: 0.9rem; }
  .tarot-numeral { font-size: 0.6rem; margin-bottom: 8px; }
  .tarot-desc { font-size: 0.7rem; padding-top: 8px; }
  .tarot-accent { margin-bottom: 12px; }
  .tarot-front--text { padding: 16px 14px 14px; }

  /* Hamburger button */
  .hamburger { display: flex; }

  /* Header becomes full-screen overlay when menu is open */
  .site-header.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    z-index: 1000;
  }
  .site-header.menu-open .header-inner {
    height: auto;
    flex-wrap: wrap;
    align-content: flex-start;
  }

  /* Mobile nav */
  nav { display: none; flex-direction: column; align-items: center; gap: 24px; width: 100%; padding: 32px 0; }
  .site-header.menu-open nav { display: flex; }
  nav a { font-size: 1.1rem; color: var(--ink); }
  nav .btn-nav {
    margin-top: 8px;
    font-size: 1rem;
    padding: 14px 32px;
  }

  /* Mobile dropdown — always visible, no hover */
  .site-header.menu-open .nav-dropdown-menu {
    display: block !important;
    position: static;
    padding-top: 8px;
  }
  .site-header.menu-open .nav-dropdown-inner {
    box-shadow: none;
    border: 1px solid var(--border);
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }
  .site-header.menu-open .nav-label svg { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-items { flex-direction: column; gap: 12px; align-items: center; }
  .state-tabs { flex-direction: column; max-width: 100%; }
}
@media (max-width: 360px) {
  .section-header h2 { font-size: 2rem; }
}
/* ── Preloader ── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0f172a;
  display: flex; align-items: center; justify-content: center;
  perspective: 800px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  animation: plFailsafe 0.7s ease 6s forwards; /* hides it even if the script never runs */
}
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }
.preloader-card {
  position: relative;
  width: 168px; height: 236px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  transform-style: preserve-3d;
  animation: plWobble 3.4s ease-in-out infinite;
}
.preloader-card::before {
  content: ''; position: absolute; inset: 10px;
  border: 2px solid var(--accent-light); border-radius: 7px;
}
@keyframes plWobble {
  0%,100% { transform: rotateY(-15deg) rotateZ(-2deg) translateY(0); }
  50%     { transform: rotateY(15deg) rotateZ(2deg) translateY(-10px); }
}
.pl-mark { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.05em; z-index: 1; font-family: var(--font); }
.pl-mark .pl-r { color: var(--accent); }
.pl-label { font-size: 0.6rem; letter-spacing: 0.34em; color: var(--muted); z-index: 1; }
.pl-pct { font-size: 1.15rem; font-weight: 800; color: var(--ink); z-index: 1; font-variant-numeric: tabular-nums; }

/* ── Lenis smooth scroll ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── Floating CTA pill ── */
.float-cta {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px 11px 12px;
  background: rgba(15,23,42,0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px; color: #fff; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 14px 44px rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, background 0.2s ease;
  text-decoration: none;
}
.float-cta.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.float-cta:hover { background: var(--accent); border-color: var(--accent); }
.float-cta-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 900;
  transition: background 0.2s, color 0.2s;
}
.float-cta:hover .float-cta-mark { background: #fff; color: var(--accent); }
@media (max-width: 560px) { .float-cta { bottom: 16px; font-size: 0.86rem; padding: 10px 18px 10px 10px; } }

/* ── Hero fog ── */
.hero-fog { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-fog span { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.55; mix-blend-mode: screen; }
.hero-fog span:nth-child(1) { width: 480px; height: 480px; left: -6%; top: 8%;  background: radial-gradient(circle, rgba(37,99,235,0.55), transparent 70%); animation: fogA 22s ease-in-out infinite; }
.hero-fog span:nth-child(2) { width: 420px; height: 420px; right: 6%; top: 28%; background: radial-gradient(circle, rgba(16,185,129,0.4), transparent 70%);  animation: fogB 27s ease-in-out infinite; }
.hero-fog span:nth-child(3) { width: 380px; height: 380px; left: 42%; bottom: -8%; background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%); animation: fogC 31s ease-in-out infinite; }
@keyframes fogA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px,44px); } }
@keyframes fogB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-52px,32px); } }
@keyframes fogC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(34px,-42px); } }

/* ── Hero headline letter reveal ── */
.hero h1 .rl {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(3deg);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2,0.7,0.2,1);
  will-change: opacity, transform;
}
.hero h1.revealed .rl { opacity: 1; transform: none; }
.hero h1 .gradient-text.rl { display: inline; }
@media (prefers-reduced-motion: reduce) {
  .preloader-card { animation: none !important; }
  .hero-fog span { animation: none !important; }
  .hero h1 .rl { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Chapter bar ── */
.chapter-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 22px; margin-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.chapter-bar--dark { color: rgba(255,255,255,0.55); border-bottom-color: rgba(255,255,255,0.14); }

/* ── 3D scroll tilt ── */
[data-tilt] { transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden; }

/* ── Two-in-one as a panel over colour ── */
.two-in-one { background: linear-gradient(180deg, #eaf0fb 0%, #eef2f9 100%) !important; }
.two-in-one .container {
  background: var(--surface);
  border-radius: 28px;
  padding: 56px 48px 60px;
  box-shadow: 0 40px 90px rgba(15,23,42,0.14);
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .two-in-one .container { padding: 36px 20px 40px; border-radius: 20px; } }

/* ── Split display divider ── */
.split-divider {
  background: #0f172a; color: #fff;
  padding: clamp(80px, 12vw, 150px) 24px;
  overflow: hidden; position: relative;
}
.split-divider::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 40%, rgba(37,99,235,0.18), transparent 70%),
              radial-gradient(ellipse 50% 60% at 75% 70%, rgba(16,185,129,0.14), transparent 70%);
  pointer-events: none;
}
.split-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; position: relative; }
.split-word {
  font-size: clamp(2.4rem, 8vw, 6.5rem); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 0.98; font-family: var(--font);
}
.split-word.left  { align-self: flex-start; }
.split-word.right {
  align-self: flex-end;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Editorial step numbers ── */
#how-it-works .step-number { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
