@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --subtle: #f2f0e9;
  --ink: #14212b;
  --muted: #4b5862;
  --line: #dedbd1;
  --line-strong: #b9b5a8;
  --brand: #1c5b48;
  --brand-hover: #134535;
  --brand-soft: #e5efea;
  --brand-line: #9cc2b3;
  --clay: #a8471a;
  --clay-soft: #f8e8de;
  --clay-line: #e2b49b;
  --band: #14212b;
  --band-ink: #f1efe8;
  --band-muted: #b9c3ca;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --narrow: 720px;
  --gutter: 1.25rem;
  --radius: 12px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgba(20, 33, 43, 0.06), 0 10px 30px -18px rgba(20, 33, 43, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (min-width: 720px) {
  html {
    font-size: 17px;
  }

  :root {
    --gutter: 2rem;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #ffffff;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-small);
}

.skip:focus {
  top: 1rem;
  color: #ffffff;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: var(--narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
  padding: 0.35rem 0;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.main-nav .nav-cta {
  color: #ffffff;
  background: var(--brand);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 550;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  color: #ffffff;
  background: var(--brand-hover);
  text-decoration: none;
}

@media (max-width: 599px) {
  .header-inner {
    padding-top: 0.6rem;
    padding-bottom: 0.5rem;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    justify-content: space-between;
    gap: 0.25rem 0.5rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .main-nav .nav-cta {
    padding: 0.4rem 0.75rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
}

.btn-ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin-bottom: 0.8rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.07rem;
}

@media (min-width: 900px) {
  .section {
    padding: 5.5rem 0;
  }
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.75rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.prose ul li + li {
  margin-top: 0.35rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 1rem;
  max-width: 48rem;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 5rem 0 3.5rem;
  }
}

.hero {
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero .lede {
  margin-bottom: 1.75rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 960px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.chain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1.2rem;
}

.chain-card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.chain {
  position: relative;
}

.chain-list {
  display: grid;
  gap: 0.7rem;
}

.chain::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: var(--brand-line);
}

.chain-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.7rem 0.55rem 0;
  border-radius: var(--radius-small);
}

.chain-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  color: var(--brand);
}

.chain-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.chain-label {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}

.chain-label span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

.chain-ok {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.chain-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.85rem;
  color: var(--muted);
}

.pulse {
  position: absolute;
  left: calc(1.2rem - 4px);
  top: 1.2rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  z-index: 0;
  animation: chain-pulse 4.5s ease-in-out infinite;
}

@keyframes chain-pulse {
  0% {
    top: 1.2rem;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 1.2rem - 10px);
    opacity: 0;
  }
}

.who-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.who {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}

.who svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand);
  margin-bottom: 0.8rem;
}

.who h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  margin-bottom: 0.35rem;
}

@media (min-width: 1000px) {
  .who-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 599px) {
  .who-grid {
    gap: 0.6rem;
  }

  .who {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: 0.9rem;
    padding: 1rem;
  }

  .who svg {
    grid-row: span 2;
    margin-bottom: 0;
  }
}

.who p {
  font-size: 0.93rem;
  color: var(--muted);
}

.problem-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .problem-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-small);
  padding: 1rem 1.1rem;
}

.problem-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clay);
  padding-top: 0.15rem;
}

.problem strong {
  display: block;
  font-weight: 650;
  margin-bottom: 0.15rem;
}

.problem p {
  color: var(--muted);
  font-size: 0.95rem;
}

.ba {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.ba-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--subtle);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.ba-toggle button {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 2.5rem;
}

.ba-toggle button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 33, 43, 0.18);
}

.ba-toggle {
  display: none;
}

.js .ba-toggle {
  display: inline-flex;
}

.ba-panels {
  display: grid;
  gap: 1.5rem;
}

.ba-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.ba-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
}

.ba-before .ba-tag {
  color: var(--clay);
  background: var(--clay-soft);
}

.ba-after .ba-tag {
  color: var(--brand);
  background: var(--brand-soft);
}

.ba-panel > p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.ba-figure {
  border-radius: var(--radius);
  padding: 0.5rem;
}

.ba-before .ba-figure {
  background: #fdf6f1;
  border: 1px dashed var(--clay-line);
}

.ba-after .ba-figure {
  background: #f4f9f6;
  border: 1px solid var(--brand-line);
}

.ba-figure svg {
  width: 100%;
  height: auto;
}

.ba-svg-narrow {
  display: none;
}

