:root {
  --bg: #f5f0e8;
  --bg-card: #ffffff;
  --bg-soft: #faf6f0;
  --bg-soft-green: #f4f7f4;
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --muted-light: #bcbcbc;
  --line: #e2dbd3;
  --line-soft: #f4ece2;
  --line-green: #e6efe6;
  --accent: #b45309;
  --accent-soft: #fdf4e7;
  --accent-ink: #f5f0e8;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --success: #15803d;
  --success-soft: #dcfce7;
  --font-display: "EB Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 80rem;
  --shadow-soft: 0 4px 16px rgba(26, 26, 26, 0.02);
  --radius-card: 16px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.page-loading {
  margin: 4rem auto;
  max-width: var(--max);
  padding: 0 var(--pad);
  color: var(--muted);
}

.accent-mark {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 2px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg) !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 10vh, 6rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.section-lead {
  margin: 0 0 2.25rem;
  max-width: 34rem;
  color: var(--muted);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Site-wide chrome: header + shared logo (layer above page blocks) */

.ed-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.ed-site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 4rem;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ed-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.ed-logo__mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.ed-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
}

.ed-logo--light {
  color: #fff;
}

.ed-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ed-nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.ed-nav__links a:hover {
  color: var(--ink);
}

.ed-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ed-nav__cta:hover {
  opacity: 0.92;
}

@media (max-width: 960px) {
  .ed-nav__links {
    display: none;
  }
}

.ed-footer {
  background: var(--ink);
  color: var(--muted-light);
}

.ed-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--pad) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.ed-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.ed-footer__brand {
  width: min(100%, 20rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ed-footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.57;
  color: var(--muted-light);
}

.ed-footer__nav {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.ed-footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.ed-footer__nav a:hover {
  color: var(--muted-light);
}

.ed-footer__contacts {
  width: min(100%, 17.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-footer__contacts-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.ed-footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ed-footer__contact-items a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
}

.ed-footer__contact-items a:hover {
  color: var(--muted-light);
}

.ed-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.875rem;
}

.ed-footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ed-footer__legal a {
  color: var(--muted-light);
  text-decoration: none;
}

.ed-footer__legal a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .ed-footer__nav {
    gap: 1.25rem;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.12);
}

.btn-primary:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-card);
}

.offer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4.5rem) var(--pad) clamp(3rem, 9vh, 5.5rem);
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
}

.offer-grid {
  width: 100%;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .offer-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.offer-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-title {
  margin: 0 0 1.25rem;
  max-width: 11ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.8vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.offer-accent {
  display: inline-block;
  color: var(--ink);
  position: relative;
}

.offer-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.18em;
  background: var(--detail);
  opacity: 0.9;
  z-index: -1;
}

.offer-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
}

.offer-visual {
  position: relative;
  min-height: clamp(16rem, 42vw, 26rem);
}

.clock-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.clock-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% 18% 18%;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.clock {
  position: absolute;
  filter: drop-shadow(0 12px 28px rgba(22, 24, 29, 0.1));
}

.clock-lg {
  width: min(72%, 19rem);
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: clock-float 6s ease-in-out infinite;
}

.clock-md {
  width: min(42%, 11rem);
  left: 4%;
  top: 12%;
  z-index: 1;
  opacity: 0.95;
  animation: clock-float 7.5s ease-in-out 0.4s infinite;
}

.clock-sm {
  width: min(28%, 7.5rem);
  left: 18%;
  bottom: 8%;
  z-index: 3;
  opacity: 0.92;
  animation: clock-float 5.5s ease-in-out 0.9s infinite;
}

.clock-face {
  width: 100%;
  height: auto;
  display: block;
}

.clock-rim {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  opacity: 0.55;
}

