
.ed {
  --ed-col: 720px;
  --ed-hero-col: 900px;
  --ed-wide: 1240px;
  --ed-gap: clamp(88px, 11vw, 168px);        --ed-h1: clamp(42px, 7vw, 88px);
  --ed-h2: clamp(30px, 4.2vw, 52px);
  --ed-h3: clamp(20px, 2vw, 24px);
  --ed-r: 20px;
  padding-bottom: var(--ed-gap);
  overflow-x: clip;
}

.ed-col { width: min(var(--ed-col), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ed-col--hero { width: min(var(--ed-hero-col), 100% - 2 * var(--gutter)); }
.ed-wide { width: min(var(--ed-wide), 100% - 2 * var(--gutter)); margin-inline: auto; }

.ed-h1 { font-size: var(--ed-h1); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.ed-h2 { font-size: var(--ed-h2); line-height: 1.08; font-weight: 600; letter-spacing: -0.032em; text-wrap: balance; }
.ed-h3 { font-size: var(--ed-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }

.ed-p { font-size: 19px; line-height: 1.65; color: var(--text); }
.ed-p + .ed-p { margin-top: 20px; }
.ed-h2 + .ed-p, .ed-h3 + .ed-p { margin-top: 24px; }
.ed-p a, .ed-meta a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ed-p b { font-weight: 600; }

.ed-hero { padding-top: calc(var(--bar) + clamp(56px, 9vw, 132px)); }
.ed-eyebrow { margin-bottom: 22px; font-size: 16px; font-weight: 500; letter-spacing: 0.01em; color: var(--accent); }
.ed-lede { margin-top: 28px; max-width: 720px; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: var(--muted); letter-spacing: -0.005em; }
.ed-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ed-meta { margin-top: 24px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1;
  transition: opacity 120ms ease, background 160ms ease;
}
.ed-btn:hover { opacity: 0.88; }
.ed-btn--primary { background: var(--invert-bg); color: var(--invert-text); }
.ed-btn--ghost { border-color: var(--line); background: var(--card); color: var(--text); }
.ed-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ed-fig { margin-top: clamp(48px, 7vw, 96px); margin-bottom: 0; }
.ed-sec .ed-fig { margin-top: clamp(40px, 6vw, 72px); }
.ed-frame { position: relative; overflow: hidden; border-radius: var(--ed-r); background: var(--card); }
.ed-fig--paint .ed-frame {
  padding: clamp(14px, 4.5vw, 64px) clamp(14px, 6vw, 96px);
  background: var(--card) var(--art, none) center / cover no-repeat;
}
.ed-frame picture, .ed-frame img, .ed-shot picture, .ed-shot img { display: block; width: 100%; height: auto; }
.ed-shot { border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -28px #00000080, 0 0 0 1px #0000001a; background: #fff; }
.ed-shot--narrow { max-width: 760px; margin-inline: auto; }
.ed-fig--photo .ed-frame { min-height: clamp(320px, 46vw, 560px); display: flex; align-items: flex-end; background: #1c1c1a; }
.ed-fig--photo .ed-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-fig--photo .ed-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 25%, #000000d9 100%); }
.ed-over { position: relative; z-index: 1; padding: clamp(24px, 5vw, 64px); max-width: 860px; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -0.028em; color: #fff; text-wrap: balance; }
.ed-over::before { content: ""; position: absolute; z-index: -1; top: -64px; bottom: 0; left: 0; right: -100vw; background: linear-gradient(180deg, #0000, #000000a3 64px); }
.ed-cap { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 720px; }

.ed-sec { margin-top: var(--ed-gap); }
.ed-fig + .ed-sec { margin-top: var(--ed-gap); }

.ed-points { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ed-points li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.55; color: var(--muted); }
.ed-points b { display: block; margin-bottom: 2px; font-size: 18px; font-weight: 600; color: var(--text); }

.ed-stats { list-style: none; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ed-stat { padding: 28px 28px 8px 0; }
.ed-stat + .ed-stat { padding-left: 28px; border-left: 1px solid var(--line); }
.ed-stat-n { display: block; white-space: nowrap; font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ed-stat-l { display: block; margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 260px; }

.ed-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.ed-row--flip .ed-row-text { order: 2; }
.ed-row--art-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.ed-row-fig { margin: 0; min-width: 0; }
.ed-row-text { max-width: 520px; }
.ed-row-art {
  overflow: hidden; display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) 16px; border-radius: var(--ed-r);
  background: var(--card) var(--art, none) center / cover no-repeat;
}
.ed-row-art--phone { display: grid; place-items: center; padding: clamp(40px, 5vw, 64px) 16px; background: var(--card); }
.ed-tilt { width: 290px; height: 600px; }
.ed-tilt .phone { width: 290px; height: 100%; box-shadow: 0 30px 60px -30px #0f172a59; }
.ed-row-art > .ed-shot { width: 100%; min-width: 0; }
.ed-row-art:has(> .ed-shot) { padding: clamp(16px, 3vw, 40px); }

.ed-pull { padding-top: 28px; border-top: 2px solid var(--accent); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }

.ed-defs { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ed-defs > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ed-defs dt { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -0.005em; }
.ed-defs dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }

.ed-note { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 24px 26px; border-radius: 16px; background: var(--card); color: var(--text); font-size: 16px; line-height: 1.55; }
.ed-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.3; color: var(--text); }
.ed-chip svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.ed-steps { list-style: none; counter-reset: ed; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ed-steps li { counter-increment: ed; position: relative; padding: 28px 0 28px 72px; border-bottom: 1px solid var(--line); }
.ed-steps li::before { content: counter(ed); position: absolute; left: 0; top: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--invert-bg); color: var(--invert-text); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ed-steps b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ed-steps span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.55; color: var(--muted); }

.ed-links { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ed-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; min-height: 44px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ed-links b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ed-links span { grid-column: 1; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.ed-links svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.ed-links a:hover svg { transform: translateX(6px); }
.ed-links a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.ed-faq .ed-qas { margin-top: 40px; border-top: 1px solid var(--line); }
.ed-qa { padding: 32px 0 34px; border-bottom: 1px solid var(--line); }
.ed-qa .ed-h3 { font-size: clamp(21px, 2.2vw, 26px); }
.ed-qa .ed-p { margin-top: 14px; font-size: 18px; color: var(--muted); }

.ed-cta { margin-top: var(--ed-gap); padding: clamp(44px, 8vw, 112px) clamp(24px, 6vw, 96px); border-radius: calc(var(--ed-r) + 6px); background: var(--card); color: var(--text); }
.ed-cta .ed-h2 { max-width: 760px; }
.ed-cta .ed-lede { color: var(--text); opacity: 0.8; }
.ed-cta .ed-btn--ghost { background: var(--pill); border-color: transparent; }

@media (max-width: 900px) {
  .ed-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ed-stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 28px; }
  .ed-row, .ed-row--art-wide { grid-template-columns: minmax(0, 1fr); }
  .ed-row--flip .ed-row-text { order: 0; }
  .ed-row-text { max-width: none; }
  .ed-defs > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ed-p { font-size: 18px; }
  .ed-actions .ed-btn { flex: 1 1 100%; }
  .ed-steps li { padding-left: 60px; }
  .ed-steps li::before { width: 38px; height: 38px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-btn, .ed-links svg { transition: none; }
  .ed-links a:hover svg { transform: none; }
}

@media (min-width: 901px) { .ed-row.sol-flipwide { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
