/* LayerCut — site styles
   Palette from the workshop: a graphite laser bed, birch ply, and the two line colors
   every LightBurn user knows (red cut, blue engrave). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bed: #222930;
  --bed-deep: #1a2026;
  --bed-line: #2f3842;
  --ink: #1c2229;
  --ink-soft: #46505b;
  --muted: #5e6873;
  --paper: #f3f4f1;
  --paper-2: #e8eae5;
  --rule: #d6d9d2;
  --ply: #e8d4ae;
  --ply-edge: #c7a46c;
  --ply-dark: #a9844d;
  --cut: #e0372d;
  --engrave: #2459d6;
  --engrave-ink: #ffffff;
  --engrave-hover: #1c4bb8;
  --on-bed: #eef1f3;
  --on-bed-soft: #aab4be;
  --focus: #2459d6;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 118%;
  --measure: 68ch;
  --page: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e9ecef;
    --ink-soft: #c2c9d0;
    --muted: #98a3ae;
    --paper: #171c21;
    --paper-2: #1f262d;
    --rule: #2e3740;
    --engrave: #6e9bff;
    --engrave-ink: #0d1726;
    --engrave-hover: #8fb2ff;
    --focus: #8fb2ff;
    --cut: #ff5a4f;
  }
}
:root[data-theme="dark"] {
  --ink: #e9ecef;
  --ink-soft: #c2c9d0;
  --muted: #98a3ae;
  --paper: #171c21;
  --paper-2: #1f262d;
  --rule: #2e3740;
  --engrave: #6e9bff;
  --engrave-ink: #0d1726;
  --engrave-hover: #8fb2ff;
  --focus: #8fb2ff;
  --cut: #ff5a4f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--engrave); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ply); color: #1c2229; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-stretch: var(--wide); letter-spacing: -0.012em; }
h1 { font-weight: 760; }
h2 { font-weight: 720; font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-weight: 680; font-size: 22px; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--engrave); color: var(--engrave-ink); padding: 8px 14px; border-radius: var(--radius-s); z-index: 100; }
.skip:focus { left: 8px; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-s);
  font: inherit; font-weight: 640; font-size: 16px; font-stretch: 108%;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--engrave); color: var(--engrave-ink); }
.btn-primary:hover { background: var(--engrave-hover); }
.btn-quiet { background: transparent; color: inherit; border-color: currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn-quiet:hover { border-color: currentColor; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ── header ──────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bed-deep) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  color: var(--on-bed);
  border-bottom: 1px solid var(--bed-line);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 760; font-stretch: 116%; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--on-bed-soft); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: var(--radius-s); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-bed); background: rgba(255,255,255,.06); }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 15px; margin-left: 8px; background: var(--on-bed); color: var(--bed-deep); }
.nav .btn:hover { background: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--bed-line); color: var(--on-bed); border-radius: var(--radius-s); height: 40px; padding: 0 12px; font: inherit; font-size: 15px; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--bed-deep); border-bottom: 1px solid var(--bed-line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; min-height: 46px; }
}

/* ── hero: the laser bed ─────────────────────────────── */
.bed {
  background-color: var(--bed);
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.055) 1.3px, transparent 1.6px);
  background-size: 12px 10.4px;
  color: var(--on-bed);
}
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 3.9vw, 58px); font-stretch: 112%; line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 .line { display: block; white-space: nowrap; }
@media (max-width: 420px) { .hero h1 { font-size: 36px; } }
.hero .lede { margin: 24px 0 32px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-bed-soft); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: #ffffff; color: var(--bed-deep); }
.hero .btn-primary:hover { background: var(--ply); }
.hero .btn-quiet { color: var(--on-bed); }
.hero .small { margin-top: 18px; font-size: 14px; color: var(--on-bed-soft); }