.clock-dial {
  fill: var(--bg-card);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.clock-ticks line {
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.7;
}

.clock-hand {
  stroke-linecap: round;
  transform-origin: 50px 50px;
}

.clock-hand.hour {
  stroke: var(--ink);
  stroke-width: 3.5;
  animation: spin-hour 48s linear infinite;
}

.clock-hand.minute {
  stroke: var(--detail);
  stroke-width: 2.5;
  animation: spin-minute 8s linear infinite;
}

.clock-hub {
  fill: var(--accent);
}

@keyframes spin-hour {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-minute {
  to {
    transform: rotate(360deg);
  }
}

@keyframes clock-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clock-lg,
  .clock-md,
  .clock-sm,
  .clock-hand.hour,
  .clock-hand.minute {
    animation: none;
  }
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5.5rem) var(--pad) clamp(3rem, 10vh, 6rem);
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.pillars li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: 0 10px 30px rgba(22, 24, 29, 0.04);
}

.pillars h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.process-section .section-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.process-section .section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.process-section .section-head h2 {
  margin: 0 0 0.85rem;
  max-width: 28ch;
}

.process-section .section-head .section-lead {
  margin: 0;
}

.process-principle {
  margin: 0 0 3rem;
  max-width: 44rem;
  padding: 1.35rem 1.5rem 1.35rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  border-left: 4px solid var(--detail);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.55;
  font-style: normal;
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.04);
}

.process-track {
  display: grid;
  gap: 0;
}

.process-phase-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.process-early {
  position: relative;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .process-steps--early {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .process-steps--late {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 66%;
  }
}

.process-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.15rem 1.15rem 1.25rem;
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(22, 24, 29, 0.08);
}

.process-step-marker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.process-step-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.process-step--early .process-step-marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  display: none;
}

@media (min-width: 768px) {
  .process-steps--early .process-step:not(:last-child) .process-step-marker::after {
    display: block;
    position: absolute;
    right: -0.55rem;
    top: 1.65rem;
    width: 1rem;
    height: 2px;
    background: var(--line-strong);
  }
}

.process-bracket-wrap {
  margin-top: 1rem;
  color: var(--accent);
}

.process-bracket-svg {
  display: block;
  width: 100%;
  height: 3rem;
  opacity: 0.55;
}

.process-duration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.process-connector {
  display: flex;
  justify-content: center;
  padding: 1.75rem 0;
}

.process-connector-line {
  display: block;
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--accent), var(--line-strong));
  border-radius: 99px;
}

.process-step--late {
  border-top: 3px solid var(--ink);
}

@media (max-width: 767px) {
  .process-steps--early,
  .process-steps--late {
    grid-template-columns: 1fr;
  }

  .process-steps--late {
    max-width: none;
  }

  .process-bracket-svg {
    height: 2rem;
  }
}

.contact .hint {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.8;
}

.contact code {
  font-size: 0.8em;
  color: var(--accent);
}

.rich-content {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 1.5rem 0 0.75rem;
}

.rich-content p {
  margin: 0 0 1rem;
}

.rich-content ul,
.rich-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.rich-content a {
  color: var(--accent);
}

.rich-content strong {
  color: var(--ink);
}

/* Shared editorial primitives */

.ed-section {
  background: var(--bg);
}

.ed-section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--pad);
}

.ed-section__header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.ed-section__header--center {
  align-items: center;
  text-align: center;
}

.ed-section__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 55rem;
}

.ed-section__lead {
  margin: 0;
  max-width: 45rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.ed-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ed-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.ed-btn--ghost {
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
}

.ed-btn--solid {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
}

.ed-dark-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: 24px;
  background: var(--ink);
  text-align: center;
}

.ed-dark-card--cta {
  gap: 2.5rem;
}

.ed-dark-card__glow {
  position: absolute;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: #fff;
  filter: blur(40px);
  pointer-events: none;
}

.ed-dark-card__glow--left {
  top: -6.25rem;
  left: -6.25rem;
  opacity: 0.03;
}

.ed-dark-card__glow--right {
  right: -4rem;
  bottom: -2rem;
  opacity: 0.02;
}

.ed-dark-card__content {
  position: relative;
  z-index: 1;
  max-width: 47.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ed-dark-card__content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: #fff;
}

