:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-mid: #334155;
  --gray: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --pro-gold: #fbbf24;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --nav-h: 3.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray) 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav-brand img {
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 520px) {
  .nav-links a:not(:last-child) {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1e3a5f 100%);
  color: var(--white);
  padding: 3rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90vw);
  height: 280px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  color: var(--gray-50);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  animation: float-logo 4s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-eyebrow {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* —— Highlight strip —— */
.strip {
  max-width: 960px;
  margin: -2rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 1rem 1.25rem;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  color: var(--muted);
}

.strip-list strong {
  color: var(--navy);
}

/* —— Layout —— */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

main.legal-main {
  max-width: 760px;
  margin-top: -2rem;
}

.section {
  margin-bottom: 3rem;
}

#features {
  padding-top: 1.5rem;
}

.section-alt {
  background: var(--white);
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 2.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

/* —— Feature grid —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

/* —— Pro section —— */
.pro-section {
  margin-top: 1rem;
}

.card-pro {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a5f 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.card-pro::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.card-pro h2,
.card-pro .pro-tagline,
.card-pro .pro-note {
  position: relative;
}

.pro-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pro-gold), #f59e0b);
  color: var(--navy);
  border-radius: 6px;
}

.card-pro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pro-tagline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
}

.pricing-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.price-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
  padding: 0.875rem 1.125rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.price-chip-featured {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

.price-badge {
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pro-gold);
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.price-period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.price-note {
  width: 100%;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.pro-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.pro-features-heading {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.pro-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.pro-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.pro-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* —— Compare table —— */
.compare h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--navy);
  text-align: center;
}

.compare-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray);
  border-radius: 10px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  align-items: center;
  border-bottom: 1px solid var(--gray);
  background: var(--white);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-header {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--navy);
}

.compare-row [role="rowheader"] {
  font-weight: 600;
  color: var(--navy);
}

.col-pro {
  color: var(--accent);
  font-weight: 600;
}

.compare-row .check {
  color: #16a34a;
  font-weight: 700;
  text-align: center;
}

.compare-row .dash {
  color: var(--muted);
  text-align: center;
}

.compare-footnote {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* —— Steps —— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 32rem;
  margin-inline: auto;
}

.steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray);
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.steps p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

/* —— Cards & download —— */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.download-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

  .compare-row {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}

.store-block {
  text-align: center;
  padding: 1.25rem;
  border: 1px solid var(--gray);
  border-radius: 10px;
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-block:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.store-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--navy);
}

.store-block img.qr {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  background: var(--white);
}

.store-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.store-link-disabled {
  color: var(--muted);
  pointer-events: none;
  cursor: default;
}

.store-soon {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--gray);
  background: var(--white);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  font-weight: 600;
}

/* —— Legal pages (privacy) —— */
header.compact {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
}

header.compact img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
}

header.compact h1 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.back-link {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.legal-doc .doc-title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.legal-doc .doc-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.legal-doc h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.legal-doc h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.legal-doc p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal-doc p strong {
  color: var(--navy);
}

.legal-doc ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.legal-doc .spacer {
  height: 0.75rem;
}

.legal-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.legal-table-card {
  border: 1px solid var(--gray);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  background: var(--gray-100);
}

.legal-table-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.legal-table-card dt {
  margin: 0.5rem 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal-table-card dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Legacy list (if used elsewhere) */
ul.features {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}
