/* DLM Auto — inner pages. Loaded after site.css and built only from its tokens
   (--bg, --ink*, --line*, --mono, --font, --gutter, --header-h, --prism, --ease).
   Mobile-first; the two-column layouts open up at 900px, like the home page.
   Page-specific styles go in assets/page-<name>.css, never here. */

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 56px;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(90, 140, 255, .10), transparent 62%),
    radial-gradient(60% 60% at 0% 20%, rgba(139, 231, 248, .05), transparent 60%),
    var(--bg-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.page-hero-grid { display: grid; gap: 40px; align-items: end; }
.page-hero .crumbs { margin-bottom: 36px; }
.page-hero .eyebrow + .page-title { margin-top: 16px; }
.page-title {
  font-size: clamp(40px, 10.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 14em;
}
.page-title .chip, .page-title .pill { margin-left: 6px; transform: translateY(-0.5em); }
.page-lead { margin-top: 20px; color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 36em; }
.page-hero .actions { margin-top: 28px; }
.page-hero-aside { min-width: 0; }
@media (min-width: 900px) {
  .page-hero { padding: calc(var(--header-h) + 48px) 0 88px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; }
  .page-hero-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .page-hero .crumbs { margin-bottom: 48px; }
  .page-title { font-size: clamp(52px, 5.4vw, 80px); }
  .page-lead { font-size: 18px; margin-top: 22px; }
}

/* ---------- breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .22); }
.crumbs a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- sections ---------- */
.page-section { position: relative; padding: 64px 0; }
.page-section + .page-section { border-top: 1px solid rgba(255, 255, 255, .05); }
.page-section .section-head + * { margin-top: 40px; }
@media (min-width: 900px) { .page-section { padding: 104px 0; } }

/* ---------- glass panel (the home page's map panel, standalone) ---------- */
.glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}
.glass::before { /* prism hairline along the top edge */
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: var(--prism); opacity: .7;
}
.glass-title { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
@media (min-width: 900px) { .glass { padding: 28px 28px 24px; } }

/* ---------- prose + sticky aside ---------- */
.split { display: grid; gap: 48px; }
.split-aside { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .split-aside { position: sticky; top: calc(var(--header-h) + 28px); }
  /* heading left (sticky), content right: FAQs, long lists */
  .split.split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .split.split-head > :first-child { position: sticky; top: calc(var(--header-h) + 28px); }
}

.prose { max-width: 42em; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.025em; margin-top: 2em; }
.prose h3 { color: var(--ink); font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.prose a:hover { border-color: #fff; }
.prose ul { display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 10px; height: 1px; background: var(--ink-3); }
.prose code, .mono { font-family: var(--mono); font-size: .88em; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink); }

/* ---------- card grid (glass cards) ---------- */
.card-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
  padding: 22px 24px 24px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--prism); opacity: 0; transition: opacity .3s; }
a.card:hover { border-color: rgba(255, 255, 255, .22); transform: translateY(-2px); }
a.card:hover::before { opacity: .9; }
.card-kicker { font: 400 12px/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-3); }
.card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.card h3 .chip { transform: none; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.card > p:last-of-type { flex: 1; }
.card .more { margin-top: 8px; }
a.card:hover .more { gap: 12px; }

/* ---------- definition / spec list ---------- */
.spec { margin: 0; display: grid; }
.spec > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 1px solid var(--line); }
.glass .spec > div:first-child { border-top: 0; padding-top: 0; }
.glass .spec > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec dt { font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.spec dd { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
@media (min-width: 640px) {
  .spec:not(.spec-stacked) > div { grid-template-columns: minmax(120px, 34%) 1fr; gap: 20px; align-items: baseline; }
}

/* ---------- step list: 01 / 02 / 03 ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  display: grid; grid-template-columns: 52px 1fr; column-gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  font: 500 13px/1.9 var(--mono); letter-spacing: .04em; color: var(--ink-2);
}
.steps h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.012em; }
.steps p { grid-column: 2; margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 38em; }
@media (min-width: 900px) {
  .steps.steps-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps.steps-row > li { grid-template-columns: 1fr; align-content: start; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
  .steps.steps-row > li::before { grid-row: auto; margin-bottom: 18px; line-height: 1; }
  .steps.steps-row p { grid-column: 1; }
}

/* ---------- FAQ (<details>) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35;
  cursor: pointer;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus that turns into a minus */
  content: ""; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  transition: background-size .3s var(--ease), border-color .2s;
}
.faq summary:hover::after { border-color: rgba(255, 255, 255, .34); }
.faq details[open] summary::after { background-size: 11px 1.5px, 1.5px 0; }
.faq summary:focus-visible { outline-offset: 4px; }
.faq .faq-body { padding: 0 52px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.faq .faq-body > * + * { margin-top: .8em; }

/* ---------- status pill ----------
   The words carry the meaning; the three styles also differ by shape (fill, dashed, ring),
   never by hue alone. */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  vertical-align: middle;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
/* .pill-soon "Coming soon" — the status of every product (FACTS v2). Dashed edge, hollow ring.
   .pill-dev is the old name for the same style, kept so older markup still renders. */
.pill-soon, .pill-dev { border-style: dashed; border-color: rgba(255, 255, 255, .3); color: var(--ink-2); }
.pill-soon::before, .pill-dev::before { background: transparent; box-shadow: 0 0 0 1.5px var(--ink-2) inset; }
/* .pill-separate is retired (AutoTake is in the bundle); the style stays only so old markup doesn't break. */
.pill-separate { background: rgba(255, 255, 255, .03); }
.pill-separate::before { width: 7px; height: 7px; background: transparent; box-shadow: 0 0 0 1.5px #d8ccff inset; }
.pill-free { background: #f3f4f7; border-color: #f3f4f7; color: #0f0f10; }
.pill-free::before { background: #0f0f10; }

/* ---------- callout / quote ---------- */
.callout {
  position: relative;
  padding: 20px 22px 20px 26px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2); font-size: 16px; line-height: 1.6;
}
.callout::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(to bottom, #8be7f8, #5a8cff 50%, #b8a2ff); }
.callout strong { color: var(--ink); font-weight: 500; }
.callout-label { display: block; margin-bottom: 6px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.quote { margin: 0; padding: 8px 0 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 24px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); max-width: 28em; text-wrap: balance; }
.quote figcaption { margin-top: 18px; font: 400 12.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.quote figcaption strong { color: var(--ink-2); font-weight: 500; }

/* ---------- To confirm: a fact the owner still has to supply ----------
   Deliberate, editorial: a dashed outline, mono, a warm "To confirm:" tag. Never invent the fact. */
.tbc {
  display: inline;
  padding: 1px 7px;
  border: 1px dashed rgba(255, 176, 128, .5);
  border-radius: 6px;
  background: rgba(255, 150, 90, .045);
  font: 400 .82em/1.5 var(--mono);
  letter-spacing: .01em;
  color: var(--ink-2);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tbc::before { content: "To confirm:"; white-space: nowrap; margin-right: .55em; color: #ffb88f; font-weight: 500; letter-spacing: .03em; }
div.tbc, p.tbc, li.tbc, dd > .tbc:only-child {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px; line-height: 1.55;
}
div.tbc::before, p.tbc::before { display: block; margin: 0 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- next / previous page pair ---------- */
.pager { display: grid; gap: 12px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; gap: 14px; } }
.pager a {
  display: grid; gap: 6px;
  padding: 22px 24px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  transition: border-color .3s, transform .4s var(--ease);
}
.pager a:hover { border-color: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.pager-label { font: 400 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.pager-title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; display: inline-flex; gap: 10px; align-items: baseline; transition: gap .25s var(--ease); }
.pager a:hover .pager-title { gap: 14px; }
.pager-next { text-align: right; justify-items: end; }
.pager-prev .pager-title::before { content: "←"; }
.pager-next .pager-title::after { content: "→"; }
.pager > :only-child.pager-next { grid-column: -2; }
@media (max-width: 639px) { .pager-next { text-align: left; justify-items: start; } }

/* ---------- small helpers ---------- */
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 40px; }
.lede-sm { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