.ed-dark-card--cta .ed-dark-card__content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.ed-dark-card__content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-light);
}

.ed-dark-card--cta .ed-dark-card__content p {
  font-size: 1.125rem;
  line-height: 1.55;
}

.ed-dark-card .ed-btn {
  position: relative;
  z-index: 1;
}

.ed-quote-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.ed-quote {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.ed-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ed-ornament__line {
  width: 1.5rem;
  height: 1px;
  background: var(--line);
}

.ed-ornament__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ed-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ed-eyebrow-row__sq {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .ed-section__inner {
    padding: 4.5rem var(--pad);
  }

  .ed-section__header {
    margin-bottom: 2.5rem;
  }
}

.ed-hero {
  background: var(--bg);
}

.ed-hero__intro,
.ed-hero__badges,
.ed-hero .ed-dark-card {
  animation: ed-rise 0.7s ease both;
}

.ed-hero__badges {
  animation-delay: 0.12s;
}

.ed-hero .ed-dark-card {
  animation-delay: 0.22s;
}

@keyframes ed-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ed-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--pad) 5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.ed-hero__intro {
  display: grid;
  grid-template-columns: 1fr min(27.5rem, 38%);
  gap: 4rem;
  align-items: start;
}

.ed-hero__headline h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--ink);
}

.ed-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ed-hero__aside p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.ed-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.ed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .ed-hero__inner {
    gap: 3rem;
    padding: 2.5rem var(--pad) 3.5rem;
  }

  .ed-hero__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.ed-solutions .ed-section__inner {
  padding-top: 6.5rem;
  padding-bottom: 6rem;
}

.ed-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.ed-solution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}

.ed-solution-card__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ed-solution-card__title-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-solution-card__title-group h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
}

.ed-solution-card__title-group hr {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.ed-solution-card__top > p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.ed-solution-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
}

.ed-solution-card__price-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
}

.ed-solution-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
}

@media (max-width: 960px) {
  .ed-solutions__grid {
    grid-template-columns: 1fr;
  }
}

.ed-algorithm .ed-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding-top: 6.5rem;
  padding-bottom: 6rem;
}

.ed-algorithm .ed-section__header {
  margin-bottom: 0;
  width: 100%;
}

.ed-algorithm__rule {
  width: 100%;
  max-width: 80rem;
  height: 0;
  border-top: 1px solid var(--line);
}

.ed-algorithm__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}

.ed-step-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ed-step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ed-step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 700;
}

.ed-step-card__tag {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.ed-step-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-step-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.ed-step-card__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.ed-algorithm .ed-quote-footer {
  margin-top: 0;
  width: 100%;
}

@media (max-width: 1100px) {
  .ed-algorithm__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ed-algorithm__grid {
    grid-template-columns: 1fr;
  }
}

.ed-case .ed-section__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.ed-case__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ed-case__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ed-case__eyebrow-line {
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.ed-case__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  color: var(--ink);
  max-width: 28ch;
}

.ed-compare {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ed-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ed-compare-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
}

.ed-compare-card--before {
  background: var(--bg-soft);
  border-color: var(--line-soft);
}

.ed-compare-card--after {
  background: var(--bg-soft-green);
  border-color: var(--line-green);
}

.ed-compare-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ed-compare-card__head h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.ed-compare-card > p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.ed-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.ed-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.ed-status--bad {
  background: var(--danger-soft);
  color: var(--danger);
}

.ed-status--bad .ed-status__dot {
  background: var(--danger);
}

.ed-status--good {
  background: var(--success-soft);
  color: var(--success);
}

.ed-status--good .ed-status__dot {
  background: var(--success);
}

.ed-stat-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 20px;
  background: var(--ink);
}

.ed-stat-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1;
  color: var(--bg);
}

.ed-stat-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ed-stat-card__label {
  margin: 0;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ed-stat-card__body {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--bg);
  opacity: 0.9;
}

