/* rosud.com: a sounding chart of your infrastructure. The page is read top to bottom as a dive: each band is a little deeper
   (darker) than the one above, from business at the surface to infrastructure on the seabed. Own origin only: no external fonts,
   scripts or images. The route red is for the incident track alone; the layer hues are data. */
@font-face { font-family: "Archivo Rosud"; src: url("/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono Rosud"; src: url("/fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --d0: #11233f; --d1: #0e1d36; --d2: #0c182d; --d3: #0a1424; --d4: #08101c; --d5: #060c16;
  --text: #eef2f9; --text-2: #c3cde2; --muted: #98a6c6;
  --line: rgba(120, 190, 232, .22); --line-strong: rgba(120, 190, 232, .42); --hair: #1f3358; --hair-2: #2c4577;
  --cyan: #6fc9ec; --accent: #8fb3ff; --plate: #f2f4f8; --plate-text: #0a1324;
  --route: #e3262f; --route-soft: #ff7a80;
  --l4: #4f7ce6; --l3: #2fb4e0; --l2: #d36fae; --l1: #c9805f; --l0: #a984d0;
  --gutter: clamp(18px, 4.4vw, 56px);
  --max: 1240px;
  --sans: "Archivo Rosud", "Noto Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono Rosud", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html[lang="ko"] { --sans: "Archivo Rosud", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html[lang="ja"] { --sans: "Archivo Rosud", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif; }
html[lang="zh-Hans"] { --sans: "Archivo Rosud", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--d0); color: var(--text); font: 400 17px/1.62 var(--sans); font-stretch: 100%; text-rendering: optimizeLegibility; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body, html[lang="zh-Hans"] body { word-break: normal; line-break: strict; overflow-wrap: break-word; }
html[lang="ja"] body { word-break: auto-phrase; }
html[lang="ko"] body { font-size: 17px; line-height: 1.7; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #bcd1ff; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--l3); color: #04101c; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plate); color: var(--plate-text); padding: 10px 16px; border-radius: 4px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
html { scrollbar-color: var(--hair-2) var(--d4); scrollbar-width: thin; }

/* ---- header ------------------------------------------------------------------------------------------------------- */
.top { position: relative; z-index: 30; max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 8px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 22px; font-stretch: 85%; letter-spacing: .02em; }
.mark { width: 26px; height: 26px; flex: none; }
.menu { display: none; margin-right: auto; gap: 2px 22px; flex-wrap: wrap; font-size: 15px; font-stretch: 92%; }
.menu a { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.menu a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--cyan); }
.top .push { margin-left: auto; }
details.pop { position: relative; }
details.pop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--hair-2); border-radius: 6px; color: var(--text); font-size: 15px; font-stretch: 92%; background: transparent; }
details.pop > summary::-webkit-details-marker { display: none; }
details.pop > summary:hover { border-color: var(--cyan); }
details.pop[open] > summary { border-color: var(--cyan); background: var(--d3); }
details.pop svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
details.pop .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
details.pop[open] .chev { transform: rotate(180deg); }
.pop-list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 188px; background: var(--d3); border: 1px solid var(--hair-2); border-radius: 8px; padding: 6px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); z-index: 40; }
.pop-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 5px; color: var(--text-2); text-decoration: none; font-size: 16px; }
.pop-list a:hover { background: var(--d1); color: var(--text); }
.pop-list a[aria-current] { color: var(--text); font-weight: 700; }
.pop-list a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.mmenu { display: block; }
.mmenu .pop-list { min-width: 230px; }
@media (min-width: 1020px) { .menu { display: flex; } .mmenu { display: none; } .top .push { margin-left: 0; } }

