:root {
  --bg: #eef3f6;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --card-alt: #eef6f4;
  --border: #e1e8ed;
  --text: #0b1620;
  --text-dim: #4b5b63;
  --text-faint: #7c8b93;
  --primary: #0d9488;
  --primary-dark: #0b7d73;
  --primary-dim: #d7f0ec;
  --accent: #14b8a6;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a { color: inherit; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 243, 246, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

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

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.pill-btn:active { transform: scale(0.97); }

.pill-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.55);
}

.pill-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(13, 148, 136, 0.6);
}

.pill-btn.ghost {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

.pill-btn.muted {
  background: var(--card-alt);
  color: var(--text-faint);
  cursor: default;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(20, 184, 166, 0.16), transparent 70%),
    linear-gradient(180deg, #f6faf9 0%, var(--bg) 60%);
}

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

.hero-blob.one {
  width: 420px;
  height: 420px;
  background: rgba(20, 184, 166, 0.22);
  top: -140px;
  left: -120px;
}

.hero-blob.two {
  width: 360px;
  height: 360px;
  background: rgba(13, 148, 136, 0.16);
  top: 60px;
  right: -140px;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-icon-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 32px -12px rgba(13, 148, 136, 0.45), 0 0 0 1px rgba(255,255,255,0.6) inset;
}

.hero-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.94;
  color: var(--text);
}

.hero .sub {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  margin: 22px auto 0;
  max-width: 620px;
  color: var(--text);
}

.hero p.desc {
  max-width: 480px;
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: 16px;
}

.hero .cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
}

.hero-visual {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(11, 125, 115, 0.28));
  animation: float 5s ease-in-out infinite;
}

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

/* ---------- Sections ---------- */
section.block {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.two-col .body-copy {
  color: var(--text-dim);
  font-size: 16px;
}

.quote {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -18px rgba(11, 22, 32, 0.18);
  border-color: rgba(13, 148, 136, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-dim);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--text-faint);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step {
  text-align: left;
}

.step .num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--primary-dim);
  -webkit-text-stroke: 1.5px var(--primary);
}

.step h3 { margin: 8px 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--text-faint); font-size: 13.5px; }

/* ---------- Pricing teaser ---------- */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -18px rgba(11, 22, 32, 0.16);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 30px -16px rgba(13, 148, 136, 0.35);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card .plan-name { font-weight: 800; font-size: 14px; color: var(--text-dim); }
.price-card .plan-detail { margin-top: 8px; font-size: 12.5px; color: var(--text-faint); }

/* ---------- CTA / footer ---------- */
.cta-final {
  text-align: center;
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #e4f2ef 100%);
}

.cta-final h2 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 8px;
}

.cta-final p { color: var(--text-dim); margin-bottom: 28px; }

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-tagline {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 8px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 700;
}

.footer-links a { text-decoration: none; color: var(--text-dim); }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Legal pages ---------- */
.legal-header {
  padding: 64px 0 24px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 8px 0 6px;
}

.legal-updated {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}

.legal-body {
  padding: 48px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 19px;
  margin: 40px 0 12px;
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-body ul { padding-left: 20px; }
.legal-body strong { color: var(--text); }

.legal-body a.inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.legal-body a.inline-link:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
}
