/* Tuna Industrial Platform · Katalog
   Visual language carried over from the Claude Design source; tokens below. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin-ext.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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-latin.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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-ext.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: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin.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 {
  --bg: #f5f6f7;
  --white: #fff;
  --ink: #111418;
  --ink-2: #343c46;
  --muted: #4a545f;
  --muted-2: #6b7684;
  --line: #c3cad2;
  --line-2: #e6e9ec;
  --accent: #c97a3f;
  --accent-ink: #a9622f;
  --dark: #0b0d10;
  --dark-2: #111418;
  --dark-3: #181c22;
  --dark-line: #242a32;
  --dark-line-2: #343c46;
  --on-dark: #e6e9ec;
  --on-dark-2: #c3cad2;
  --on-dark-3: #98a2ad;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: Inter, system-ui, sans-serif;
  --hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg { width: 18px; height: 18px; flex: none; }

.print { display: none; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pad { padding-top: 88px; padding-bottom: 88px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.stack-xs { display: flex; flex-direction: column; gap: 8px; }
.end { align-self: end; }
.mb { margin-bottom: 56px; }
.mb-sm { margin-bottom: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; }
.mono { font-family: var(--mono); }
.nw { white-space: nowrap; }

.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-ink); font-weight: 600; }
.kicker.muted { color: var(--muted-2); font-weight: 400; }
.dark .kicker { color: var(--accent); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.label-sm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); }
.code { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.h2.narrow { max-width: 22ch; }
.lede-sm { font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.dark .lede-sm { color: var(--on-dark-2); }
.note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.note-lg { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 70ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; padding: 8px 12px; font: 500 13px/1.2 var(--sans); cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 13px 18px; font-size: 15px; font-weight: 600; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--dark); font-weight: 600; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-ondark { background: transparent; border-color: var(--muted); color: var(--on-dark); font-weight: 500; }
.btn-ondark:hover { border-color: var(--accent); color: var(--on-dark); }
.dark .btn-accent:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(245, 246, 247, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); }
.hdr-in { min-height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand img { height: 26px; width: 26px; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-tag { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.nav { display: flex; gap: 20px; flex: 1; min-width: 0; font-size: 14px; }
.nav a { color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-family: var(--mono); font-size: 12px; }
.lang a { padding: 7px 10px; color: var(--muted); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }
.lang a:not([aria-current]):hover { color: var(--ink); background: var(--line-2); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.share { position: relative; }
.share-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 220px; background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 10px 30px rgba(17, 20, 24, 0.12); padding: 6px; display: flex; flex-direction: column; }
.share-pop[hidden] { display: none; }
.share-item { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: 14px/1.3 var(--sans); cursor: pointer; }
.share-item:hover { background: var(--bg); color: var(--ink); }
.share-item[hidden] { display: none; }

.mnav { border-top: 1px solid var(--line-2); background: var(--bg); padding: 8px 24px 20px; max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a { color: var(--ink); font-size: 18px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mnav-cta { display: grid; gap: 10px; margin-top: 20px; }
.mnav-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.mnav-tools .share-pop { right: auto; left: 0; }

@media (max-width: 1100px) {
  .nav, .hdr-actions { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 1101px) { .mnav { display: none !important; } }

/* ---------- cover ---------- */
.cover { padding-top: 72px; padding-bottom: 48px; }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: end; }
.cover-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cover h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.03; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; font-family: var(--mono); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.meta div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.meta dt { color: var(--muted-2); }
.meta dd { color: var(--ink); overflow-wrap: anywhere; }
.fig { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fig-img { background: var(--dark); border-radius: 10px; overflow: hidden; }
.fig-img img { width: 100%; height: 100%; object-fit: cover; }
.r43 { aspect-ratio: 4 / 3; }
.r1610 { aspect-ratio: 16 / 10; }
.fig figcaption { font-size: 12px; color: var(--muted-2); }

.read { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; border-top: 1px solid var(--ink); padding-top: 24px; }
.read-h { display: flex; flex-direction: column; gap: 10px; }
.read h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.read p { font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* ---------- start points ---------- */
.start { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 72px 0; }
.start .split { margin-bottom: 40px; }
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.entry { border: 1px solid var(--line-2); background: var(--bg); border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.entry-img { background: var(--dark); min-height: 200px; }
.entry-img img { width: 100%; height: 100%; object-fit: cover; }
.entry-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.entry h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.entry p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.entry .note { font-size: 12px; color: var(--muted-2); }
.entry .btn { margin-top: 6px; padding: 11px 16px; font-size: 14px; }
#skor { border-color: var(--accent); }
.areas { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 22px; background: var(--dark); color: var(--on-dark); }
.areas .label-sm { color: var(--accent); }
.areas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.areas li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--dark-line); font-size: 14px; line-height: 1.35; }
.areas li span { font-family: var(--mono); font-size: 11px; color: var(--on-dark-3); padding-top: 2px; }

/* ---------- contents ---------- */
.toc { padding-top: 64px; padding-bottom: 80px; }
.toc .kicker { margin-bottom: 16px; }
.toc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.toc-list > a, .toc-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.toc-list > a:hover { color: var(--accent-ink); }
.toc-l { font-size: 17px; font-weight: 500; }
.toc-g { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }

/* ---------- dark sections / architecture ---------- */
.dark { background: var(--dark); color: var(--on-dark); }
.arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: 16px; align-items: stretch; }
.layers { display: flex; flex-direction: column; border: 1px solid var(--dark-line-2); border-radius: 10px; overflow: hidden; min-width: 0; }
.layer { display: grid; grid-template-columns: 112px minmax(0, 1fr); border-bottom: 1px solid var(--dark-line); }
.layer-h { padding: 18px 16px; border-right: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 4px; background: var(--dark-2); }
.layer-h span { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.layer-h strong { font-size: 13px; font-weight: 600; color: var(--on-dark); }
.layer-items { padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.layer-items a { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; border: 1px solid var(--dark-line-2); border-radius: 6px; color: var(--on-dark); font-size: 14px; }
.layer-items a span { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.layer-items a:hover { border-color: var(--accent); color: var(--on-dark); }
.layer-items a.hi { border-color: var(--accent); background: var(--dark-3); }
.layer.dim .layer-items a { border-color: var(--dark-line); }
.flow { padding: 12px 16px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.04em; }
.erp { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border: 1px dashed var(--muted); border-radius: 10px; padding: 22px; color: var(--on-dark); min-width: 0; }
a.erp:hover { border-color: var(--accent); color: var(--on-dark); }
.erp .code { font-size: 11px; color: var(--accent); }
.erp strong { font-size: 20px; font-weight: 600; }
.erp-sub { font-size: 14px; line-height: 1.55; color: var(--on-dark-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 12px; }
.chips span { padding: 4px 8px; border: 1px solid var(--dark-line-2); border-radius: 4px; }

/* ---------- modules ---------- */
.mods-h { padding-top: 96px; padding-bottom: 24px; }
.mods-h .kicker { margin-bottom: 14px; }
.mod { padding-top: 56px; padding-bottom: 72px; }
.mod-grid { border-top: 2px solid var(--ink); padding-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }
.mod-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mod-side .fig { margin-top: 8px; }
.mod-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mod-code > span:first-child { font-family: var(--mono); font-size: 44px; font-weight: 500; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.mod h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; }
.tagline { font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.status.staged i { background: var(--on-dark-3); }
.mod-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.desc { font-size: 17px; line-height: 1.65; max-width: 62ch; text-wrap: pretty; }
.mod-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.feat { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.5; }
.feat > span:first-child { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); padding-top: 3px; }
.question { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.question p { font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.readout { background: var(--dark); color: var(--on-dark); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.readout-h { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--on-dark-3); }
.readout-h .acc { color: var(--accent); }
.readout-v { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.readout p { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); text-wrap: pretty; }
.kpis { display: flex; flex-wrap: wrap; gap: 6px; }
.kpis span { font-family: var(--mono); font-size: 12px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--white); }
.works { font-size: 14px; line-height: 1.55; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.works .label-sm { padding-top: 2px; }
.mod-demo { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; }
.mod-demo svg { width: 16px; height: 16px; }

/* ---------- sectors ---------- */
.white { background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.mx { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.mx-row { display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(5, minmax(84px, 0.6fr)) minmax(200px, 1.2fr); border-bottom: 1px solid var(--line-2); }
.mx-row:last-child { border-bottom: 0; }
.mx-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.mx-c { padding: 14px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2); }
.mx-kpi { border-left: 1px solid var(--line-2); }
.mx-m { padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.25; border-left: 1px solid var(--line-2); }
.mx-m span { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
.mx-s { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.mx-s strong { font-size: 16px; font-weight: 600; }
.mx-s span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.mx-dot { display: grid; place-items: center; border-left: 1px solid var(--line-2); }
.mx-dot i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line-2); }
.mx-dot i.on { background: var(--accent); border-color: var(--accent); }
.mx-k { padding: 16px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); border-left: 1px solid var(--line-2); }
.sec-cards { display: none; }
.notes { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.beyond { margin-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.beyond h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.beyond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.beyond-card { border: 1px solid var(--line-2); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.beyond-card strong { font-size: 17px; font-weight: 600; }
.beyond-card span { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 900px) {
  .mx { display: none; }
  .sec-cards { display: grid; gap: 12px; }
  .sec-card { border: 1px solid var(--line-2); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
  .sec-card strong { font-size: 17px; }
  .sec-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
  .sec-card .chips a { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--white); }
  .sec-card .chips b { color: var(--accent-ink); font-weight: 500; }
  .sec-card .mx-k { padding: 10px 0 0; border-left: 0; border-top: 1px dashed var(--line); }
}

/* ---------- services ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 2px solid var(--ink); }
.step { padding: 22px 22px 26px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line-2); }
.step-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.step-m { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; }
.step h3 { font-size: 20px; line-height: 1.25; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.step-out { font-size: 13px; line-height: 1.5; color: var(--muted); padding-top: 8px; border-top: 1px dashed var(--line); }

/* ---------- contact ---------- */
.pad-ct { padding-top: 96px; padding-bottom: 56px; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: end; }
.ct-grid .stack { gap: 20px; }
.addr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; font-size: 14px; line-height: 1.65; color: var(--on-dark-2); }
.addr > div { display: flex; flex-direction: column; gap: 2px; }
.addr .label-sm { margin-bottom: 6px; }
.addr strong { color: var(--on-dark); font-weight: 600; }
.addr .mono { font-size: 13px; margin-top: 6px; }
.addr a { color: var(--accent); }
.fine { margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--dark-line-2); display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.55; color: var(--on-dark-3); }
.fine-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }

/* ---------- mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  :root { --hdr-h: 60px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .mnav { padding-left: 16px; padding-right: 16px; }
  .brand-tag { display: none; }
  .pad { padding-top: 64px; padding-bottom: 64px; }
  .cover { padding-top: 40px; }
  .cover-text { gap: 22px; }
  .cover-cta .btn { flex: 1 1 100%; }
  .meta { grid-template-columns: 1fr 1fr; }
  .meta div:last-child { grid-column: 1 / -1; }
  .lede { font-size: 17px; }
  .read { margin-top: 48px; }
  .start { padding: 56px 0; }
  .toc-list > a { grid-template-columns: 52px minmax(0, 1fr); }
  .toc-list .toc-g { display: none; }
  .layer { grid-template-columns: 84px minmax(0, 1fr); }
  .layer-h { padding: 14px 12px; }
  .layer-items { padding: 10px; }
  .mod { padding-top: 40px; padding-bottom: 48px; }
  .mod-code > span:first-child { font-size: 36px; }
  .step { padding-right: 0; }
  .pad-ct { padding-top: 64px; padding-bottom: 96px; }
  .ct-grid .cover-cta .btn { flex: 1 1 100%; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 246, 247, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-2); }
  .mbar .btn { padding: 12px; font-size: 14px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   PRINT · A4 portrait, one .sheet per page, full-bleed
   ===================================================================== */
@page { size: A4 portrait; margin: 0; }

@media print {
  html, body { background: var(--white); scroll-padding-top: 0; }
  body { padding: 0 !important; overflow: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .screen, .skip { display: none !important; }
  .print { display: block; }

  .sheet { position: relative; width: 210mm; height: 297mm; overflow: hidden; background: var(--white); color: var(--ink); break-after: page; page-break-after: always; padding: 17mm 16mm 18mm; display: flex; flex-direction: column; font-size: 9.5pt; }
  .sheet:last-child { break-after: auto; page-break-after: auto; }
  .s-rail { display: flex; justify-content: space-between; font: 7pt/1 var(--mono); letter-spacing: 0.12em; color: var(--muted-2); padding-bottom: 3mm; border-bottom: 0.3mm solid var(--line); margin-bottom: 9mm; text-transform: uppercase; }
  .s-rail span:last-child { text-transform: none; letter-spacing: 0.04em; }
  .s-body { flex: 1; display: flex; flex-direction: column; gap: 5mm; min-height: 0; }
  .s-foot { position: absolute; left: 16mm; right: 16mm; bottom: 9mm; display: flex; justify-content: space-between; font: 7pt/1 var(--mono); color: var(--muted-2); letter-spacing: 0.04em; }
  .s-foot b { color: var(--ink); font-weight: 600; }

  .sheet .kicker { font-size: 7.5pt; }
  .sheet .label, .sheet .label-sm { font-size: 6.8pt; }
  .sheet .code { font-size: 8pt; }
  .sheet .h2 { font-size: 24pt; line-height: 1.08; }
  .sheet .lede-sm { font-size: 10.5pt; line-height: 1.55; max-width: 150mm; }
  .sheet .note { font-size: 7.5pt; }
  .sheet .note-lg { font-size: 8.5pt; margin-top: 0; }
  .sheet a { color: inherit; }
  .sheet img { break-inside: avoid; }

  /* dark sheets */
  .p-dark { background: var(--dark); color: var(--on-dark); }
  .p-dark .s-rail { border-color: var(--dark-line-2); color: var(--on-dark-3); }
  .p-dark .s-foot { color: var(--on-dark-3); }
  .p-dark .s-foot b { color: var(--on-dark); }
  .p-dark .kicker { color: var(--accent); }
  .p-dark .lede-sm, .p-dark .p-2col p { color: var(--on-dark-2); }

  /* cover */
  .p-cover { padding-top: 14mm; }
  .p-cover .s-body { gap: 6mm; }
  .pc-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 5mm; border-bottom: 0.3mm solid var(--ink); margin-bottom: 8mm; font-size: 8pt; }
  .pc-top .brand img { width: 7mm; height: 7mm; }
  .pc-top .brand-name { font-size: 11pt; }
  .pc-top .brand-tag { font-size: 7.5pt; }
  .p-dark .pc-top { border-color: var(--dark-line-2); }
  .p-dark .brand, .p-dark .brand-name { color: var(--on-dark); }
  .p-cover h1 { font-size: 40pt; line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; max-width: 165mm; text-wrap: balance; }
  .p-cover .lede { font-size: 12pt; max-width: 140mm; }
  .pc-img { height: 86mm; }
  .p-cover .fig figcaption { font-size: 7pt; }
  .p-cover .meta { font-size: 8pt; gap: 2mm 12mm; padding-top: 4mm; }
  .p-cover .meta div { gap: 2mm; }
  .pc-start { margin-top: auto; border-top: 0.3mm solid var(--line); padding-top: 4mm; display: flex; flex-direction: column; gap: 3mm; }
  .pc-start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .pc-entry { display: flex; gap: 4mm; align-items: center; }
  .pc-entry img { width: 17mm; height: 17mm; }
  .pc-entry strong { display: block; font-size: 10pt; font-weight: 600; margin-bottom: 1mm; }
  .pc-entry a { font: 7.5pt var(--mono); color: var(--accent-ink); }

  /* contents */
  .p-contents .s-body { gap: 8mm; }
  .p-contents .read { margin-top: 0; padding-top: 0; border-top: 0; gap: 6mm; grid-template-columns: 1fr 1fr 1fr; }
  .p-contents .read-h { gap: 2.5mm; }
  .p-contents .read h2 { font-size: 15pt; }
  .p-contents .read p { font-size: 9pt; line-height: 1.55; }
  .p-contents .s-body > .kicker { margin-bottom: -4mm; }
  .toc-row { grid-template-columns: 16mm minmax(0, 1fr) auto 12mm; gap: 4mm; padding: 4.3mm 0; }
  .toc-row .toc-l { font-size: 11pt; }
  .toc-row .toc-g { font-size: 7pt; }
  .toc-p { font: 9pt var(--mono); text-align: right; color: var(--ink); }

  /* architecture */
  .p-arch .h2 { max-width: 150mm; }
  .p-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
  .p-2col p { font-size: 9.5pt; line-height: 1.6; }
  .p-arch .layers { margin-top: 2mm; }
  .p-arch .layer { grid-template-columns: 30mm minmax(0, 1fr); }
  .p-arch .layer-h { padding: 4mm; }
  .p-arch .layer-h span { font-size: 6.8pt; }
  .p-arch .layer-h strong { font-size: 9pt; }
  .p-arch .layer-items { padding: 3.5mm; gap: 2.5mm; }
  .p-arch .layer-items a { font-size: 9pt; padding: 2.3mm 3mm; }
  .p-arch .layer-items a span { font-size: 7pt; }
  .p-arch .flow { font-size: 7pt; padding: 3mm 4mm; }
  .p-arch .erp { padding: 5mm; gap: 5mm; flex-direction: row; align-items: flex-end; }
  .p-arch .erp strong { font-size: 13pt; }
  .p-arch .erp-sub { font-size: 9pt; }
  .p-arch .chips { font-size: 8pt; flex: none; max-width: 60mm; justify-content: flex-end; }

  /* module sheets */
  .p-mod .s-body { gap: 3.6mm; }
  .p-mod .mod-code { gap: 4mm; }
  .p-mod .mod-code > span:first-child { font-family: var(--mono); font-size: 30pt; font-weight: 500; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
  .p-mod .pill { font-size: 7pt; }
  .p-mod .status { margin-left: auto; font-size: 8pt; }
  .p-mod .h2 { font-size: 25pt; }
  .p-mod .tagline { font-size: 12pt; max-width: 160mm; }
  .pm-img { height: 64mm; }
  .p-mod .fig figcaption { font-size: 7pt; }
  .p-mod .desc { font-size: 10pt; line-height: 1.55; max-width: none; }
  .pm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 7mm; }
  .p-mod .feat { font-size: 9.5pt; padding: 2.1mm 0; grid-template-columns: 7mm minmax(0, 1fr); gap: 2mm; }
  .p-mod .feat > span:first-child { font-size: 7pt; padding-top: 0.6mm; }
  .p-mod .stack-sm { gap: 3.5mm; }
  .p-mod .question { padding: 4mm; gap: 2mm; border-radius: 2.5mm; background: var(--bg); }
  .p-mod .question p { font-size: 11pt; }
  .p-mod .readout { padding: 4mm; gap: 2mm; border-radius: 2.5mm; }
  .p-mod .readout-h { font-size: 6.8pt; }
  .p-mod .readout-v { font-size: 26pt; }
  .p-mod .readout p { font-size: 8.5pt; }
  .p-mod .kpis span { font-size: 7.5pt; padding: 1.2mm 2.2mm; background: var(--bg); }
  .p-mod .works { font-size: 9pt; padding-top: 3mm; }
  .p-mod .fig-img { position: relative; }
  .pm-img { height: 56mm; }
  .ro-over { position: absolute; right: 4mm; bottom: 4mm; width: 74mm; background: rgba(11, 13, 16, 0.92); }
  .ro-hero { padding: 6mm; gap: 4mm; border-radius: 2.5mm; min-height: 58mm; justify-content: space-between; }
  .ro-hero .readout-h { font-size: 7pt; }
  .ro-hero-b { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8mm; align-items: end; }
  .p-mod .ro-hero .readout-v { font-size: 58pt; line-height: 0.9; }
  .p-mod .ro-hero p { font-size: 10pt; line-height: 1.5; max-width: 95mm; }
  .pm-foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .mm { display: flex; flex-direction: column; gap: 1mm; border: 0.3mm solid var(--line-2); border-radius: 2.5mm; padding: 3.5mm 4mm; }
  .mm .label-sm { margin-bottom: 1mm; }
  .mm-row { display: grid; grid-template-columns: 21mm minmax(0, 1fr); gap: 2mm; align-items: center; }
  .mm-l { font: 6.5pt var(--mono); color: var(--muted-2); letter-spacing: 0.04em; white-space: nowrap; }
  .mm-i { display: flex; flex-wrap: wrap; gap: 1.2mm; align-items: center; }
  .mm-i b { font: 500 6.8pt/1 var(--mono); padding: 1.1mm 1.8mm; border: 0.3mm solid var(--line); border-radius: 1mm; color: var(--ink-2); }
  .mm-i b.on { background: var(--accent); border-color: var(--accent); color: var(--dark); }
  .mm-i em { font: normal 6.5pt var(--sans); color: var(--muted-2); }
  .mm-erp { border-top: 0.3mm dashed var(--line); padding-top: 1.2mm; margin-top: 0.5mm; }
  .pm-cta { background: var(--dark); color: var(--on-dark); border-radius: 2.5mm; padding: 4.5mm; display: flex; flex-direction: column; justify-content: space-between; gap: 3mm; }
  .pm-cta .acc { color: var(--accent); }
  .pm-cta strong { font-size: 11pt; font-weight: 600; line-height: 1.25; }
  .pm-cta-note { font-size: 7pt; line-height: 1.45; color: var(--on-dark-3); }
  .pm-cta-qr { display: flex; gap: 3.5mm; align-items: center; }
  .pm-cta-qr img { width: 19mm; height: 19mm; background: var(--white); padding: 1.2mm; border-radius: 1mm; flex: none; }
  .pm-cta-qr div { display: flex; flex-direction: column; gap: 1.5mm; min-width: 0; }
  .pm-cta-qr a { font: 600 8pt var(--mono); color: var(--accent); }
  .pm-cta-qr div > span { font-size: 6.8pt; color: var(--on-dark-3); line-height: 1.4; }
  .pm-cta-qr span a { font: 500 6.8pt var(--mono); color: var(--on-dark-2); }

  /* sectors */
  .p-sectors .s-body { gap: 4.5mm; }
  .p-sectors .mx { display: block; border-radius: 2.5mm; margin-top: 1mm; }
  .p-sectors .mx-row { grid-template-columns: 52mm repeat(5, 14mm) minmax(0, 1fr); }
  .p-sectors .mx-c { padding: 3mm; font-size: 6.5pt; }
  .p-sectors .mx-m { padding: 2mm 0.8mm; font-size: 5.8pt; }
  .p-sectors .mx-m span { font-size: 7pt; }
  .p-sectors .mx-s { padding: 3mm; gap: 1mm; }
  .p-sectors .mx-s strong { font-size: 9.5pt; }
  .p-sectors .mx-s span { font-size: 7.8pt; line-height: 1.45; }
  .p-sectors .mx-dot i { width: 3.2mm; height: 3.2mm; border-radius: 0.8mm; }
  .p-sectors .mx-k { padding: 3mm; font-size: 7.2pt; line-height: 1.5; }
  .p-sectors .notes { margin-top: 0; font-size: 7.8pt; gap: 1mm; }
  .p-sectors .beyond { margin-top: 2mm; gap: 3.5mm; }
  .p-sectors .beyond h3 { font-size: 12pt; }
  .p-sectors .beyond-grid { grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .p-sectors .beyond-card { padding: 4mm; gap: 2mm; border-radius: 2.5mm; }
  .p-sectors .beyond-card strong { font-size: 10pt; }
  .p-sectors .beyond-card span { font-size: 8.2pt; }

  /* services */
  .p-services .s-body { gap: 4.5mm; }
  .p-services .steps { grid-template-columns: 1fr 1fr; column-gap: 8mm; margin-top: 2mm; }
  .p-services .step { padding: 4mm 0 4.5mm; gap: 2.5mm; }
  .p-services .step h3 { font-size: 14pt; }
  .p-services .step p { font-size: 9.5pt; }
  .p-services .step-m { font-size: 7pt; }
  .p-services .step-out { font-size: 8.5pt; padding-top: 2.5mm; }
  .p-next { margin-top: auto; background: var(--dark); color: var(--on-dark); border-radius: 3mm; padding: 5mm 6mm; display: flex; flex-direction: column; gap: 4mm; }
  .p-next .kicker { color: var(--accent); }
  .p-next strong { font-size: 14pt; font-weight: 600; line-height: 1.2; }
  .p-next-qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }
  .p-next .qr { border: 0; padding-top: 0; }
  .p-next .qr img { width: 22mm; height: 22mm; }
  .p-next .qr .label-sm { color: var(--on-dark); font: 600 8.5pt var(--sans); letter-spacing: 0; }
  .p-next .qr a { color: var(--accent); font-size: 8pt; }

  /* start points */
  .p-start .s-body { gap: 5mm; }
  .ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6mm; margin-top: 2mm; flex: 1; min-height: 0; }
  .ps-card { border: 0.3mm solid var(--line-2); border-radius: 3mm; padding: 6mm; display: flex; flex-direction: column; gap: 3mm; background: var(--bg); }
  .ps-card:first-child { border-color: var(--accent); }
  .ps-img { height: 98mm; border-radius: 2mm; margin-bottom: 2mm; }
  .ps-img .areas { padding: 5mm; gap: 3mm; }
  .ps-img .areas li { font-size: 9.5pt; padding: 2.2mm 0; grid-template-columns: 7mm minmax(0, 1fr); gap: 2mm; }
  .ps-img .areas li span { font-size: 7pt; }
  .ps-card h3 { font-size: 15pt; font-weight: 600; }
  .ps-card p { font-size: 9.5pt; line-height: 1.55; color: var(--ink-2); }
  .ps-card .note { font-size: 7.5pt; color: var(--muted-2); }
  .ps-card .qr { margin-top: auto; }
  .qr { display: flex; align-items: center; gap: 4mm; padding-top: 4mm; border-top: 0.3mm dashed var(--line); }
  .qr img { width: 26mm; height: 26mm; flex: none; background: var(--white); padding: 1.5mm; border-radius: 1mm; }
  .qr div { display: flex; flex-direction: column; gap: 1.5mm; min-width: 0; }
  .qr a { font: 600 8pt var(--mono); color: var(--accent-ink); }

  /* back cover */
  .p-contact .s-body { gap: 6mm; }
  .p-contact .pc-top { margin-bottom: 4mm; }
  .p-contact .h2 { font-size: 30pt; max-width: 160mm; }
  .p-qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; margin-top: 2mm; }
  .p-dark .qr { border-color: var(--dark-line-2); }
  .p-dark .qr a { color: var(--accent); }
  .p-dark .qr .label-sm { color: var(--on-dark-3); }
  .p-contact .addr { font-size: 9pt; gap: 8mm; margin-top: 4mm; grid-template-columns: 1fr 1fr; }
  .p-contact .addr .mono { font-size: 8.5pt; }
  .p-contact .fine { margin-top: auto; font-size: 7.5pt; padding-top: 4mm; gap: 1.2mm; }
  .p-contact .fine-row { font-size: 7pt; margin-top: 2mm; }
}
