:root {
  color-scheme: light;
  --ink: #14281f;
  --muted: #475c50;
  --brand: #176443;
  --accent: #c8f486;
  --line: #d7e6d7;
  --wash: #eef5e8;
  --paper: #fafcf7;
  font: 100%/1.55 "Inter", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #307e59; outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 16px; border-bottom: 1px solid var(--line); }
.top nav { display: flex; gap: 28px; }
.top nav a, .wordmark { text-decoration: none; }
.top nav a { font-weight: 600; color: var(--muted); }
.top nav a:hover, .text-link:hover { text-decoration: underline; }
.wordmark { display: inline-flex; flex: 0 1 auto; align-items: center; }
.wordmark img { display: block; width: clamp(114px, 22vw, 150px); height: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid transparent; border-radius: 8px; padding: 0 21px; color: #fff; background: var(--brand); font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.button:hover { background: #0d4e32; }
.button.small { min-height: 42px; padding: 0 15px; font-size: .9rem; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 6vw, 76px); padding-block: 86px 72px; }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .11em; color: var(--brand); margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.06; margin: 0; letter-spacing: -.047em; }
h1 { font-size: clamp(2.75rem, 5.9vw, 4.75rem); font-weight: 800; }
h1 em { color: var(--brand); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.34rem; }
p { color: var(--muted); }
.hero-copy > p:not(.eyebrow) { font-size: 1.13rem; max-width: 39ch; margin-block: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.preview { background: #fff; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; box-shadow: 0 20px 42px #183c2110; min-width: 0; }
.preview-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 62px; padding: 12px 18px; background: #153a2b; font-size: .92rem; font-weight: 750; color: white; }
.preview-context { color: #c4e1d3; font-size: .875rem; }
.preview-tabs { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.preview-tabs button { border: 0; border-radius: 7px; background: transparent; color: var(--muted); padding: 6px 11px; font-size: .9rem; font-weight: 650; cursor: pointer; }
.preview-tabs button[aria-pressed="true"] { background: var(--wash); color: var(--ink); }
.preview-body { display: grid; gap: 12px; min-height: 318px; align-content: start; padding: 16px; background: #f6faf3; }
.chat-date { text-align: center; color: var(--muted); font-size: .875rem; }
.message { display: grid; gap: 2px; width: fit-content; max-width: 94%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: white; font-size: .925rem; }
.message strong, .message time { font-size: .875rem; }
.message time { color: var(--muted); justify-self: end; }
.outbound { justify-self: end; background: #def2d5; }
.composer { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: .9rem; }
.composer span { background: var(--wash); color: var(--brand); border-radius: 5px; padding: 3px 8px; font-weight: 700; }
.flow-node { display: grid; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 12px; font-size: .925rem; }
.flow-node.active { background: #def2d5; }
.product { border-top: 1px solid var(--line); padding-block: 44px 64px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 31px; }
.features article { border-top: 2px solid var(--line); padding-top: 20px; }
.features p { margin-bottom: 0; }
.feature-mark { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 7px; background: var(--wash); color: var(--brand); font-weight: 800; margin-bottom: 13px; }
.install { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px; border-radius: 15px; background: #def2d5; }
.install p { margin-bottom: 0; }
.footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.flow-page { max-width: 680px; padding-block: 58px; }
.flow-page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.flow-page > p { max-width: 55ch; }
.panel, .steps li { padding: 21px; border: 1px solid var(--line); background: white; border-radius: 12px; }
.panel { margin-top: 26px; }
.panel p { margin-top: 7px; }
.steps { display: grid; gap: 10px; padding: 0; list-style: none; margin-block: 24px; }
.steps strong { display: block; margin-bottom: 3px; }
.steps span { color: var(--muted); }
.notice { border-left: 3px solid var(--brand); padding: 8px 13px; background: var(--wash); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-block: 49px 37px; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .install { align-items: start; flex-direction: column; padding: 24px; }
  .top nav { display: none; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .footer { align-items: start; flex-direction: column; justify-content: center; }
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 24px;
}
.billing-summary strong { display: block; font-size: 1.25rem; }
.billing-table { overflow-x: auto; }
.billing-table table { border-collapse: collapse; width: 100%; white-space: nowrap; }
.billing-table th, .billing-table td { text-align: left; padding: 12px; border-bottom: 1px solid rgba(120, 134, 147, .25); }
