:root {
  color-scheme: dark;
  --ink: #fff5e5;
  --muted: #d8cab8;
  --paper: #2a342f;
  --panel: #36443c;
  --panel-2: #425247;
  --line: #657568;
  --green: #a8e6b8;
  --green-2: #3b6048;
  --blue: #acd3ed;
  --coral: #ffad91;
  --gold: #ffd978;
  --shadow: 0 22px 60px rgba(16, 22, 18, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(88, 118, 97, 0.42), rgba(42, 52, 47, 0) 540px),
    var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 24px);
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(42, 52, 47, 0.9);
  border-bottom: 1px solid rgba(101, 117, 104, 0.62);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.trust-row,
.panel-topbar,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  white-space: nowrap;
  line-height: 1;
}

.wordmark-context {
  color: transparent;
  -webkit-text-stroke: 1.1px var(--green);
  text-transform: uppercase;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.wordmark-flow {
  color: var(--ink);
  font-family: "Segoe Script", "Bradley Hand ITC", "Brush Script MT", cursive;
  font-size: 1.62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(10px, 1.5vw, 18px);
  padding: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav a {
  position: relative;
  z-index: 1;
  padding: 7px 2px;
  transition: color 160ms ease;
}

.nav a.active {
  color: var(--green);
}

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

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(168, 230, 184, 0.42);
  opacity: 0;
  transition:
    transform 180ms ease,
    width 180ms ease,
    opacity 160ms ease;
  pointer-events: none;
}

.nav-indicator.visible {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
  border: 1px solid transparent;
}

.header-cta {
  color: #0f1711;
  background: var(--green);
}

.button.primary {
  color: #0f1711;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: rgba(54, 68, 60, 0.78);
  border-color: var(--line);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(440px, 1.07fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: 64px clamp(20px, 5vw, 72px) 72px;
}

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

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.16rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 10px;
  color: var(--blue);
  background: rgba(142, 184, 220, 0.12);
  border: 1px solid rgba(142, 184, 220, 0.24);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}

.product-panel {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-topbar {
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: #435148;
  border-bottom: 1px solid var(--line);
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8ea18f;
}

.workspace-preview {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 480px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: #303b35;
  border-right: 1px solid var(--line);
}

.sidebar-label,
.preview-doc span,
.timeline span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-sidebar strong {
  margin-bottom: 12px;
}

.preview-link {
  width: 100%;
  padding: 10px;
  color: var(--muted);
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.preview-link.active,
.preview-link[aria-pressed="true"] {
  color: var(--ink);
  background: var(--panel-2);
}

.preview-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.preview-doc {
  padding: clamp(22px, 4vw, 42px);
}

.preview-screen[hidden] {
  display: none;
}

.status-strip,
.update-card,
.insight-grid > div,
.changelog-preview article,
.preview-list article {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 26px;
  background: var(--green-2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.preview-doc h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.preview-doc p {
  color: var(--muted);
  line-height: 1.55;
}

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

.insight-grid > div {
  padding: 16px;
  background: var(--panel-2);
}

.insight-grid strong {
  display: block;
  margin: 8px 0;
}

.insight-grid p,
.update-card p,
.changelog-preview p,
.preview-list p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.update-card {
  padding: 18px;
  background: rgba(244, 201, 93, 0.12);
}

.changelog-preview {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.changelog-preview article {
  position: relative;
  padding: 18px 18px 18px 48px;
  background: var(--panel-2);
}

.changelog-preview article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(168, 230, 184, 0.1);
}

.changelog-preview article + article::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 23px;
  width: 2px;
  height: 28px;
  background: var(--line);
}

.changelog-preview strong {
  display: block;
  margin: 8px 0;
  font-size: 1.08rem;
}

.changelog-preview .published-update {
  background: rgba(244, 201, 93, 0.12);
}

.preview-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.preview-list article {
  padding: 18px;
  background: var(--panel-2);
}

.preview-list strong {
  display: block;
  margin: 8px 0;
  font-size: 1.08rem;
}

.band,
.feature-section,
.comparison,
.demo,
.audiences,
.faq,
.closing-cta {
  padding: 76px clamp(20px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 88px;
}

.problem {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  background: #303b34;
  color: var(--ink);
}

.problem-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(124px, 0.72fr) minmax(210px, 1fr) minmax(142px, 0.8fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: stretch;
  height: clamp(620px, 72vh, 780px);
}

.flow-column {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding-block: 10px;
}

.flow-column span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 16px;
  text-align: center;
  color: var(--ink);
  background: rgba(66, 82, 71, 0.88);
  border: 1px solid rgba(168, 230, 184, 0.2);
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 750;
}

.flow-column.people span {
  border-color: rgba(172, 211, 237, 0.24);
}

.flow-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.flow-connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateX(-2px);
  pointer-events: none;
}

.flow-connectors path {
  fill: none;
  stroke-width: 0.72;
  stroke-linecap: round;
  stroke-dasharray: 1.2 2.4;
}

.source-path {
  stroke: rgba(168, 230, 184, 0.72);
}

.people-path {
  stroke: rgba(172, 211, 237, 0.72);
}

.memory-node {
  position: relative;
  z-index: 2;
  width: min(300px, 100%);
  padding: 32px 28px;
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(168, 230, 184, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.memory-node span {
  display: block;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-node strong {
  display: block;
  margin: 7px 0 12px;
  font-size: clamp(2.05rem, 3.5vw, 3rem);
  line-height: 0.95;
}

.memory-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.problem-text {
  max-width: 820px;
}

.problem h2 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 0.95;
}

.problem-text p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.steps,
.comparison-grid,
.audience-grid {
  display: grid;
  gap: 18px;
}

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

.steps article,
.audience-grid article,
details {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps article span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: #0f1711;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.steps p,
.audience-grid p,
details p,
.plan-summary,
.pricing-note,
.demo-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.comparison {
  background: #28322d;
}

.comparison-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.plan-lite,
.plan-pro {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-pro {
  border-color: rgba(143, 212, 168, 0.5);
  box-shadow: var(--shadow);
}

.recommended {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 10px;
  color: var(--green);
  background: var(--green-2);
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.84rem;
}

.price {
  margin-bottom: 16px;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.plan-action,
.plan-pro .button {
  margin-top: 28px;
}

.coming-soon {
  margin-top: 24px;
  padding: 18px;
  background: rgba(172, 211, 237, 0.08);
  border: 1px solid rgba(172, 211, 237, 0.24);
  border-radius: 8px;
}

.coming-soon span {
  display: inline-flex;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coming-soon ul {
  margin-top: 14px;
}

.checkout-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing-note {
  max-width: 820px;
  margin: 22px 0 0;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline strong {
  font-size: 1.08rem;
}

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

.faq {
  background: #303a34;
}

details {
  max-width: 980px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 16px 0 0;
}

.closing-cta {
  text-align: center;
  background: #2e3933;
  color: var(--ink);
}

.closing-cta h2 {
  max-width: 920px;
  margin: 0 auto 26px;
}

.closing-cta .eyebrow {
  color: var(--gold);
}

.closing-cta .button.primary {
  color: #0f1711;
  background: var(--green);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.closing-actions .button.secondary {
  background: #354139;
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a,
.legal-page a,
.checkout-note a,
.faq a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  width: min(940px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-page h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.legal-page h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-page p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.legal-page ul {
  margin-top: 16px;
}

.legal-updated {
  color: var(--blue);
  font-weight: 800;
}

.about-page {
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px) clamp(64px, 9vw, 108px);
  background:
    linear-gradient(180deg, rgba(48, 59, 52, 0.1), rgba(48, 59, 52, 0.72)),
    linear-gradient(90deg, rgba(168, 230, 184, 0.06), rgba(172, 211, 237, 0.05));
}

.about-narrative {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) clamp(28px, 7vw, 86px);
  color: #203128;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08)),
    #b8cdae;
  border: 1px solid rgba(168, 230, 184, 0.36);
  border-radius: 8px;
  box-shadow:
    0 26px 70px rgba(15, 23, 17, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.about-narrative::before {
  content: "";
  position: absolute;
  top: clamp(34px, 6vw, 72px);
  bottom: clamp(34px, 6vw, 72px);
  left: clamp(18px, 4vw, 44px);
  width: 2px;
  background: rgba(66, 99, 68, 0.24);
}

.about-narrative h1 {
  max-width: 780px;
  margin-bottom: 28px;
  color: #17261e;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1;
}

.about-narrative p:not(.eyebrow) {
  max-width: 720px;
  color: #2d4436;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.78;
}

.about-narrative .eyebrow {
  color: #426344;
}

.letter-greeting {
  margin-bottom: 28px;
  color: #426344;
  font-style: italic;
}

.about-narrative p:not(.eyebrow) + p {
  margin-top: 22px;
}

.letter-signoff {
  margin-top: 34px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .problem,
  .demo,
  .about-narrative {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-panel {
    max-width: 760px;
  }

  .audience-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  section[id] {
    scroll-margin-top: 0;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .workspace-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-link {
    display: none;
  }

  .insight-grid,
  .steps,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .problem {
    min-height: auto;
  }

  .problem-flow {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .flow-connectors {
    display: none;
  }

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

  .flow-center {
    min-height: 300px;
  }

  .flow-column span {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .price {
    font-size: 2.35rem;
  }

  .about-narrative {
    transform: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