.ed-case__quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.ed-case__quote > p {
  margin: 0;
  max-width: 55rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink);
}

.ed-case__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-style: normal;
}

.ed-case__author cite {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ed-case__author > span:last-child {
  font-size: 0.8125rem;
}

.ed-case__author-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 900px) {
  .ed-case .ed-section__inner {
    gap: 3rem;
  }

  .ed-compare__row {
    grid-template-columns: 1fr;
  }

  .ed-stat-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ed-industries .ed-section__inner {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.ed-industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.ed-industry-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}

.ed-industry-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.ed-industry-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-industry-card__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.17;
  color: var(--ink);
}

.ed-industry-card__text p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.ed-final-cta .ed-section__inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 960px) {
  .ed-industries__grid {
    grid-template-columns: 1fr;
  }
}

.ed-partners .ed-section__inner {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.ed-partners .ed-section__header {
  gap: 1rem;
}

.ed-partners .ed-pill {
  background: var(--accent-soft);
}

.ed-partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.ed-partner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 20rem);
  min-height: 6rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ed-partner-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--accent-soft);
}

.ed-partner-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.ed-partner-card__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}

.ed-partner-card__text p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.6);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32.5rem);
  max-height: min(92vh, 52rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2.25rem;
  border-radius: 24px;
  background: #f7f3ee;
  box-shadow: 0 16px 32px -4px rgba(18, 16, 14, 0.15);
  animation: ed-rise 0.35s ease both;
}

.lead-modal__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-modal__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lead-modal__dialog h2,
.lead-modal__success h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--ink);
}

.lead-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lead-modal__close:hover {
  background: rgba(26, 26, 26, 0.05);
}

.lead-modal__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.lead-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.lead-modal__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.lead-modal__label i {
  font-style: normal;
  color: var(--accent);
}

.lead-modal__label em {
  font-style: normal;
  font-weight: 500;
  color: #8c867e;
}

.lead-modal__form input[type="text"],
.lead-modal__form input[type="tel"],
.lead-modal__form input[type="email"],
.lead-modal__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.lead-modal__form textarea {
  min-height: 6rem;
  padding: 1rem;
  resize: vertical;
}

.lead-modal__form input::placeholder,
.lead-modal__form textarea::placeholder {
  color: #8c867e;
}

.lead-modal__form input:focus,
.lead-modal__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
}

.lead-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.lead-modal__privacy {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  align-self: stretch;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--muted);
  user-select: none;
}

.lead-modal__privacy input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.lead-modal__checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  background: #fff;
}

.lead-modal__checkbox img {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lead-modal__privacy input:checked + .lead-modal__checkbox img {
  opacity: 1;
}

.lead-modal__privacy input:focus-visible + .lead-modal__checkbox {
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.18);
}

.lead-modal__error {
  margin: 0;
  align-self: stretch;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.lead-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #f7f3ee;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lead-modal__submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.lead-modal__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.lead-modal__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lead-modal__telegram:hover {
  opacity: 0.85;
}

.lead-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem 0;
}

.lead-modal__success[hidden] {
  display: none;
}

.lead-modal__success p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.lead-modal__success .lead-modal__submit {
  max-width: 16rem;
}

@media (max-width: 560px) {
  .lead-modal__dialog {
    padding: 1.5rem;
    gap: 1.25rem;
    border-radius: 20px;
  }

  .lead-modal__dialog h2,
  .lead-modal__success h2 {
    font-size: 1.625rem;
  }
}

.page-example {
  --example-max: 40rem;
}

.page-example__main {
  max-width: var(--example-max);
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 4rem) var(--pad) clamp(4rem, 10vh, 6rem);
}

.page-example__main .section {
  border-top: none;
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.page-example__main .section:first-child {
  padding-top: 0;
}

.page-example__main .section h2 {
  max-width: none;
}

.page-example__main .rich-content {
  max-width: none;
}

.page-example__main .cta-row {
  margin-top: 0.5rem;
}


