:root {
  --paper: #f6f0d7;
  --sage-1: #c5d89d;
  --sage-2: #9cab84;
  --sage-3: #89986d;
  --ink: #25301a;
  --ink-soft: rgba(37, 48, 26, 0.74);
  --surface: rgba(255, 252, 243, 0.74);
  --surface-strong: #fffaf0;
  --border: rgba(37, 48, 26, 0.14);
  --shadow-soft: 0 24px 60px rgba(58, 69, 43, 0.12);
  --shadow-card: 0 12px 32px rgba(58, 69, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(197, 216, 157, 0.6) 0, rgba(197, 216, 157, 0) 26%),
    radial-gradient(circle at top right, rgba(137, 152, 109, 0.24) 0, rgba(137, 152, 109, 0) 22%),
    linear-gradient(180deg, #f8f3df 0%, #f6f0d7 100%);
}

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

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

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0);
}

.page-shell::before {
  top: 120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: rgba(156, 171, 132, 0.25);
}

.page-shell::after {
  top: 840px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: rgba(197, 216, 157, 0.22);
}

.custom-container {
  max-width: 1220px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 240, 215, 0.78);
  border-bottom: 1px solid rgba(37, 48, 26, 0.08);
}

.navbar {
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-mark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-link {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 8px 0;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--ink);
}

.nav-cta {
  margin-top: 10px;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-brand {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #f8f4e4;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #1d2615;
  border-color: #1d2615;
  color: #fffdf5;
}

.btn-outline-brand {
  border: 1px solid rgba(37, 48, 26, 0.2);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.64);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: rgba(255, 250, 240, 1);
  border-color: rgba(37, 48, 26, 0.34);
  color: var(--ink);
}

.btn-xl {
  padding: 15px 24px;
  font-size: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(37, 48, 26, 0.08);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(37, 48, 26, 0.78);
}

.hero-section {
  padding: 86px 0 70px;
}

.hero-grid {
  row-gap: 40px;
}

.hero-title {
  max-width: 640px;
  margin: 22px 0 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.96;
  font-weight: 800;
}

.hero-copy,
.section-copy,
.plan-copy,
.cta-copy,
.accordion-body,
.story-card p,
.feature-card p,
.feature-spotlight p,
.step-body p {
  font-size: 18px;
  line-height: 30px;
  color: var(--ink-soft);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  gap: 14px;
  margin-bottom: 34px;
}

.hero-command {
  max-width: 520px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(37, 48, 26, 0.08);
  box-shadow: var(--shadow-card);
}

.hero-command-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(37, 48, 26, 0.58);
}

.hero-command-code {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.hero-proof {
  max-width: 700px;
}

.proof-chip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 124px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid rgba(37, 48, 26, 0.09);
  box-shadow: var(--shadow-card);
}

.proof-value {
  font-size: 28px;
  font-weight: 800;
}

.proof-label {
  font-size: 14px;
  color: var(--ink-soft);
}

.terminal-frame,
.story-card,
.feature-card,
.feature-spotlight,
.builder-step,
.plan-card,
.quote-panel,
.cta-panel,
.custom-accordion .accordion-item {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(37, 48, 26, 0.08);
  box-shadow: var(--shadow-soft);
}

.terminal-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.terminal-topbar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(27, 35, 18, 0.96);
}

.terminal-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(246, 240, 215, 0.64);
}

.terminal-media-wrap {
  background: rgba(27, 35, 18, 0.98);
}

.terminal-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 13;
  object-fit: cover;
}

.pain-section,
.feature-section,
.builder-section,
.plans-section,
.faq-section,
.cta-section {
  padding: 40px 0 90px;
}

