:root {
  --bg: #fff7ea;
  --bg-card: #ffffff;
  --ink: #1c1a16;
  --muted: #6b6459;
  --border: #ecdfc3;

  --blue: #2f6feb;
  --blue-tint: #e8f0ff;
  --coral: #ff5c46;
  --coral-tint: #ffe9e3;
  --yellow: #f5b400;
  --yellow-tint: #fff2cf;
  --olive: #4f7a41;
  --olive-tint: #e9f1e1;

  --max-w: 1080px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.center {
  text-align: center;
}

/* Eyebrow label */

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.eyebrow.center {
  display: block;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo svg {
  width: 30px;
  height: 30px;
  flex: none;
}

/* Buttons */

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 92, 70, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--blue);
  background: var(--blue-tint);
}

/* Decorative gradient blobs */

.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .blob {
    animation: float 14s ease-in-out infinite;
  }
  .blob-2 {
    animation-duration: 18s;
    animation-direction: reverse;
  }
  .blob-3 {
    animation-duration: 22s;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-14px, 18px);
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 56px 24px 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}

.hero .blob-1 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  top: 30px;
  right: -70px;
  opacity: 0.5;
}

.hero .blob-2 {
  width: 230px;
  height: 230px;
  background: var(--coral);
  bottom: 10px;
  right: 200px;
  opacity: 0.35;
}

.hero .blob-3 {
  width: 190px;
  height: 190px;
  background: var(--yellow);
  top: 180px;
  left: -70px;
  opacity: 0.45;
}

.hero > *:not(.blob) {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 .accent {
  color: var(--coral);
}

.hero p.sub {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 46ch;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Features */

.features {
  padding: 48px 24px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 8px 12px;
  text-align: center;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

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

/* Comparison table */

.compare {
  padding: 64px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.compare h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.compare p.lead {
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 52ch;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

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

.compare-table th,
.compare-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  font-weight: 700;
  padding-top: 22px;
  font-size: 0.95rem;
}

.compare-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.compare-table .row-label {
  background: transparent;
}

.highlight-col {
  background: var(--yellow-tint);
  font-weight: 700;
  color: var(--ink);
}

.compare-table thead th.highlight-col {
  border-radius: 12px 12px 0 0;
  color: var(--ink);
}

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.ico svg {
  width: 15px;
  height: 15px;
}

.ico-yes {
  background: var(--olive-tint);
  color: var(--olive);
}

.ico-no {
  background: #f1ece2;
  color: var(--muted);
}

.cell-text {
  font-size: 0.88rem;
  color: var(--muted);
}

.highlight-col .cell-text {
  color: var(--ink);
  font-weight: 700;
}

.footnote {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 20px;
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 24px;
  max-width: var(--max-w);
  margin: 24px auto 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-band .blob-4 {
  width: 360px;
  height: 360px;
  background: var(--blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.22;
}

.cta-band > *:not(.blob) {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px 40px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Notify page */

.notify-main {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.notify-main .blob-1 {
  width: 300px;
  height: 300px;
  background: var(--coral);
  top: -100px;
  left: -80px;
}

.notify-main .blob-2 {
  width: 260px;
  height: 260px;
  background: var(--blue);
  bottom: -100px;
  right: -60px;
}

.notify-card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.notify-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.notify-card p {
  color: var(--muted);
  margin: 0 0 28px;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notify-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.notify-form input[type="email"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.message {
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 0.95rem;
  text-align: left;
}

.message.success {
  background: var(--olive-tint);
  border: 1px solid var(--olive);
  color: #3a5c30;
}

.message.error {
  background: var(--coral-tint);
  border: 1px solid var(--coral);
  color: #b8371f;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
}

.hidden {
  display: none;
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
  }
  .cta-row .btn {
    text-align: center;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .compare-table {
    min-width: 480px;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
  .notify-card {
    padding: 32px 22px;
  }
}
