:root {
  color-scheme: light;
  --bg: #efe8db;
  --paper: rgba(255, 250, 242, 0.92);
  --paper-strong: #fffaf2;
  --ink: #1d1a17;
  --muted: #5c564f;
  --line: #d8cfbf;
  --accent: #123a52;
  --accent-strong: #0f3145;
  --accent-soft: #d8e5ec;
  --card-accent: #c96a3d;
  --warning: #8d5a19;
  --warning-soft: #f5e7cc;
  --success: #1d6a48;
  --success-soft: #ddeee5;
  --danger: #8a2d2d;
  --danger-soft: #f3dede;
  --shadow: rgba(18, 58, 82, 0.16);
  --max: 1120px;
  --space: 8px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 106, 61, 0.08), transparent 32%),
    linear-gradient(180deg, #efe8db 0%, #f8f4ec 100%);
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.shell {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--space) * 3) 0 calc(var(--space) * 2);
  flex-wrap: wrap;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--card-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 150ms ease, background 150ms ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(18, 58, 82, 0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #1b5678 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(18, 58, 82, 0.18);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #174867 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Header / badge area */
header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: calc(var(--space) * 3) 0 calc(var(--space) * 2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.brand::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--card-accent);
}

.build-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(18, 58, 82, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.84);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.build-badge[hidden] {
  display: none !important;
}

/* Sections */
.section {
  padding: calc(var(--space) * 7) 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type,
.no-border {
  border-top: 0;
}

.section-header {
  max-width: 56ch;
  margin-bottom: calc(var(--space) * 4);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Hero */
.eyebrow {
  margin: 0 0 calc(var(--space) * 2);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero {
  text-align: center;
  padding: calc(var(--space) * 6) 0 calc(var(--space) * 7);
}

.hero h1,
.page-hero h1 {
  margin: 0 auto;
  font-family: var(--serif);
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
}

.hero .lede {
  max-width: 48em;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: calc(var(--space) * 3) auto 0;
  max-width: 42em;
  text-align: left;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--accent-soft);
  border-radius: 50%;
}

.hero-bullets li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.lede {
  margin: calc(var(--space) * 3) auto 0;
  max-width: 42em;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

/* CTAs */
.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: calc(var(--space) * 4);
  flex-wrap: wrap;
}

.page-hero .cta-row {
  justify-content: flex-start;
  margin-top: 0;
}

.cta-primary,
.cta-secondary,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  border-radius: 999px;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
  border: 0;
}

.cta-primary,
.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1b5678 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px var(--shadow);
}

.cta-primary:hover,
.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #174867 100%);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(18, 58, 82, 0.24);
}

.cta-secondary,
.button-secondary {
  border: 1px solid rgba(18, 58, 82, 0.18);
  background: rgba(255, 250, 242, 0.82);
  color: var(--accent);
  font-weight: 600;
}

.cta-secondary:hover,
.button-secondary:hover {
  border-color: rgba(18, 58, 82, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.button-primary[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: calc(var(--space) * 7);
}

.card,
.signup-card,
.status-card,
.workflow-card,
.pricing-card,
.segment-card,
.output-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(18, 58, 82, 0.08);
}

.card {
  border-left: 3px solid var(--card-accent);
  padding: calc(var(--space) * 3);
}

.card-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.card h2 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* Workflow cards */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workflow-card {
  border-radius: 16px;
  padding: 28px;
  border-left: 3px solid var(--card-accent);
}

.workflow-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
}

.workflow-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.workflow-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Team comparison and cards */
.team-comparison {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(18, 58, 82, 0.08);
}

.team-comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.4fr 0.9fr;
  min-width: 720px;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.team-comparison-row:first-child {
  border-top: 0;
}

.team-comparison-head {
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-comparison strong {
  color: var(--ink);
}

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

.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--card-accent);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(18, 58, 82, 0.08);
}

.team-card-wide {
  grid-column: 1 / -1;
}

.featured-team {
  border-left-color: var(--accent);
  background: linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 100%);
}

.team-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-price {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.team-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.team-outcome {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

.team-best-for {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper-strong);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.team-best-for strong {
  color: var(--ink);
}

.team-detail-group {
  margin-top: 2px;
}

.team-wide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.team-playbooks {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.team-card-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(18, 58, 82, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.team-card-cta:hover {
  border-color: rgba(18, 58, 82, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border-radius: 20px;
  padding: 28px;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 100%);
  position: relative;
}

.pricing-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}

.pricing-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.pricing-price {
  margin: 8px 0 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-for {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-detail-group {
  margin-top: 20px;
}

.pricing-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-members,
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pricing-members li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-strong);
  font-size: 0.9rem;
  line-height: 1.35;
}

.pricing-members strong {
  color: var(--ink);
}

.pricing-members span {
  color: var(--muted);
  text-align: right;
}

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

.pricing-members-compact li {
  display: grid;
  gap: 2px;
  padding: 7px 9px;
}

.pricing-members-compact span {
  text-align: left;
  font-size: 0.78rem;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink);
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Trust / security grids */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}

.trust-content {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}

.trust-content strong {
  color: var(--accent-strong);
  font-weight: 600;
}

/* Output cards */
.output-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.output-card {
  border-radius: 14px;
  padding: 22px;
}

.output-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.25;
}

.output-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Segment cards */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.segment-card {
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.segment-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.25;
}

.segment-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Numbered steps */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}

