:root {
  color-scheme: light;
  --ink: #142321;
  --ink-soft: #334441;
  --muted: #5c6c68;
  --subtle: #7b8b86;
  --teal: #0d6f68;
  --teal-dark: #084d49;
  --teal-soft: #dff5f1;
  --aqua: #1d9a9c;
  --coral: #c94f4b;
  --amber: #b98714;
  --paper: #ffffff;
  --surface: #f7fbfa;
  --panel: #edf7f5;
  --line: #d7e6e2;
  --line-strong: #b8cec8;
  --shadow-sm: 0 1px 2px rgba(20, 35, 33, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 35, 33, 0.09);
  --shadow-lg: 0 24px 70px rgba(20, 35, 33, 0.16);
  --radius: 8px;
  --container: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
.button,
.nav-cta {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--teal-dark);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 50;
}

.navigation {
  width: min(100%, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 230, 226, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.metrics-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.nav-links {
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-links a,
.site-footer a,
.signal-strip a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.signal-strip a:hover {
  color: var(--teal-dark);
  text-decoration-color: currentColor;
}

.link-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex: 0 0 auto;
}

.link-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-links .link-icon {
  color: var(--teal-dark);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: var(--paper);
  padding: 10px 18px;
  font-weight: 800;
  transition: background 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
}

.hero {
  min-height: 84svh;
  display: flex;
  align-items: center;
  padding: 150px 24px 76px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(9, 36, 34, 0.94), rgba(9, 36, 34, 0.72), rgba(9, 36, 34, 0.28)),
    url("https://images.unsplash.com/photo-1607990281513-2c110a25bd8c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
  width: min(100%, var(--container));
  margin: 0 auto;
}

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

.hero .eyebrow {
  color: #ffc1bd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 4rem, 4rem);
}

h2 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2rem, 3rem, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 11px;
  font-size: 0.88rem;
  font-weight: 800;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:focus-visible,
.nav-cta:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.queue-row button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.site-footer a:focus-visible,
.signal-strip a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.button-primary {
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(13, 111, 104, 0.24);
}

.button-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.2);
}

.calculator-result .button-secondary,
.metrics-actions .button-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--teal-dark);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 18px;
  max-width: 650px;
  margin: 36px 0 0;
}

.hero-proof div {
  border-left: 3px solid #9be3d4;
  padding-left: 16px;
}

.hero-proof dt {
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.signal-strip p,
.signal-strip strong {
  margin: 0;
}

.signal-strip p {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-strip a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  font-weight: 800;
}

.section,
.metrics-panel {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow),
.form-copy > p,
.metrics-panel > div > p {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 68ch;
}

.pain-grid,
.pilot-grid,
.seo-grid,
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insight-card,
.pilot-card,
.seo-card,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.insight-card:hover,
.pilot-card:hover,
.seo-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.insight-card p,
.pilot-card li,
.workflow-list p,
.product-panel span,
.metric-card span {
  color: var(--muted);
}

.workflow-section,
.calculator-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--container)) / 2));
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  background: var(--panel);
}

.workflow-layout,
.calculator-layout,
.form-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 18px;
}

.workflow-list span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.workflow-list p {
  margin: 6px 0 0;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-header,
.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.panel-header strong {
  color: var(--paper);
}

.panel-header span {
  color: #aee9dc;
  font-size: 0.9rem;
}

.status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper) !important;
  padding: 6px 10px;
  font-size: 0.82rem !important;
  font-weight: 800;
}

.panel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.panel-summary div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.panel-summary div:last-child {
  border-right: 0;
}

.panel-summary span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.42rem;
  line-height: 1.1;
}

.queue-row {
  min-height: 92px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.queue-row:last-child {
  border-bottom: 0;
}

.queue-row.is-urgent {
  background: #fff3f2;
}

.queue-row strong {
  display: block;
  font-size: 1.2rem;
}

.queue-row button {
  min-width: 92px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--teal-dark);
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease;
}

.queue-row button:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

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

.calculator label,
.field-group {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--teal);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #748782;
}

.calculator-result {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 12px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 35, 33, 0.98), rgba(13, 111, 104, 0.94));
  color: var(--paper);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.calculator-result p {
  margin: 0;
  color: #aee9dc;
  font-weight: 800;
}

.calculator-result strong {
  display: block;
  color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
}

.calculator-result span {
  color: rgba(255, 255, 255, 0.78);
}

.calculator-result small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.calculator-result .button {
  justify-self: start;
  margin-top: 12px;
}

.pilot-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0 0 0 20px;
}

.accent-card {
  border-color: transparent;
  background: var(--ink);
}

.accent-card h3,
.accent-card li {
  color: var(--paper);
}

.seo-section {
  padding-bottom: 72px;
}

.seo-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-section {
  padding-top: 72px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.faq-list p {
  max-width: 74ch;
  margin: 12px 0 0;
  color: var(--muted);
}

.form-section {
  align-items: stretch;
  padding-top: 92px;
}

.form-copy {
  display: grid;
  align-content: start;
}

.decision-box {
  margin-top: 28px;
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  background: var(--teal-soft);
  padding: 18px 20px;
}

.form-benefits {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.form-benefits li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 700;
}

.form-benefits li::before {
  position: absolute;
  top: 0.12rem;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  content: "";
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 5px var(--paper);
}

.decision-box p {
  margin: 6px 0 0;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--radius);
}

.form-note strong,
.form-note span {
  font-size: 0.88rem;
}

.form-note span {
  color: var(--muted);
  font-weight: 700;
}

.form-note strong {
  color: var(--teal-dark);
}

