/*
 * Ease Curve: components
 * Every value comes from tokens.css. Prefix: ec-
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ec-stage);
  color: var(--ec-bone);
  font-family: var(--ec-sans);
  font-size: var(--ec-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--ec-yellow); color: var(--ec-ink); }

.ec-container { width: 100%; max-width: var(--ec-container); margin: 0 auto; padding: 0 var(--ec-space-5); }
.ec-narrow { width: 100%; max-width: var(--ec-narrow); margin: 0 auto; padding: 0 var(--ec-space-5); }

/* ---------- Type ---------- */
.ec-hero-title, .ec-h1, .ec-h2, .ec-h3 {
  margin: 0;
  font-family: var(--ec-sans);
  font-weight: 700;
  letter-spacing: var(--ec-tracking-tight);
  line-height: var(--ec-leading-tight);
  text-wrap: balance;
}
.ec-hero-title { font-size: var(--ec-text-hero); max-width: 13ch; }
.ec-h1 { font-size: var(--ec-text-h1); }
.ec-h2 { font-size: var(--ec-text-h2); line-height: 1.06; }
.ec-h3 { font-size: var(--ec-text-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.ec-dim { color: var(--ec-faint); }

.ec-caps {
  font-family: var(--ec-mono);
  font-size: var(--ec-text-micro);
  font-weight: 500;
  letter-spacing: var(--ec-tracking-caps);
  text-transform: uppercase;
}
.ec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ec-space-2);
  margin: 0 0 var(--ec-space-4);
  color: var(--ec-mute);
}
.ec-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--ec-yellow); transform: rotate(45deg); }
.ec-lead { margin: var(--ec-space-4) 0 0; max-width: 480px; font-size: var(--ec-text-lead); line-height: 1.55; color: var(--ec-mute); }
.ec-small { font-size: var(--ec-text-small); color: var(--ec-mute); }

/* ---------- Buttons: square, mono caps ---------- */
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ec-space-3);
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--ec-radius);
  font-family: var(--ec-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ec-tracking-caps);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--ec-fast) var(--ec-ease-out), border-color var(--ec-fast) var(--ec-ease-out), color var(--ec-fast) var(--ec-ease-out);
}
.ec-btn:focus-visible { outline: none; box-shadow: var(--ec-focus); }
.ec-btn__arrow { font-size: 14px; line-height: 1; opacity: 0.6; transition: transform var(--ec-fast) var(--ec-ease-out); }
.ec-btn:hover .ec-btn__arrow { transform: translateX(3px); }
.ec-btn--yellow { background: var(--ec-yellow); color: var(--ec-ink); }
.ec-btn--yellow:hover { background: var(--ec-yellow-deep); }
.ec-btn--line { background: transparent; color: var(--ec-bone); border-color: var(--ec-line-bright); }
.ec-btn--line:hover { border-color: var(--ec-bone); }
.ec-btn--bone { background: var(--ec-bone); color: var(--ec-ink); }
.ec-btn--bone:hover { background: var(--ec-yellow); }
.ec-btn--sm { padding: 9px 14px; font-size: var(--ec-text-micro); }
.ec-btn--block { width: 100%; }
.ec-btn-row { display: flex; flex-wrap: wrap; gap: var(--ec-space-3); }

/* ---------- Badge: square tag ---------- */
.ec-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ec-space-2);
  padding: 5px 9px;
  font-family: var(--ec-mono);
  font-size: var(--ec-text-micro);
  font-weight: 600;
  letter-spacing: var(--ec-tracking-caps);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: var(--ec-hair-bright);
  color: var(--ec-mute);
}
.ec-badge--mint { background: var(--ec-mint); border-color: var(--ec-mint); color: var(--ec-mint-ink); }
.ec-badge--ghost-mint { border-color: var(--ec-mint); color: var(--ec-mint); }
.ec-badge--coral { border-color: var(--ec-coral); color: var(--ec-coral); }
.ec-badge--yellow { border-color: var(--ec-yellow); color: var(--ec-yellow); }
.ec-badge__sep { opacity: 0.55; }

