/*
 * Eclipse Rim: components
 * Built only from tokens.css. Load tokens.css first.
 */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
.er {
  margin: 0;
  background: var(--er-void);
  color: var(--er-text);
  font-family: var(--er-sans);
  font-size: var(--er-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.er a { color: var(--er-lilac); text-decoration: none; }
.er a:hover { color: var(--er-flare); }
.er img, .er svg { max-width: 100%; }
.er ::selection { background: var(--er-uv); color: var(--er-text); }
.er-container { width: 100%; max-width: var(--er-container); margin: 0 auto; padding: 0 var(--er-gutter); }
.er-narrow { width: 100%; max-width: var(--er-narrow); margin: 0 auto; padding: 0 var(--er-gutter); }
.er-section { padding: var(--er-space-9) 0; position: relative; }
.er-section--tight { padding: var(--er-space-8) 0; }
.er-section--lit { background: var(--er-glow-soft); border-top: 1px solid var(--er-line-soft); }
.er-center { text-align: center; }

/* Type */
.er-hero-title {
  font-size: var(--er-text-hero);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  background: var(--er-title-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.er-h2 {
  font-size: var(--er-text-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--er-space-4);
  background: var(--er-title-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.er-h3 { font-size: var(--er-text-h3); font-weight: 500; letter-spacing: -0.01em; margin: 0 0 var(--er-space-2); color: var(--er-text); }
.er-lead { font-size: var(--er-text-lead); line-height: 1.55; color: var(--er-dim); margin: 0; max-width: 34em; }
.er-center .er-lead { margin-left: auto; margin-right: auto; }
.er-eyebrow {
  font-family: var(--er-mono);
  font-size: var(--er-text-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--er-lilac);
  margin: 0 0 var(--er-space-3);
}
.er-micro { font-family: var(--er-mono); font-size: var(--er-text-micro); color: var(--er-faint); }
.er-muted { color: var(--er-dim); }

/* Logo: a tiny eclipse */
.er-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--er-text); letter-spacing: -0.01em; }
.er a.er-logo { color: var(--er-text); }
.er-logo__mark {
  width: 26px; height: 26px; border-radius: var(--er-radius-sm);
  background: var(--er-uv-deep);
  display: grid; place-items: center;
  box-shadow: var(--er-shadow-btn);
}
.er-logo__mark::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--er-void);
  box-shadow: 0 0 0 1.5px var(--er-flare), 0 0 8px 2px var(--er-lilac);
}

/* Nav: links grouped in a hairline capsule */
.er-nav { position: relative; z-index: 5; padding: var(--er-space-4) 0; }
.er-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--er-space-4); }
.er-nav__links {
  display: flex; gap: 2px; padding: 4px;
  border: 1px solid var(--er-line-soft);
  border-radius: var(--er-radius-pill);
  background: var(--er-glass);
}
.er-nav__links a { color: var(--er-dim); font-size: 14px; padding: 6px 14px; border-radius: var(--er-radius-pill); white-space: nowrap; }
.er-nav__links a:hover, .er-nav__links a[aria-current] { color: var(--er-text); background: var(--er-raised); }
.er-nav__end { display: flex; align-items: center; gap: var(--er-space-3); }
.er-nav__end > a:not(.er-btn) { color: var(--er-text); font-size: 14px; white-space: nowrap; }
@media (max-width: 860px) {
  .er-nav__links { display: none; }
  .er-nav__end > a:not(.er-btn) { display: none; }
}

/* Buttons: small glass slabs, 8px corners */
.er-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--er-sans); font-size: 14px; font-weight: 500; line-height: 1;
  padding: 11px 16px; border-radius: var(--er-radius-sm);
  border: 0; cursor: pointer; white-space: nowrap;
  color: var(--er-text);
  background: var(--er-glass-hi), var(--er-raised);
  box-shadow: 0 1px 0 var(--er-line-lit) inset, 0 0 0 1px var(--er-line);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.er a.er-btn { color: var(--er-text); }