.quote-section {
  padding: 10px 0 90px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title {
  margin-top: 18px;
  margin-bottom: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.story-card,
.feature-card,
.builder-step {
  border-radius: 28px;
  padding: 28px;
  height: 100%;
}

.story-index {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(37, 48, 26, 0.52);
}

.story-card h3,
.feature-card h3,
.feature-spotlight h3,
.step-body h3,
.plan-card h3 {
  margin-bottom: 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.feature-layout {
  display: grid;
  gap: 22px;
}

.feature-spotlight {
  border-radius: 34px;
  padding: 32px;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.spotlight-tag,
.spotlight-meta,
.plan-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.spotlight-tag {
  background: var(--sage-1);
  color: var(--ink);
}

.spotlight-meta {
  background: rgba(137, 152, 109, 0.16);
  color: rgba(37, 48, 26, 0.76);
}

.builder-experience {
  display: block;
}

.builder-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.builder-tab {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 12px;
  width: 100%;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(37, 48, 26, 0.08);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.builder-tab:hover,
.builder-tab:focus {
  transform: translateY(-2px);
  border-color: rgba(37, 48, 26, 0.18);
}

.builder-tab.is-active {
  background: rgba(197, 216, 157, 0.3);
  border-color: rgba(137, 152, 109, 0.34);
  box-shadow: 0 18px 34px rgba(58, 69, 43, 0.12);
}

.builder-tab-index {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(37, 48, 26, 0.08);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.builder-tab.is-active .builder-tab-index {
  background: linear-gradient(145deg, #9cab84 0%, #89986d 100%);
  color: #fffdf6;
}

.builder-tab-copy {
  display: grid;
  gap: 4px;
  align-content: start;
}

.builder-tab-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  line-height: 24px;
  font-weight: 700;
}

.builder-tab-meta {
  font-size: 13px;
  line-height: 18px;
  color: rgba(37, 48, 26, 0.62);
}

.plan-toggle {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid rgba(37, 48, 26, 0.08);
}

.toggle-chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(37, 48, 26, 0.68);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.toggle-chip:hover,
.toggle-chip:focus {
  color: var(--ink);
}

.toggle-chip.is-active {
  background: var(--ink);
  color: #fffdf6;
}

.plan-column.is-muted {
  opacity: 0.34;
  transform: scale(0.98);
}

.plan-column {
  transition: opacity 220ms ease, transform 220ms ease;
}

.plan-card {
  border-radius: 34px;
  padding: 30px;
  height: 100%;
}

.plan-card-free {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.84) 0%, rgba(255, 250, 240, 0.72) 100%);
}

.plan-card-premium {
  background:
    linear-gradient(180deg, rgba(156, 171, 132, 0.24) 0%, rgba(255, 250, 240, 0.72) 100%);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 16px;
}

.plan-pill {
  margin-bottom: 16px;
  background: rgba(37, 48, 26, 0.08);
  color: var(--ink);
}

.premium-pill {
  background: rgba(137, 152, 109, 0.2);
}

.plan-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.plan-list {
  margin: 0;
  padding-left: 18px;
}

.plan-list li {
  padding-bottom: 12px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 28px;
}

.plan-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 24px;
  color: rgba(37, 48, 26, 0.62);
}

.quote-panel {
  border-radius: 34px;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(137, 152, 109, 0.18) 0%, rgba(255, 250, 240, 0.84) 100%);
}

.quote-copy {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 700;
}

.custom-accordion .accordion-item {
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 16px;
}

.custom-accordion .accordion-button {
  box-shadow: none;
  background: rgba(255, 250, 240, 0.8);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  padding: 24px 24px;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: rgba(197, 216, 157, 0.22);
}

.custom-accordion .accordion-body {
  padding: 24px 24px 24px;
}

.cta-panel {
  border-radius: 38px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88) 0%, rgba(197, 216, 157, 0.32) 100%);
}

.cta-title {
  margin: 18px 0 16px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  font-weight: 800;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid rgba(37, 48, 26, 0.1);
  font-size: 14px;
  font-weight: 700;
}

.cta-link:hover,
.cta-link:focus {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
}

.cta-form .form-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(37, 48, 26, 0.68);
}

.cta-form .form-control {
  min-height: 60px;
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(37, 48, 26, 0.12);
  background: rgba(255, 252, 245, 0.84);
  padding-left: 22px;
  font-size: 16px;
  box-shadow: none;
}

.cta-form .form-control:focus {
  border-color: rgba(37, 48, 26, 0.28);
}

.cta-form .btn {
  min-width: 164px;
  border-radius: 0 999px 999px 0;
}

.form-feedback {
  min-height: 26px;
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(37, 48, 26, 0.72);
}

.form-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 22px;
  color: rgba(37, 48, 26, 0.54);
}

.site-footer {
  padding: 0 0 36px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(37, 48, 26, 0.08);
}

.footer-brand,
.footer-copy,
.footer-meta {
  margin: 0;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
}

.footer-copy,
.footer-meta {
  font-size: 14px;
  color: rgba(37, 48, 26, 0.64);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .nav-cta {
    margin-top: 12px;
  }

  .hero-section {
    padding-top: 56px;
  }

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

@media (max-width: 767px) {
  .custom-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-copy,
  .section-copy,
  .plan-copy,
  .cta-copy,
  .accordion-body,
  .story-card p,
  .feature-card p,
  .feature-spotlight p,
  .step-body p {
    font-size: 16px;
    line-height: 28px;
  }

  .terminal-media {
    aspect-ratio: auto;
  }

  .builder-tab {
    grid-template-rows: auto 1fr;
    min-height: 0;
    padding: 14px;
  }

  .builder-tab-index {
    width: 52px;
    height: 52px;
  }

  .builder-tab-title {
    font-size: 19px;
    line-height: 22px;
  }

  .builder-rail {
    grid-template-columns: 1fr;
  }

  .plan-header,
  .footer-row {
    flex-direction: column;
    align-items: start;
  }

  .cta-panel,
  .quote-panel,
  .feature-spotlight,
  .plan-card,
  .story-card,
  .feature-card,
  .builder-step {
    padding: 24px;
  }

  .cta-form .input-group {
    display: block;
  }

  .cta-form .form-control,
  .cta-form .btn {
    width: 100%;
    border-radius: 999px;
  }

  .cta-form .btn {
    margin-top: 12px;
    min-height: 54px;
  }
}
