/* Editorial Calm — selected visual system. */

:root {
  --gutter: clamp(22px, 5vw, 72px);
  --step: clamp(92px, 12vw, 176px);
}

body {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
  word-break: keep-all;
}

h1,
h2,
h3,
.brand-word,
.button,
.header-action,
.contact-form label {
  font-family: var(--sans);
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kicker,
.hero .eyebrow,
.plan-badge,
.process-meta {
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header {
  min-height: 70px;
}

.brand-word {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links,
.header-action {
  font-size: 13px;
}

.hero-inner {
  position: relative;
  padding: 64px var(--gutter) 48px;
}

.hero-index {
  position: absolute;
  top: 52px;
  right: var(--gutter);
}

.hero .eyebrow {
  margin-bottom: 22px;
  font-weight: 700;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 50ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-metrics {
  margin-top: 48px;
}

.hero-metrics div {
  padding: 18px 24px 0 0;
}

.hero-metrics div + div {
  padding-left: 24px;
}

.hero-metrics dt {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-metrics dd {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
}

/* Numbered section headings keep the main rules aligned to one reading rail. */
.section {
  padding-block: var(--step);
}

.section-head {
  grid-template-columns: minmax(0, 780px);
  align-items: start;
  gap: 18px;
  margin-bottom: 52px;
}

.section-head .lead {
  align-items: baseline;
  gap: 14px;
}

.section-head .lead > div {
  min-width: 0;
}

.index-num {
  display: block;
  min-width: 2.1em;
  padding-top: 0;
  color: var(--faint);
  font-family: var(--sans);
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  font-weight: 250;
  letter-spacing: -0.06em;
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
}

.section-head h2 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head .aside {
  max-width: 50ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}

.build-feature {
  border-top-color: var(--ink);
}

.build-feature article {
  padding: 34px 28px 38px 0;
}

.build-feature article + article {
  padding-left: 28px;
}

.build-feature h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.28;
}

.build-feature p {
  font-size: 15px;
  line-height: 1.75;
}

/* Keep the process band quiet and paper-toned, as in the selected draft. */
.band {
  background: var(--paper-2);
  color: var(--ink);
}

.band .section {
  border: 0;
}

.band .index-num {
  color: var(--faint);
}

.band .kicker,
.process-meta {
  color: var(--muted);
}

.band .section-head h2 {
  color: var(--ink);
}

.band .section-head .aside,
.process-flow p {
  color: var(--ink-2);
}

.process-flow {
  padding-top: 28px;
}

.process-flow::before {
  top: 45px;
  background: var(--line-2);
}

.process-step {
  min-height: 250px;
  padding-right: 34px;
}

.process-step + .process-step {
  padding-left: 34px;
}

.process-node {
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  border-color: var(--line-2);
  background: var(--paper-2);
}

.process-node span {
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--paper-3);
}

.process-meta {
  margin-bottom: 12px;
  color: var(--muted);
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
}

.process-step p:last-child {
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.75;
}

/* Plans use rules and tonal paper to distinguish the featured tier. */
.plans .section-head {
  margin-bottom: 36px;
}

.plan-grid {
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
}

.plan-card {
  min-height: 480px;
  padding: 26px 28px 28px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.plan-card.featured {
  background: var(--paper-2);
  color: var(--ink);
}

.plan-name {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-badge {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-weight: 700;
}

.plan-tagline {
  min-height: 58px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.featured .plan-tagline,
.featured .plan-original,
.featured .plan-unit,
.featured .plan-features li {
  color: var(--ink-2);
}

.plan-price {
  margin-top: 28px;
  padding-top: 18px;
  border-top-color: var(--line-2);
}

.featured .plan-price {
  border-top-color: var(--line-2);
}

.plan-original {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.plan-current {
  gap: 6px;
  margin-top: 9px;
}

.plan-amount {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-unit {
  color: var(--muted);
  font-size: 13px;
}

.plan-features {
  gap: 0;
  margin-top: 32px;
}

.plan-features li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  padding-left: 0;
  font-size: 14px;
  line-height: 1.5;
}

.plan-features li::before {
  display: none;
}

.featured .button.primary,
.featured .button.primary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.plan-terms-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
}

/* Article list and reading view. */
.page-hero {
  max-width: 860px;
  padding-bottom: 48px;
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-lede,
.article-deck {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.8;
}

.content-list {
  border-top-color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.content-row {
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 48px;
  padding: 28px 0 32px;
}

.content-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.content-meta span,
.article-meta span {
  position: relative;
  color: var(--muted);
}

.content-meta span::before,
.article-meta span::before {
  position: absolute;
  top: 0.45em;
  left: -10px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-2);
  content: "";
}

.content-summary h3 {
  max-width: 760px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.content-summary p {
  max-width: 64ch;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.article-shell {
  max-width: 1040px;
}

.article-hero {
  max-width: 980px;
  padding-bottom: 52px;
}

.back-link {
  margin-bottom: 48px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.article-hero h1 {
  max-width: 980px;
  margin-top: 18px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.article-deck {
  margin-top: 24px;
}

.article-meta {
  margin-top: 28px;
}

.prose {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 22px;
}

.prose .prose-lede {
  margin-bottom: 28px;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.prose h2 {
  margin: 64px 0 18px;
  padding-top: 22px;
  border-top-color: var(--ink);
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.prose h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
}

.prose .article-thesis {
  padding: 18px 0 18px 24px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 2px solid var(--ink);
}

.prose blockquote p {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* Legal pages share the article measure, with a clearer title-to-body rule. */
.legal-main {
  max-width: 920px;
  padding-block: clamp(64px, 9vw, 112px);
}

.legal-hero {
  padding-bottom: clamp(42px, 6vw, 68px);
}

.legal-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal-lede {
  max-width: 68ch;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.8;
}

.legal-notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--ink);
}

.legal-notice p {
  font-size: 14px;
  line-height: 1.75;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.legal-section {
  padding: 42px 0;
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal-section p,
.legal-section li {
  font-size: 17px;
  line-height: 1.8;
}

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

.legal-section ul {
  gap: 12px;
}

.legal-table th,
.legal-table td {
  font-size: 14px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

/* The contact block stays a quiet surface so the form remains the action focus. */
.contact-inner {
  padding-block: var(--step);
}

.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.contact-index {
  margin-bottom: 22px;
}

.contact-copy > p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.8;
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  letter-spacing: 0;
}

/* Keep reveal, focus, menu, TOC, and form behavior intact. */
.js-ready .reveal {
  transition:
    opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 960px) {
  :root {
    --step: 92px;
  }

  .section-head {
    gap: 26px;
    margin-bottom: 38px;
  }

  .process-flow {
    padding-top: 8px;
  }

  .process-flow::before {
    top: 16px;
    bottom: 16px;
    left: 16px;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--line-2);
  }

  .process-step,
  .process-step + .process-step {
    min-height: 0;
    padding: 0 0 34px 58px;
  }

  .process-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    margin-bottom: 0;
  }

  .process-step p:last-child {
    max-width: 54ch;
  }

  .build-feature,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .build-feature article,
  .build-feature article + article,
  .build-feature article:last-child {
    padding: 30px 0 32px;
    border-right: 0;
  }

  .build-feature article:last-child {
    border-bottom: 0;
  }

  .plan-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .plan-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero-inner {
    padding: 40px var(--gutter) 32px;
  }

  .hero-index {
    top: 30px;
    right: var(--gutter);
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 1.07;
  }

  .hero-copy,
  .page-lede,
  .article-deck,
  .legal-lede,
  .contact-copy > p {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero-metrics div,
  .hero-metrics div + div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section-head h2,
  .page-hero h1,
  .legal-hero h1,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .index-num {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .plan-card {
    padding: 26px 20px 28px;
  }

  .content-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .prose {
    font-size: 16px;
    line-height: 1.8;
  }

  .legal-section p,
  .legal-section li {
    font-size: 16px;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