/* ---------- Nav ---------- */
.ec-nav { position: sticky; top: 0; z-index: 20; background: var(--ec-stage-glass); backdrop-filter: blur(10px); border-bottom: var(--ec-hair); }
.ec-nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--ec-space-5); height: 64px; }
.ec-nav__links { display: flex; gap: var(--ec-space-6); list-style: none; margin: 0; padding: 0; }
.ec-nav__links a { color: var(--ec-mute); text-decoration: none; transition: color var(--ec-fast); }
.ec-nav__links a:hover, .ec-nav__links a[aria-current] { color: var(--ec-bone); }
.ec-nav__actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--ec-space-4); }
.ec-nav__text { color: var(--ec-mute); text-decoration: none; }
.ec-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; color: var(--ec-bone); }
.ec-logo__mark { width: 24px; height: 18px; overflow: visible; }
.ec-logo__key { fill: var(--ec-yellow); }

/* ---------- Stage hero: empty dark, copy at the bottom ---------- */
.ec-stage { position: relative; min-height: min(86vh, 880px); display: flex; flex-direction: column; justify-content: flex-end; border-bottom: var(--ec-hair); overflow: hidden; }
.ec-stage--short { min-height: 0; padding-top: var(--ec-space-9); }
.ec-stage__plot { position: relative; flex: 1; min-height: 300px; margin: var(--ec-space-7) auto var(--ec-space-6); pointer-events: none; }
.ec-stage__plot svg { position: absolute; inset: 0 var(--ec-space-5); width: calc(100% - 2 * var(--ec-space-5)); height: 100%; }
.ec-stage__foot { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--ec-space-7); padding-bottom: var(--ec-space-8); }
.ec-stage__side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--ec-space-4); text-align: right; }
.ec-stage__label { position: absolute; color: var(--ec-faint); }

/* ---------- Plot: the signature drawn curve ---------- */
.ec-grid-bg {
  background-image:
    linear-gradient(var(--ec-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ec-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}
.ec-curve { fill: none; stroke: var(--ec-bone); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ec-curve--ghost { stroke: var(--ec-line-bright); stroke-dasharray: 3 5; }
.ec-curve--mint { stroke: var(--ec-mint); }
.ec-curve--draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: ec-draw 2.4s var(--ec-ease-out) .2s forwards; }
.ec-handle { stroke: var(--ec-faint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ec-knot { fill: var(--ec-stage); stroke: var(--ec-bone); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ec-axis { stroke: var(--ec-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ec-band { fill: var(--ec-mint); opacity: 0.06; }
.ec-svg-label { font-family: var(--ec-mono); font-size: 11px; letter-spacing: 0.1em; fill: var(--ec-faint); text-transform: uppercase; }

/* The yellow square that rides a curve: an SVG <rect> moved by <animateMotion> */
.ec-rider { fill: var(--ec-yellow); filter: var(--ec-rider-glow); }
.ec-rider-halo { fill: var(--ec-yellow); opacity: 0.16; }

/* ---------- Keyframe ruler ---------- */
.ec-ruler { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--ec-hair-bright); }
.ec-ruler::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background-image: linear-gradient(90deg, var(--ec-line-bright) 1px, transparent 1px);
  background-size: 24px 10px;
}
.ec-key { position: relative; padding: var(--ec-space-6) var(--ec-space-5) 0 0; }
.ec-key::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--ec-stage); border: 1px solid var(--ec-bone); transform: rotate(45deg); }
.ec-key--on::before { background: var(--ec-yellow); border-color: var(--ec-yellow); }
.ec-key__time { color: var(--ec-faint); margin-bottom: var(--ec-space-3); display: block; }
.ec-key__text { margin: var(--ec-space-2) 0 0; color: var(--ec-mute); font-size: 15px; }

/* ---------- Sections ---------- */
.ec-section { padding: var(--ec-space-9) 0; border-bottom: var(--ec-hair); }
.ec-section--tight { padding: var(--ec-space-8) 0; }
.ec-section--wing { background: var(--ec-wing); }
.ec-section__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ec-space-6); align-items: end; margin-bottom: var(--ec-space-7); }
.ec-section__head .ec-lead { justify-self: end; margin: 0; }
.ec-section__head--center { display: block; text-align: center; }
.ec-section__head--center .ec-lead { margin: var(--ec-space-4) auto 0; }

/* ---------- Cells: a hairline grid of panels ---------- */
.ec-cells { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--ec-hair); border-left: var(--ec-hair); }
.ec-cells--3 { grid-template-columns: repeat(3, 1fr); }
.ec-cells--4 { grid-template-columns: repeat(4, 1fr); }
.ec-cell { position: relative; padding: var(--ec-space-6); border-right: var(--ec-hair); border-bottom: var(--ec-hair); background: var(--ec-stage); transition: background var(--ec-fast); }
.ec-cell:hover { background: var(--ec-wing); }
.ec-cell__plot { height: 150px; margin: 0 0 var(--ec-space-5); border: var(--ec-hair); background-color: var(--ec-panel); }
.ec-cell__plot svg { width: 100%; height: 100%; }
.ec-cell__tag { position: absolute; top: calc(var(--ec-space-6) + 10px); right: calc(var(--ec-space-6) + 12px); color: var(--ec-faint); z-index: 1; }
.ec-cell__text { margin: var(--ec-space-2) 0 0; color: var(--ec-mute); font-size: 15px; }

