/* SigForge · OPYEB studio tokens
   Dark and gold single stylesheet. No external fonts, no remote assets. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0b0b0d;
  --bg2: #101014;
  --panel: #121216;
  --panel2: #17171c;
  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.18);
  --ink: #f5f2ea;
  --muted: #a8a296;
  --muted2: #736d63;
  --accent: #e5b45c;
  --accent-dim: rgba(229,180,92,.14);
  --on-accent: #191104;
  --danger: #d9705f;
  --danger-dim: rgba(217,112,95,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  --display: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 60% at 50% -20%, rgba(229,180,92,.10), transparent 62%),
    radial-gradient(70% 45% at 100% 4%, rgba(229,180,92,.05), transparent 58%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 9px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- topbar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 14px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  min-width: 0;
}
.brand img { width: 24px; height: 24px; border-radius: 7px; display: block; }
.brand .word { letter-spacing: .14em; }
.brand .sep { color: var(--line2); font-weight: 400; }
.brand .product { color: var(--accent); letter-spacing: .06em; text-transform: none; font-size: 14px; }
.top-actions { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.topbar-link { font-size: 12.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; transition: color .18s ease, border-color .18s ease; }
.topbar-link:hover { color: var(--ink); border-bottom-color: var(--line2); }
.langs { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.langs a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-decoration: none;
  color: var(--muted2); padding: 5px 7px; border-radius: 7px; line-height: 1; transition: color .2s, background .2s;
}
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { color: var(--accent); background: var(--accent-dim); }

/* ---------- hero ---------- */
.hero { padding-block: 26px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(229,180,92,.28); background: rgba(229,180,92,.06);
  padding: 6px 11px; border-radius: 999px; margin: 0 0 18px;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(229,180,92,.15); }
.hero h1 {
  margin: 0 0 16px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 7.6vw, 56px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
  word-break: keep-all; max-width: 22ch;
}
.hero h1 .soft { color: var(--muted); font-style: italic; }
.hero h1 .gold { color: var(--accent); }
.hero .lede { margin: 0; max-width: 64ch; font-size: clamp(14.5px, 4vw, 17px); line-height: 1.65; color: var(--muted); word-break: keep-all; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.proof li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.proof li::before {
  content: ""; width: 13px; height: 13px; flex: none; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid rgba(229,180,92,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.4' fill='none' stroke='%23e5b45c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px 11px; background-repeat: no-repeat; background-position: center;
}

/* ---------- answer strip ---------- */
.answer { border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 4px var(--radius-sm) var(--radius-sm) 4px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 60%), var(--panel); padding: 16px 18px; }
.answer-k { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.answer-k .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.answer-t { margin: 0; font-size: 14px; line-height: 1.62; color: var(--muted); word-break: keep-all; }
.answer-t b { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
.sec { padding-block: 40px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sec-head h2 { margin: 0; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sec-head .note { font-size: 12px; color: var(--muted2); font-family: var(--mono); letter-spacing: .04em; }

/* ---------- console / tool ---------- */
.console { margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,0) 40%), var(--panel); overflow: hidden; }
.tabs { display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.18); }
.tab {
  appearance: none; background: transparent; border: 0; border-right: 1px solid var(--line);
  padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; text-align: left;
  min-width: 0; flex: 1 1 0; transition: background .18s, color .18s;
}
.tab .t-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted2); }
.tab .t-n { font-family: var(--display); font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab[aria-selected="true"] { background: rgba(229,180,92,.06); box-shadow: inset 0 -2px 0 var(--accent); }
.tab[aria-selected="true"] .t-k { color: var(--accent); }
.tab[aria-selected="true"] .t-n { color: var(--ink); }
.tab:hover .t-n { color: var(--ink); }

.pane { padding: 20px 18px 22px; }
.pane[hidden] { display: none; }
.pane-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; margin: 0 0 14px; }
.pane-head h3 { margin: 0; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pane-head p { margin: 0; font-size: 12px; color: var(--muted2); }
.local-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(229,180,92,.3); background: rgba(229,180,92,.07); padding: 4px 8px; border-radius: 6px; }

