.ed {
  --ed-bg: #0b0b0b;
  --ed-panel: #121211;
  --ed-ink: #f5f2ea;
  --ed-ink-2: rgb(245 242 234 / .7);
  --ed-ink-3: rgb(245 242 234 / .44);
  --ed-line: rgb(245 242 234 / .1);
  --ed-gold: #e8d6a8;
  --ed-gold-deep: #b9974a;
  --ed-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ed-ease: cubic-bezier(.16, 1, .3, 1);
  color: var(--ed-ink);
  background: var(--ed-bg);
  color-scheme: dark;
  overflow: clip;
}
.ed .lucid-btn { color-scheme: dark; }
.ed-wrap { width: min(100% - 32px, 1160px); margin: 0 auto; }

.ed-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 12.5px/1 var(--lucid-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ed-gold); }
.ed-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-gold); box-shadow: 0 0 0 4px rgb(232 214 168 / .16), 0 0 16px rgb(232 214 168 / .5); }

.ed-hero { position: relative; padding: 96px 0 104px; isolation: isolate; }
.ed-hero::before {
  content: ""; position: absolute; inset: -20% -10% 0; z-index: -1;
  background: radial-gradient(42% 46% at 76% 42%, rgb(232 214 168 / .15), transparent 70%), radial-gradient(30% 30% at 6% 92%, rgb(232 214 168 / .06), transparent 70%);
}
.ed-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.ed-title { margin: 26px 0 0; font-size: clamp(48px, 7.2vw, 100px); font-weight: 600; line-height: .95; letter-spacing: -.055em; text-wrap: balance; animation: ed-rise 1000ms var(--ed-ease) both; }
.ed-title em { font: italic 400 1.08em/0.9 var(--ed-serif); letter-spacing: -.02em; background: linear-gradient(100deg, #f6ead0 10%, #e8d6a8 45%, #b9974a 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ed-lede { max-width: 520px; margin: 28px 0 0; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--ed-ink-2); text-wrap: pretty; animation: ed-rise 1000ms var(--ed-ease) 120ms both; }
.ed-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; animation: ed-rise 1000ms var(--ed-ease) 220ms both; }

.ed-plate { position: relative; margin: 0; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, #141413, #0f0f0e); box-shadow: 0 0 0 1px var(--ed-line), inset 0 1px 0 rgb(255 255 255 / .04); transition: transform 500ms var(--ed-ease), box-shadow 500ms; }
.ed-plate-hero { padding: 22px; box-shadow: 0 0 0 1px rgb(232 214 168 / .2), 0 50px 120px -50px rgb(232 214 168 / .45), inset 0 1px 0 rgb(255 255 255 / .05); animation: ed-rise 1200ms var(--ed-ease) 160ms both; }
.ed-plate-hero:hover { transform: translateY(-4px) rotate(-.4deg); }
.ed-plate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ed-no { font: italic 400 26px/1 var(--ed-serif); color: var(--ed-gold); letter-spacing: -.01em; }
.ed-plate-hero .ed-no { font-size: 32px; }
.ed-plate-state { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--lucid-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ed-ink-3); }
.ed-plate-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--ed-ink-3); }
.ed-plate-hero .ed-plate-state, .ed-plate[data-now="true"] .ed-plate-state { color: var(--ed-gold); }
.ed-plate-hero .ed-plate-state i, .ed-plate[data-now="true"] .ed-plate-state i { background: var(--ed-gold); box-shadow: 0 0 10px rgb(232 214 168 / .8); animation: ed-breathe 2.4s ease-in-out infinite; }
.ed-plate-canvas { position: relative; aspect-ratio: 44 / 28; max-width: 100%; border-radius: 12px; background: #0a0a0a; box-shadow: inset 0 0 0 1px rgb(245 242 234 / .06); overflow: hidden; cursor: crosshair; }
.ed-plate-canvas canvas { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.ed-plate-canvas[data-dim="true"] { cursor: default; }
.ed-plate-canvas[data-dim="true"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(10 10 10 / .7)); }
.ed-plate-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: 14px; font: 500 12px/1.4 var(--lucid-font-mono); color: var(--ed-ink-3); }
.ed-plate-hero .ed-plate-foot { justify-content: flex-start; }
.ed-plate-hero .ed-plate-foot span::before { content: "·"; margin-right: 8px; color: var(--ed-gold); }
.ed-plate-hero .ed-plate-foot span:first-child::before { content: none; }
.ed-plate-foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--ed-gold); text-decoration: none; }
.ed-plate-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-plate-foot a:focus-visible { outline: 2px solid var(--ed-gold); outline-offset: 2px; border-radius: 4px; }