.er-btn:hover { transform: translateY(-1px); }
.er-btn:focus-visible { outline: none; box-shadow: var(--er-ring); }
.er-btn--primary { background: var(--er-glass-hi), var(--er-uv-deep); box-shadow: var(--er-shadow-btn); }
.er-btn--primary:hover { background: var(--er-glass-hi), var(--er-uv); }
.er-btn--ghost { background: transparent; box-shadow: 0 0 0 1px var(--er-line-soft); color: var(--er-dim); }
.er a.er-btn--ghost { color: var(--er-dim); }
.er-btn--ghost:hover { color: var(--er-text); box-shadow: 0 0 0 1px var(--er-line); }
.er-btn--sm { padding: 8px 12px; font-size: 13px; }
.er-btn--lg { padding: 14px 20px; font-size: 15px; }
.er-btn--block { width: 100%; }

/* Keys and chips */
.er-kbd {
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--er-mono); font-size: 11px; color: var(--er-dim);
  padding: 2px 6px; border-radius: var(--er-radius-xs);
  background: var(--er-raised); box-shadow: 0 -1px 0 var(--er-line) inset, 0 0 0 1px var(--er-line-soft);
}
.er-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--er-text);
  padding: 6px 12px 6px 10px; border-radius: var(--er-radius-pill);
  background: var(--er-glass); box-shadow: 0 0 0 1px var(--er-line-lit), 0 0 20px -6px var(--er-uv);
  white-space: nowrap;
}
.er a.er-chip { color: var(--er-text); }
.er-chip__spark { width: 12px; height: 12px; flex: none; color: var(--er-lilac); }
.er-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--er-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--er-radius-xs);
  color: var(--er-dim); background: var(--er-panel); box-shadow: 0 0 0 1px var(--er-line);
  white-space: nowrap;
}
.er-badge--uv { color: var(--er-flare); background: var(--er-uv-deep); box-shadow: 0 0 0 1px var(--er-uv); }
.er-badge--sky { color: var(--er-sky); }
.er-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; flex: none; }

/* Hero */
.er-hero { position: relative; padding: var(--er-space-8) 0 0; text-align: center; overflow-x: clip; }
.er-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--er-space-5); }
.er-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--er-space-3); }
.er-hero__note { font-size: var(--er-text-small); color: var(--er-faint); margin: 0; }

/* Signature: the eclipse. Only its top half shows, rising behind a window. */
.er-eclipse {
  position: relative; width: min(640px, 100%); aspect-ratio: 2 / 1;
  margin: var(--er-space-6) auto 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(50% 100% at 50% 100%, #000 62%, transparent 100%);
  mask-image: radial-gradient(50% 100% at 50% 100%, #000 62%, transparent 100%);
}
.er-eclipse::before {
  content: ""; position: absolute; inset: 0;
  background: var(--er-glow);
}
.er-eclipse__disc {
  position: absolute; left: 50%; bottom: 0; width: 46%; aspect-ratio: 1;
  transform: translate(-50%, 50%); border-radius: 50%;
  background: var(--er-void);
  box-shadow: var(--er-rim);
}
.er-eclipse__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 10px 30px -10px var(--er-lilac);
}
.er-eclipse--sm { width: min(360px, 100%); margin-top: 0; }
.er-eclipse + .er-window, .er-eclipse + .er-stage { margin-top: -9%; }

/* Orbits: faint rings with node dots, behind the eclipse */
.er-orbits {
  position: absolute; left: 50%; top: 52%; width: min(1100px, 160%); aspect-ratio: 1;
  transform: translate(-50%, -50%); color: var(--er-line-lit); pointer-events: none; z-index: 0;
}
.er-orbits svg { width: 100%; height: 100%; display: block; }
.er-orbits circle { fill: none; stroke: currentColor; stroke-width: 1; }
.er-orbits .er-node { fill: var(--er-lilac); stroke: none; }
.er-orbits .er-node--dim { fill: var(--er-faint); stroke: none; }

/* Glass app window */
.er-stage { position: relative; z-index: 2; }
.er-window {
  position: relative; z-index: 2; text-align: left;
  background: var(--er-glass-hi), var(--er-deep);
  border-radius: var(--er-radius-lg);
  box-shadow: var(--er-shadow-window);
  overflow: hidden;
}
.er-window::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--er-lilac), transparent);
}
.er-window__grid { display: grid; grid-template-columns: 220px 1fr 240px; min-height: 360px; }
.er-window__side { padding: var(--er-space-4); border-right: 1px solid var(--er-line-soft); display: flex; flex-direction: column; gap: 4px; }
.er-window__main { padding: var(--er-space-5) var(--er-space-6); }
.er-window__aside { padding: var(--er-space-4); border-left: 1px solid var(--er-line-soft); }
@media (max-width: 980px) { .er-window__grid { grid-template-columns: 200px 1fr; } .er-window__aside { display: none; } }
@media (max-width: 640px) { .er-window__grid { grid-template-columns: 1fr; min-height: 0; } .er-window__side { display: none; } .er-window__main { padding: var(--er-space-5); } }
.er-search {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: 8px 10px; margin-bottom: var(--er-space-3);
  border-radius: var(--er-radius-sm); background: var(--er-panel); box-shadow: 0 0 0 1px var(--er-line-soft);
  font-size: 13px; color: var(--er-faint);
}
.er-side-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--er-radius-sm); font-size: 13px; color: var(--er-dim); }
.er-side-link--on { color: var(--er-lilac); background: var(--er-panel); }
.er-side-link svg { width: 14px; height: 14px; flex: none; }
.er-entry-title { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; margin: 0 0 var(--er-space-4); }
.er-entry-title::before { content: ""; width: 3px; height: 20px; border-radius: 2px; background: var(--er-uv); box-shadow: 0 0 10px var(--er-uv); }
.er-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--er-dim); }
.er-bullets li { position: relative; padding-left: 18px; }
.er-bullets li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--er-faint); }
.er-bullets .er-bullets { margin-top: 10px; padding-left: 18px; }
.er-link-tag { color: var(--er-lilac); border-bottom: 1px dashed var(--er-uv); }