.providers { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 4px; margin: 0 0 16px; scrollbar-width: thin; }
.chip {
  appearance: none; flex: none; cursor: pointer; border: 1px solid var(--line); background: var(--bg2); color: var(--muted);
  padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: -.01em;
  transition: color .18s, border-color .18s, background .18s;
}
.chip:hover { color: var(--ink); border-color: var(--line2); }
.chip[aria-pressed="true"] { color: var(--accent); border-color: rgba(229,180,92,.45); background: var(--accent-dim); }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 13px; min-width: 0; }
.field > label, .field .lab { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted2); }
.field .hint { font-size: 11.5px; color: var(--muted2); letter-spacing: 0; text-transform: none; font-family: var(--font); }
.field .pair { display: flex; gap: 6px; }
.field .pair > input { flex: 1 1 auto; min-width: 0; }
input[type="text"], input[type="password"], input[type="number"], textarea, select {
  width: 100%; background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 12px; font-size: 13px; font-family: var(--mono); line-height: 1.45;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none; appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: rgba(229,180,92,.55); background: #0d0d11; outline: none; }
textarea { resize: vertical; min-height: 96px; font-size: 12.5px; }
input::placeholder, textarea::placeholder { color: #5c574e; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted2) 50%), linear-gradient(135deg, var(--muted2) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; }
.btn {
  appearance: none; cursor: pointer; border-radius: 10px; padding: 10px 15px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink);
  transition: transform .14s, background .18s, border-color .18s, color .18s; white-space: nowrap;
}
.btn:hover { border-color: rgba(229,180,92,.4); }
.btn:active { transform: scale(.975); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: #efc374; }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--line); font-weight: 600; }
.btn.ghost:hover { color: var(--ink); border-color: var(--line2); }
.btn.small { padding: 7px 10px; font-size: 11.5px; font-weight: 600; border-radius: 8px; }
.actions .spacer { flex: 1 1 auto; }
.kbd { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted2); }

/* result */
.result { margin: 18px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); padding: 16px; }
.result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.status {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; border-radius: 7px; padding: 7px 11px; line-height: 1;
  border: 1px solid var(--line2); color: var(--muted); background: var(--panel);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status[data-state="valid"] { color: var(--accent); border-color: rgba(229,180,92,.45); background: var(--accent-dim); }
.status[data-state="mismatch"] { color: var(--danger); border-color: rgba(217,112,95,.4); background: var(--danger-dim); }
.status[data-state="generated"] { color: var(--muted); }
.status[data-state="error"] { color: var(--danger); border-color: rgba(217,112,95,.35); background: var(--danger-dim); }
.result-head .meta { font-size: 11.5px; color: var(--muted2); font-family: var(--mono); letter-spacing: .03em; }
.res-line { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 9px 0; border-top: 1px solid var(--line); }
.res-line:first-of-type { border-top: 0; padding-top: 0; }
.res-line .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted2); }
.res-line .v { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink); word-break: break-all; }
.res-line .v.dim { color: var(--muted); }
.res-line .v.ok { color: var(--accent); }
.res-line .v.bad { color: var(--danger); }
.res-msg { margin: 10px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); word-break: keep-all; }
.res-msg.warn { color: #e0b26a; }
.res-msg.bad { color: var(--danger); }
.drift { font-family: var(--mono); font-size: 11.5px; }

/* jwt specific */
.jwt-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0 0; }
.jwt-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg2); padding: 12px 13px; min-width: 0; }
.jwt-card h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); }
.jwt-card pre { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.claims { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.claims li { display: grid; grid-template-columns: 1fr; gap: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.claims li:last-child { border-bottom: 0; padding-bottom: 0; }
.claims .ck { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted2); text-transform: uppercase; }
.claims .cv { font-size: 12.5px; color: var(--ink); word-break: break-word; }
.claims .cv small { display: block; color: var(--muted2); font-size: 11px; font-family: var(--mono); }
.claims .cv.late { color: var(--danger); }
.claims .cv.soon { color: var(--accent); }
.token-parts { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; font-family: var(--mono); font-size: 10.5px; }
.token-parts span { padding: 3px 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted2); }

/* export */
.snippet { margin: 0 0 14px; }
.snippet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.snippet-head .lab { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted2); }
.snippet pre { margin: 0; padding: 12px 13px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.snippet code { font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--ink); white-space: pre; }
.copy-note { font-size: 11px; color: var(--accent); margin: 0 0 0 auto; opacity: 0; transition: opacity .2s; }
.copy-note.on { opacity: 1; }