@media (max-width: 599px) {
  .ba {
    padding: 1rem 0.75rem;
  }

  .ba-figure {
    padding: 0.25rem;
  }

  .ba-svg-wide {
    display: none;
  }

  .ba-svg-narrow {
    display: block;
  }

  .pricing-note {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.ba-figure text {
  font-family: var(--font-sans);
}

.ba-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.ba-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
}

.ba-list li::before {
  font-weight: 700;
}

.ba-before .ba-list li::before {
  content: "\00D7";
  color: var(--clay);
}

.ba-after .ba-list li::before {
  content: "\2713";
  color: var(--brand);
}

.wire-messy {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  opacity: 0.75;
}

.wire-messy-dead {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2;
  opacity: 0.55;
}

.node-messy rect {
  fill: #ffffff;
  stroke: var(--clay-line);
  stroke-width: 1.5;
}

.node-messy text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.node-messy .q {
  fill: var(--clay);
  font-size: 12px;
  font-weight: 700;
}

.wire-clean {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
}

.wire-flow {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2 22;
  animation: wire-flow 1.6s linear infinite;
}

@keyframes wire-flow {
  to {
    stroke-dashoffset: -24;
  }
}

.node-clean rect {
  fill: #ffffff;
  stroke: var(--brand);
  stroke-width: 1.75;
}

.node-clean text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.node-clean .sub {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.node-clean circle {
  fill: var(--brand);
}

.owner-band rect {
  fill: var(--brand-soft);
  stroke: var(--brand-line);
  stroke-dasharray: 4 4;
}

.owner-band text {
  fill: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .ba-panels {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .js .ba-toggle {
    display: none;
  }

  .js .ba-panel[hidden] {
    display: block;
  }
}

.pkg-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 900px) {
  .pkg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pkg {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.2rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pkg:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}

.pkg-featured {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), var(--surface) 55%);
}

.pkg-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.pkg h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.pkg-price {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.pkg-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.pkg-time {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.pkg p.pkg-desc {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.pkg a.pkg-more {
  font-weight: 600;
  font-size: 0.93rem;
}

.pricing-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-small);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  font-size: 0.93rem;
}

.pricing-note strong {
  color: var(--brand);
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  white-space: nowrap;
}

.flow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.flow-stage {
  position: relative;
}

.flow-steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: flow;
}

.flow-track {
  display: none;
}

.flow-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.flow-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
}

.flow-step-title {
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.3;
}

.flow-step-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.flow-step-body {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.flow-step-body ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

.flow-controls {
  display: none;
}

.js .flow-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.flow-buttons {
  display: flex;
  gap: 0.5rem;
}

.flow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
}

.flow-btn:hover {
  background: var(--brand-soft);
}

.flow-btn:disabled {
  border-color: var(--line);
  color: var(--line-strong);
  background: var(--surface);
  cursor: default;
}

.flow-btn-play {
  background: var(--brand);
  color: #ffffff;
}

.flow-btn-play:hover {
  background: var(--brand-hover);
}

.flow-btn svg {
  width: 0.9rem;
  height: 0.9rem;
}

.flow-btn-play .icon-pause,
.flow-btn-play[aria-pressed="true"] .icon-play {
  display: none;
}

.flow-btn-play[aria-pressed="true"] .icon-pause {
  display: block;
}

.flow-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.js .flow-step {
  cursor: pointer;
}

.js .flow-dot {
  cursor: pointer;
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.js .flow-step.is-done .flow-dot {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.js .flow-step.is-active .flow-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
  transform: scale(1.08);
}

.js .flow-step-body {
  display: none;
}

.js .flow-step.is-active .flow-step-body {
  display: block;
  animation: flow-in 0.35s ease;
}

.js .flow-step:not(.is-active) .flow-step-title {
  color: var(--muted);
}

@keyframes flow-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .flow-track {
  display: block;
  position: absolute;
  left: calc(1.5rem - 1.5px);
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: var(--line);
  border-radius: 3px;
}

.flow-track-fill {
  position: absolute;
  inset: 0;
  background: var(--brand);
  border-radius: 3px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.5s ease;
}

@media (min-width: 820px) {
  .flow {
    padding: 1.75rem 2rem 2rem;
  }

  .js .flow-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .js .flow-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .js .flow-track {
    left: 12.5%;
    right: 12.5%;
    top: calc(1.5rem - 1.5px);
    bottom: auto;
    width: auto;
    height: 3px;
  }

  .js .flow-track-fill {
    transform-origin: left;
    transform: scaleX(0);
  }

  .js .flow-step-body {
    display: none;
  }

  .js .flow-step.is-active .flow-step-body {
    display: none;
  }

  .flow-detail {
    display: none;
  }

  .js .flow-detail {
    display: grid;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius);
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    min-height: 9.5rem;
  }

  .flow-detail h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 650;
  }

  .flow-detail-body {
    color: var(--ink);
    font-size: 0.97rem;
    animation: flow-in 0.35s ease;
  }

  .flow-detail-body ul {
    list-style: disc;
    padding-left: 1.1rem;
    margin-top: 0.4rem;
    columns: 2;
    column-gap: 2rem;
  }
}