/* Mini calendar for the window aside */
.er-cal { font-family: var(--er-mono); font-size: 11px; color: var(--er-faint); }
.er-cal__head { display: flex; justify-content: space-between; font-family: var(--er-sans); font-size: 13px; color: var(--er-text); margin-bottom: var(--er-space-3); }
.er-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.er-cal__grid span { padding: 5px 0; border-radius: var(--er-radius-xs); }
.er-cal__grid .is-shift { color: var(--er-lilac); }
.er-cal__grid .is-today { background: var(--er-uv-deep); color: var(--er-flare); box-shadow: 0 0 12px -2px var(--er-uv); }

/* Time bars (shifts, sleep blocks) */
.er-track { position: relative; height: 8px; border-radius: var(--er-radius-pill); background: var(--er-panel); box-shadow: 0 0 0 1px var(--er-line-soft) inset; }
.er-track__fill { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--er-uv); box-shadow: 0 0 10px -1px var(--er-uv); }
.er-track__fill--sky { background: var(--er-sky); box-shadow: 0 0 10px -1px var(--er-sky); }
.er-track__fill--dim { background: var(--er-line); box-shadow: none; }

/* Cards and grids */
.er-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--er-space-4); }
.er-grid--2 { grid-template-columns: repeat(2, 1fr); }
.er-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .er-grid, .er-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .er-grid, .er-grid--2, .er-grid--4 { grid-template-columns: 1fr; } }
.er-card {
  position: relative; padding: var(--er-space-5);
  background: var(--er-glass-hi), var(--er-glass);
  border-radius: var(--er-radius-md);
  box-shadow: var(--er-shadow-card), 0 0 0 1px var(--er-line-soft);
}
.er-card p { color: var(--er-dim); margin: 0; }
.er-card--lit::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--er-flare), transparent);
  box-shadow: 0 0 14px 1px var(--er-uv);
}
.er-icon {
  width: 34px; height: 34px; border-radius: var(--er-radius-sm);
  display: grid; place-items: center; margin-bottom: var(--er-space-4);
  color: var(--er-lilac); background: var(--er-panel);
  box-shadow: 0 1px 0 var(--er-line-lit) inset, 0 0 0 1px var(--er-line);
}
.er-icon svg { width: 16px; height: 16px; }

/* Split row */
.er-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--er-space-8); align-items: center; }
@media (max-width: 900px) { .er-split { grid-template-columns: 1fr; gap: var(--er-space-6); } }

/* Stats */
.er-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--er-space-4); }
@media (max-width: 700px) { .er-stats { grid-template-columns: 1fr; } }
.er-stat { padding: var(--er-space-5) 0; border-top: 1px solid var(--er-line); }
.er-stat__num { font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; background: var(--er-title-fill); -webkit-background-clip: text; background-clip: text; color: transparent; }
.er-stat__label { font-family: var(--er-mono); font-size: var(--er-text-micro); color: var(--er-dim); margin-top: var(--er-space-3); }