.sheet-frame { position: relative; }
.sheet-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)) drop-shadow(0 2px 0 var(--ply-dark)); }
.sheet-svg .ply { fill: var(--ply); }
.sheet-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sheet-svg .cut path { stroke: #d42c22; stroke-width: 0.85; }
.sheet-svg .score path { stroke: #2a55c9; stroke-width: 0.6; opacity: .9; }
.sheet-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 13.5px; color: var(--on-bed-soft); }
.sheet-caption .key { display: inline-flex; gap: 16px; }
.sheet-caption .key span::before { content: ""; display: inline-block; width: 16px; height: 2px; vertical-align: middle; margin-right: 6px; background: currentColor; }
.sheet-caption .k-cut { color: #ff8a80; }
.sheet-caption .k-eng { color: #9ab7ff; }

/* laser trace on load */
.sheet-svg.trace .cut path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: burn var(--dur, 1.2s) cubic-bezier(.5,.1,.5,1) forwards; animation-delay: var(--delay, 0s); }
.sheet-svg.trace .score { opacity: 0; animation: engrave .9s ease forwards; animation-delay: var(--score-delay, 3.2s); }
.sheet-svg .head { fill: #fff; filter: drop-shadow(0 0 3px #ff5a4f) drop-shadow(0 0 7px #ff3b2f); opacity: 0; }
.js .hero .sheet-svg:not(.trace):not(.static) path { visibility: hidden; }
@keyframes burn { to { stroke-dashoffset: 0; } }
@keyframes engrave { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sheet-svg.trace .cut path { animation: none; stroke-dashoffset: 0; }
  .sheet-svg.trace .score { animation: none; opacity: 1; }
  .sheet-svg .head { display: none; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sheet-frame { max-width: 640px; }
}

/* ── generic sections ────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.alt { background: var(--paper-2); }

/* modes */
.mode { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mode + .mode { margin-top: clamp(64px, 9vw, 112px); }
.mode-text h3 { font-size: clamp(26px, 3vw, 34px); font-stretch: 116%; }
.mode-text .what { margin: 14px 0 18px; color: var(--ink-soft); }
.mode-text ul { margin: 0; padding: 0; list-style: none; }
.mode-text li { padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 15.5px; }
.mode-text li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--cut); }
.mode-text .best { margin-top: 18px; font-size: 15px; color: var(--muted); }
.shot { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--bed-deep); box-shadow: 0 1px 0 var(--rule), 0 24px 48px -24px rgba(20, 28, 36, .45); border: 1px solid rgba(0,0,0,.08); }
.shot img { width: 100%; }
.shot figcaption, .shot-cap { font-size: 14px; color: var(--muted); margin-top: 10px; }
.shot-pair { display: grid; gap: 16px; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--rule); margin-bottom: 14px; }
.alt .tabs { background: var(--paper); }
.tabs button { font: inherit; font-size: 14.5px; font-weight: 600; border: 0; background: none; color: var(--ink-soft); padding: 7px 14px; border-radius: 6px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab-panel[hidden] { display: none; }
@media (max-width: 900px) { .mode { grid-template-columns: 1fr; } .mode .media { order: -1; } }

/* sheet features */
.sheet-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { padding: 16px 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 680; font-stretch: 108%; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 900px) { .sheet-grid { grid-template-columns: 1fr; } }

/* hinge spotlight */
.hinge { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.hinge-fig { margin: clamp(32px, 5vw, 56px) 0 0; }
.hinge-fig .shot-cap { margin-top: 14px; }
.hinge-svg { filter: drop-shadow(0 18px 28px rgba(20,28,36,.28)) drop-shadow(0 2px 0 var(--ply-dark)); }
.hinge-svg .cut path { stroke-width: 0.45; }
.hinge-svg .score path { stroke-width: 0.5; }
@media (max-width: 900px) { .hinge { grid-template-columns: 1fr; } }

/* steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { padding: 20px 20px 4px 0; counter-increment: step; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font-weight: 780; font-stretch: 125%; font-size: 40px; line-height: 1; color: var(--cut); margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-left: 0; } .steps li + li { border-top: 1px solid var(--rule); } }

/* fit test */
.fit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fit .ply-card { background: var(--ply); border-radius: var(--radius-m); padding: clamp(14px, 2vw, 24px); box-shadow: 0 2px 0 var(--ply-dark), 0 20px 40px -24px rgba(20,28,36,.5); }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.plan { padding: clamp(24px, 3vw, 36px); }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan.pro { background: var(--bed); color: var(--on-bed); }
.plan h3 { font-size: 26px; font-stretch: 120%; }
.plan .price { margin: 14px 0 4px; font-size: 40px; font-weight: 760; font-stretch: 112%; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.plan .terms { font-size: 15px; color: var(--muted); min-height: 3em; }
.plan.pro .terms { color: var(--on-bed-soft); }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--rule); font-size: 15.5px; }
.plan.pro li { border-top-color: var(--bed-line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--engrave); border-bottom: 2px solid var(--engrave); transform: rotate(-45deg); }
.plan.pro li::before { border-color: #9ab7ff; }
.plan li.inherit { color: var(--on-bed-soft); }
.plan.pro .btn-primary { background: #fff; color: var(--bed-deep); }
.beta-note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--cut); background: var(--paper-2); font-size: 15.5px; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); } }

