:root {
  --bg: #f4efe7;
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: #fffaf2;
  --surface-accent: #eef6f6;
  --ink: #17313b;
  --muted: #58707a;
  --line: rgba(23, 49, 59, 0.12);
  --brand: #0e6a73;
  --brand-strong: #094b52;
  --accent: #e39439;
  --success: #1f7a55;
  --danger: #aa4a35;
  --shadow: 0 20px 50px rgba(23, 49, 59, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.marketing-body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(227, 148, 57, 0.24), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 106, 115, 0.18), transparent 26%),
    linear-gradient(180deg, #f7f2eb 0%, #f3eee5 52%, #f8f4ee 100%);
}

body.marketing-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 242, 235, 0.76);
  border-bottom: 1px solid rgba(23, 49, 59, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 24px rgba(14, 106, 115, 0.24);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-strong);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 106, 115, 0.09);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-copy p,
.page-hero p,
.section-copy,
.surface-card p,
.step-card p,
.plan-card p,
.footer p,
.comparison-note,
.fine-print,
.list-card li,
.split-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-copy .lead,
.page-hero .lead {
  max-width: 62ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-line {
  margin-top: 14px;
  color: var(--brand-strong);
  font-size: 0.94rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(14, 106, 115, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--brand-strong);
  border-color: rgba(14, 106, 115, 0.16);
  box-shadow: none;
}

.button,
.card,
.surface-card,
.plan-card,
.metric-card,
.step-card,
.calculator,
.dashboard-preview,
.list-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-card,
.surface-card,
.step-card,
.plan-card,
.list-card,
.calculator,
.dashboard-preview {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-card strong,
.dashboard-number,
.output-value {
  display: block;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card span,
.output-label,
.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.proof-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 106, 115, 0.16);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(235, 244, 245, 0.96));
  box-shadow: var(--shadow);
}

.proof-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.proof-frame {
  margin-top: 18px;
}

.proof-media img,
.proof-media iframe {
  width: 100%;
  border: 0;
  border-radius: calc(var(--radius-md) - 2px);
  box-shadow: 0 20px 40px rgba(23, 49, 59, 0.16);
}

.proof-media iframe {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.proof-placeholder {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 49, 59, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 235, 0.94)),
    radial-gradient(circle at top right, rgba(14, 106, 115, 0.12), transparent 36%);
}

.proof-banner {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(227, 148, 57, 0.14);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.proof-placeholder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.proof-ticket,
.proof-sidebar {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 49, 59, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.proof-ticket-header,
.proof-sidebar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(14, 106, 115, 0.1);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.proof-chip-success {
  background: rgba(31, 122, 85, 0.12);
  color: var(--success);
}

.proof-ticket h3 {
  margin: 14px 0 10px;
  font-size: 1.1rem;
}

.proof-ticket p,
.proof-sidebar-header span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.proof-transcript {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.proof-message {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(244, 239, 231, 0.85);
}

.proof-message strong {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.proof-message span {
  color: var(--muted);
  line-height: 1.6;
}

.proof-message-agent {
  background: rgba(14, 106, 115, 0.08);
}

.proof-sidebar-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.proof-sidebar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 49, 59, 0.08);
}

.proof-sidebar-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.proof-sidebar-row dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-sidebar-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.stack {
  display: grid;
  gap: 18px;
}

.hero-panel .surface-card {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(238, 246, 246, 0.94));
}

.card-kicker,
.section-kicker,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillars {
  padding: 22px 0 18px;
}

.section {
  padding: 36px 0;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section-header h2,
.split-copy h2,
.footer h2,
.page-hero h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-grid,
.steps-grid,
.plan-grid,
.comparison-grid,
.safety-grid,
.dashboard-grid,
.output-grid,
.input-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

.card-title,
.step-card h3,
.surface-card h3,
.list-card h3,
.plan-card h3,
.output-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(14, 106, 115, 0.10);
  color: var(--brand);
  font-weight: 800;
}

.checklist,
.list-card ul,
.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.list-card ul,
.feature-list {
  padding-left: 20px;
}

.checklist li,
.list-card li,
.feature-list li {
  margin-bottom: 8px;
}

.calculator-layout,
.split-layout,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.calculator {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(255, 255, 255, 0.95));
}

.input-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.field-label {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.field input {
  min-height: 52px;
  width: 100%;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 49, 59, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
}

.field input:focus-visible {
  outline: 2px solid rgba(14, 106, 115, 0.24);
  border-color: var(--brand);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.field-static {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 49, 59, 0.18);
  background: rgba(14, 106, 115, 0.06);
  color: var(--ink);
  line-height: 1.55;
}

.field-static strong {
  margin: 0 4px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.preset-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(14, 106, 115, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.preset-button.is-active,
.preset-button:hover,
.preset-button:focus-visible {
  border-color: rgba(14, 106, 115, 0.28);
  background: rgba(14, 106, 115, 0.12);
  box-shadow: 0 12px 24px rgba(14, 106, 115, 0.12);
}

.roi-example {
  margin: 0;
  color: var(--brand-strong);
  font-size: 1rem;
  font-weight: 700;
}

.output-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.output-card.positive {
  background: rgba(233, 247, 239, 0.92);
  border-color: rgba(31, 122, 85, 0.22);
}

.output-value.negative {
  color: var(--danger);
}

.comparison-note {
  margin-top: 14px;
  font-size: 0.96rem;
}

.dashboard-preview {
  background: linear-gradient(180deg, rgba(14, 106, 115, 0.12), rgba(255, 255, 255, 0.96));
}

.dashboard-preview .dashboard-grid {
  margin-top: 20px;
}

.stat-label {
  margin-top: 10px;
}

.stat-subtle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-card {
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(14, 106, 115, 0.12), rgba(255, 250, 242, 0.98));
  border-color: rgba(14, 106, 115, 0.28);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 10px;
}

.plan-price strong {
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.96rem;
}

.page-hero {
  padding: 56px 0 26px;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
}

.site-footer {
  padding: 40px 0 56px;
}

.footer-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(238, 246, 246, 0.92));
  box-shadow: var(--shadow);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.top-link {
  margin-left: auto;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .section-grid,
  .steps-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-row,
  .hero-grid,
  .calculator-layout,
  .split-layout,
  .page-hero-grid,
  .section-grid,
  .steps-grid,
  .comparison-grid,
  .safety-grid,
  .dashboard-grid,
  .plan-grid,
  .hero-summary,
  .input-grid,
  .output-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .header-row {
    padding: 18px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 42px;
  }

  .metric-card strong,
  .dashboard-number,
  .output-value {
    font-size: 2.4rem;
  }

  .proof-placeholder-grid {
    grid-template-columns: 1fr;
  }
}