/* Check list */
.er-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.er-checks li { position: relative; padding-left: 26px; color: var(--er-dim); font-size: 14px; }
.er-checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--er-void); box-shadow: 0 0 0 1.5px var(--er-lilac), 0 0 8px var(--er-uv);
}

/* Quote */
.er-quote { margin: 0; padding: var(--er-space-6); border-radius: var(--er-radius-md); background: var(--er-glass); box-shadow: 0 0 0 1px var(--er-line-soft); }
.er-quote p { font-size: 20px; line-height: 1.45; letter-spacing: -0.01em; color: var(--er-text); margin: 0 0 var(--er-space-4); }
.er-quote cite { font-style: normal; font-family: var(--er-mono); font-size: var(--er-text-micro); color: var(--er-dim); }

/* Pricing */
.er-toggle { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--er-radius-sm); background: var(--er-panel); box-shadow: 0 0 0 1px var(--er-line-soft); }
.er-toggle button {
  font-family: var(--er-sans); font-size: 13px; color: var(--er-dim); background: transparent; border: 0;
  padding: 7px 14px; border-radius: var(--er-radius-xs); cursor: pointer; white-space: nowrap;
}
.er-toggle button[aria-pressed="true"] { color: var(--er-text); background: var(--er-raised); box-shadow: 0 1px 0 var(--er-line-lit) inset; }
.er-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--er-space-4); align-items: stretch; text-align: left; }
@media (max-width: 900px) { .er-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.er-plan { position: relative; display: flex; flex-direction: column; gap: var(--er-space-4); padding: var(--er-space-6) var(--er-space-5); border-radius: var(--er-radius-lg); background: var(--er-glass-hi), var(--er-deep); box-shadow: var(--er-shadow-card), 0 0 0 1px var(--er-line-soft); }
.er-plan--featured { background: var(--er-glow-soft), var(--er-panel); box-shadow: var(--er-shadow-card), 0 0 0 1px var(--er-uv), 0 0 60px -20px var(--er-uv); }
.er-plan--featured::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--er-flare), transparent);
  box-shadow: 0 0 18px 2px var(--er-lilac);
}
.er-plan__name { font-size: var(--er-text-h3); font-weight: 500; margin: 0; }
.er-plan__price { font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.er-plan__price small { font-size: 14px; letter-spacing: 0; color: var(--er-dim); font-weight: 400; }
.er-plan p { color: var(--er-dim); margin: 0; font-size: 14px; }
.er-plan .er-checks { flex: 1; }
.er-table-wrap { overflow-x: auto; border-radius: var(--er-radius-md); box-shadow: 0 0 0 1px var(--er-line-soft); }
.er-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.er-table th, .er-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--er-line-soft); }
.er-table thead th { font-family: var(--er-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--er-faint); background: var(--er-deep); }
.er-table td { color: var(--er-dim); }
.er-table td:first-child { color: var(--er-text); }
.er-table tr:last-child td { border-bottom: 0; }
.er-yes { color: var(--er-lilac); }

/* FAQ */
.er-faq { display: flex; flex-direction: column; gap: var(--er-space-2); }
.er-faq details { border-radius: var(--er-radius-md); background: var(--er-glass); box-shadow: 0 0 0 1px var(--er-line-soft); }
.er-faq summary { cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.er-faq summary::-webkit-details-marker { display: none; }
.er-faq summary::after { content: "+"; font-family: var(--er-mono); color: var(--er-lilac); }
.er-faq details[open] summary::after { content: "-"; }
.er-faq details p { margin: 0; padding: 0 20px 18px; color: var(--er-dim); }

/* Article */
.er-article-head { text-align: center; padding-top: var(--er-space-8); padding-bottom: var(--er-space-6); position: relative; z-index: 2; }
.er-article-head .er-hero-title { font-size: clamp(32px, 5vw, 56px); }
.er-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: var(--er-space-5); font-family: var(--er-mono); font-size: var(--er-text-micro); color: var(--er-dim); }
.er-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--er-sans); font-size: 12px; font-weight: 600;
  color: var(--er-flare); background: var(--er-uv-deep); box-shadow: 0 0 0 1px var(--er-uv);
}
.er-prose { font-size: 17px; line-height: 1.75; color: var(--er-dim); }
.er-prose h2 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--er-text); margin: var(--er-space-7) 0 var(--er-space-3); line-height: 1.2; }
.er-prose p { margin: 0 0 var(--er-space-5); }
.er-prose strong { color: var(--er-text); font-weight: 500; }
.er-prose code { font-family: var(--er-mono); font-size: .85em; padding: 2px 6px; border-radius: var(--er-radius-xs); background: var(--er-raised); color: var(--er-lilac); }
.er-prose ul { padding-left: 1.2em; margin: 0 0 var(--er-space-5); }
.er-prose li { margin-bottom: 6px; }
.er-prose li::marker { color: var(--er-uv); }
.er-prose .er-quote, .er-prose .er-figure { margin: var(--er-space-7) 0; }
.er-figure { margin: 0; padding: var(--er-space-5); border-radius: var(--er-radius-md); background: var(--er-deep); box-shadow: 0 0 0 1px var(--er-line-soft); }
.er-figure figcaption { font-family: var(--er-mono); font-size: var(--er-text-micro); color: var(--er-faint); margin-top: var(--er-space-4); }

