/* Public landing: brand-purple atmosphere, floating navigation, spacious product previews.
 * Standalone CSS; document typography and application styles stay independent. */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --canvas: #f5f4f2;         /* a cool off-white, leaning to the indigo */
  --canvas-2: #eef0f5;
  --line: #e2e5ed;
  --line-2: #eceef4;
  --ink: #171715;
  --ink-2: #575651;
  --muted: #69665f;
  --faint: #959cae;
  --brand: #4f46e5;
  --brand-deep: #3730a3;
  --brand-wash: #eef0fe;
  --sig: #1b2a6b;            /* signature ink */
  --c1: #4f46e5;             /* the builder's recipient colours, in order */
  --c1-wash: rgba(79, 70, 229, .09);
  --c2: #059669;
  --c2-wash: rgba(5, 150, 105, .09);
  --c3: #d97706;
  --c3-wash: rgba(217, 119, 6, .1);
  --ok: #047857;
  --ok-wash: #e3f4ec;
  --info: #1d4ed8;
  --info-wash: #e6edfd;
  --warn: #9a5b06;
  --warn-wash: #fdf0d8;
  --band: #0b1020;
  --band-2: #121a2d;
  --band-line: #253049;
  --band-text: #c3c9d8;
  --band-muted: #8b95ab;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --doc: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;

  --nav-h: 88px;
  --shadow-1: 0 1px 2px rgba(11, 16, 32, .06);
  --shadow-2: 0 1px 0 rgba(11, 16, 32, .04), 0 14px 30px -20px rgba(11, 16, 32, .3);
  --shadow-3: 0 1px 0 rgba(11, 16, 32, .04), 0 40px 70px -40px rgba(11, 16, 32, .38), 0 10px 24px -14px rgba(11, 16, 32, .12);
}

*, *::before, *::after { box-sizing: border-box; }
/* Anchors and focus stop below the sticky header, never under it. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 16px/1.65 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

h1, h2, h3 { font-family: var(--sans); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 1.15rem + 4.3vw, 4.25rem); line-height: 1.02; font-weight: 640; letter-spacing: -.042em; }
/* Geist has no italic: the second half is set apart by colour, not slant. */
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.7rem); line-height: 1.08; font-weight: 630; letter-spacing: -.034em; }
h3 { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); line-height: 1.3; font-weight: 620; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }

.eyebrow { font: 600 12.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1.1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 14.5px; border-radius: 9px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn-secondary:hover { background: var(--canvas); border-color: #cdd2de; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-wash); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 4px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover { color: var(--brand-deep); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* Floating navigation and atmospheric hero. Isolated to the public page. */
.nav { position: fixed; top: 20px; left: 24px; right: 24px; z-index: 50; border-radius: 999px; background: rgba(30, 25, 53, .78); color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 12px 36px #0002; backdrop-filter: blur(20px); }
.nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; max-width: none; padding: 0 10px 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 16px/1 var(--sans); }
.brand-name { font: 650 20px/1.2 var(--sans); letter-spacing: -.045em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .brand { color: #fff; max-width: 30%; }
.nav .brand-mark { display: none; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a { padding: 10px 14px; border-radius: 99px; color: #eeebfa; font-size: 14px; text-decoration: none; }
.nav-links > a:hover { background: #ffffff14; color: #fff; }
.nav-menu-actions { display: none; }
.nav-menu-actions .btn-primary { background: #faf9ff; color: #211b3d; }
.nav-menu-actions .btn-primary:hover { background: #fff; }
.nav-menu-actions .btn-secondary { background: transparent; color: #fff; border-color: #ffffff40; }
.nav-menu-actions .btn-secondary:hover { background: #ffffff18; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { padding: 10px 18px; border: 1px solid #ffffff30; border-radius: 99px; text-decoration: none; color: #fff; font-size: 14px; white-space: nowrap; background: #ffffff0d; }
.nav-signin:hover { background: #ffffff20; }
.nav-cta { background: #faf9ff; color: #211b3d; border-radius: 99px; }
.nav-cta:hover { background: #fff; }
.nav-toggle { display: none; order: 10; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; flex: none; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close, .nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav :focus-visible, .hero :focus-visible { outline-color: #fff; }

.hero { position: relative; isolation: isolate; color: #fff; text-align: center; background: #080711; min-height: 850px; padding: 150px 0 100px; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, #0000 35%, #080711 95%), radial-gradient(ellipse at 51% -24%, #d5cfff 4%, #8b7bf6 30%, var(--brand) 48%, #292064 66%, #080711 86%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; justify-items: center; gap: 28px; }
.hero-wordmark { max-width: 100%; font-size: clamp(4rem, 15.7vw, 14rem); font-weight: 650; line-height: 1.04; letter-spacing: -.075em; color: #faf9ff; overflow-wrap: anywhere; text-wrap: balance; padding-right: .07em; }
.hero-wordmark-long { font-size: clamp(3rem, 9vw, 8rem); }
.hero-head h1 { color: #faf9ff; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.12; font-weight: 600; letter-spacing: -.045em; }
.hero-side { display: grid; justify-items: center; gap: 22px; }
.lede { color: #ede9fa; font-size: 17px; line-height: 1.6; max-width: 31rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero .cta-row { justify-content: center; margin-top: 6px; }
.hero .btn-primary { background: #faf9ff; color: #211b3d; min-height: 64px; padding: 18px 30px; border-radius: 99px; box-shadow: 0 6px 20px #0002; }
.hero .btn-primary:hover { background: #fff; transform: translateY(-2px); }
.hero .link-arrow { color: #f0ebff; font-size: 15px; }
.hero .link-arrow:hover { color: #fff; }
.fine { font-size: 14px; line-height: 1.55; color: #cfc7e9; max-width: 34em; }
.fine a { color: #fff; }
.hero-scroll { display: inline-flex; align-items: center; gap: 18px; margin-top: 74px; font-size: 13px; color: #c9c2db; text-decoration: none; }
.hero-scroll .ico { transform: rotate(90deg); }
.hero-scroll:hover { color: #fff; }
/* Keep motion on compositor-friendly properties; content stays visible without it. */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { inset: -8%; animation: hero-glow 16s ease-in-out infinite alternate; }
  .hero-wordmark, .hero-head, .hero-side, .hero-scroll { animation: hero-enter .85s cubic-bezier(.2, .8, .2, 1) backwards; }
  .hero-head { animation-delay: .12s; }
  .hero-side { animation-delay: .24s; }
  .hero-scroll { animation-delay: .36s; }
}
@keyframes hero-glow {
  from { transform: translate3d(-3%, -1%, 0) scale(1.02); opacity: .85; }
  to { transform: translate3d(3%, 2%, 0) scale(1.1); opacity: 1; }
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 899px) {
  .nav { left: 16px; right: 16px; top: 16px; }
  .nav-row { gap: 12px; padding-left: 20px; }
  .nav .brand { max-width: none; flex: 1; }
  .js .nav-toggle { display: inline-flex; }
  .nav-actions { display: none; }
  .js .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: #221d35; border: 1px solid #ffffff24; border-radius: 24px; box-shadow: 0 20px 45px #0003; max-height: calc(100dvh - 106px); overflow-y: auto; }
  .js .nav-links.is-open { display: flex; }
  .js .nav-links > a { padding: 14px 12px; font-size: 17px; }
  .js .nav-menu-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; padding-top: 14px; }
  .no-js .nav { position: absolute; border-radius: 24px; }
  .no-js .nav-row { flex-wrap: wrap; height: auto; padding: 16px; }
  .no-js .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 0; }
  .no-js .nav-menu-actions { display: flex; gap: 8px; }
  .no-js .hero { padding-top: 245px; }
  .hero { min-height: 760px; padding-top: 155px; }
}
@media (max-width: 599px) {
  .hero { min-height: 740px; padding-top: 157px; padding-bottom: 55px; }
  .hero-grid { gap: 28px; }
  .hero-head h1 { font-size: clamp(1.75rem, 6.4vw, 2.25rem); }
  .hero .cta-row { flex-direction: column; gap: 10px; }
  .hero .btn-primary { min-height: 60px; }
  .hero-scroll { margin-top: 45px; }
  .lede { max-width: 29em; font-size: 16px; }
  .hero .fine { max-width: 23em; }
}

/* --- The product stage ---------------------------------------------------- */
.stage { margin: clamp(40px, 5vw, 64px) 0 0; padding-bottom: clamp(56px, 7vw, 96px); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 28px; align-items: start; }

.window { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--line-2); }
.window-dots { display: inline-flex; gap: 6px; flex: none; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--canvas-2); border: 1px solid var(--line); }
.window-title { min-width: 0; font: 600 14px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-actions { display: inline-flex; gap: 8px; margin-left: auto; flex: none; }
.fake-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--brand); color: #fff; font: 600 12.5px/1 var(--sans); white-space: nowrap; }
.fake-btn-quiet { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }

.window-body { display: grid; grid-template-columns: 64px minmax(0, 1fr) 264px; min-height: 500px; }
.toolbar { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-right: 1px solid var(--line-2); background: var(--paper); }
.tool { display: grid; justify-items: center; gap: 3px; width: 52px; padding: 8px 0 6px; border-radius: 9px; color: var(--muted); }
.tool b { font: 500 10px/1 var(--sans); letter-spacing: 0; }
.tool.is-on { background: var(--brand-wash); color: var(--brand); }

.desk { min-width: 0; background: var(--canvas); padding: 28px clamp(16px, 3vw, 36px); display: flex; justify-content: center; align-items: flex-start; }
.page {
  position: relative; width: 100%; max-width: 540px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow-2); padding: 32px 36px 28px; overflow: hidden;
  font-family: var(--doc); color: #1f2637; letter-spacing: 0;
}
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font: 600 13.5px/1.3 var(--doc); color: var(--ink); }
.page-no { font-weight: 400; font-size: 12px; color: var(--faint); white-space: nowrap; }
.clause { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.clause b { font-weight: 600; color: var(--ink); }

.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.sig { position: relative; min-width: 0; }
.line { position: relative; display: block; height: 54px; border-bottom: 1.25px solid #1f2637; }
.line.short { height: 28px; flex: 1; }
/* Room for two caption lines, so a long one does not push its Date row out of
   line with the one beside it. */
.caption { margin-top: 6px; min-height: 2.6em; font: 400 12.5px/1.3 var(--doc); color: var(--muted); }
.date-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; font: 400 12.5px/1 var(--doc); color: var(--muted); }
.date-label { padding-bottom: 6px; }

/* A field, in its person's colour, sitting on its line. */
.field {
  position: absolute; left: 0; right: 8%; bottom: 3px; height: 40px;
  display: flex; align-items: center; padding: 0 10px; border-radius: 5px;
  border: 1.5px solid var(--c1); background: var(--c1-wash); color: var(--c1);
  font: 600 11px/1.2 var(--sans); letter-spacing: -.01em; white-space: nowrap;
  animation: settle .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--d, 0s);
}
.field.c2 { border-color: var(--c2); background: var(--c2-wash); color: var(--c2); border-style: dashed; }
.field.small { height: 22px; right: 0; font-weight: 500; overflow: hidden; }
.field.c1.small { color: var(--ink); }
.field.tiny { position: static; display: inline-flex; width: 38px; height: 24px; padding: 0; justify-content: center; }
/* The animations fill backwards only: once they end, every element is back in
   its resting state, drawn as plainly as if nothing had moved. */
.field .script { font: 400 26px/1 var(--script); color: var(--sig); letter-spacing: 0; padding-top: 4px; animation: ink 1.4s ease-out .8s backwards; }
/* The field the builder has selected: its handles and its owner. */
.field.is-selected { box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
.field.is-selected::before, .field.is-selected::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--paper); border: 1.5px solid var(--c1); border-radius: 2px; }
.field.is-selected::before { left: -5px; top: -5px; }
.field.is-selected::after { right: -5px; bottom: -5px; }
.field-tag { position: absolute; left: -1.5px; bottom: calc(100% + 7px); padding: 4px 7px; border-radius: 5px; background: var(--c1); color: #fff; font: 600 10.5px/1 var(--sans); letter-spacing: 0; white-space: nowrap; }
@keyframes settle { from { transform: translateY(-7px) scale(.985); box-shadow: 0 10px 18px -10px rgba(11, 16, 32, .35); } to { transform: none; } }
@keyframes ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.initials { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 12px; border-top: 1px dashed var(--line); font: 400 12.5px/1 var(--doc); color: var(--muted); }

/* Auto-fill's pass over the page, once. */
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); opacity: 0; animation: scan 1.5s ease-in-out .1s 1; }
@keyframes scan { 0% { top: 0; opacity: .55; } 90% { opacity: .35; } 100% { top: 100%; opacity: 0; } }

.rail { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-left: 1px solid var(--line-2); background: var(--paper); }
.rail-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 13.5px/1.2 var(--sans); color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--sans); color: var(--muted); }
.switch i { position: relative; width: 26px; height: 16px; border-radius: 99px; background: var(--brand); }
.switch i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.order { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 10px; }
.step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--c1); background: var(--c1-wash); border: 1.5px solid var(--c1); }
.order li:nth-child(2) .step { color: var(--c2); background: var(--c2-wash); border-color: var(--c2); }
.order li:nth-child(3) .step { color: var(--c3); background: var(--c3-wash); border-color: var(--c3); }
.who { display: grid; gap: 1px; min-width: 0; }
.who b { font-size: 13.5px; font-weight: 600; letter-spacing: -.012em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.state { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.state .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.state-ok { color: #fff; background: var(--ok); }
.add-row { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px dashed #cfd4df; border-radius: 10px; font: 500 12.5px/1 var(--sans); color: var(--muted); }
.add-row .ico { width: 14px; height: 14px; }
.rail-facts { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; font-size: 12.5px; }
.rail-facts div { display: flex; justify-content: space-between; gap: 8px; }
.rail-facts dt { color: var(--muted); }
.rail-facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }

/* The signer's side, on a phone. */
.phone { margin-top: 72px; width: 272px; border-radius: 38px; padding: 10px; background: var(--ink); box-shadow: var(--shadow-3); }
.phone-screen { background: var(--paper); border-radius: 29px; overflow: hidden; padding: 16px 14px 0; }
.phone-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12.5px/1.2 var(--sans); color: var(--ink); }
.phone-top span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-lang { flex: none; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 11px; color: var(--ink-2); }
.phone-progress { height: 4px; margin-top: 12px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.phone-progress span { display: block; height: 100%; background: var(--ok); }
.phone-note { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.phone-doc { display: grid; gap: 7px; margin-top: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fcfcfd; }
.phone-line { height: 5px; border-radius: 3px; background: var(--line); }
.phone-line.short { width: 58%; }
.phone-field { display: grid; place-items: center; height: 34px; margin-top: 6px; border: 1.5px dashed var(--c1); border-radius: 6px; background: var(--c1-wash); color: var(--c1); font: 600 12px/1 var(--sans); }
.sheet { margin: 14px -14px 0; padding: 14px 14px 18px; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; background: var(--paper); box-shadow: 0 -12px 26px -20px rgba(11, 16, 32, .35); }
.sheet-title { font: 600 13px/1.2 var(--sans); color: var(--ink); }
.tabs { display: flex; gap: 6px; margin-top: 10px; }
.tabs span { padding: 6px 10px; border-radius: 7px; background: var(--canvas); font: 600 12px/1 var(--sans); color: var(--ink-2); }
.tabs .on { background: var(--brand); color: #fff; }
.pad { position: relative; display: grid; place-items: center; height: 96px; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfbfd; }
.pad::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 22px; border-bottom: 1px dashed var(--line); }
.pad .script { position: relative; z-index: 1; font: 400 38px/1 var(--script); color: var(--sig); }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.legend-item { display: grid; align-content: start; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.legend-item b { font-weight: 600; color: var(--ink); }

/* --- The strip ------------------------------------------------------------ */
.strip { background: var(--canvas); border-block: 1px solid var(--line-2); }
.strip-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; padding-top: 22px; padding-bottom: 22px; }
.strip-lead { font-size: 14.5px; color: var(--muted); }
.strip-list { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.strip-list li { font: 600 15px/1.4 var(--sans); letter-spacing: -.015em; color: var(--ink); }

/* --- Sections ------------------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section-canvas { background: var(--canvas); border-block: 1px solid var(--line-2); }
.section-head { max-width: 54rem; }
.section-head h2 { margin-top: 14px; }
.section-head > p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
.section-head a { color: var(--ink); font-weight: 600; }
.section-head a:hover { color: var(--brand-deep); }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.55; }
.points li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 12px; height: 1.5px; background: var(--ink); }
.code { font: 500 .88em/1 var(--mono); color: var(--brand-deep); background: var(--brand-wash); padding: 2px 5px; border-radius: 5px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 11.5px/1 var(--sans); white-space: nowrap; color: var(--ink-2); background: var(--canvas); border: 1px solid var(--line-2); }
.pill-muted { color: var(--muted); }
.pill-ok { color: var(--ok); background: var(--ok-wash); border-color: transparent; }
.pill-info { color: var(--info); background: var(--info-wash); border-color: transparent; }
.pill-brand { color: var(--brand-deep); background: var(--brand-wash); border-color: transparent; }
.pill-warn { color: var(--warn); background: var(--warn-wash); border-color: transparent; }

/* How it works: a real sequence, so it is numbered. */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step-card { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--ink); }
.step-no { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.step-card h3 { margin-top: 4px; }
.step-card > p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }
@media (min-width: 900px) { .step-card > p { min-height: calc(1.65em * 3); } }
.mini { margin-top: auto; min-height: 150px; padding: 18px; border-radius: 14px; background: var(--canvas); border: 1px solid var(--line-2); display: grid; align-content: center; gap: 8px; }
.src { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.ext { display: inline-grid; place-items: center; width: 34px; height: 22px; border-radius: 5px; font: 500 10px/1 var(--mono); color: var(--ink-2); background: var(--canvas); border: 1px solid var(--line); }
.ext-pdf { color: #b42318; }
.ext-tpl { color: var(--brand-deep); }
.ext-doc { color: var(--ok); }
.mini-prepare { background: var(--paper); gap: 9px; }
.mini-line { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.mini-line.short { width: 64%; }
.mini-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.field-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; font: 600 11.5px/1 var(--sans); border: 1.5px solid var(--c1); background: var(--c1-wash); color: var(--c1); }
.field-chip.c2 { border-color: var(--c2); background: var(--c2-wash); color: var(--c2); border-style: dashed; }
.mini-people { display: flex; gap: 6px; margin-top: 4px; }
.dot-no { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 11px/1 var(--mono); border: 1.5px solid var(--c1); color: var(--c1); background: var(--c1-wash); }
.dot-no.c2 { border-color: var(--c2); color: var(--c2); background: var(--c2-wash); }
.dot-no.c3 { border-color: var(--c3); color: var(--c3); background: var(--c3-wash); }
.track { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line-2); }
.track time { font: 400 12px/1 var(--mono); color: var(--muted); }
.track-ev { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }

/* Features */
.feature-section { background: #f8f7f5; }
.features { margin-top: 42px; display: flex; align-items: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 4px 4px 24px; scrollbar-width: thin; scrollbar-color: #c4bfb6 transparent; overscroll-behavior-x: contain; }
.features:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 8px; }
.feature { display: flex; flex-direction: column; gap: 22px; flex: 0 0 min(440px, 85%); min-width: 0; scroll-snap-align: start; }
.feature-visual { height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 32px; border-radius: 28px; overflow: hidden; position: relative; background: #242034; }
.visual-1 { background: radial-gradient(ellipse at 20% 130%, #9385f5, transparent 68%), #242034; }
.visual-2 { background: #e9e6de; }
.visual-3 { background: radial-gradient(ellipse at 100% 110%, #b8cbbc, transparent 72%), #26302d; }
.visual-4 { background: #e6e9ef; }
.visual-5 { background: radial-gradient(ellipse at 80% 120%, #b3a3ff, transparent 66%), #282039; }
.feature-visual > * { flex-shrink: 0; }
.preview-chrome { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 10px 10px 0 0; background: #f6f5f3; padding: 10px 12px; color: #66635c; font-size: 12px; border: 1px solid #d8d6d0; border-bottom: 0; }
.preview-dots { color: #aaa69e; font-size: 9px; letter-spacing: 2px; }
.feature-visual .af-list { gap: 6px; margin-top: 10px; }
.feature-visual .af-list li { padding: 6px 8px; gap: 8px; }
.feature-visual .af-main { line-height: 1.25; }
.feature-visual .plate { margin: 0; background: #fff; border: 1px solid #dedbd5; border-radius: 0 0 10px 10px; padding: 16px; box-shadow: 0 12px 25px #0002; }
.feature-copy { padding: 0 6px; }
.feature-copy h3 { font-weight: 450; font-size: 20px; line-height: 1.35; }
.feature-copy h3 span { font-weight: 650; }
.feature-copy .benefit { font-size: 16px; color: #65615a; }
.feature-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 0; font-size: 14px; color: var(--ink); }
.feature-details summary::-webkit-details-marker { display: none; }
.feature-details summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.feature-details[open] summary::after { content: "−"; }
.feature-details { border-top: 1px solid #dedbd4; }
.feature-details .points { padding-bottom: 14px; }
.feature-navigation { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.feature-navigation p { font-size: 14px; color: #6c675f; }
.feature-arrows { display: flex; gap: 10px; flex: none; }
.feature-arrows[hidden] { display: none; }
.feature-arrows button { display: grid; place-items: center; width: 46px; height: 46px; background: #e9e6e1; color: #242320; border-radius: 50%; border: 0; cursor: pointer; transition: background-color .15s; }
.feature-arrows button:hover:not(:disabled) { background: #d9d4cc; }
.feature-arrows button:disabled { opacity: .4; cursor: default; }
.feature-prev .ico { transform: rotate(180deg); }
.product-section { background: #fff; }
.product-section .section-head { text-align: center; margin-inline: auto; }
.product-section .section-head > p { margin-inline: auto; }
.product-section .stage { padding-bottom: 0; }
.feature-copy { display: grid; gap: 14px; align-content: start; }
.benefit { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.feature .points { margin-top: 6px; }
.plate { margin-top: auto; padding: 18px; border-radius: 14px; background: var(--canvas); border: 1px solid var(--line-2); min-width: 0; }
.swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--c1); flex: none; }
.swatch.c2 { background: var(--c2); }

.af-head { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.af-sub { margin-left: auto; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 12.5px; }
.spark { width: 11px; height: 11px; background: var(--brand); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.af-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.af-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 10px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-2); }
.tick-box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--brand); color: #fff; }
.tick-box .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.tick-box.off { background: var(--paper); border: 1.5px solid #c3c9d6; }
.af-main { display: grid; gap: 1px; min-width: 0; }
.af-main b { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.012em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-main span { font-size: 12.5px; color: var(--muted); }
.af-foot { display: flex; gap: 8px; margin-top: 14px; }

.tpl-card { display: grid; gap: 6px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); }
.tpl-cat { font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.tpl-card b { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.012em; }
.tpl-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.role { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 600 11.5px/1 var(--sans); border: 1.5px solid var(--c1); color: var(--c1); background: var(--c1-wash); }
.role.c2 { border-color: var(--c2); color: var(--c2); background: var(--c2-wash); }
.tpl-vars { display: grid; gap: 8px; margin-top: 12px; }
.tpl-vars > span { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.tpl-vars i { font-style: normal; color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.slip-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 13.5px/1.2 var(--sans); color: var(--ink); }
.slip { list-style: none; margin: 4px 0 0; padding: 0; }
.slip li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; }
.slip li + li::before { content: ""; position: absolute; left: 13px; top: -12px; height: 24px; width: 1.5px; background: var(--line); }
.slip-no { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--mono); border: 1.5px solid var(--line); color: var(--muted); background: var(--paper); }
.slip .done .slip-no { background: var(--ok); border-color: var(--ok); color: #fff; }
.slip .now .slip-no { border-color: var(--info); color: var(--info); }
.slip .later .who b { color: var(--muted); }

.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-2); }
.doc-row + .doc-row { margin-top: 8px; }
.doc-name { min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cert { padding: 18px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-family: var(--doc); }
.cert-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1.5px solid var(--ink); }
.cert-head b { font-size: 15px; font-weight: 600; color: var(--ink); }
.cert-head .mono, .cert-row .mono { font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.cert-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.cert-row:last-child { border-bottom: 0; }

/* Use cases: folders, each with its tab. */
.uses { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.use { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 14px 14px 14px; }
.use-tab { position: absolute; left: -1px; bottom: 100%; max-width: calc(100% - 24px); padding: 7px 14px 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: 9px 9px 0 0; background: var(--paper); font: 600 13.5px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.use-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--paper); }
.use > p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.use-setup { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.use-setup div { display: grid; gap: 3px; }
.use-setup dt { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.use-setup dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }

/* Security and records: the one ink band. */
.band { background: var(--band); color: var(--band-text); }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #a5b4fc; }
.band :focus-visible { outline-color: #fff; }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.band-copy h2 { margin-top: 14px; }
.band-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; line-height: 1.6; max-width: 30rem; }
.ledger { margin-top: 36px; padding: 16px 18px 6px; border-radius: 14px; background: var(--band-2); border: 1px solid var(--band-line); }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--band-line); font: 600 13.5px/1 var(--sans); color: #fff; }
.verified { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); color: #6ee7b7; }
.verified::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.ledger ol { list-style: none; margin: 0; padding: 0; font: 400 12.5px/1.4 var(--mono); }
.ledger li { display: grid; grid-template-columns: 44px 76px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #1d2740; }
.ledger li:last-child { border-bottom: 0; }
.ledger time { color: var(--band-muted); font-variant-numeric: tabular-nums; }
.ledger .ev { color: #fff; font-weight: 500; }
.ledger .by { color: #aab3c7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sans); font-size: 13px; }
.ledger .h { color: #8b9bd6; }
.controls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.controls li { padding: 24px 0; border-top: 1px solid var(--band-line); }
.controls h3 { font-size: 1.0625rem; letter-spacing: -.015em; }
.controls p { margin-top: 6px; font-size: 15px; line-height: 1.55; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 36px 80px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; list-style: none; cursor: pointer; font: 600 1.0625rem/1.4 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 4px 0; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq summary:hover { color: var(--brand-deep); }
.answer { padding: 0 44px 22px 0; max-width: 44rem; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.answer a { color: var(--ink); font-weight: 600; }

/* --- Close ---------------------------------------------------------------- */
.close { background: radial-gradient(ellipse at 10% 150%, var(--brand), transparent 65%), #141020; color: #e8e1f5; padding: clamp(72px, 8vw, 120px) 0; }
.close h2 { color: #fff; max-width: 16em; }
.close :focus-visible { outline-color: #fff; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 0; max-width: 880px; }
.facts div { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 16px; }
.facts dt { font: 650 28px/1.2 var(--sans); letter-spacing: -.03em; color: #fff; }
.facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #cdc3df; }
.close-note { margin-top: 16px; font-size: 17px; }
.close-inner { display: grid; justify-items: center; text-align: center; gap: 40px; }
.close h2 { margin: 20px auto 0; }
.close .eyebrow { color: #c4b5fd; }
.close .cta-row { justify-content: center; }
.close .btn { min-height: 56px; }

/* --- Footer --------------------------------------------------------------- */
.foot { padding: 56px 0 28px; border-top: 1px solid var(--line-2); font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 22rem; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-title { margin-bottom: 4px; font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.foot-col a { justify-self: start; padding: 2px 0; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot-col a:hover, .foot-meta a:hover { color: var(--brand-deep); text-decoration: underline; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.foot-meta a { color: var(--ink-2); font-weight: 600; text-decoration: none; }

/* --- Smaller screens ------------------------------------------------------- */
@media (max-width: 1179px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { display: none; }
}
@media (max-width: 1023px) {
  .band-grid, .faq-grid, .close-inner { grid-template-columns: minmax(0, 1fr); }
  .lede { grid-row: auto; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .window-body { grid-template-columns: minmax(0, 1fr) 240px; }
  .field .script { font-size: 22px; }
  .toolbar { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mini { min-height: 0; }
}
@media (max-width: 719px) {
  .feature-visual { padding: 16px; height: 420px; border-radius: 22px; }
  .feature { flex-basis: 90%; }
  .feature-navigation p { max-width: 14em; }
  .feature-count { display: block; }
  .feature-navigation p > span[aria-hidden] { display: none; }
  .preview-chrome { font-size: 12px; }
  .feature-visual .slip li { grid-template-columns: 24px minmax(0, 1fr); gap: 6px 10px; padding: 8px 0; }
  .feature-visual .slip .pill { grid-column: 2; justify-self: start; }
  body { font-size: 16px; }
  .window-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rail { border-left: 0; border-top: 1px solid var(--line-2); }
  .rail-facts { margin-top: 4px; }
  .window-actions .fake-btn-quiet { display: none; }
  .desk { padding: 18px 14px; }
  .page { padding: 22px 18px 20px; }
  .clause-long { display: none; }
  .sig-grid { gap: 16px; margin-top: 28px; }
  .field { padding: 0 7px; font-size: 10.5px; }
  .field .script { font-size: 22px; }
  .legend { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .uses { grid-template-columns: minmax(0, 1fr); }
  .controls { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger li { grid-template-columns: 40px 70px minmax(0, 1fr); }
  .ledger .h { display: none; }
  .answer { padding-right: 0; }
  .slip li { grid-template-columns: 28px minmax(0, 1fr); row-gap: 8px; }
  .slip .pill { grid-column: 2; justify-self: start; }
}
@media (max-width: 419px) {
  .window-bar .pill { display: none; }
  .sig-grid { grid-template-columns: minmax(0, 1fr); }
  .caption { min-height: 0; }
}
@media (pointer: coarse) {
  .foot-col a { padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field, .field .script, .scan { animation: none !important; }
  .scan { display: none; }
  .btn, .link-arrow .ico, .faq summary::after, .feature-arrows button { transition: none; }
}