.ed-head { max-width: 640px; }
.ed-h2 { margin: 18px 0 0; font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.ed-lead { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ed-ink-2); text-wrap: pretty; }

.ed-collection { padding: 112px 0 40px; box-shadow: inset 0 1px 0 var(--ed-line); }
.ed-shelf { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 14px; margin-top: 48px; align-items: start; }
.ed-shelf .ed-plate:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(232 214 168 / .3), 0 30px 60px -30px rgb(232 214 168 / .35); }
.ed-shelf .ed-plate[data-now="true"] { box-shadow: 0 0 0 1px rgb(232 214 168 / .25); }
.ed-shelf .ed-plate:not([data-now="true"]) .ed-no { color: var(--ed-ink-3); }

.ed-inside { padding: 112px 0 40px; }
.ed-inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 48px; border-radius: 22px; overflow: hidden; background: var(--ed-line); box-shadow: 0 0 0 1px var(--ed-line); }
.ed-feature { display: grid; align-content: start; gap: 10px; padding: 28px; background: var(--ed-bg); transition: background-color 300ms; }
.ed-feature:hover { background: #111110; }
.ed-feature-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #111; background: var(--ed-gold); box-shadow: inset 0 1px 0 rgb(255 255 255 / .4); transition: transform 400ms var(--ed-ease); }
.ed-feature:hover .ed-feature-icon { transform: rotate(-6deg) scale(1.06); }
.ed-feature h3 { margin: 8px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.ed-feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ed-ink-2); }

.ed-how { padding: 112px 0 40px; }
.ed-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ed-step { position: relative; padding-top: 28px; box-shadow: inset 0 1px 0 var(--ed-line); }
.ed-step::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--ed-gold); transition: width 600ms var(--ed-ease); }
.ed-step:hover::before { width: 100%; }
.ed-step-n { font: italic 400 56px/1 var(--ed-serif); color: var(--ed-gold); }
.ed-step h3 { margin: 16px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ed-step p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ed-ink-2); }

.ed-free { padding: 112px 0 40px; }
.ed-free-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; padding: clamp(28px, 5vw, 56px); border-radius: 26px; background: radial-gradient(70% 120% at 100% 0%, rgb(232 214 168 / .12), transparent 60%), var(--ed-panel); box-shadow: 0 0 0 1px var(--ed-line); }
.ed-free-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.ed-faq { padding: 112px 0 128px; }
.ed-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ed-faq-list { display: grid; }
.ed-qa { box-shadow: inset 0 -1px 0 var(--ed-line); }
.ed-qa h3 { margin: 0; }
.ed-qa button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0; border: 0; background: none; color: var(--ed-ink); font: 600 17px/1.35 var(--lucid-font-sans); letter-spacing: -.01em; text-align: left; cursor: pointer; }
.ed-qa button .lucid-icon { flex: none; color: var(--ed-gold); transition: transform 300ms var(--ed-ease); }
.ed-qa[data-open="true"] button .lucid-icon { transform: rotate(45deg); }
.ed-qa button:hover span { color: var(--ed-gold); }
.ed-qa button:focus-visible { outline: 2px solid var(--ed-gold); outline-offset: 4px; border-radius: 6px; }
.ed-qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ed-ease); }
.ed-qa[data-open="true"] .ed-qa-a { grid-template-rows: 1fr; }
.ed-qa-a p { min-height: 0; overflow: hidden; margin: 0; padding-right: 32px; font-size: 15.5px; line-height: 1.65; color: var(--ed-ink-2); }
.ed-qa[data-open="true"] .ed-qa-a p { padding-bottom: 22px; }

@keyframes ed-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes ed-breathe { 50% { opacity: .45; } }

@media (max-width: 960px) {
  .ed-hero { padding: 64px 0 72px; }
  .ed-hero-grid, .ed-free-card, .ed-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ed-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .ed-shelf, .ed-inside-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-collection, .ed-inside, .ed-how, .ed-free { padding-top: 80px; }
  .ed-feature { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ed *, .ed *::before, .ed *::after { animation: none !important; transition: none !important; }
}