.step-body {
  flex: 1;
  padding-top: 6px;
}

.step-body strong {
  color: var(--accent-strong);
  font-weight: 600;
}

.step-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Pain grid / bullets */
.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.pain-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
}

.pain-list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--card-accent);
  font-weight: 700;
}

/* Pilot / contact section */
.pilot-section {
  text-align: center;
  padding: calc(var(--space) * 8) 0;
  border-top: 1px solid var(--line);
}

.pilot-section h2 {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.15;
  max-width: 24ch;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
}

.faq-answer {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Page hero (left-aligned variant) */
.page-hero {
  display: grid;
  gap: 18px;
  padding: calc(var(--space) * 4) 0 calc(var(--space) * 4);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  line-height: 1.05;
  margin: 0;
  max-width: 18ch;
}

.page-hero .lede {
  margin: 0;
  max-width: 52ch;
}

/* Two-column page layout */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding-bottom: calc(var(--space) * 8);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.field,
.field-span {
  display: grid;
  gap: 8px;
}

.field-span {
  grid-column: 1 / -1;
}

.field label,
.field-span label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.field-span input,
.field-span select,
.field-span textarea {
  width: 100%;
  border: 1px solid rgba(18, 58, 82, 0.18);
  border-radius: 14px;
  padding: 0.88rem 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.field textarea,
.field-span textarea {
  min-height: 128px;
  resize: vertical;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

/* Notices */
.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.notice.info {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(18, 58, 82, 0.14);
}

.notice.warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: rgba(141, 90, 25, 0.16);
}

.notice.success {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(29, 106, 72, 0.16);
}

.notice.error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(138, 45, 45, 0.16);
}

/* Summary lists (billing, status) */
.summary-list,
.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.summary-row,
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-row dt,
.detail-row dt {
  color: var(--muted);
}

.summary-row dd,
.detail-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-total .summary-row dd {
  font-size: 1.35rem;
  color: var(--accent);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(18, 58, 82, 0.08);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Status cards */
.status-shell {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 20px;
}

.status-kicker {
  margin: 14px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.status-title {
  margin: 8px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.status-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.status-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.meta-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.meta-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.support-copy {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* Contact section (old, preserved) */
.contact {
  text-align: center;
  padding: calc(var(--space) * 6) 0 calc(var(--space) * 7);
  border-top: 1px solid var(--line);
}
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
}
.contact p {
  margin: calc(var(--space) * 2) auto 0;
  max-width: 32em;
  color: var(--muted);
  line-height: 1.65;
}
.contact .cta-primary {
  margin-top: calc(var(--space) * 3);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: calc(var(--space) * 3) 0 calc(var(--space) * 5);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: calc(var(--space) * 2);
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Billing explainer (preserved from signups) */
.billing-explainer {
  margin: calc(var(--space) * 3) 0;
  padding: calc(var(--space) * 3);
  background: linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.billing-title {
  margin: 0 0 calc(var(--space) * 2.5);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.billing-timeline {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 2);
}

.billing-step {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--space) * 1.5);
}

.step-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}

.step-content {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}

.step-content strong {
  color: var(--accent-strong);
  font-weight: 600;
}

.billing-note {
  margin: calc(var(--space) * 2.5) 0 0;
  padding-top: calc(var(--space) * 2);
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Signup card (preserved) */
.signup-card,
.status-card {
  border-radius: 28px;
  padding: 28px;
}

.signup-card h2,
.status-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
}

.checkbox-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.checkbox input {
  margin-top: 4px;
}

/* Pilot page form */
.pilot-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 36px rgba(18, 58, 82, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

.pilot-form-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
}

/* Checkbox and radio helpers */
.radio-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.radio {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.radio input {
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 979px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .status-shell {
    position: static;
  }

  .page-hero .cta-row {
    justify-content: flex-start;
  }

  .workflow-grid,
  .team-grid,
  .output-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .team-card-wide {
    grid-column: auto;
  }

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

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

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

@media (max-width: 767px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }

  .shell {
    width: min(var(--max), calc(100vw - 24px));
  }

  .hero {
    padding: calc(var(--space) * 5) 0 calc(var(--space) * 5);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: 2.2rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .lede,
  .section-intro {
    font-size: 1rem;
  }

  .cta-row,
  .form-actions,
  .status-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .signup-card,
  .status-card,
  .pilot-form-card {
    padding: 22px;
    border-radius: 20px;
  }

  .summary-row,
  .detail-row {
    flex-direction: column;
    gap: 6px;
  }

  .summary-row dd,
  .detail-row dd {
    text-align: left;
  }

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

/* Keyboard navigation and small-screen refinements. */
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--accent); color: white; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--card-accent); outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 400px) { .nav-links { gap: 2px; } .nav-links a { padding: 6px 8px; font-size: .85rem; } }
