:root {
  --bg: #f3f7f4;
  --bg-deep: #e7f0ea;
  --ink: #10231c;
  --muted: #5b6f66;
  --line: rgba(16, 35, 28, 0.12);
  --teal: #0f766e;
  --teal-deep: #115e59;
  --sand: #d8ebe3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 35, 28, 0.08);
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 118, 110, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(45, 90, 70, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 244, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-nav.is-solid {
  border-bottom-color: var(--line);
  background: rgba(243, 247, 244, 0.92);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 35, 28, 0.06);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 70px 1rem auto;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(16, 35, 28, 0.05);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline {
  width: 100%;
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Hero — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 35, 28, 0.25) 0%, rgba(16, 35, 28, 0.55) 45%, rgba(16, 35, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(16, 35, 28, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto 0 8vw;
  padding: 7.5rem 0 4.5rem;
  color: #fff;
  animation: heroRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.brand-mark-logo {
  width: clamp(52px, 8vw, 72px);
  height: clamp(52px, 8vw, 72px);
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 36ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

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

.section {
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.feature-block {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));
}

.feature-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.included-panel {
  margin-top: 2.25rem;
  padding: 1.75rem 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
}

.included-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.included-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
}

.included-grid li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.included-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.why {
  background: linear-gradient(180deg, transparent, rgba(15, 118, 110, 0.06) 40%, transparent);
}

.why-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.75rem;
}

.why-item {
  padding-top: 0.25rem;
}

.why-num {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.why-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34ch;
}

.how {
  background: linear-gradient(180deg, transparent, var(--bg-deep) 30%, var(--bg-deep));
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--teal);
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  background: var(--bg-deep);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.05rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-free {
  background: linear-gradient(160deg, #ecfdf5 0%, #6ee7b7 100%);
  border-color: #10b981;
  color: #064e3b;
}

.price-free:hover {
  border-color: #059669;
}

.price-free .quota,
.price-free small,
.price-free ul {
  color: #047857;
}

.price-free li {
  border-top-color: rgba(6, 78, 59, 0.15);
}

.price-starter {
  background: linear-gradient(160deg, #ecfeff 0%, #22d3ee 100%);
  border-color: #06b6d4;
  color: #083344;
}

.price-starter:hover {
  border-color: #0891b2;
}

.price-starter .quota,
.price-starter small,
.price-starter ul {
  color: #0e7490;
}

.price-starter li {
  border-top-color: rgba(8, 51, 68, 0.15);
}

.price-card-featured,
.price-growing {
  background: linear-gradient(165deg, #042f2e 0%, #0f766e 55%, #14b8a6 100%);
  color: #fff;
  border-color: #134e4a;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
}

.price-card-featured .quota,
.price-card-featured ul,
.price-card-featured small,
.price-growing .quota,
.price-growing ul,
.price-growing small {
  color: rgba(255, 255, 255, 0.88);
}

.price-growing li {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.price-premium {
  background: linear-gradient(160deg, #fff7ed 0%, #fb923c 100%);
  border-color: #f97316;
  color: #7c2d12;
}

.price-premium:hover {
  border-color: #ea580c;
}

.price-premium .quota,
.price-premium small,
.price-premium ul {
  color: #c2410c;
}

.price-premium li {
  border-top-color: rgba(124, 45, 18, 0.15);
}

.price-unlimited {
  background: linear-gradient(160deg, #eff6ff 0%, #3b82f6 100%);
  border-color: #2563eb;
  color: #1e3a8a;
}

.price-unlimited:hover {
  border-color: #1d4ed8;
}

.price-unlimited .quota,
.price-unlimited small,
.price-unlimited ul {
  color: #1d4ed8;
}

.price-unlimited li {
  border-top-color: rgba(30, 58, 138, 0.15);
}

.plan-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ccfbf1;
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price span {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
}

.quota {
  margin: 0;
  font-weight: 600;
  color: var(--teal-deep);
}

.price-card ul {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card li {
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}

.price-card-featured li {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.price-card .btn {
  margin-top: auto;
}

.price-card-featured .btn-primary {
  background: #fff;
  color: var(--teal-deep);
}

.price-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  padding-bottom: 5rem;
}

.cta-inner {
  padding: 3rem 2rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff, #eef6f1);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-inner h2 {
  margin: 0 auto;
  max-width: 16ch;
}

.cta-inner > p {
  margin: 0.9rem auto 0;
  max-width: 42ch;
  color: var(--muted);
}

.cta-inner .hero-cta {
  justify-content: center;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #0f1f1a;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 9px;
  background: #fff;
}

.footer-copy {
  margin: 0.5rem 0 0;
  max-width: 28ch;
}

.footer-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  max-width: 68ch;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .feature-rail {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-rail {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .how-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

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

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 3.5rem;
  }

  .feature-rail,
  .included-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
