/* EasyManual brand tokens — shared by the company site (easymanual.kr) and the Digital Archive site.
   Canonical file. Sites keep a COPY next to their own CSS (build step copies it); edit here, then re-copy.
   Derived from EU-Manual-Platform/website/_staging/assets/site.css (Digital Archive, 2026-11-27).
   Rules: see tone-and-manner.md in this folder. */

@font-face{font-family:"Pretendard";src:url("fonts/pretendard.woff2") format("woff2");font-weight:100 900;font-display:swap}

:root{
  /* dark navy base (default surface) */
  --bg:#060d19; --bg-2:#0a1528; --bg-3:#0f1e36; --panel:#111f38; --panel-2:#16284a;
  --ink:#f2f5f9; --ink-2:#c2cddb; --muted:#8e9db1;
  --line:rgba(200,215,235,.16); --line-2:rgba(200,215,235,.28);
  /* one accent: gold = main CTA + promise line + icon highlight only */
  --gold:#ffc83d; --gold-hover:#ffd567; --gold-ink:#1b1400;
  --steel:#9fb6d6;            /* leader lines, dashed connectors */
  /* light section (readability) — same brand, inverted */
  --paper:#eef2f7; --paper-2:#ffffff; --paper-ink:#0b1526; --paper-ink-2:#3b4a60; --paper-line:rgba(11,21,38,.12);

  --font:"Pretendard",system-ui,-apple-system,"Segoe UI","Malgun Gothic",sans-serif;
  --hdr:64px; --mx:clamp(20px,4.6vw,96px);
  --display:clamp(36px,min(3.55vw,7.4vh),76px);   /* 3-line slogan */
  --h2:clamp(30px,min(3.2vw,5.6vh),60px);
  --h3:clamp(19px,1.45vw,26px);
  --lead:clamp(16px,min(1.35vw,2.4vh),22px);
  --body:clamp(15px,min(1.1vw,1.9vh),19px);
  --small:clamp(13px,min(.92vw,1.6vh),15px);
  --r:10px; --r-card:18px; --r-tile:22px;
}

/* ---------- buttons: gold fill (primary) + outline (secondary), nothing else ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:clamp(46px,6.6vh,56px);padding:0 clamp(20px,1.8vw,30px);
  border-radius:999px;font-weight:700;font-size:clamp(15px,min(1.12vw,2vh),18px);text-decoration:none;white-space:nowrap;cursor:pointer;
  border:1.5px solid transparent;transition:background-color .15s,border-color .15s,color .15s}
.btn-primary{background:var(--gold);color:var(--gold-ink)}
.btn-primary:hover{background:var(--gold-hover)}
.btn-outline{background:transparent;color:var(--ink);border-color:rgba(242,245,249,.55)}
.btn-outline:hover{border-color:var(--ink);background:rgba(255,255,255,.06)}
.light .btn-outline{color:var(--paper-ink);border-color:rgba(11,21,38,.4)}
.light .btn-outline:hover{border-color:var(--paper-ink);background:rgba(11,21,38,.05)}
.btn svg{width:18px;height:18px;flex:none}
.btn-sm{height:42px;padding:0 20px;font-size:15px}

/* ---------- brand lockup: logo + tag, baseline-aligned to EASYMANUAL ---------- */
.brand{display:flex;align-items:flex-start;text-decoration:none}
.brand img{display:block;height:36px;width:auto}
.brand .brand-tag{position:relative;display:block;height:36px;box-sizing:border-box;margin-left:5px;padding:15.8px 0 0 16px;
  font-size:12.5px;line-height:12.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#d6deea;white-space:nowrap}
.brand .brand-tag::before{content:"";position:absolute;left:0;top:11.2px;height:14.3px;border-left:1px solid rgba(255,255,255,.22)}
@media (max-width:520px){.brand img{height:28px}.brand .brand-tag{display:none}}

/* ---------- icon tile with lit border (48-unit SVG inside) ---------- */
.ico{position:relative;isolation:isolate;width:88px;height:88px;border-radius:var(--r-tile);display:grid;place-items:center;flex:none;
  background:linear-gradient(155deg,#1a2f55 0%,#0d1a33 100%);
  box-shadow:0 0 0 1px rgba(201,214,230,.10),0 18px 36px -16px rgba(0,0,0,.75),0 0 42px -10px rgba(125,181,245,.28)}
.ico::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:linear-gradient(180deg,rgba(226,236,250,.85) 0%,rgba(170,198,236,.28) 38%,rgba(125,181,245,.10) 70%,rgba(125,181,245,.35) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.ico::after{content:"";position:absolute;left:16%;right:16%;top:-1px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.95),rgba(255,255,255,0));box-shadow:0 0 10px 1px rgba(150,196,250,.55);pointer-events:none}
.ico svg{position:relative;z-index:1;width:48px;height:48px;max-width:none}
.ico.sm{width:64px;height:64px;border-radius:16px}.ico.sm svg{width:36px;height:36px}
@media (max-width:900px){.ico{width:72px;height:72px;border-radius:18px}.ico svg{width:40px;height:40px}.ico.sm{width:56px;height:56px;border-radius:14px}.ico.sm svg{width:32px;height:32px}}
/* icon strokes: line #dbe3ee 1.6, one gold accent shape per icon */
.ic-l{fill:none;stroke:#dbe3ee;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ic-bg{fill:#132544}
.ic-a{fill:#ffc83d;stroke:none}
.ic-on{stroke:#ffc83d}
.ic-k{fill:#0d1a33}
.ic-k-l{fill:none;stroke:#0d1a33;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ic-dash{stroke-dasharray:1.5 3}

/* ---------- manual devices (added 2026-11-27 for the company site "reads like a manual"; usable on both sites) ---------- */
:root{
  --sheet:#ffffff; --desk:#e9eef5; --rule:rgba(11,21,38,.14); --rule-2:rgba(11,21,38,.28);
  --navy:#0b1730; --navy-2:#132544;
  --num:"Pretendard",system-ui,sans-serif;   /* tabular numbers via font-variant-numeric */
}
/* numbered callout balloon, as in a parts drawing */
.callout-n{display:inline-grid;place-items:center;flex:none;width:1.75em;height:1.75em;border-radius:50%;border:1.5px solid currentColor;
  font-size:.82em;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.callout-n.fill{background:var(--navy);border-color:var(--navy);color:#fff}
/* notice box: safety-label style (signal word bar + message). Use for promises and key facts, not for decoration */
.notice{display:grid;grid-template-columns:auto 1fr;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1.5px var(--navy)}
.notice>b{display:flex;align-items:center;gap:8px;padding:0 16px;background:var(--navy);color:#fff;font-size:14px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.notice>b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--gold)}
.notice>p{margin:0;padding:14px 18px;font-weight:600;line-height:1.55;color:var(--paper-ink)}
.notice.gold{box-shadow:inset 0 0 0 1.5px var(--gold)}.notice.gold>b{background:var(--gold);color:var(--gold-ink)}.notice.gold>b::before{background:var(--gold-ink)}
.on-dark .notice{box-shadow:inset 0 0 0 1.5px rgba(201,214,230,.4)}.on-dark .notice>p{color:var(--ink)}
/* index / glossary row with dotted leader */
.leader{display:flex;align-items:baseline;gap:8px}
.leader>:first-child{flex:none;font-weight:700}
.leader::after{content:"";order:1;flex:1;border-bottom:1.5px dotted var(--rule-2);transform:translateY(-4px);min-width:24px}
.leader>:last-child{order:2;flex:none;max-width:60%;text-align:right}
