/* v2 (2026-10-20, comparison draft): loaded only by index.v2.html, after every other stylesheet.
   Not part of the published site; delete or fold into editorial.css once a version is chosen. */

/* ink #212529 (light, mono palette only); the paper stays the original #F3F3F0 */
:root:not([data-theme="dark"]):not([data-palette="signal"]):not([data-palette="lime"]) {
  --ink: #212529;
  --rule: rgb(33 37 41 / 0.22);
  --rule-strong: rgb(33 37 41 / 0.6);
}

/* "use it where you work" cards: smaller icons in the same boxes; the stroke is thickened so the line weight
   stays about the same at the smaller size */
/* the 20px given back on top keeps the 56px icon slot, so the cards keep their height */
.surf-ic { width: 36px; height: 36px; margin-top: 20px; stroke-width: 3.2; }
.surf-logos { height: 36px; margin-top: 20px; gap: 10px; }
.surf-logos svg { width: 28px; height: 28px; }

/* logo: the Mobius C mark (「문자판 눈금」, 로고 시안 1 변주 2026-10-19) in place of the four bars, same tile.
   The mark is drawn as strokes; its three cuts are painted in the tile colour. */
.cc-mark svg.mc, .bm-ic.is-mark svg.mc { width: 100%; height: 100%; }
.mc path { fill: none; stroke-linecap: butt; stroke-linejoin: miter; }
.cc-mark .mc .m-ink, .bm-ic.is-mark .mc .m-ink { fill: none; stroke: var(--mark-ink, #fff); stroke-width: 15; }
.cc-mark .mc .m-acc, .bm-ic.is-mark .mc .m-acc { fill: none; stroke: var(--mark-acc, #8c8c8c); stroke-width: 15; }
.mc .m-cut { stroke: var(--mark-bg, #0a0a0a); stroke-width: 2.6; }

/* footer, after relace.ai/old: line + sub on the left and the two download buttons on the right (bottoms
   aligned), the silk picture as a full-width strip under them, then the mark, then copyright and legal links */
.foot { border-top: 1px solid var(--rule-strong); padding: 96px 0 0; }
.foot-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding-bottom: 40px; }
.foot-copy { flex: 1 1 480px; max-width: 760px; }
.foot-title { margin: 0; font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); }
.foot-sub { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.foot-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-plate { height: clamp(160px, 18vw, 240px); background: var(--ink); opacity: 0.7;
  -webkit-mask: url(../plates/footer-loom-visit.png) center top / cover no-repeat; mask: url(../plates/footer-loom-visit.png) center top / cover no-repeat; }
/* footer-loom-visit: cut from the same silk picture with room above the heads (make_plates.py, 07_웹 게시도구) */
:root[data-theme="dark"] .foot-plate { -webkit-mask-image: url(../plates/footer-loom-visit-dark.png); mask-image: url(../plates/footer-loom-visit-dark.png); }
.foot-brand { padding: 24px 0 0; }
.foot-brand .brand-name { font-size: 20px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 20px 0 32px; }
.foot-copyright { margin: 0; font-size: 12.5px; color: var(--text-2); }
.foot .footer-legal { gap: 18px; }
@media (max-width: 767px) {
  .foot { padding-top: 64px; }
  .foot-actions, .foot-actions .btn { width: 100%; }
  .foot-actions .btn { justify-content: center; }
}

/* demo: braille comes from our own dot font (tools/braille_font.py), drawn on the terminal cell, so the logo
   dot art and the spinner sit on an even grid instead of a borrowed, wider glyph */
@font-face { font-family: "IntraGenX Dots"; src: url(../fonts/chronika-dots.woff2) format("woff2");
  unicode-range: U+2800-28FF; font-display: block; }
.demo-player .ap-terminal { font-family: "IntraGenX Dots", Consolas, Menlo, "Bitstream Vera Sans Mono", monospace, "Powerline Symbols"; }

/* headline: 「자율주행」 printed in reverse, paper on an ink block */
.inv { background: var(--ink); color: var(--paper); padding: 0 0.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* E2E Code Bench note: the card is 570px wide but the text stopped at a 438px measure, so its second sentence
   broke before the last word; it now uses the card's width */
.bm-about p { max-width: none; }

/* front lead: runs into the gutter before the column rule (stops 16px short of it) instead of a 36ch measure,
   so each of its two sentences fits on one line */
@media (min-width: 1025px) {
  .front-lead { max-width: none; margin-right: -32px; text-wrap: pretty; }
}

/* Blackstone glass stage, after a reference card: #212529 smoked glass, one broad soft light band sweeping
   from the upper right to the middle left, a fainter glow low on the right, darker corners, a hairline light rim */
.demo-stage, :root[data-theme="dark"] .demo-stage { background: #1d2024;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.10), 0 30px 60px -36px rgb(0 0 0 / 0.5); }
.demo-stage::before { inset: -10%; filter: blur(64px); opacity: 1; animation: none; transform: rotate(-7deg);
  background:
    radial-gradient(60% 22% at 62% 30%, rgb(92 96 102 / 0.9), transparent 75%),
    radial-gradient(38% 26% at 30% 48%, rgb(64 68 74 / 0.70), transparent 75%),
    radial-gradient(42% 30% at 82% 86%, rgb(62 65 70 / 0.65), transparent 75%),
    radial-gradient(40% 40% at 8% 92%, rgb(18 20 23 / 0.9), transparent 70%),
    radial-gradient(36% 30% at 6% 6%, rgb(24 26 30 / 0.8), transparent 70%); }
.demo-stage::after, :root[data-theme="dark"] .demo-stage::after {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0) 40%, rgb(255 255 255 / 0.03)); }

/* 2026-10-22: the demo window waits (background only), then fades in with the recording (v2.js, REVEAL_MS) */
.demo-term { transition: opacity 700ms ease, scale 700ms cubic-bezier(0.2, 0, 0, 1); }
.demo-stage.is-waiting .demo-term { opacity: 0; scale: 0.97; }
@media (prefers-reduced-motion: reduce) { .demo-term { transition: none; } .demo-stage.is-waiting .demo-term { scale: none; } }
/* macOS window chrome: three traffic lights, no title (the app's own top bar is blanked in the recording) */
.demo-chrome { flex: none; display: flex; gap: clamp(5px, 0.62cqw, 8px); padding: clamp(8px, 1.1cqw, 14px) clamp(10px, 1.3cqw, 16px) 0; }
.demo-chrome i { width: clamp(8px, 1cqw, 12px); aspect-ratio: 1; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.2); }
.demo-chrome i:nth-child(2) { background: #febc2e; }
.demo-chrome i:nth-child(3) { background: #28c840; }