/* Forms */
.er-form { display: flex; flex-direction: column; gap: var(--er-space-4); }
.er-field { display: flex; flex-direction: column; gap: 6px; }
.er-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--er-space-3); }
@media (max-width: 520px) { .er-row { grid-template-columns: 1fr; } }
.er-label { font-size: 13px; font-weight: 500; color: var(--er-text); }
.er-input, .er-select {
  width: 100%; font-family: var(--er-sans); font-size: 14px; color: var(--er-text);
  padding: 11px 12px; border-radius: var(--er-radius-sm); border: 0;
  background: var(--er-void); box-shadow: 0 0 0 1px var(--er-line) inset;
  appearance: none;
}
.er-input::placeholder { color: var(--er-faint); }
.er-input:focus, .er-select:focus { outline: none; box-shadow: 0 0 0 1px var(--er-uv) inset, var(--er-ring); }
.er-select { background-image: linear-gradient(45deg, transparent 50%, var(--er-dim) 50%), linear-gradient(135deg, var(--er-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.er-hint { font-size: 12px; color: var(--er-faint); }
.er-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--er-space-2); }
@media (max-width: 520px) { .er-choices { grid-template-columns: 1fr; } }
.er-choice { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--er-radius-sm); background: var(--er-void); box-shadow: 0 0 0 1px var(--er-line) inset; cursor: pointer; font-size: 13px; }
.er-choice input { position: absolute; opacity: 0; }
.er-choice span { color: var(--er-faint); font-family: var(--er-mono); font-size: 11px; }
.er-choice:has(input:checked) { background: var(--er-panel); box-shadow: 0 0 0 1px var(--er-uv) inset, 0 0 18px -6px var(--er-uv); }
.er-divider { display: flex; align-items: center; gap: var(--er-space-3); font-family: var(--er-mono); font-size: 11px; color: var(--er-faint); text-transform: uppercase; letter-spacing: .06em; }
.er-divider::before, .er-divider::after { content: ""; flex: 1; height: 1px; background: var(--er-line-soft); }

/* CTA band with a small eclipse */
.er-cta { position: relative; text-align: center; padding: var(--er-space-8) var(--er-space-5) var(--er-space-7); border-radius: var(--er-radius-lg); background: var(--er-deep); box-shadow: 0 0 0 1px var(--er-line-soft); overflow: hidden; }
.er-cta .er-eclipse { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; opacity: .9; }
.er-cta > *:not(.er-eclipse) { position: relative; z-index: 1; }

/* Footer */
.er-footer { border-top: 1px solid var(--er-line-soft); padding: var(--er-space-7) 0 var(--er-space-6); margin-top: var(--er-space-8); font-size: 14px; }
.er-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--er-space-6); }
@media (max-width: 760px) { .er-footer__grid { grid-template-columns: 1fr 1fr; } }
.er-footer h4 { font-family: var(--er-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--er-faint); margin: 0 0 var(--er-space-3); }
.er-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.er-footer ul a { color: var(--er-dim); }
.er-footer ul a:hover { color: var(--er-text); }
.er-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--er-space-3); margin-top: var(--er-space-7); padding-top: var(--er-space-5); border-top: 1px solid var(--er-line-soft); color: var(--er-faint); font-family: var(--er-mono); font-size: var(--er-text-micro); }

/* Motion */
.er-rise { animation: er-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.er-rise--2 { animation-delay: .08s; }
.er-rise--3 { animation-delay: .16s; }
@keyframes er-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .er-rise { animation: none; }
  .er-btn { transition: none; }
}