/* ---------- guide prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 34px 0 10px; font-family: var(--serif); font-size: clamp(22px, 5vw, 28px); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 8px; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.prose p { margin: 0 0 13px; font-size: 14.2px; line-height: 1.72; color: var(--muted); word-break: keep-all; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.prose li { margin: 0 0 7px; }
.prose li strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 12px; color: var(--accent); background: rgba(229,180,92,.08); padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.prose pre { margin: 0 0 16px; padding: 13px 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: var(--ink); font-size: 12px; line-height: 1.6; white-space: pre; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 460px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); font-weight: 600; background: rgba(255,255,255,.02); white-space: nowrap; }
td { color: var(--muted); }
td code { font-size: 11.5px; }
tr:last-child td { border-bottom: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; position: relative; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-family: var(--mono); font-size: 16px; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 16px; font-size: 13.8px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.faq .a code { font-family: var(--mono); font-size: 12px; color: var(--accent); }

/* ---------- page (subpages) ---------- */
.page { padding-block: 22px 10px; }
.page h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 6.6vw, 42px); letter-spacing: -.02em; line-height: 1.12; word-break: keep-all; }
.page .updated { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); margin: 0 0 22px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 20px 18px; margin: 0 0 16px; }
.panel h2 { margin: 0 0 10px; font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.panel p { margin: 0 0 10px; font-size: 13.8px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.panel p:last-child { margin-bottom: 0; }
.panel a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(229,180,92,.35); }
.panel a:hover { border-bottom-color: var(--accent); }
.contact-card { text-align: left; }
.contact-card .btn { margin-top: 6px; text-decoration: none; display: inline-block; }

/* ---------- related + footer ---------- */
.related { display: grid; grid-template-columns: 1fr; gap: 10px; }
.related a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg2); text-decoration: none; transition: border-color .18s, background .18s; }
.related a:hover { border-color: rgba(229,180,92,.35); background: rgba(229,180,92,.04); }
.related b { font-size: 13.5px; font-weight: 600; }
.related span { font-family: var(--mono); font-size: 10.5px; color: var(--muted2); }
.foot { margin-top: 52px; padding-block: 24px 44px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; font-size: 12px; color: var(--muted2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.foot-links a:hover { color: var(--ink); border-bottom-color: var(--line2); }
.foot .mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; }

@media (max-width: 520px) {
  .topbar { gap: 8px; padding-block: 15px 12px; }
  .brand { font-size: 11px; letter-spacing: .08em; gap: 7px; }
  .brand img { width: 21px; height: 21px; }
  .brand .product { font-size: 12.5px; }
  .topbar-link { display: none; }
  .langs a { padding: 5px 6px; font-size: 9.5px; }
  .tab { padding: 11px 9px; }
  .tab .t-k { display: none; }
  .tab .t-n { font-size: 12px; white-space: normal; }
  .pane { padding: 16px 14px 18px; }
  .result { padding: 14px 13px; }
  .hero h1 { max-width: 100%; }
}
@media (min-width: 620px) {
  .wrap { padding: 0 28px; }
  .hero { padding-block: 40px 30px; }
  .pane { padding: 24px 24px 26px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .jwt-grid { grid-template-columns: 1fr 1fr; }
  .claims li { grid-template-columns: 110px 1fr; gap: 10px; align-items: baseline; }
  .related { grid-template-columns: 1fr 1fr; }
  .panel { padding: 26px 26px; }
  .res-line { grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; }
}
@media (min-width: 900px) {
  .topbar { padding-block: 26px 18px; }
  .hero { padding-block: 52px 34px; }
  .tab { padding: 16px 20px; flex: none; min-width: 178px; }
  .jwt-grid { grid-template-columns: 1fr 1fr 1fr; }
  .console { margin-top: 30px; }
}
@media (hover: none) { .card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- steps + checkbox ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg2); padding: 15px 16px; }
.steps b { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--accent); margin-bottom: 6px; font-weight: 700; }
.steps h3 { margin: 0 0 5px; font-family: var(--display); font-size: 14px; font-weight: 700; }
.steps p { margin: 0; font-size: 12.8px; line-height: 1.6; color: var(--muted); word-break: keep-all; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); margin: -4px 0 13px; cursor: pointer; }
.check input { accent-color: var(--accent); margin: 2px 0 0; width: 15px; height: 15px; flex: none; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CJK line breaking (keep-all overflows Japanese and Chinese) ---------- */
html[lang="ja"] .hero h1,
html[lang="zh-Hant-TW"] .hero h1 { max-width: 100%; font-size: clamp(27px, 6.2vw, 44px); line-height: 1.2; }
html[lang="ja"] p, html[lang="ja"] li, html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3,
html[lang="ja"] td, html[lang="ja"] th, html[lang="ja"] summary, html[lang="ja"] .a,
html[lang="zh-Hant-TW"] p, html[lang="zh-Hant-TW"] li, html[lang="zh-Hant-TW"] h1,
html[lang="zh-Hant-TW"] h2, html[lang="zh-Hant-TW"] h3, html[lang="zh-Hant-TW"] td,
html[lang="zh-Hant-TW"] th, html[lang="zh-Hant-TW"] summary, html[lang="zh-Hant-TW"] .a {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
html[lang="ja"] .hero h1, html[lang="zh-Hant-TW"] .hero h1,
html[lang="ja"] .page h1, html[lang="zh-Hant-TW"] .page h1 { overflow-wrap: break-word; }

[hidden] { display: none !important; }

html[lang="ja"] .hero .lede, html[lang="ja"] .faq .a, html[lang="ja"] .card p,
html[lang="zh-Hant-TW"] .hero .lede, html[lang="zh-Hant-TW"] .faq .a, html[lang="zh-Hant-TW"] .card p {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

html[lang="ja"] .hero .lede, html[lang="zh-Hant-TW"] .hero .lede { max-width: 40em; }
html[lang="ko"] .hero .lede { max-width: 52ch; }

html[lang="ko"] .hero h1 .soft, html[lang="ja"] .hero h1 .soft,
html[lang="zh-Hant-TW"] .hero h1 .soft { font-style: normal; }

@media (max-width: 520px) {
  .providers { flex-wrap: wrap; overflow-x: visible; }
  .chip { padding: 8px 10px; font-size: 11.5px; }
}

#signature-label { text-transform: none; letter-spacing: .03em; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