.form-note {
  align-items: flex-start;
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  padding: 14px;
}

.form-note span {
  line-height: 1.5;
}

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

.required-tag,
.optional-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
}

.required-tag {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.optional-tag {
  background: var(--surface);
  color: var(--muted);
}

.field-hint {
  margin: -2px 0 0;
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 700;
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 800;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.consent-check input {
  min-height: 20px;
  margin-top: 4px;
}

.submit-button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-message.is-error {
  color: #b42318;
}

.toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 220ms ease both;
}

.toast-error {
  border-left-color: #b42318;
}

.toast strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.toast p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.toast button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--teal-dark);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
}

.toast button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.toast.is-hiding {
  animation: toast-out 180ms ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.metrics-panel {
  border-top: 1px solid var(--line);
}

.metrics-heading {
  max-width: 740px;
}

.metrics-grid {
  margin-top: 24px;
}

.server-metrics-heading {
  margin-top: 30px;
}

.metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.2;
}

.metric-card-muted {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.58);
}

.metric-card-muted strong {
  color: var(--muted);
}

.metrics-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(24px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

.legal-body {
  background:
    linear-gradient(180deg, rgba(237, 247, 245, 0.86), rgba(247, 251, 250, 1) 360px),
    var(--surface);
}

.legal-site-header .navigation {
  background: rgba(255, 255, 255, 0.96);
}

.legal-page {
  width: 100%;
  padding-top: 122px;
}

.legal-hero {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 56px 0 48px;
}

.legal-hero > div {
  max-width: 900px;
}

.legal-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(2.45rem, 3.5rem, 3.5rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 78ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.legal-meta span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-soft);
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.legal-layout {
  width: min(100% - 48px, var(--container));
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 0 auto;
  padding: 0 0 96px;
}

.legal-toc {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.legal-toc strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
}

.legal-toc a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.legal-section h2 {
  max-width: 780px;
  font-size: clamp(1.55rem, 2.15rem, 2.15rem);
}

.legal-section p:not(.eyebrow),
.legal-section li {
  max-width: 78ch;
  color: var(--ink-soft);
}

.legal-section p {
  margin: 16px 0 0;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding-left: 28px;
}

.legal-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.legal-callout {
  border-color: rgba(201, 79, 75, 0.22);
  background: #fff7f6;
}

.legal-button {
  margin-top: 22px;
}

.legacy-body {
  background:
    linear-gradient(180deg, rgba(237, 247, 245, 0.82), rgba(247, 251, 250, 1) 420px),
    var(--surface);
}

.legacy-page {
  width: 100%;
  padding-top: 122px;
}

.legacy-hero {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 64px 0 36px;
}

.legacy-hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: clamp(2.55rem, 3.6rem, 3.6rem);
}

.legacy-hero p:not(.eyebrow) {
  max-width: 78ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legacy-section {
  padding-top: 44px;
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.legacy-card,
.pricing-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.legacy-card {
  padding: 28px;
}

.legacy-card h2 {
  font-size: 1.65rem;
}

.legacy-card p,
.pricing-panel p,
.legacy-list li {
  color: var(--muted);
}

.pricing-panel {
  max-width: 820px;
  padding: 34px;
}

.pricing-panel h2 {
  font-size: clamp(2rem, 3rem, 3rem);
}

.legacy-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.legacy-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.legacy-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.legacy-button-secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--teal-dark);
}

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

.blog-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.blog-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: clamp(1.7rem, 2.1rem, 2.1rem);
}

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

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.article-shell {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
  padding: 64px 0 96px;
}

.article-shell h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(2.6rem, 3.8rem, 3.8rem);
}

.article-shell h2 {
  margin-top: 42px;
  font-size: clamp(1.65rem, 2.2rem, 2.2rem);
}

.article-shell p,
.article-shell li {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-lede {
  margin-top: 22px;
  color: var(--muted) !important;
  font-size: 1.16rem !important;
}

.article-shell ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.article-cta {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--teal-soft);
  padding: 30px;
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  max-width: 62ch;
}

@media (max-width: 920px) {
  .navigation {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding-top: 128px;
  }

  .hero-proof,
  .pain-grid,
  .pilot-grid,
  .seo-grid,
  .metrics-grid,
  .workflow-layout,
  .calculator-layout,
  .form-section {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legacy-grid,
  .legacy-grid-two,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .navigation {
    gap: 12px;
    padding: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero {
    min-height: 76svh;
    padding: 118px 18px 44px;
    background-position: 58% center;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .panel-summary {
    grid-template-columns: 1fr;
  }

  .panel-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .panel-summary div:last-child {
    border-bottom: 0;
  }

  .signal-strip {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .section,
  .metrics-panel {
    width: min(100% - 32px, var(--container));
    padding: 68px 0;
  }

  .workflow-section,
  .calculator-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .calculator,
  .field-row {
    grid-template-columns: 1fr;
  }

  .queue-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .queue-row button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 16px;
    padding-left: 16px;
  }

  .legal-page {
    padding-top: 96px;
  }

  .legacy-page {
    padding-top: 96px;
  }

  .legal-hero,
  .legal-layout,
  .legacy-hero,
  .article-shell {
    width: min(100% - 32px, var(--container));
  }

  .legal-hero {
    padding: 44px 0 34px;
  }

  .legal-hero h1 {
    font-size: 2.25rem;
  }

  .legal-section {
    padding: 24px 20px;
  }

  .legacy-hero h1 {
    font-size: 2.25rem;
  }

  .pricing-panel,
  .legacy-card,
  .blog-card,
  .article-cta {
    padding: 24px 20px;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
  }

  .toast {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