@media (max-width: 819px) {
  .flow-detail {
    display: none;
  }
}

.matrix-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.matrix-wrap:focus-visible {
  outline-offset: 2px;
}

.matrix {
  width: 100%;
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.matrix caption {
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.matrix th,
.matrix td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.matrix thead th {
  background: var(--subtle);
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.25;
  vertical-align: bottom;
}

.matrix thead th span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.matrix th:last-child,
.matrix td:last-child {
  padding-right: 1rem;
}

.matrix tbody th {
  text-align: left;
  font-weight: 500;
}

.matrix td,
.matrix thead th:not(:first-child) {
  min-width: 6.9rem;
}

.matrix-note {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.matrix th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  border-right: 1px solid var(--line);
  min-width: 8.5rem;
  max-width: 10rem;
}

@media (min-width: 720px) {
  .matrix th:first-child {
    min-width: 12rem;
    max-width: none;
  }
}

.matrix thead th:first-child {
  background: var(--subtle);
}

.matrix tbody tr:hover th,
.matrix tbody tr:hover td {
  background: #f7f6f1;
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix .group th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--subtle);
  font-weight: 400;
}

.matrix .group td {
  background: var(--subtle);
}

.yes {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.part {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  line-height: 1.35;
}

.no {
  color: var(--line-strong);
}

.matrix .col-featured {
  background: #f4f9f6;
}

.matrix thead .col-featured {
  background: var(--brand-soft);
}

.scroll-hint {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 1000px) {
  .scroll-hint {
    display: none;
  }
}

.pkg-detail {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.pkg-detail:first-of-type {
  border-top: 0;
}

.pkg-detail-head h2 {
  margin-bottom: 0.4rem;
}

.pkg-facts {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.pkg-fact {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.93rem;
}

.pkg-fact dt {
  color: var(--muted);
}

.pkg-fact dd {
  font-weight: 600;
  text-align: right;
}

.pkg-price-lg {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pkg-price-lg small {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.pkg-lists {
  display: grid;
  gap: 1.25rem;
}

.pkg-list h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
}

.pkg-list ul {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.pkg-list li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.45rem;
}

.pkg-list li::before {
  font-weight: 700;
}

.pkg-in li::before {
  content: "\2713";
  color: var(--brand);
}

.pkg-out {
  background: var(--subtle);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.pkg-out li {
  color: var(--muted);
}

.pkg-out li::before {
  content: "\2013";
  color: var(--muted);
}

@media (min-width: 900px) {
  .pkg-detail {
    grid-template-columns: 0.8fr 1.6fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }

  .pkg-detail-head {
    position: sticky;
    top: 6rem;
    align-self: start;
  }

  .pkg-lists {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
}

.care-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  margin-top: 0.5rem;
}

.care-table th,
.care-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.care-table thead th {
  font-weight: 650;
  border-bottom: 2px solid var(--ink);
}

.care-table td:not(:first-child),
.care-table th:not(:first-child) {
  text-align: center;
}

.terms-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.term {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.term h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.term p {
  font-size: 0.93rem;
  color: var(--muted);
}

.never-list {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.never-list li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-small);
  background: var(--surface);
  border: 1px solid var(--line);
}

.never-list li::before {
  content: "\00D7";
  font-weight: 700;
  color: var(--clay);
}

.own-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .own-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.promise-list {
  display: grid;
  gap: 0.75rem;
  counter-reset: promise;
}

.promise-list li {
  counter-increment: promise;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.promise-list li::before {
  content: counter(promise);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

.promise-list strong {
  display: block;
}

.promise-list span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
}

.access {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.access svg {
  width: 100%;
  height: auto;
}

.access text {
  font-family: var(--font-sans);
}

.access-caption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.acc-owner rect {
  fill: var(--brand);
}

.acc-owner text {
  fill: #ffffff;
  font-size: 17px;
  font-weight: 650;
}

.acc-owner .acc-sub,
.acc-me .acc-sub {
  font-size: 12.5px;
  font-weight: 400;
}

.acc-tool rect {
  fill: #ffffff;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.acc-tool text {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.acc-me rect {
  fill: var(--subtle);
  stroke: #807a6c;
  stroke-dasharray: 4 4;
}

.acc-me text {
  fill: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.acc-line-owner {
  stroke: var(--brand);
  stroke-width: 2.5;
  fill: none;
}

.acc-line-me {
  stroke: #807a6c;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  fill: none;
}

.acc-legend text {
  fill: var(--muted);
  font-size: 14px;
}

.register {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

.register table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.register caption {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.register th,
.register td {
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
}

.register thead th {
  background: var(--subtle);
  font-weight: 650;
}

.register tbody tr:last-child td {
  border-bottom: 0;
}

.register .mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3.5rem;
  }
}

.monogram {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .about-card {
    position: sticky;
    top: 6rem;
  }
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

.about-card h2,
.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.about-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.about-card dl {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.about-card dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-card dd + dt {
  margin-top: 0.4rem;
}

.proof-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 1.5rem 0;
}

.proof {
  border-top: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof strong {
  display: block;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

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

.about-brief {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .about-brief {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
  }
}

.about-brief .monogram {
  margin-bottom: 0;
}

.about-brief p + p {
  margin-top: 0.8rem;
}

.cta-band {
  background: var(--band);
  color: var(--band-ink);
  padding: 4rem 0;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--band-muted);
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.cta-band a:not(.btn) {
  color: #ffffff;
}

.cta-band .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.callout {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}

.callout-clay {
  border-left-color: var(--clay);
  background: var(--clay-soft);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 3.5rem;
  }
}

.steps-mini {
  display: grid;
  gap: 1rem;
  counter-reset: mini;
}

.steps-mini li {
  counter-increment: mini;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
}

.steps-mini li::before {
  content: counter(mini);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.88rem;
}

.steps-mini strong {
  display: block;
}

.steps-mini span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

.side-card + .side-card {
  margin-top: 1rem;
}

.side-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

@media (min-width: 720px) {
  .form {
    padding: 2rem;
  }
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.field label,
.field legend {
  font-weight: 600;
  font-size: 0.93rem;
}

.field .hint,
.field-hint {
  font-size: 0.83rem;
  color: var(--muted);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-small);
  padding: 0.65rem 0.8rem;
  min-height: 2.9rem;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form fieldset {
  border: 0;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.field-error {
  color: var(--clay);
  font-size: 0.87rem;
  font-weight: 600;
}

.choices {
  display: grid;
  gap: 0.45rem;
}

.choices legend {
  margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
  .choices:not(.choices-inline) {
    grid-template-columns: 1fr 1fr;
  }

  .choices legend,
  .choices .field-hint,
  .choices .field-error {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .choices-inline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.choices-inline legend,
.choices-inline .field-error {
  grid-column: 1 / -1;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  background: #ffffff;
  font-weight: 500;
  font-size: 0.97rem;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--brand-line);
}

.choice:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brand);
  flex: none;
}

.cf-turnstile {
  margin: 0.5rem 0 1.25rem;
  min-height: 65px;
}

.form-submit {
  width: 100%;
}

@media (min-width: 640px) {
  .form-submit {
    width: auto;
    min-width: 14rem;
  }
}

#contact-status[data-state="pending"] {
  color: var(--muted);
}

#contact-status[data-state="success"] {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-soft);
  border-radius: var(--radius-small);
  padding: 0.75rem 1rem;
}

#contact-status[data-state="error"] {
  color: var(--clay);
  font-weight: 600;
  background: var(--clay-soft);
  border-radius: var(--radius-small);
  padding: 0.75rem 1rem;
}

.form [aria-invalid="true"] {
  border-color: var(--clay);
}

.form-fine {
  margin-top: 1rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.big-mail {
  font-weight: 650;
  font-size: 1.1rem;
  word-break: break-all;
}

.thanks-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.thanks-mark svg {
  width: 2rem;
  height: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-grid h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.footer-grid ul {
  display: grid;
  gap: 0.35rem;
}

.footer-grid a {
  color: var(--ink);
}

.footer-brand p {
  margin-top: 0.7rem;
  max-width: 22rem;
}

.footer-note {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer-note strong {
  color: var(--ink);
  font-weight: 600;
}

.error-page {
  padding: 5rem 0 6rem;
}

.error-code {
  font-family: var(--font-mono);
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3.5rem;
}

.center-cta {
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .pulse,
  .wire-flow {
    display: none;
  }
}

@media print {
  .site-header,
  .cta-band,
  .flow-controls,
  .ba-toggle {
    display: none !important;
  }
}