/* download */
.download { padding: clamp(64px, 9vw, 112px) 0; }
.download .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); }
.download h2 { color: var(--on-bed); }
.download a:not(.dl) { color: #9ab7ff; }
.download .lede { color: var(--on-bed-soft); margin: 14px 0 28px; font-size: 18px; }
.dl-list { display: grid; gap: 12px; }
.dl {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius-m);
  background: rgba(255,255,255,.04); border: 1px solid var(--bed-line);
  color: var(--on-bed); text-decoration: none;
}
.dl:hover { border-color: #5d6b79; background: rgba(255,255,255,.07); }
.dl.primary { background: #fff; color: var(--bed-deep); border-color: #fff; }
.dl svg { width: 28px; height: 28px; }
.dl b { display: block; font-size: 17px; font-stretch: 108%; }
.dl span { font-size: 14px; opacity: .75; }
.dl .go { font-weight: 640; font-size: 15px; opacity: 1; }
.dl[aria-disabled="true"] { pointer-events: none; opacity: .6; }
.dl-status { font-size: 15px; color: var(--on-bed-soft); margin-top: 16px; min-height: 1.5em; }
.req { font-size: 15px; color: var(--on-bed-soft); }
.req h3 { color: var(--on-bed); font-size: 17px; margin: 0 0 8px; }
.req ul { margin: 0 0 24px; padding-left: 18px; }
.req li { margin: 4px 0; }
.req a { color: #9ab7ff; }
@media (max-width: 900px) { .download .wrap { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 640; font-size: 18px; font-stretch: 106%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); max-width: var(--measure); }

/* footer */
.site-foot { background: var(--bed-deep); color: var(--on-bed-soft); padding: 48px 0 40px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.site-foot h4 { color: var(--on-bed); font-size: 15px; font-stretch: 108%; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { color: var(--on-bed-soft); text-decoration: none; }
.site-foot a:hover { color: var(--on-bed); text-decoration: underline; }
.site-foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--bed-line); padding-top: 20px; margin-top: 8px; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.theme-switch { background: none; border: 1px solid var(--bed-line); color: var(--on-bed-soft); border-radius: var(--radius-s); font: inherit; font-size: 13.5px; padding: 5px 10px; cursor: pointer; }
.theme-switch:hover { color: var(--on-bed); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .about { grid-column: 1 / -1; } }

/* ── docs ────────────────────────────────────────────── */
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: 40px; padding-bottom: 96px; }
.docs-nav { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 15px; padding-right: 8px; }
.docs-nav h2 { font-size: 13.5px; font-weight: 650; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin: 22px 0 6px; }
.docs-nav h2:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: var(--radius-s); color: var(--ink-soft); text-decoration: none; }
.docs-nav a:hover { background: var(--paper-2); color: var(--ink); }
.docs-nav a[aria-current="page"] { color: var(--ink); font-weight: 640; background: var(--paper-2); box-shadow: inset 2px 0 0 var(--cut); }
.docs-nav-toggle { display: none; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .docs-nav { position: static; max-height: none; display: none; border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 14px 16px; }
  .docs-nav.open { display: block; }
  .docs-nav-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; font: inherit; font-weight: 600; font-size: 15px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 12px 14px; cursor: pointer; }
}

.prose { max-width: 46rem; min-width: 0; }
.prose > h1 { font-size: clamp(34px, 4.6vw, 50px); font-stretch: 114%; margin-bottom: 14px; }
.prose > .intro { font-size: 19px; color: var(--ink-soft); margin-bottom: 32px; }
.prose h2 { font-size: 28px; font-stretch: 112%; margin: 48px 0 14px; padding-top: 8px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--muted); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; background: var(--paper-2); border: 1px solid var(--rule); padding: .08em .35em; border-radius: 4px; }
.prose pre { background: var(--bed-deep); color: #dfe5ea; padding: 16px 18px; border-radius: var(--radius-m); overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 1.4em; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.prose kbd { font-family: var(--font); font-size: .85em; font-weight: 600; padding: .1em .45em; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 5px; background: var(--paper); white-space: nowrap; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 650; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.prose td:first-child { font-weight: 560; min-width: 8.5em; }
.prose figure { margin: 28px 0 32px; }
.prose figure img { border-radius: var(--radius-m); border: 1px solid var(--rule); box-shadow: 0 18px 40px -26px rgba(20,28,36,.5); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 0 0 1.4em; padding: 14px 18px; border-left: 3px solid var(--engrave); background: var(--paper-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote.warn { border-left-color: var(--cut); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose .pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); }
.prose .pager a { text-decoration: none; display: flex; flex-direction: column; font-weight: 640; font-size: 17px; }
.prose .pager a span { font-weight: 500; font-size: 14px; color: var(--muted); }
.prose .pager .next { text-align: right; margin-left: auto; }
.prose .updated { margin-top: 28px; font-size: 14px; color: var(--muted); }
.docs-home-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.docs-home-list li { margin: 0 !important; border-top: 1px solid var(--rule); padding: 14px 0; }
.docs-home-list a { font-weight: 650; font-stretch: 108%; text-decoration: none; font-size: 18px; }
.docs-home-list p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 640px) { .docs-home-list { grid-template-columns: 1fr; } }

.page-legal .prose { padding: 48px 0 96px; }
@media (max-width: 700px) {
  .hinge-fig .hinge-svg-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .hinge-fig .hinge-svg { min-width: 860px; }
}

/* roadmap */
.rm-stage { position: relative; padding: 4px 0 8px 28px; margin: 36px 0 0; border-left: 2px solid var(--rule); }
.rm-stage h2 { margin-top: 0; padding-top: 0; }
.rm-stage h2::before { content: ""; position: absolute; left: -8px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--muted); }
.rm-stage h2.rm-now::before { background: var(--cut); border-color: var(--cut); }
.rm-stage h2.rm-next::before { border-color: var(--engrave); }
.rm-stage > p { color: var(--ink-soft); }
.rm-stage ul { list-style: none; padding-left: 0; }
.rm-stage li { padding: 12px 0; border-top: 1px solid var(--rule); margin: 0; }
.rm-stage li strong { display: block; font-stretch: 106%; }
