@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --ink: #0a1f17;
  --brand: #0f4c3a;
  --brand-hover: #0c3d2e;
  --accent: #d8e9d0;
  --muted: #5a6a63;
  --hairline: #e6ece8;

  --shadow-sm: 0 1px 2px rgba(10, 31, 23, 0.04), 0 1px 1px rgba(10, 31, 23, 0.03);
  --shadow-md: 0 8px 24px rgba(10, 31, 23, 0.08);
  --shadow-nav: 0 2px 12px rgba(10, 31, 23, 0.06);

  --radius-card: 16px;
  --radius-pill: 999px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-nav);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark:hover {
  text-decoration: none;
}

.brand-mark span {
  color: var(--brand);
}

.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  margin-right: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  user-select: none;
}

.lang-toggle .lang-current {
  color: var(--ink);
  font-weight: 600;
}

.lang-toggle .lang-sep {
  color: var(--hairline);
}

.lang-toggle a.lang-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s ease;
}

.lang-toggle a.lang-link:hover {
  color: var(--brand);
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--brand-hover);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

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

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

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 15px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 auto 24px;
  max-width: 880px;
  color: var(--ink);
}

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

.hero p.lede {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 24px;
}

.hero .lede-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 auto 16px;
  letter-spacing: 0.01em;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-bullets {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: linear-gradient(180deg, #e7f3df 0%, #d8e9d0 100%);
}

.hero-bullets li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Value grid ---------- */

.value {
  padding: 32px 0 96px;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
  }
}

.card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.card.card-feature {
  background: linear-gradient(180deg, #ffffff 0%, #fafdf9 100%);
}

.card.card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 12px;
}

.price-then {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

.price-suffix {
  font-size: 0.4em;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.benefit-text {
  flex: 1;
}

.benefit-title {
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}

.benefit-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Showcase ---------- */

.showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9f1 50%, #ffffff 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 64px 0;
}

.showcase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.showcase-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.showcase-caption {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
}

.showcase-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 24px;
}

@media (max-width: 639px) {
  .showcase {
    padding: 48px 0;
  }

  .showcase-image {
    max-width: 320px;
  }
}

/* ---------- How it works ---------- */

.how {
  position: relative;
  background: linear-gradient(180deg, #f4f9f1 0%, #ffffff 100%);
  border-top: 1px solid var(--hairline);
  padding: 96px 0 112px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.step {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  flex: 0 0 44px;
  box-shadow: 0 6px 16px rgba(15, 76, 58, 0.18);
}

.step-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.step-text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brand);
}

/* ---------- Join page ---------- */

.join-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--brand);
  text-decoration: none;
}

.join-shell h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}

.join-shell .lede {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 560px;
}

.tally-frame {
  width: 100%;
  min-height: 600px;
  border: 0;
  background: transparent;
  display: block;
}

.embed-placeholder {
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-card);
  padding: 48px 32px;
  background: #fafdf9;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.embed-placeholder code {
  background: var(--accent);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Thanks page ---------- */

.thanks-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.thanks-shell .check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}

.thanks-shell h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.thanks-shell p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 32px;
}

/* ---------- Mobile tweaks ---------- */

@media (max-width: 639px) {
  .hero {
    padding: 64px 0 56px;
  }

  .value {
    padding: 16px 0 64px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 340px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .nav-inner {
    padding: 12px 16px;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
  }

  .card {
    padding: 28px 24px;
  }
}