/* ---------- Readout: mono rows of live values ---------- */
.ec-readout { border: var(--ec-hair); background: var(--ec-panel); font-family: var(--ec-mono); font-size: 13px; }
.ec-readout__head { display: flex; justify-content: space-between; gap: var(--ec-space-4); padding: 10px 14px; border-bottom: var(--ec-hair); color: var(--ec-faint); }
.ec-readout__row { display: grid; grid-template-columns: 1fr auto auto; gap: var(--ec-space-4); align-items: center; padding: 10px 14px; border-bottom: var(--ec-hair); }
.ec-readout__row:last-child { border-bottom: 0; }
.ec-readout__val { color: var(--ec-bone); }
.ec-readout__state { width: 8px; height: 8px; background: var(--ec-mint); }
.ec-readout__state--off { background: var(--ec-coral); }
.ec-readout__state--idle { background: var(--ec-line-bright); }

/* ---------- Stats ---------- */
.ec-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--ec-hair-bright); }
.ec-stat { padding: var(--ec-space-5) var(--ec-space-5) 0 0; }
.ec-stat__num { font-size: clamp(34px, 4vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ec-stat__num span { color: var(--ec-yellow); }
.ec-stat__label { margin-top: var(--ec-space-3); color: var(--ec-faint); }

/* ---------- Quote ---------- */
.ec-quote { margin: 0; }
.ec-quote__text { margin: 0; font-size: clamp(24px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.22; text-wrap: balance; }
.ec-quote__by { display: flex; align-items: center; gap: var(--ec-space-3); margin-top: var(--ec-space-5); color: var(--ec-mute); font-size: 15px; }
.ec-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ec-panel-2); border: var(--ec-hair-bright); font-family: var(--ec-mono); font-size: 13px; color: var(--ec-bone); flex-shrink: 0; }

/* ---------- Closing band ---------- */
.ec-cta { padding: var(--ec-space-9) 0; text-align: center; border-bottom: var(--ec-hair); }
.ec-cta .ec-lead { margin-left: auto; margin-right: auto; }
.ec-cta .ec-btn-row { justify-content: center; margin-top: var(--ec-space-6); }

/* ---------- Pricing ---------- */
.ec-billing { display: inline-flex; border: var(--ec-hair-bright); }
.ec-billing button { padding: 10px 16px; border: 0; background: transparent; color: var(--ec-mute); font-family: var(--ec-mono); font-size: var(--ec-text-micro); letter-spacing: var(--ec-tracking-caps); text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.ec-billing button[aria-pressed="true"] { background: var(--ec-bone); color: var(--ec-ink); }
.ec-plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--ec-hair); border-left: var(--ec-hair); }
.ec-plan { display: flex; flex-direction: column; padding: var(--ec-space-6); border-right: var(--ec-hair); border-bottom: var(--ec-hair); }
.ec-plan--featured { background: var(--ec-panel); box-shadow: inset 0 2px 0 var(--ec-yellow); }
.ec-plan__top { display: flex; justify-content: space-between; align-items: center; gap: var(--ec-space-3); }
.ec-plan__name { color: var(--ec-bone); }
.ec-plan__desc { margin: var(--ec-space-3) 0 0; color: var(--ec-mute); font-size: 15px; min-height: 48px; }
.ec-plan__price { margin: var(--ec-space-6) 0 var(--ec-space-1); font-size: 52px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ec-plan__per { color: var(--ec-faint); }
.ec-plan .ec-btn { margin: var(--ec-space-6) 0; }
.ec-plan__list { list-style: none; margin: 0; padding: var(--ec-space-5) 0 0; border-top: var(--ec-hair); display: grid; gap: var(--ec-space-3); font-size: 15px; color: var(--ec-mute); }
.ec-plan__list li { display: flex; gap: var(--ec-space-3); }
.ec-plan__list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; background: var(--ec-mint); transform: rotate(45deg); }

