/* ==========================================================================
   IntelliProof — intelliproof.css
   OBSIDIAN grammar: near-monochrome obsidian, bone type, cold spectral accent,
   hairline chrome, mono instrumentation. Accent retuned to forensic ice blue.
   P0 tokens · P1 reset · P2 chrome · P3 hero · P4 sections · P5 cards
   P6 forms & controls · P7 data · P8 app shell · P9 footer · P10 print · P11 small
   ========================================================================== */

/* ---------- P0 tokens ---------- */
:root {
  --ink: #050608;
  --ink-deep: #000000;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-solid: #0a0b0e;
  --surface-high: rgba(255, 255, 255, 0.055);
  --surface-raise: #101218;

  --line: rgba(240, 243, 250, 0.1);
  --line-strong: rgba(240, 243, 250, 0.2);
  --line-accent: rgba(169, 199, 255, 0.42);

  --bone: #f2f4f9;
  --bone-dim: #cdd2dd;
  --muted: #969cab;
  --dim: #666c7a;

  --accent: #b9cdff;
  --accent-strong: #7da2ff;
  --accent-glow: rgba(125, 162, 255, 0.28);
  --accent-soft: rgba(125, 162, 255, 0.1);
  --good: #8ff0c0;
  --good-soft: rgba(143, 240, 192, 0.12);
  --warn: #ffcf8a;
  --warn-soft: rgba(255, 207, 138, 0.12);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --font-display: "Space Grotesk", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(18px, 4.6vw, 60px);
  --shell: 1280px;
  --section-y: clamp(64px, 8.4vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --nav-h: 62px;
}

/* ---------- P1 reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(125, 162, 255, 0.13), transparent 62%),
    radial-gradient(700px 420px at 6% 4%, rgba(125, 162, 255, 0.05), transparent 60%);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(125, 162, 255, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.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; }

/* ---------- P2 chrome ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav__in { display: flex; align-items: center; gap: 26px; width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(150deg, #fff 0%, var(--accent) 42%, #33497d 100%);
  box-shadow: 0 0 18px var(--accent-glow);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 2px;
  border: 1.5px solid rgba(5, 6, 8, 0.75); border-right-color: transparent; border-bottom-color: transparent;
}
.brand small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; padding-left: 2px; }
.nav__links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__links a { font-size: 13.5px; color: var(--bone-dim); transition: color 0.2s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; color: var(--bone);
  background: var(--surface); transition: all 0.25s var(--ease);
}
.nav__cta:hover { border-color: var(--line-accent); background: var(--accent-soft); color: #fff; }

/* ---------- P3 hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 116px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 13px 6px 11px; background: rgba(255,255,255,0.03);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--bone-dim);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 10px var(--accent-strong); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
h1.hero__title {
  margin: 22px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5.1vw, 62px); line-height: 1.1; letter-spacing: -0.035em;
}
h1.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 22px; max-width: 33em; font-size: clamp(15px, 1.2vw, 17px); color: var(--bone-dim); line-height: 1.72; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 11px; padding: 13px 20px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--bone); color: #07080b; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.btn--primary:hover { background: #fff; box-shadow: 0 12px 38px var(--accent-glow); }
.btn--ghost { border-color: var(--line-strong); color: var(--bone); background: transparent; }
.btn--ghost:hover { border-color: var(--line-accent); background: var(--accent-soft); }
.btn--accent { background: linear-gradient(180deg, #e8eeff, #c3d3ff); color: #0a0e18; }
.btn--accent:hover { box-shadow: 0 12px 34px var(--accent-glow); }
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hero__facts svg { flex: none; opacity: 0.85; }

/* hero document visual */
.docstack { position: relative; perspective: 1400px; }
.docstack__back, .docstack__mid, .docstack__front {
  border-radius: 10px; border: 1px solid var(--line-strong);
  background: #f6f6f3; color: #14161c;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.docstack__back { position: absolute; inset: 0 0 0 0; transform: rotate(-4deg) translateY(-10px) scale(0.94); opacity: 0.35; }
.docstack__mid { position: absolute; inset: 0; transform: rotate(2.4deg) translateY(6px) scale(0.97); opacity: 0.55; background: #e9eaf0; }
.docstack__front { position: relative; padding: 22px 22px 26px; }
.docstack__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 8.6px; letter-spacing: 0.12em; text-transform: uppercase; color: #5d6273; border-bottom: 1px solid #d6d8e0; padding-bottom: 9px; }
.docstack__title { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; line-height: 1.25; color: #0c0e14; }
.docstack__meta { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.docstack__meta div { border-left: 2px solid #c9ccd8; padding-left: 7px; }
.docstack__meta b { display: block; font-size: 12px; color: #0c0e14; font-variant-numeric: tabular-nums; }
.docstack__meta span { font-family: var(--font-mono); font-size: 7.6px; letter-spacing: 0.1em; text-transform: uppercase; color: #6d7285; }
.docstack__rows { margin-top: 14px; display: grid; gap: 5px; }
.docrow { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; font-size: 9.4px; padding: 5px 6px; border-radius: 3px; color: #2a2f3d; }
.docrow:nth-child(odd) { background: rgba(12, 14, 20, 0.045); }
.docrow b { font-family: var(--font-mono); font-weight: 500; font-size: 8.4px; color: #59607a; }
.docrow em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docrow span { font-family: var(--font-mono); font-size: 8px; color: #7a4a12; background: rgba(255, 190, 90, 0.22); border-radius: 3px; padding: 1px 5px; }
.docstack__hash { margin-top: 15px; padding-top: 10px; border-top: 1px solid #d6d8e0; }
.docstack__hash p { font-family: var(--font-mono); font-size: 7.4px; line-height: 1.55; color: #5d6273; word-break: break-all; }
.docstack__stamp {
  position: absolute; right: -6px; bottom: 18px; transform: rotate(-8deg);
  border: 1.5px solid rgba(180, 40, 50, 0.5); color: rgba(180, 40, 50, 0.7);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; padding: 4px 9px; border-radius: 3px; text-transform: uppercase;
}
.docstack__badge { position: absolute; top: -14px; right: 12px; z-index: 3; }

/* ---------- P4 sections ---------- */
.section { padding: var(--section-y) 0; position: relative; z-index: 1; }
.section--tight { padding-top: clamp(24px, 3vw, 44px); }
.section__head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.section__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section__kicker span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.section__kicker i { width: 26px; height: 1px; background: var(--line-accent); display: block; }
h2.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(25px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -0.032em; }
.section__lede { color: var(--bone-dim); font-size: 15px; line-height: 1.75; max-width: 44em; }
.section__lede strong { color: var(--bone); font-weight: 500; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- P5 cards ---------- */
.grid { display: grid; gap: 14px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  padding: clamp(18px, 2vw, 26px);
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), background 0.28s var(--ease);
}
.card:hover { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)); }
.card__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--dim); }
.card__title { margin-top: 12px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.card__body { margin-top: 9px; font-size: 13.6px; color: var(--muted); line-height: 1.68; }
.card__body strong { color: var(--bone-dim); font-weight: 500; }
.card--flat { background: rgba(255,255,255,0.02); }
.card--accent { border-color: var(--line-accent); background: linear-gradient(160deg, rgba(125,162,255,0.11), rgba(125,162,255,0.02)); }
.card--accent .card__title { color: #fff; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.2vw, 28px); }
.compare__col--bad { background: rgba(255,255,255,0.015); }
.compare__col--good { border-color: var(--line-accent); background: linear-gradient(160deg, rgba(125,162,255,0.1), rgba(125,162,255,0.015)); }
.compare__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.compare__col--good .compare__label { color: var(--accent); }
.compare__list { margin-top: 16px; display: grid; gap: 11px; }
.compare__list li { display: grid; grid-template-columns: 16px 1fr; gap: 9px; font-size: 13.6px; line-height: 1.6; color: var(--bone-dim); }
.compare__list svg { margin-top: 3px; }
.compare__col--bad .compare__list li { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 26px clamp(14px, 2vw, 26px) 26px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step__num { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.16em; }
.step__title { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.step__body { margin-top: 8px; font-size: 13.4px; color: var(--muted); line-height: 1.68; }
.step__tag { margin-top: 14px; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; color: var(--muted); background: rgba(255,255,255,0.02);
}
.chip--accent { color: var(--accent); border-color: var(--line-accent); background: var(--accent-soft); }
.chip--good { color: var(--good); border-color: rgba(143,240,192,0.35); background: var(--good-soft); }
.chip--warn { color: var(--warn); border-color: rgba(255,207,138,0.35); background: var(--warn-soft); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; align-items: stretch; }
.price { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px); background: rgba(255,255,255,0.02); }
.price--feature { border-color: var(--line-accent); background: linear-gradient(170deg, rgba(125,162,255,0.1), rgba(125,162,255,0.015)); }
.price__name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.price__amount { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.price__amount b { font-family: var(--font-display); font-size: clamp(27px, 3vw, 36px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price__amount span { font-size: 13px; color: var(--muted); }
.price__note { margin-top: 6px; font-size: 12.4px; color: var(--dim); }
.price__list { margin-top: 20px; display: grid; gap: 9px; flex: 1; }
.price__list li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; font-size: 13.2px; color: var(--bone-dim); line-height: 1.55; }
.price .btn { margin-top: 22px; width: 100%; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; font-size: 15px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); font-size: 16px; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq__a { margin-top: 12px; font-size: 13.8px; color: var(--muted); line-height: 1.75; max-width: 60em; }
.faq__a strong { color: var(--bone-dim); font-weight: 500; }

/* notice */
.notice { display: grid; grid-template-columns: 20px 1fr; gap: 12px; border: 1px solid var(--line); border-left: 2px solid var(--warn); border-radius: 8px; padding: 14px 16px; background: rgba(255, 207, 138, 0.045); font-size: 12.8px; color: var(--muted); line-height: 1.7; }
.notice svg { margin-top: 2px; }
.notice strong { color: var(--bone-dim); font-weight: 500; }

/* ---------- P6 forms ---------- */
.field { display: grid; gap: 7px; }
.field > label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.field > label i { color: var(--accent); font-style: normal; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 9px;
  background: rgba(255,255,255,0.03); padding: 11px 13px; font-size: 14px; color: var(--bone);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--line-accent); background: rgba(125,162,255,0.05); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.select option { background: #0d0f14; color: var(--bone); }
.textarea { min-height: 90px; resize: vertical; line-height: 1.65; }
.field__hint { font-size: 11.6px; color: var(--dim); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 9px; padding: 3px; gap: 3px; background: rgba(255,255,255,0.02); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); font-size: 12.6px; padding: 6px 11px; border-radius: 6px; transition: all 0.2s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--bone); color: #07080b; font-weight: 500; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--bone-dim); cursor: pointer; }
.switch input { appearance: none; width: 34px; height: 19px; border-radius: 999px; background: rgba(255,255,255,0.14); position: relative; transition: background 0.2s var(--ease); cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.switch input:checked { background: var(--accent-strong); }
.switch input:checked::after { transform: translateX(15px); }

/* dropzone */
.drop {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px) 22px; text-align: center; cursor: pointer;
  background: rgba(255,255,255,0.014); transition: all 0.24s var(--ease);
}
.drop:hover, .drop.is-over { border-color: var(--line-accent); background: var(--accent-soft); }
.drop__icon { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; background: rgba(255,255,255,0.03); }
.drop__title { font-size: 15px; font-weight: 500; }
.drop__sub { margin-top: 7px; font-size: 12.6px; color: var(--muted); }
.drop__formats { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.filelist { display: grid; gap: 8px; margin-top: 14px; }
.fileitem { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: rgba(255,255,255,0.02); }
.fileitem__ico { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,0.05); font-family: var(--font-mono); font-size: 8.6px; color: var(--accent); letter-spacing: 0.06em; }
.fileitem__name { font-size: 13.2px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fileitem__meta { font-family: var(--font-mono); font-size: 10.4px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.fileitem__state { display: flex; align-items: center; gap: 8px; }
.fileitem__del { border: 0; background: transparent; color: var(--dim); padding: 4px; border-radius: 6px; line-height: 0; }
.fileitem__del:hover { color: var(--warn); background: rgba(255,255,255,0.05); }

/* ---------- P7 data ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 11px; padding: 15px 16px; background: rgba(255,255,255,0.022); }
.stat__k { font-family: var(--font-mono); font-size: 9.8px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); }
.stat__v { margin-top: 7px; font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 25px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__v small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 3px; }
.stat__s { margin-top: 4px; font-size: 11.4px; color: var(--muted); }

.tablewrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tablewrap--scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 12.8px; }
table.data th { text-align: left; font-family: var(--font-mono); font-size: 9.8px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.025); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--bone-dim); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: rgba(255,255,255,0.022); }
table.data td.mono { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
table.data td.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hash { font-family: var(--font-mono); font-size: 10.4px; color: var(--muted); word-break: break-all; line-height: 1.5; }

/* ---------- P8 app shell ---------- */
.appwrap { padding-top: 26px; padding-bottom: 80px; }
.apphead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.apphead h1 { font-family: var(--font-display); font-size: clamp(23px, 3vw, 31px); font-weight: 600; letter-spacing: -0.032em; }
.apphead p { margin-top: 7px; font-size: 13.4px; color: var(--muted); max-width: 60em; }
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; margin-bottom: 20px; background: rgba(255,255,255,0.02); }
.stepper__item { flex: 1; display: flex; align-items: center; gap: 9px; padding: 11px 14px; font-size: 12.6px; color: var(--dim); border-right: 1px solid var(--line); min-width: 0; }
.stepper__item:last-child { border-right: 0; }
.stepper__item b { font-family: var(--font-mono); font-size: 10px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.stepper__item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper__item.is-active { color: var(--bone); background: var(--accent-soft); }
.stepper__item.is-active b { border-color: var(--line-accent); color: var(--accent); background: rgba(125,162,255,0.16); }
.stepper__item.is-done { color: var(--bone-dim); }
.stepper__item.is-done b { border-color: rgba(143,240,192,0.4); color: var(--good); }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.018); padding: clamp(16px, 2.2vw, 26px); }
.panel + .panel { margin-top: 14px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
.panel__title b { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.14em; border: 1px solid var(--line-accent); border-radius: 4px; padding: 2px 6px; }
.panel__note { font-size: 12.2px; color: var(--dim); }
.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.formgrid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.formgrid .field--wide { grid-column: 1 / -1; }

.runbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.runbar__hint { font-size: 12.2px; color: var(--dim); margin-right: auto; }
.progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 14px; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-strong), #e8eeff); transition: width 0.3s var(--ease); }
.progress__label { margin-top: 7px; font-family: var(--font-mono); font-size: 10.6px; color: var(--muted); letter-spacing: 0.08em; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; color: var(--muted); font-size: 13.2px; padding: 10px 13px; border-bottom: 2px solid transparent; white-space: nowrap; transition: all 0.2s var(--ease); }
.tab:hover { color: var(--bone); }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--accent-strong); }
.tabpane { padding-top: 18px; }

.issue { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; background: rgba(255,255,255,0.018); }
.issue + .issue { margin-top: 9px; }
.issue__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.issue__name { font-size: 14px; font-weight: 600; }
.issue__count { font-family: var(--font-mono); font-size: 10.4px; color: var(--muted); }
.issue__summary { margin-top: 8px; font-size: 13px; color: var(--bone-dim); line-height: 1.68; }
.issue__quotes { margin-top: 10px; display: grid; gap: 6px; }
.issue__quote { font-size: 12.2px; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 9px; line-height: 1.6; }
.issue__quote b { font-family: var(--font-mono); font-size: 10.4px; color: var(--dim); font-weight: 400; margin-right: 6px; }

.timeline { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tlrow { display: grid; grid-template-columns: 108px 66px minmax(0, 1fr); gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12.9px; }
.tlrow:last-child { border-bottom: 0; }
.tlrow:hover { background: rgba(255,255,255,0.022); }
.tlrow time { font-family: var(--font-mono); font-size: 10.6px; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.tlrow .tlrow__who { font-size: 11.6px; color: var(--bone-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlrow .tlrow__text { color: var(--bone-dim); line-height: 1.6; word-break: break-word; }
.tlrow .tlrow__text mark { background: rgba(255,207,138,0.18); color: var(--warn); border-radius: 3px; padding: 0 2px; }
.tlrow.is-counter .tlrow__who { color: #ffb4a2; }
.tagset { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.tag { font-family: var(--font-mono); font-size: 9.2px; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--dim); }
.tag--amt { color: var(--warn); border-color: rgba(255,207,138,0.32); background: var(--warn-soft); }
.tag--threat { color: #ffb4a2; border-color: rgba(255,180,162,0.32); background: rgba(255,180,162,0.1); }
.tag--silence { color: var(--muted); }

.packgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.packopt { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: rgba(255,255,255,0.02); display: flex; flex-direction: column; gap: 4px; text-align: left; transition: all 0.24s var(--ease); }
.packopt:hover { border-color: var(--line-strong); }
.packopt[data-selected="true"] { border-color: var(--line-accent); background: linear-gradient(170deg, rgba(125,162,255,0.12), rgba(125,162,255,0.02)); }
.packopt__k { font-family: var(--font-mono); font-size: 9.8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.packopt__t { font-size: 14.6px; font-weight: 600; margin-top: 8px; letter-spacing: -0.02em; }
.packopt__d { font-size: 12.2px; color: var(--muted); line-height: 1.6; margin-top: 6px; flex: 1; }
.packopt__p { margin-top: 12px; font-family: var(--font-display); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.packopt__p small { font-family: var(--font-sans); font-size: 11.6px; color: var(--dim); font-weight: 400; }

.resultcard { border: 1px solid var(--line-accent); border-radius: 12px; background: linear-gradient(170deg, rgba(125,162,255,0.1), rgba(255,255,255,0.014)); padding: clamp(16px, 2.2vw, 24px); }
.resultcard__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.resultcard__v { font-family: var(--font-display); font-size: 15px; font-weight: 600; }

.locked { position: relative; }
.locked__veil {
  position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(180deg, rgba(5,6,8,0.15), rgba(5,6,8,0.92) 62%);
  display: flex; align-items: flex-end; justify-content: center; padding: 24px; text-align: center;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.locked__inner { max-width: 460px; }
.locked__inner h4 { font-size: 15.5px; font-weight: 600; }
.locked__inner p { margin-top: 6px; font-size: 12.4px; color: var(--muted); line-height: 1.65; }
.locked__inner .btn { margin-top: 14px; }

.empty { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 34px 22px; text-align: center; color: var(--dim); font-size: 13px; }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px); z-index: 200; background: #12141b; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 18px; font-size: 13px; color: var(--bone); box-shadow: 0 18px 46px rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: all 0.28s var(--ease); max-width: min(92vw, 520px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- P9 footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 54px; margin-top: 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,0.6fr)); gap: 26px; }
.foot__brand p { margin-top: 12px; font-size: 12.6px; color: var(--dim); line-height: 1.75; max-width: 34em; }
.foot__col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.foot__col ul { margin-top: 12px; display: grid; gap: 8px; }
.foot__col a { font-size: 12.6px; color: var(--muted); }
.foot__col a:hover { color: var(--bone); }
.foot__legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 11.4px; color: var(--dim); line-height: 1.7; }

/* ---------- P10 print ---------- */
@media print {
  .nav, .foot, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- P11 responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0,1fr); }
  .docstack { max-width: 460px; }
  .section__head { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid { grid-template-columns: minmax(0,1fr); }
  .packgrid { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .grid--3, .grid--2, .compare, .steps, .formgrid, .formgrid--3 { grid-template-columns: minmax(0,1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .step:last-child { border-bottom: 0; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stepper__item span { display: none; }
  .stepper__item { justify-content: center; padding: 11px 8px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .stat { padding: 12px 12px; }
  .stat__v { font-size: 18px; }
  .toast { left: 16px; right: 16px; transform: translateY(14px); max-width: none; font-size: 12.4px; padding: 10px 13px; }
  .toast.is-on { transform: translateY(0); }
  .tlrow { grid-template-columns: 82px minmax(0,1fr); gap: 6px 10px; }
  .tlrow .tlrow__who { grid-column: 2; }
  .formgrid { grid-template-columns: minmax(0,1fr); }
  .foot__grid { grid-template-columns: minmax(0,1fr); }
  .docstack__meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* timeline channel chip */
.tlch { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--dim); margin-top: 2px; }

/* mobile tab & segmented control density */
@media (max-width: 520px) {
  .tabs { gap: 0; }
  .tab { padding: 9px 8px; font-size: 12.2px; }
  .tab span.mono { font-size: 9.4px; }
  .seg button { padding: 6px 9px; font-size: 12px; }
  .seg { width: 100%; overflow-x: auto; }
}
