:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-alt: #f7fbff;
  --text: #1e293b;
  --muted: #475569;
  --primary: #f97316;
  --primary-hover: #ea580c;
  --border: #e2e8f0;
  --radius: 20px;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0 0 12px;
  font-family: 'Varela Round', sans-serif;
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; line-height: 1.7; color: var(--muted); }

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 72px 0; }
.accent { background: var(--surface-alt); }
.mt-24 { margin-top: 24px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(255, 248, 241, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Varela Round', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -120px auto auto -80px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.35), rgba(249, 115, 22, 0)),
    radial-gradient(circle at 70% 70%, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0));
  filter: blur(8px);
  animation: hero-float 10s ease-in-out infinite alternate;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-weight: 700;
  font-size: 0.86rem;
}

.lead {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 1.06rem;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
}

.btn-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.trust-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  color: #334155;
}

.image-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-image {
  transform-origin: center;
}

.cards {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.steps {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.plan-card.featured {
  border-color: #f97316;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.16);
}

.plan-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-sub,
.plan-note,
.pricing-note {
  color: var(--muted);
  font-size: 0.96rem;
}

.price-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed #e5e7eb;
  padding-bottom: 8px;
}

.price-list strong,
.price-main {
  color: #0f172a;
  font-weight: 800;
}

.subscription-row {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 10px;
  background: #f8fafc;
}

.price-main {
  font-size: 1.35rem;
  line-height: 1.2;
}

.price-main span {
  font-size: 0.88rem;
  margin-left: 4px;
  color: #475569;
  font-weight: 700;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  background: #eff6ff;
  color: #1e3a8a;
}

.compare-table tbody th {
  color: #334155;
  font-weight: 700;
}

.pricing-note {
  margin-top: 10px;
}

.narrow { width: min(900px, calc(100% - 32px)); }

.faq {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 8px;
}

.final-cta {
  margin-top: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.final-cta .btn { margin-top: 14px; }

.footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.btn:focus-visible,
summary:focus-visible,
a:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preload .hero-enter {
  opacity: 0;
}

.hero-enter {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-enter 420ms ease-out forwards;
  animation-delay: var(--hero-delay, 0ms);
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(22px, -12px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-8px, 18px, 0) scale(0.98);
  }
}

@media (max-width: 1024px) {
  .container { width: min(1200px, calc(100% - 40px)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-glow {
    width: 320px;
    height: 320px;
    inset: -80px auto auto -60px;
  }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .container,
  .narrow { width: min(1200px, calc(100% - 24px)); }
  .cards.three,
  .steps { grid-template-columns: 1fr; }
  .btn {
    width: 100%;
    min-height: 48px;
  }
  .cta-row { width: 100%; }
  .compare-table {
    min-width: 560px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .hero-enter {
    opacity: 1 !important;
    transform: none !important;
  }
}