.ec-table-wrap { overflow-x: auto; border: var(--ec-hair); }
.ec-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.ec-table th, .ec-table td { padding: 14px 18px; text-align: left; border-bottom: var(--ec-hair); }
.ec-table thead th { background: var(--ec-panel-2); font-family: var(--ec-mono); font-size: var(--ec-text-micro); font-weight: 500; letter-spacing: var(--ec-tracking-caps); text-transform: uppercase; color: var(--ec-mute); }
.ec-table tbody th { font-weight: 500; color: var(--ec-bone); }
.ec-table td { color: var(--ec-mute); font-family: var(--ec-mono); font-size: 13px; }
.ec-table tr:last-child th, .ec-table tr:last-child td { border-bottom: 0; }
.ec-table .ec-yes { color: var(--ec-mint); }
.ec-table .ec-no { color: var(--ec-faint); }

.ec-faq { border-top: var(--ec-hair); }
.ec-faq details { border-bottom: var(--ec-hair); }
.ec-faq summary { display: flex; justify-content: space-between; gap: var(--ec-space-4); padding: var(--ec-space-5) 0; font-weight: 500; font-size: 17px; cursor: pointer; list-style: none; }
.ec-faq summary::-webkit-details-marker { display: none; }
.ec-faq summary::after { content: "+"; font-family: var(--ec-mono); color: var(--ec-yellow); transition: transform var(--ec-fast) var(--ec-ease-out); }
.ec-faq details[open] summary::after { transform: rotate(45deg); }
.ec-faq p { margin: 0 0 var(--ec-space-5); color: var(--ec-mute); max-width: 620px; }