/* ---- hero: the chart ---------------------------------------------------------------------------------------------- */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 0; }
.chart { position: relative; border: 1px solid var(--line-strong); background: var(--d1); overflow: hidden; }
.chart .wide { display: none; width: 100%; height: auto; }
.chart .tall { width: 100%; height: auto; }
.chart text { font-family: var(--mono); }
.chart .cap { font-family: var(--sans); font-stretch: 75%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--text-2); }
.chart .lyr { fill: var(--muted); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); font-stretch: 75%; font-weight: 600; }
.chart .snd { fill: #93a5cc; font-size: 13px; }
.chart .contour { fill: none; stroke: var(--line-strong); stroke-width: 1; opacity: .8; }
.chart .tick { stroke: var(--line-strong); stroke-width: 1; }
.chart .edge { stroke: #34508a; stroke-width: 1; }
.chart .node { fill: #4a6bab; }
.chart .bgnode { fill: #4a6aa6; }
.chart .track { fill: none; stroke: var(--route); stroke-width: 3.4; stroke-dasharray: 11 8; stroke-linecap: butt; }
.chart .fixhalo { fill: none; stroke: var(--route); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.chart .fixdot { fill: var(--route); }
.chart .fixnum { fill: #fff; font-size: 17px; font-weight: 800; text-anchor: middle; }
.chart .fixlbl { fill: var(--text); font-family: var(--sans); font-stretch: 85%; font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.chart .fixlead { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .dim { fill: var(--muted); font-size: 13px; font-family: var(--sans); letter-spacing: .04em; }
.chart .reveal rect { transform-box: fill-box; transform-origin: 50% 100%; }
.fixlist { padding: 14px 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--text-2); background: var(--d2); }
.fixlist li { display: flex; gap: 12px; align-items: center; }
.fixlist .n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--route); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.fixlist .bgnote { color: var(--muted); }
.cartouche { padding: 28px 4px 8px; }
.cartouche h1 { font-weight: 800; font-stretch: 78%; font-size: clamp(42px, 11.4vw, 60px); line-height: 1.02; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
html[lang="ko"] .cartouche h1, html[lang="ja"] .cartouche h1, html[lang="zh-Hans"] .cartouche h1 { font-size: clamp(34px, 9.4vw, 52px); line-height: 1.2; letter-spacing: -.02em; text-transform: none; font-stretch: 100%; font-weight: 800; }
.lead { margin-top: 18px; color: var(--text-2); font-size: 18px; max-width: 62ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 6px; font: 700 16px/1 var(--sans); font-stretch: 92%; text-decoration: none; transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.primary { background: var(--plate); color: var(--plate-text); }
.btn.primary:hover { background: #fff; color: var(--plate-text); transform: translateY(-1px); }
.btn.ghost { color: var(--text); border: 1px solid var(--hair-2); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--text); }
.btn:active { transform: translateY(0); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) {
  .chart .wide { display: block; }
  .chart .tall { display: none; }
  .fixlist { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
  .cartouche { position: absolute; left: 24px; top: 24px; width: min(50%, 640px); padding: 30px 32px 30px; background: rgba(10, 19, 36, .94); border: 1px solid var(--line-strong); outline: 1px solid var(--line); outline-offset: 5px; z-index: 3; }
  .cartouche h1 { font-size: clamp(40px, 4.3vw, 62px); }
  html[lang="ko"] .cartouche h1, html[lang="ja"] .cartouche h1, html[lang="zh-Hans"] .cartouche h1 { font-size: clamp(36px, 3.8vw, 54px); }
  .lead { font-size: 18px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .cartouche { width: min(56%, 560px); padding: 24px 24px 24px; } .lead { font-size: 16px; } }
.heroflow { position: relative; }

/* ---- bands: one per depth ------------------------------------------------------------------------------------------ */
.band { padding: clamp(72px, 10vw, 136px) 0; }
.band .in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.b1 { background: var(--d1); } .b2 { background: var(--d2); } .b3 { background: var(--d3); } .b4 { background: var(--d4); } .b5 { background: var(--d5); }
.band + .band { border-top: 1px solid var(--line); }
.band h2 { font-weight: 800; font-stretch: 78%; font-size: clamp(34px, 7.4vw, 52px); line-height: 1.04; text-transform: uppercase; text-wrap: balance; max-width: 18ch; }
html[lang="ko"] .band h2, html[lang="ja"] .band h2, html[lang="zh-Hans"] .band h2 { font-stretch: 100%; text-transform: none; line-height: 1.22; font-size: clamp(28px, 6.2vw, 42px); letter-spacing: -.02em; max-width: 22ch; }
.band h2 + p, .band .intro { margin-top: 20px; max-width: 64ch; color: var(--text-2); font-size: 18px; text-wrap: pretty; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; font-stretch: 92%; }
.ledger { margin-top: 36px; border-top: 1px solid var(--hair-2); }
.ledger > li, .ledger > div { display: grid; gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.ledger p, .ledger dd { color: var(--text-2); font-size: 16px; max-width: 58ch; text-wrap: pretty; }
@media (min-width: 760px) { .ledger > li, .ledger > div { grid-template-columns: minmax(180px, 30%) 1fr; } }

/* screens */
.shot { background: var(--d0); border: 1px solid var(--hair-2); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 22px 60px rgba(0, 0, 0, .45); }
.shot img { width: 100%; height: auto; }
.phone { border-radius: 30px; border: 6px solid #1b2c52; background: #000; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 22px 50px rgba(0, 0, 0, .5); }
.phone img { width: 100%; height: auto; }
.duo { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 21%, 220px); gap: clamp(12px, 2vw, 24px); align-items: center; }
.split { display: grid; gap: 44px; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } .split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split.flip > :first-child { order: 2; }  .split .ledger > div { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 22px; }

/* tour */
.tour { margin-top: 40px; position: relative; border: 1px solid var(--line-strong); outline: 1px solid var(--line); outline-offset: 6px; background: #000; aspect-ratio: 16 / 9; }
.tour video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.tour .ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--d3); color: var(--muted); font-size: 15px; text-align: center; padding: 20px; }
details.tr { margin-top: 26px; max-width: 70ch; }
details.tr summary { cursor: pointer; color: var(--accent); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
details.tr ol { list-style: decimal; padding-left: 22px; color: var(--text-2); display: grid; gap: 8px; margin-top: 8px; }

/* layers legend */
.layers { margin-top: 32px; border-top: 1px solid var(--hair-2); }
.layers li { display: grid; grid-template-columns: 14px minmax(110px, 26%) 1fr; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--hair); }
.layers .sq { width: 12px; height: 12px; border-radius: 2px; transform: translateY(1px); }
.layers b { font-weight: 700; font-stretch: 92%; }
.layers span.d { color: var(--text-2); font-size: 15px; }
@media (max-width: 560px) { .layers li { grid-template-columns: 14px 1fr; } .layers span.d { grid-column: 2; } }

/* steps */
.steps { margin-top: 36px; border-top: 1px solid var(--hair-2); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--mono); font-weight: 700; color: var(--cyan); font-size: 20px; line-height: 1.4; }
.steps p { color: var(--text-2); font-size: 16px; max-width: 56ch; }

/* more */
.more { margin-top: 40px; display: grid; border-top: 1px solid var(--hair-2); }
.more li { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.more p { margin-top: 6px; color: var(--text-2); font-size: 16px; max-width: 52ch; text-wrap: pretty; }
@media (min-width: 900px) { .more { grid-template-columns: 1fr 1fr; column-gap: 64px; } }

/* sources */
.src { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.src li { font-family: var(--mono); font-size: 14px; color: var(--text-2); }

/* pricing: the legend of the chart */
.price { margin-top: 40px; display: grid; gap: 36px; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.amount b { font-size: clamp(56px, 13vw, 104px); line-height: .95; font-weight: 800; font-stretch: 76%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.amount span { color: var(--text-2); font-size: 20px; }
.badge { display: inline-flex; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--cyan); color: var(--text); font-size: 14px; font-weight: 700; font-stretch: 92%; border-radius: 4px; }
.incl { border-top: 1px solid var(--hair-2); }
.incl li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--hair); position: relative; color: var(--text); font-size: 16px; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 18px; height: 18px; background: url("/img/check.svg") no-repeat center / contain; }
.price .fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--hair-2); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 700; font-stretch: 92%; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 62ch; }


/* footer */
.foot { background: var(--d5); border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
.foot .in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 22px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot ul.l { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.foot ul.l a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 4px; color: var(--text-2); text-decoration: none; }
.foot ul.l a:hover { color: var(--text); background: var(--d3); }
.foot ul.l a[aria-current] { color: var(--text); font-weight: 700; }
.foot p.tm { max-width: 90ch; line-height: 1.6; }

/* depth gauge (progressive enhancement) */
.gauge { display: none; }
@media (min-width: 1360px) {
  .gauge { display: block; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; height: 260px; width: 170px; pointer-events: none; }
  .gauge ol { position: relative; height: 100%; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: space-between; text-align: right; }
  .gauge li { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f82ab; padding-right: 12px; position: relative; white-space: nowrap; transition: color .3s var(--ease); }
  .gauge li::after { content: ""; position: absolute; right: -1px; top: 50%; width: 7px; height: 1px; background: var(--line-strong); }
  .gauge li.on { color: var(--text); }
  .gauge li.on::after { width: 12px; background: var(--cyan); height: 2px; }
}

/* ---- the one authored moment: the track plots itself ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .chart .reveal rect { animation: plot 3.4s .5s var(--ease) both; transform: scaleY(0); }
  .chart .fix { opacity: 0; animation: fixin .5s var(--ease) both; }
  .chart .fix1 { animation-delay: .6s; } .chart .fix2 { animation-delay: 1.9s; } .chart .fix3 { animation-delay: 3.1s; }
  .chart .fixhalo { animation: halo 2.6s 3.6s ease-out infinite; opacity: 0; }
  .chart .bgfade { animation: dimin 1.4s 3.2s var(--ease) both; }
}
@keyframes plot { to { transform: scaleY(1); } }
@keyframes fixin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes halo { 0% { transform: scale(.7); opacity: .85; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes dimin { from { opacity: 1; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .chart .bgfade { opacity: .55; } }

@media print { .gauge, .top, details.pop { display: none; } body { background: #fff; color: #000; } }

.layers .sq.l4 { background: var(--l4); } .layers .sq.l3 { background: var(--l3); } .layers .sq.l2 { background: var(--l2); } .layers .sq.l1 { background: var(--l1); } .layers .sq.l0 { background: var(--l0); }
.srcs { margin-top: 64px; }
.band .intro.small { font-size: 16px; margin-top: 8px; }

.wideshot { margin-top: 44px; }
.steps { max-width: 760px; }

.ledger.cols4 > div { grid-template-columns: 1fr; }
@media (min-width: 980px) { .ledger.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; } .ledger.cols4 > div { align-content: start; } }
.duo { margin-top: 56px; }

@media (max-width: 760px) {
  .duo { grid-template-columns: 1fr; justify-items: center; margin-top: 40px; }
  .duo .shot { display: none; }
  .duo .phone { width: min(300px, 82%); }
  .shot.pan { overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .shot.pan img { width: 860px; max-width: none; }
}

/* trust facts under the first actions */
.trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-2); font-stretch: 92%; }
.trust li { position: relative; padding-left: 20px; }
.trust li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: url("/img/check.svg") no-repeat center / contain; }

/* swipe hint for wide screens on a phone */
.panhint { display: none; }
@media (max-width: 760px) {
  .panhint { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
  .shot.pan { position: relative; }
  .fixlist { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
  .chart .tall .fixlbl { font-size: 31px; }
  .chart .tall .lyr { font-size: 24px; }
  .chart .tall .dim { display: none; }
  .chart .tall .fixnum { font-size: 22px; }
  .chart .tall .fixdot, .chart .tall .fixhalo { r: 20; }
}

/* the chart's margin and contour lines carry through the bands: a tick scale in the left margin and a contour line on every band edge */
.band { position: relative; }
.band + .band::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 18px; background: url("/img/contour.svg") repeat-x center top / 480px 18px; opacity: .9; pointer-events: none; }
@media (min-width: 1100px) {
  .band::after { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 12px; pointer-events: none;
    background: repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 24px) left top / 7px 100% no-repeat,
                repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 120px) left top / 12px 100% no-repeat; }
}

/* 404 */
.nf { background: var(--d3); min-height: 100vh; }
.nf main { max-width: 640px; margin: 0 auto; padding: 56px var(--gutter) 72px; }
.nf .code { margin-top: 56px; font-size: clamp(72px, 22vw, 150px); line-height: 1; font-weight: 800; color: var(--cyan); }
.nflist { margin-top: 32px; border-top: 1px solid var(--hair-2); }
.nflist li { border-bottom: 1px solid var(--hair); }
.nflist a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; text-decoration: none; color: var(--text); min-height: 44px; }
.nflist a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--cyan); }
.nflist b { font-size: 18px; font-weight: 700; font-stretch: 92%; }
.nflist span { grid-column: 1; color: var(--text-2); font-size: 15px; }
.nflist em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: var(--accent); font-size: 15px; }

/* agent-era positioning (docs/specs/SPEC-homepage-positioning.md) */
.ledger.cols3 > div, .ledger.cols5 > div { grid-template-columns: 1fr; }
@media (min-width: 980px) {
  .ledger.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; } .ledger.cols3 > div { align-content: start; }
  .ledger.cols5 { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; } .ledger.cols5 > div { align-content: start; }
}
.proof { margin-top: 28px; max-width: 64ch; color: var(--text-2); font-size: 16px; text-wrap: pretty; }
.proof b { color: var(--text); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-right: 8px; }
.band .actions { margin-top: 28px; }
.doc .docin { max-width: 820px; }
.doch { font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; text-wrap: balance; }
.doc .lead { margin-top: 18px; color: var(--text-2); font-size: 18px; max-width: 64ch; }
.agsec { margin-top: 44px; border-top: 1px solid var(--hair-2); padding-top: 24px; }
.agsec h2 { font-size: 22px; font-weight: 700; }
.agsec p { margin-top: 12px; color: var(--text-2); font-size: 16px; max-width: 64ch; text-wrap: pretty; }
.cmd { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--hair-2); border-radius: 8px; background: var(--d1); overflow-x: auto; }
.cmd code { font-family: var(--mono); font-size: 13.5px; color: var(--cyan); white-space: pre; }
.qs { margin-top: 12px; padding-left: 20px; color: var(--text-2); } .qs li { margin: 6px 0; list-style: disc; }
html[lang="ko"] .proof b, html[lang="ja"] .proof b, html[lang="zh-Hans"] .proof b { letter-spacing: 0; font-family: inherit; font-size: 14px; }
