:root {
  --ink: #17211c;
  --muted: #66736d;
  --line: #dfe6e0;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #1d6a4f;
  --green-dark: #0e4433;
  --mint: #d8f0df;
  --sky: #dceafb;
  --coral: #ef795e;
  --yellow: #f6cf67;
  --shadow: 0 24px 80px rgba(23, 33, 28, 0.13);
  --soft-shadow: 0 16px 36px rgba(23, 33, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(29, 106, 79, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 106, 79, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 68px 68px;
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(23, 33, 28, 0.12);
  background: rgba(251, 252, 248, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.brand-mark {
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-copy {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.nav-links a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 42px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 4.5rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 2rem;
}

h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 14px 28px rgba(14, 68, 51, 0.22);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.full {
  width: 100%;
}

.hero-console {
  overflow: hidden;
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.console-header {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f1;
}

.console-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.console-header span:nth-child(2) {
  background: var(--yellow);
}

.console-header span:nth-child(3) {
  background: var(--green);
}

.console-body {
  padding: 18px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.price-line + .price-line {
  margin-top: 12px;
}

.price-line.active {
  border-color: rgba(29, 106, 79, 0.38);
  background: var(--mint);
}

.price-line strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.4rem;
}

.price-line span,
.price-line small {
  color: var(--muted);
  font-weight: 800;
}

.price-line small {
  align-self: center;
  text-align: right;
}

.mini-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.mini-flow b {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--coral));
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading.compact {
  max-width: 820px;
  margin-bottom: 28px;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.demo-tab {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.demo-tab.active {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.demo-panel {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 26px;
  align-items: stretch;
}

.demo-panel.active {
  display: grid;
}

.browser-preview,
.funnel-preview,
.panel-copy,
.signup-form,
.database-panel,
.notification-panel,
.decision-list > div {
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.browser-preview {
  overflow: hidden;
  max-height: 680px;
}

.browser-bar {
  display: grid;
  grid-template-columns: 12px 12px 12px 1fr;
  gap: 8px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f7faf4;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-bar span:nth-child(2) {
  background: var(--yellow);
}

.browser-bar span:nth-child(3) {
  background: var(--green);
}

.browser-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.browser-preview img {
  width: 100%;
  height: 628px;
  object-fit: cover;
  object-position: top center;
}

.panel-copy {
  padding: 30px;
}

.option-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-copy p {
  color: var(--muted);
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding-left: 20px;
}

.flow-list li {
  padding-left: 4px;
  color: var(--muted);
}

.flow-list strong {
  color: var(--ink);
}

.scope-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
}

.scope-box.accent {
  border-color: rgba(239, 121, 94, 0.36);
  background: #fff4ef;
}

.scope-box p {
  margin-bottom: 0;
}

.funnel-preview {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 34px minmax(190px, 1.1fr) 34px minmax(170px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 20px;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(220, 234, 251, 0.72), rgba(216, 240, 223, 0.82)),
    var(--white);
}

.site-card,
.sheet-card,
.mail-card {
  border: 1px solid rgba(23, 33, 28, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(23, 33, 28, 0.1);
}

.site-card {
  padding: 22px;
}

.site-eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-card h3 {
  font-size: 1.85rem;
}

.site-card p {
  color: var(--muted);
}

.fake-field,
.fake-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.fake-field {
  border: 1px solid var(--line);
  color: #88948f;
  background: var(--white);
}

.fake-button {
  justify-content: center;
  color: var(--white);
  background: var(--green-dark);
}

.flow-arrow {
  color: var(--green-dark);
  font-size: 1.7rem;
  font-weight: 900;
  text-align: center;
}

.sheet-card {
  overflow: hidden;
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--green-dark);
  color: var(--white);
}

.sheet-top span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
}

.sheet-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.sheet-row.head {
  color: var(--ink);
  background: #f8faf5;
}

.mail-card {
  padding: 20px;
}

.mail-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  width: 100%;
  max-width: none;
  padding: 86px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, rgba(29, 106, 79, 0.1), rgba(220, 234, 251, 0.58));
}

.live-demo {
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(390px, 1.2fr) minmax(260px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.signup-form,
.database-panel,
.notification-panel {
  padding: 22px;
}

.form-head span,
.panel-top span,
.mail-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.signup-form h3,
.database-panel h3,
.notification-panel h3 {
  font-size: 1.55rem;
}

label {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(29, 106, 79, 0.12);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.panel-top strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 0.86rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.88rem;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--green-dark);
  background: #f2f8f1;
  font-size: 0.8rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-weight: 700;
}

tbody tr:first-child td {
  color: var(--ink);
  background: #fff9ea;
}

.notification-panel {
  position: relative;
}

.notification-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 8px 0 0 8px;
  background: var(--coral);
}

.mail-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.mail-meta strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.notification-panel p {
  color: var(--muted);
}

.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.next-actions span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

.platform {
  padding-bottom: 96px;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.decision-list > div {
  min-height: 154px;
  padding: 20px;
}

.decision-list strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
}

.decision-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--green-dark);
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 34px;
  border-top: 1px solid rgba(23, 33, 28, 0.12);
  color: var(--muted);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
    min-height: auto;
    padding: 18px 22px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .demo-panel,
  .live-demo,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .funnel-preview {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    display: grid;
    gap: 2px;
  }

  .brand-copy {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-actions,
  .demo-tabs {
    display: grid;
  }

  .price-line,
  .panel-top,
  .mail-meta {
    display: grid;
  }

  .price-line small {
    text-align: left;
  }

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

  .mini-flow b {
    display: none;
  }

  .mini-flow span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8faf5;
  }

  .panel-copy,
  .signup-form,
  .database-panel,
  .notification-panel {
    padding: 20px;
  }

  .browser-preview img {
    height: 420px;
  }

  .decision-list {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 22px;
  }
}
