:root {
  --ink: #0f1a2b;
  --ink-soft: #394255;
  --paper: #f7f3ee;
  --accent: #f2654a;
  --accent-dark: #ca402b;
  --sea: #0e5c60;
  --sea-light: #77c7c2;
  --gold: #f2c14e;
  --shadow: 0 24px 64px rgba(16, 23, 36, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f9e9d2, #f1f4f0 45%, #e9f5f4);
}

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

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

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.page::before {
  top: -220px;
  right: -120px;
}

.page::after {
  bottom: -260px;
  left: -200px;
  background: radial-gradient(circle, rgba(14, 92, 96, 0.2), transparent 70%);
}

section,
header,
footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8vw 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.brand-name {
  font-family: "Fraunces", serif;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: none;
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 8vw 60px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--sea);
  font-weight: 600;
}

h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 18px 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-light {
  background: white;
  border-color: white;
}

.btn-ghost {
  border-color: rgba(15, 26, 43, 0.2);
  background: transparent;
}

.hero-meta {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  position: relative;
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--sea);
}

.card-main {
  background: var(--paper);
  padding: 20px;
  border-radius: var(--radius-md);
}

.card-phrase {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

.card-meaning {
  color: var(--ink-soft);
  margin-top: 6px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-tags span {
  background: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid #d9dde6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sea-light);
  box-shadow: 0 0 0 0 rgba(119, 199, 194, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(119, 199, 194, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(119, 199, 194, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(119, 199, 194, 0);
  }
}

.social-proof {
  padding: 10px 8vw 50px;
  text-align: center;
  color: var(--ink-soft);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 70px 8vw;
}

.split h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.checklist {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.how-steps {
  display: grid;
  gap: 18px;
}

.step {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.step span {
  color: var(--sea);
  font-weight: 700;
}

.features {
  padding: 70px 8vw;
}

.section-head {
  max-width: 620px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-grid article {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.pricing {
  padding: 70px 8vw;
}

.pricing-head {
  max-width: 620px;
}

.pricing-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pricing-plan {
  background: white;
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.pricing-plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-plan li::before {
  content: "•";
  margin-right: 8px;
  color: var(--sea);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.pill.highlight {
  background: rgba(242, 101, 74, 0.15);
  color: var(--accent-dark);
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
}

.plan-cycle {
  font-size: 1rem;
  color: var(--ink-soft);
}

.plan-alt {
  color: var(--ink-soft);
  font-weight: 600;
}

.plan-highlight {
  background: linear-gradient(135deg, rgba(242, 101, 74, 0.12), rgba(14, 92, 96, 0.12));
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink);
}

.pricing-plan.featured {
  border: 2px solid rgba(242, 101, 74, 0.4);
  background: linear-gradient(135deg, #fff5e8, #ffffff);
}

.pricing-contrast {
  background: white;
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-grid div {
  background: var(--paper);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-grid strong {
  font-size: 1.4rem;
  display: block;
}

.testimonials {
  padding: 70px 8vw;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.testimonial-grid article {
  background: white;
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.testimonial-grid span {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.register {
  padding: 70px 8vw;
}

.register-card {
  background: linear-gradient(135deg, #0e5c60, #123146);
  color: white;
  padding: 36px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-shadow: var(--shadow);
}

.register-form {
  display: grid;
  gap: 14px;
}

.register-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.register-form input,
.register-form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.currency {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px;
  border-radius: 12px;
  display: grid;
  gap: 10px;
}

.currency legend {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.currency label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-success {
  display: none;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.form-error {
  display: none;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffe7df;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.faq {
  padding: 70px 8vw 90px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.faq-grid article {
  background: white;
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.footer {
  padding: 30px 8vw 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-note {
  font-weight: 600;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    right: 8vw;
    top: 70px;
    background: white;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 14px;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