/* ---------- Article ---------- */
.ec-meta { display: flex; flex-wrap: wrap; gap: var(--ec-space-2) var(--ec-space-5); color: var(--ec-faint); }
.ec-author { display: flex; align-items: center; gap: var(--ec-space-3); }
.ec-author__name { font-weight: 600; font-size: 15px; color: var(--ec-bone); }
.ec-author--card { padding: var(--ec-space-5); border: var(--ec-hair); background: var(--ec-panel); align-items: flex-start; }
.ec-cover { height: 340px; border: var(--ec-hair); background-color: var(--ec-panel); position: relative; }
.ec-cover svg { width: 100%; height: 100%; }
.ec-prose { font-size: 18px; line-height: 1.72; color: var(--ec-bone-soft); }
.ec-prose > * + * { margin-top: var(--ec-space-5); }
.ec-prose h2 { margin-top: var(--ec-space-8); font-size: 28px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: var(--ec-bone); }
.ec-prose h3 { margin-top: var(--ec-space-7); font-size: 20px; font-weight: 600; color: var(--ec-bone); }
.ec-prose p, .ec-prose ul, .ec-prose ol, .ec-prose figure, .ec-prose blockquote { margin-bottom: 0; }
.ec-prose a { color: var(--ec-yellow); text-underline-offset: 3px; }
.ec-prose strong { color: var(--ec-bone); font-weight: 600; }
.ec-prose ul { list-style: none; padding: 0; }
.ec-prose ul li { position: relative; padding-left: 22px; }
.ec-prose ul li + li { margin-top: var(--ec-space-2); }
.ec-prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--ec-yellow); transform: rotate(45deg); }
.ec-prose ol { padding: 0; list-style: none; counter-reset: ec-step; }
.ec-prose ol li { counter-increment: ec-step; position: relative; padding-left: 44px; }
.ec-prose ol li + li { margin-top: var(--ec-space-3); }
.ec-prose ol li::before { content: counter(ec-step, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-family: var(--ec-mono); font-size: 13px; color: var(--ec-faint); }
.ec-prose blockquote { margin-left: 0; margin-right: 0; padding: var(--ec-space-2) 0 var(--ec-space-2) var(--ec-space-5); border-left: 2px solid var(--ec-yellow); font-size: 22px; line-height: 1.4; letter-spacing: -0.015em; color: var(--ec-bone); }
.ec-prose code { font-family: var(--ec-mono); font-size: 0.85em; padding: 2px 6px; background: var(--ec-panel-2); color: var(--ec-bone); }
.ec-prose figure { margin-left: 0; margin-right: 0; }
.ec-prose figcaption { margin-top: var(--ec-space-3); font-family: var(--ec-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ec-faint); }
.ec-callout { padding: var(--ec-space-5); border: var(--ec-hair); border-left: 2px solid var(--ec-mint); background: var(--ec-panel); font-size: 16px; color: var(--ec-mute); }
.ec-callout strong { display: block; margin-bottom: var(--ec-space-1); font-family: var(--ec-mono); font-size: var(--ec-text-micro); letter-spacing: var(--ec-tracking-caps); text-transform: uppercase; color: var(--ec-mint); }
.ec-post { display: block; text-decoration: none; }
.ec-post__thumb { height: 140px; border: var(--ec-hair); background-color: var(--ec-panel); margin-bottom: var(--ec-space-4); }
.ec-post__thumb svg { width: 100%; height: 100%; }
.ec-post__title { margin: var(--ec-space-2) 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.ec-post:hover .ec-post__title { color: var(--ec-yellow); }

/* ---------- Forms ---------- */
.ec-form { display: grid; gap: var(--ec-space-5); }
.ec-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ec-space-4); }
.ec-field { display: grid; gap: var(--ec-space-2); }
.ec-label { color: var(--ec-mute); }
.ec-input, .ec-select {
  width: 100%;
  padding: 13px 14px;
  border: var(--ec-hair-bright);
  border-radius: var(--ec-radius);
  background: var(--ec-wing);
  color: var(--ec-bone);
  font-family: var(--ec-sans);
  font-size: 16px;
  transition: border-color var(--ec-fast);
}
.ec-input::placeholder { color: var(--ec-faint); }
.ec-input:hover, .ec-select:hover { border-color: var(--ec-faint); }
.ec-input:focus, .ec-select:focus { outline: none; border-color: var(--ec-yellow); box-shadow: 0 0 0 1px var(--ec-yellow); }
.ec-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ec-mute) 50%), linear-gradient(135deg, var(--ec-mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.ec-field--error .ec-input { border-color: var(--ec-coral); }
.ec-help { font-size: 13px; color: var(--ec-faint); }
.ec-error { font-family: var(--ec-mono); font-size: 12px; color: var(--ec-coral); }
.ec-check { display: flex; gap: var(--ec-space-3); align-items: flex-start; font-size: 14px; color: var(--ec-mute); cursor: pointer; }
.ec-check input { appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; border: var(--ec-hair-bright); background: var(--ec-wing); cursor: pointer; }
.ec-check input:checked { background: var(--ec-yellow); border-color: var(--ec-yellow); box-shadow: inset 0 0 0 4px var(--ec-wing); }
.ec-segment { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--ec-hair-bright); }
.ec-segment label { position: relative; padding: 12px 8px; text-align: center; cursor: pointer; color: var(--ec-mute); border-right: var(--ec-hair-bright); }
.ec-segment label:last-child { border-right: 0; }
.ec-segment input { position: absolute; opacity: 0; pointer-events: none; }
.ec-segment label:has(input:checked) { background: var(--ec-bone); color: var(--ec-ink); }
.ec-divider-text { display: flex; align-items: center; gap: var(--ec-space-4); color: var(--ec-faint); }
.ec-divider-text::before, .ec-divider-text::after { content: ""; flex: 1; height: 1px; background: var(--ec-line); }

/* ---------- Footer ---------- */
.ec-footer { padding: var(--ec-space-8) 0 var(--ec-space-6); background: var(--ec-wing); }
.ec-footer__cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--ec-space-6); }
.ec-footer__cols h4 { margin: 0 0 var(--ec-space-4); color: var(--ec-faint); }
.ec-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ec-space-2); font-size: 15px; }
.ec-footer__cols a { color: var(--ec-mute); text-decoration: none; }
.ec-footer__cols a:hover { color: var(--ec-bone); }
.ec-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ec-space-3); margin-top: var(--ec-space-8); padding-top: var(--ec-space-5); border-top: var(--ec-hair); color: var(--ec-faint); }

