/* ADE website.
   Graphite surfaces, white type, and one signature accent: the logo's
   orange → violet gradient (#ff8a3d → #a78bfa), used sparingly for glows,
   one hero phrase, focus rings and a few borders.
   Light by default, dark when the system is dark or the header toggle picks it
   (html[data-theme]). */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f8;
  --panel: #ffffff;
  --panel-2: #f4f4f6;
  --line: rgba(12, 12, 20, 0.09);
  --line-2: rgba(12, 12, 20, 0.15);
  --line-3: rgba(12, 12, 20, 0.24);
  --text: #0b0b0e;
  --text-2: #50505a;
  --text-3: #686873;
  --orange: #c2410c;           /* accent text on light surfaces (AA) */
  --violet: #6d28d9;
  --accent-text: #b93c0b;
  --grad: linear-gradient(90deg, #ff8a3d, #a78bfa);
  --grad-text: linear-gradient(92deg, #e2580f 0%, #b8479a 55%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 138, 61, 0.14), rgba(167, 139, 250, 0.14));
  --glow-o: rgba(255, 138, 61, 0.26);
  --glow-v: rgba(167, 139, 250, 0.30);
  --btn-bg: #0b0b0e;
  --btn-ink: #ffffff;
  --btn-hover: #26262d;
  --header-bg: rgba(255, 255, 255, 0.72);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 2px rgba(12, 12, 20, 0.04), 0 8px 24px -12px rgba(12, 12, 20, 0.12);
  --shot-shadow: 0 1px 2px rgba(12, 12, 20, 0.06), 0 24px 48px -16px rgba(12, 12, 20, 0.22), 0 60px 120px -40px rgba(60, 40, 90, 0.28);
  --term-bg: #0b0c0f;
  --term-line: rgba(255, 255, 255, 0.09);
  --code-bg: #f4f4f6;
  --radius: 16px;
  --radius-sm: 10px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08090b;
    --bg-2: #0c0d10;
    --panel: #111216;
    --panel-2: #16171c;
    --line: rgba(255, 255, 255, 0.075);
    --line-2: rgba(255, 255, 255, 0.13);
    --line-3: rgba(255, 255, 255, 0.22);
    --text: #f5f5f6;
    --text-2: #a4a4ad;
    --text-3: #8a8a94;
    --orange: #ff9a57;
    --violet: #b9a2fc;
    --accent-text: #ffa066;
    --grad-text: linear-gradient(92deg, #ff9a52 0%, #e58fc0 50%, #b49cfc 100%);
    --grad-soft: linear-gradient(135deg, rgba(255, 138, 61, 0.12), rgba(167, 139, 250, 0.12));
    --glow-o: rgba(255, 138, 61, 0.28);
    --glow-v: rgba(167, 139, 250, 0.32);
    --btn-bg: #f5f5f6;
    --btn-ink: #0b0b0e;
    --btn-hover: #ffffff;
    --header-bg: rgba(8, 9, 11, 0.66);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset, 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 32px -16px rgba(0, 0, 0, 0.6);
    --shot-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 80px 140px -40px rgba(0, 0, 0, 0.9);
    --code-bg: #15161b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08090b;
  --bg-2: #0c0d10;
  --panel: #111216;
  --panel-2: #16171c;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.22);
  --text: #f5f5f6;
  --text-2: #a4a4ad;
  --text-3: #8a8a94;
  --orange: #ff9a57;
  --violet: #b9a2fc;
  --accent-text: #ffa066;
  --grad-text: linear-gradient(92deg, #ff9a52 0%, #e58fc0 50%, #b49cfc 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 138, 61, 0.12), rgba(167, 139, 250, 0.12));
  --glow-o: rgba(255, 138, 61, 0.28);
  --glow-v: rgba(167, 139, 250, 0.32);
  --btn-bg: #f5f5f6;
  --btn-ink: #0b0b0e;
  --btn-hover: #ffffff;
  --header-bg: rgba(8, 9, 11, 0.66);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset, 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 32px -16px rgba(0, 0, 0, 0.6);
  --shot-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 80px 140px -40px rgba(0, 0, 0, 0.9);
  --code-bg: #15161b;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .9em; }
:focus-visible { outline: 2px solid #ff8a3d; outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.28); }
::selection { background: rgba(167, 139, 250, 0.3); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .06em; /* keep descenders inside the clip */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .2s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--btn-bg); color: var(--btn-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px -8px rgba(255, 138, 61, 0.35), 0 8px 28px -10px rgba(167, 139, 250, 0.4);
}
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-3); background: var(--panel-2); }
.btn-small { height: 34px; padding: 0 14px; font-size: 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 60px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.brand small { font: 500 12px var(--sans); color: var(--text-3); letter-spacing: 0; padding-left: 10px; border-left: 1px solid var(--line-2); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--text-2); font-size: 14px; font-weight: 500; padding: 7px 11px; border-radius: 8px; transition: color .15s, background-color .15s; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--text); background: var(--panel-2); text-decoration: none; }
.site-nav .btn { margin-left: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: none; border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-3); background: var(--panel-2); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 40px; }
.hero::before {
  /* hairline grid, fading out from the top center */
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; pointer-events: none;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 50% 0 / 64px 64px,
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 0%, #000 0%, transparent 78%);
  opacity: .7;
}
.hero-copy { position: relative; text-align: center; max-width: 1080px; margin: 0 auto; }
.hero-mark { position: relative; width: 76px; height: 76px; margin: 0 auto 28px; }
.hero-mark::before {
  content: ""; position: absolute; inset: -26px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-o), transparent 70%), radial-gradient(closest-side at 70% 60%, var(--glow-v), transparent 75%);
  filter: blur(8px);
}
.hero-mark img { position: relative; width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px -8px rgba(0, 0, 0, 0.5); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; max-width: 100%;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border: 1px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(90deg, rgba(255, 138, 61, 0.55), var(--line-2) 45%, rgba(167, 139, 250, 0.6)) border-box;
  transition: color .15s;
}
.pill:hover { color: var(--text); text-decoration: none; }
.pill b { font: 600 10.5px/1 var(--mono); letter-spacing: .08em; color: #fff; background: linear-gradient(90deg, #c2410c, #7c3aed); padding: 5px 8px; border-radius: 999px; flex: none; }
.pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero h1 {
  margin: 26px 0 22px; font-size: clamp(42px, 6vw, 74px); line-height: 1.04; letter-spacing: -0.048em; font-weight: 700;
  text-wrap: balance;
}
.hero p.sub { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--text-2); margin: 0 auto 36px; max-width: 660px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { height: 48px; padding: 0 24px; font-size: 15.5px; }
.hero-meta { margin: 22px 0 0; font-size: 13.5px; color: var(--text-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.hero-meta code {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; overflow-x: auto; white-space: nowrap;
  font-size: 12.5px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 8px;
}
.hero-cta .ver:empty { display: none; }
.hero-meta code::before { content: "$"; color: var(--text-3); }

.hero-visual { position: relative; margin: 72px auto 0; max-width: 1140px; }
.hero-visual::before {
  content: ""; position: absolute; left: -4%; right: -4%; top: -14%; bottom: 10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 50% at 25% 40%, var(--glow-o), transparent 72%),
    radial-gradient(40% 50% at 75% 40%, var(--glow-v), transparent 72%),
    radial-gradient(50% 40% at 50% 20%, var(--glow-v), transparent 75%);
  filter: blur(48px); opacity: 1.0;
}
.window {
  position: relative; z-index: 1; padding: 7px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-2);
  box-shadow: var(--shot-shadow);
}
:root:not([data-theme="dark"]) .window { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .window { background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)); } }
.window::before {
  /* a light catching the top edge of the frame */
  content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.8), rgba(167, 139, 250, 0.9), transparent);
}
.window-inner {
  border-radius: 14px; overflow: hidden; background: var(--term-bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.07) inset;
}
.window-inner img { width: 100%; }
.shot-bar {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; position: relative;
  background: linear-gradient(#17181c, #121317); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34353b; box-shadow: 0 0 0 .5px rgba(0, 0, 0, 0.4) inset; }
.shot-bar span { position: absolute; left: 50%; transform: translateX(-50%); font: 500 12px var(--mono); color: #8d8e96; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section.tint { background: var(--bg-2); }
.section.tint::before, .section.tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}
.section.tint::before { top: 0; } .section.tint::after { bottom: 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--mono); color: var(--text-2); text-transform: uppercase; letter-spacing: .14em;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(255, 138, 61, 0.6); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.042em; margin: 18px 0 18px; text-wrap: balance; }
.section-head p { color: var(--text-2); font-size: 18px; line-height: 1.6; margin: 0 auto; max-width: 640px; text-wrap: pretty; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat-card {
  min-width: 0; display: flex; flex-direction: column; padding: 8px 8px 26px; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.feat-media { border-radius: 13px; overflow: hidden; background: var(--term-bg); box-shadow: 0 0 0 1px var(--line-2); margin-bottom: 22px; }
.feat-media img { width: 100%; height: 240px; object-fit: cover; object-position: left top; }
.feat-media.bottom img { object-position: left bottom; }
.feat-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.025em; margin: 0 18px 8px; }
.feat-card p { color: var(--text-2); margin: 0 18px; font-size: 15.5px; line-height: 1.6; }
.pillar + .pillar { margin-top: 88px; }
.pillar-head { display: flex; align-items: flex-start; gap: 18px; max-width: 820px; margin: 0 0 32px; }
.pillar-num { flex: none; margin-top: 8px; font: 600 13px/1 var(--mono); letter-spacing: .08em; color: #fff; background: linear-gradient(90deg, #c2410c, #7c3aed); padding: 7px 9px; border-radius: 999px; }
.pillar-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 10px; }
.pillar-head p { color: var(--text-2); font-size: 17px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.feat-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px 26px; align-items: center; padding: 8px 8px 8px; }
.feat-card.wide .feat-media { margin-bottom: 0; }
.feat-card.wide .feat-text { padding: 18px 18px 18px 0; }
.feat-card.wide .feat-text h3, .feat-card.wide .feat-text p { margin-left: 0; margin-right: 0; }
.feat-card.wide .feat-text p + p { margin-top: 10px; }
.feat-media.tree pre { margin: 0; padding: 22px 22px; font: 13px/1.7 var(--mono); color: #d7d8de; white-space: pre; overflow-x: auto; }
.feat-media.tree .c { color: #7b7d88; }
.feat-media.tree .h { color: #ffb27a; }
.feat-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.new-strip {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 18px 22px; border-radius: 16px;
  border: 1px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, rgba(255, 138, 61, 0.55), var(--line) 40%, var(--line) 60%, rgba(167, 139, 250, 0.6)) border-box;
}
.new-strip p { margin: 0; color: var(--text-2); font-size: 15px; }
.new-strip strong { color: var(--text); font-weight: 600; }
.badge { flex: none; margin-top: 2px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #c2410c, #7c3aed); padding: 5px 8px; border-radius: 999px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.price-card {
  min-width: 0; display: flex; flex-direction: column; padding: 28px; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.price-card.featured {
  border-color: transparent;
  background:
    radial-gradient(120% 50% at 0% 0%, rgba(255, 138, 61, 0.08), transparent 60%) padding-box,
    radial-gradient(120% 50% at 100% 0%, rgba(167, 139, 250, 0.1), transparent 60%) padding-box,
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(255, 138, 61, 0.7), var(--line) 40%, var(--line) 60%, rgba(167, 139, 250, 0.75)) border-box;
}
.price-card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.price-card .blurb { margin: 0; color: var(--text-2); font-size: 14.5px; min-height: 3.2em; }
.price-card .price { margin: 18px 0 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-card .price b { font-size: 42px; line-height: 1; letter-spacing: -0.045em; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-card .price span { color: var(--text-3); font-size: 14px; }
.price-card .checks { font-size: 14.5px; margin-bottom: 28px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Training ---------- */
.training {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  max-width: 1080px; margin: 0 auto; padding: 44px; border-radius: 24px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.training::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 90% at 0% 0%, rgba(255, 138, 61, 0.12), transparent 70%), radial-gradient(50% 90% at 100% 100%, rgba(167, 139, 250, 0.14), transparent 70%);
}
.training > * { position: relative; }
.training h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.035em; margin: 14px 0 12px; text-wrap: balance; }
.training p { margin: 0; color: var(--text-2); max-width: 600px; }
.training .btn { flex: none; }
/* Three of these stack in #built-with and `margin: 0 auto` left them butting
   together. Only applies between siblings, so a lone panel is unaffected. */
.training + .training { margin-top: 24px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 17px; height: 17px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='none' stroke='black' stroke-width='1.3' opacity='.45'/%3E%3Cpath d='M5.4 9.3l2.3 2.3 4.9-5.1' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='none' stroke='black' stroke-width='1.3' opacity='.45'/%3E%3Cpath d='M5.4 9.3l2.3 2.3 4.9-5.1' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks li strong { color: var(--text); font-weight: 600; }
.checks code, .section-head code {
  font-size: .86em; padding: 1px 6px; border-radius: 6px; background: var(--code-bg); border: 1px solid var(--line); color: var(--text);
}

/* Keys */
kbd.key, .prose kbd {
  display: inline-block; padding: 2px 7px; border-radius: 6px; font: 500 12.5px/1.45 var(--mono); white-space: nowrap; vertical-align: 1px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line-2), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.platform-switch div {
  display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-2);
}
.platform-switch button {
  font: 500 13.5px var(--sans); color: var(--text-2); background: none; border: 0; padding: 7px 16px; border-radius: 999px; cursor: pointer;
  transition: color .15s, background-color .15s;
}
.platform-switch button:hover { color: var(--text); }
.platform-switch button[aria-pressed="true"] {
  background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 1px 3px rgba(0, 0, 0, 0.12);
}
pre {
  background: var(--term-bg); color: #e6e6ea; border: 1px solid var(--term-line); border-radius: 12px;
  padding: 15px 18px; overflow-x: auto; font-size: 13px; line-height: 1.65;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 4px; font-weight: 500; font-size: 17px; letter-spacing: -0.015em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2);
  background: linear-gradient(currentColor, currentColor) center / 9px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 9px no-repeat;
  color: var(--text-2); transition: transform .2s;
}
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 9px 1.5px no-repeat; }
.faq summary:hover::after { border-color: var(--line-3); }
.faq details p { margin: -6px 44px 24px 4px; color: var(--text-2); }
.faq details code { font-size: .86em; padding: 1px 5px; border-radius: 5px; background: var(--code-bg); border: 1px solid var(--line); color: var(--text); }

/* Final CTA (always on the dark brand surface) */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; max-width: 1080px; margin: 0 auto; text-align: center;
  padding: 88px 32px; border-radius: 28px; color: #f5f5f6; background: #0a0b0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 100px -40px rgba(20, 10, 40, 0.6);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 70% at 35% 0%, rgba(255, 138, 61, 0.32), transparent 70%),
    radial-gradient(40% 70% at 65% 0%, rgba(167, 139, 250, 0.36), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 50% 0 / 48px 48px,
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
}
.cta-band img { width: 60px; height: 60px; margin: 0 auto 26px; border-radius: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 40px -6px rgba(255, 138, 61, 0.4); }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.045em; margin: 0 0 14px; color: #fff; text-wrap: balance; }
.cta-band p { color: #b0b0b9; margin: 0 0 34px; font-size: 18px; }
.cta-band .btn-primary { background: #f5f5f6; color: #0b0b0e; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-ghost { color: #f5f5f6; border-color: rgba(255, 255, 255, 0.18); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Guide ---------- */
.guide { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 72px; padding-top: 56px; padding-bottom: 96px; }
.guide-nav { position: sticky; top: 92px; align-self: start; font-size: 14.5px; max-height: calc(100vh - 110px); overflow-y: auto; padding-bottom: 12px; }
.guide-nav summary { list-style: none; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 12px; cursor: default; }
.guide-nav summary::-webkit-details-marker { display: none; }
.guide-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.guide-nav li a {
  position: relative; display: block; padding: 6px 12px; border-radius: 8px; color: var(--text-2);
  transition: color .15s, background-color .15s;
}
.guide-nav li a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.guide-nav li a[aria-current] { color: var(--text); background: var(--panel-2); font-weight: 500; box-shadow: 0 0 0 1px var(--line) inset; }
.guide-nav li a[aria-current]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(#ff8a3d, #a78bfa); }
.platform-switch { margin-top: 32px; display: grid; gap: 10px; }
.platform-switch span { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.platform-switch div { width: max-content; max-width: 100%; }
.platform-switch button { padding: 6px 12px; font-size: 13px; }

.guide-kicker { margin-bottom: 18px; }
.prose { max-width: 740px; font-size: 16.5px; line-height: 1.75; }
.prose h1 { font-size: clamp(34px, 4.4vw, 46px); letter-spacing: -0.042em; line-height: 1.08; margin: 0 0 16px; font-weight: 700; }
.prose .lead { font-size: 19px; line-height: 1.6; color: var(--text-2); margin: 0 0 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: 25px; letter-spacing: -0.03em; line-height: 1.25; margin: 56px 0 14px; }
.prose h3 { font-size: 18.5px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin: 0 0 18px; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin: 7px 0; padding-left: 4px; }
.prose li::marker { color: var(--text-3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose code { overflow-wrap: anywhere; font-size: .86em; background: var(--code-bg); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--text); }
.prose pre { margin: 22px 0; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; overflow-wrap: normal; }
.prose img {
  border-radius: 14px; border: 1px solid var(--line-2); margin: 28px 0; background: var(--term-bg);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--panel-2) 70%, transparent), 0 0 0 6px var(--line), var(--shot-shadow);
}
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; font-size: 14.5px; line-height: 1.6; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose thead { background: var(--panel-2); }
.prose th, .prose td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--text); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.prose td { color: var(--text-2); }
.prose blockquote {
  margin: 24px 0; padding: 16px 20px 16px 22px; position: relative; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid var(--line);
}
.prose blockquote::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(#ff8a3d, #a78bfa); }
.prose blockquote p { margin: 0; color: var(--text); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 72px; }
.pager a {
  padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); font-weight: 500; background: var(--panel);
  box-shadow: var(--card-shadow); transition: border-color .15s; text-decoration: none;
}
.pager a:hover { border-color: var(--line-3); text-decoration: none; }
.pager a span { display: block; font: 500 11.5px var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.pager .next { text-align: right; grid-column: 2; }
.edit { margin-top: 28px; font-size: 14px; }
.prose .edit a { color: var(--text-3); text-decoration: none; }
.prose .edit a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 64px 0 36px; margin-top: 40px; border-top: 1px solid var(--line); }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: min(560px, 80%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.7), rgba(167, 139, 250, 0.7), transparent);
}
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-3); font-size: 14px; margin: 0; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 14px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.footer-cols a { display: block; color: var(--text-2); font-size: 14.5px; padding: 4px 0; }
.footer-cols a:hover { color: var(--text); text-decoration: none; }
.footer-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal on scroll (only when JS runs and motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
  .reveal-on .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .price-card .blurb { min-height: 0; }
  .training { flex-direction: column; align-items: flex-start; padding: 32px; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .guide-nav { position: static; max-height: none; overflow: visible; }
  .guide-nav details:not([open]) ol { display: none; }
  .guide-nav summary { cursor: pointer; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; margin: 0; background: var(--panel); display: flex; justify-content: space-between; }
  .guide-nav summary::after { content: "▾"; color: var(--text-3); }
  .guide-nav details[open] summary { margin-bottom: 10px; }
  .platform-switch { margin-top: 18px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { display: block; padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-nav a:not(.btn):hover { background: none; }
  .site-nav .btn { margin: 16px 0 0; height: 42px; }
  .theme-toggle { margin-left: auto; }
  .brand small { display: none; }
  .hero { padding-top: 56px; }
  .hero-visual { margin-top: 52px; }
  .window { padding: 4px; border-radius: 14px; }
  .window-inner { border-radius: 10px; }
  .shot-bar { height: 28px; }
  .shot-bar i { width: 9px; height: 9px; }
  .shot-bar span { display: none; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 17px; }
  .cta-band { padding: 64px 22px; border-radius: 22px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-card.wide { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
  .feat-card.wide .feat-text { padding: 14px 18px 18px; }
  .feat-media.tree pre { font-size: 11.5px; padding: 16px; }
  .pillar + .pillar { margin-top: 64px; }
  .pillar-head { gap: 12px; }
  .feat-media img { height: 190px; }
  .training { padding: 26px 22px; }
  .new-strip { flex-direction: column; gap: 10px; padding: 16px 18px; }
  .footer-cols { gap: 40px; }
  .faq details p { margin-right: 4px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next { grid-column: auto; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 40px; letter-spacing: -0.045em; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-cols { gap: 28px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Small page-specific bits */
.cta-section { padding-top: 40px; }
.prose td code, .prose th code { overflow-wrap: normal; white-space: nowrap; }

/* Partner marks in the "Used on real work" cards.
   ardata's wordmark is near-white, so it needs a dark ground to read on the
   light theme; the academy's app icon carries its own orange tile and reads on
   either. Both sit in a fixed-height box so two differently-shaped marks line
   up without stretching. */
.partner-mark {
  flex: none; display: grid; place-items: center;
  width: 108px; height: 108px; border-radius: 20px; overflow: hidden;
}
.partner-mark img { display: block; max-width: 76%; max-height: 76%; object-fit: contain; }
.partner-mark--dark { background: #16181d; }
.partner-mark--plain { background: transparent; }
.partner-mark--plain img { max-width: 100%; max-height: 100%; border-radius: 20px; }

@media (max-width: 760px) {
  .partner-mark { width: 84px; height: 84px; border-radius: 16px; }
}

/* "Products built using ADE" — a card per shipped product.
   Shots come from each site's own og:image, so they vary in aspect ratio and
   subject; a fixed-ratio box with object-fit keeps the grid even without
   distorting anyone's artwork. */
.built-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

.built-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.built-card:hover { transform: translateY(-3px); border-color: var(--line-strong, var(--line)); }
.built-card:focus-visible { outline: 2px solid var(--brand, currentColor); outline-offset: 3px; }

.built-shot { aspect-ratio: 19 / 10; background: var(--bg-2, #111); overflow: hidden; }
.built-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.built-body { padding: 15px 17px 18px; }
.built-body h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.built-body h3 .arrow { font-size: 12px; opacity: .45; }
.built-body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

.built-foot { margin: 26px 0 0; text-align: center; color: var(--text-2); font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { .built-card { transition: none; } .built-card:hover { transform: none; } }

/* Text-led feature cards, for the methodology section. Principles are not
   screenshots; giving them a media box would mean inventing one. The left rule
   and the roomier type carry the weight the image usually does. */
.feat-card.text { padding: 26px 24px 28px; border-left: 2px solid var(--line-3, var(--line-2)); }
.feat-card.text h3 { margin: 0 0 10px; font-size: 19px; }
.feat-card.text p { margin: 0; font-size: 15px; }
.feat-card.text code {
  font-family: var(--mono); font-size: .88em; padding: 1px 5px; border-radius: 4px;
  background: var(--term-bg); border: 1px solid var(--line-2); color: var(--text);
}