/* ---------- Motion ---------- */
.ec-rise { opacity: 0; transform: translateY(14px); animation: ec-rise .9s var(--ec-ease-out) forwards; }
.ec-rise--2 { animation-delay: .12s; }
.ec-rise--3 { animation-delay: .24s; }
@keyframes ec-rise { to { opacity: 1; transform: none; } }
@keyframes ec-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ec-rise { opacity: 1; transform: none; animation: none; }
  .ec-curve--draw { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .ec-nav__inner { grid-template-columns: 1fr auto; }
  .ec-nav__links { display: none; }
  .ec-stage { min-height: 0; }
  .ec-stage__plot { flex: none; height: 240px; min-height: 0; margin: var(--ec-space-6) auto var(--ec-space-5); }
  .ec-svg-label { display: none; }
  .ec-stage__foot { grid-template-columns: 1fr; gap: var(--ec-space-6); }
  .ec-stage__side { align-items: flex-start; text-align: left; }
  .ec-section__head { grid-template-columns: 1fr; }
  .ec-section__head .ec-lead { justify-self: start; }
  .ec-cells, .ec-cells--3, .ec-cells--4, .ec-plans { grid-template-columns: 1fr; }
  .ec-ruler { grid-template-columns: 1fr; border-top: 0; border-left: var(--ec-hair-bright); padding-left: var(--ec-space-5); }
  .ec-ruler::before { display: none; }
  .ec-key { padding: 0 0 var(--ec-space-6); }
  .ec-key::before { top: 4px; left: calc(-1 * var(--ec-space-5) - 6px); }
  .ec-stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--ec-space-6); }
  .ec-footer__cols { grid-template-columns: 1fr 1fr; }
  .ec-form__row { grid-template-columns: 1fr; }
  .ec-section { padding: var(--ec-space-8) 0; }
}
@media (max-width: 480px) {
  .ec-nav__text { display: none; }
  .ec-cover { height: 220px; }
}
