:root {
  --ivory: #F6F3EC;
  --ivory-deep: #ECE6DA;
  --paper: #FFFFFF;
  --ink: #121518;
  --ink-soft: #3D434A;
  --muted: #697079;
  --line: rgba(18, 21, 24, 0.12);
  --line-strong: rgba(18, 21, 24, 0.24);
  --copper: #C8552E;
  --copper-dark: #A4401E;
  --copper-soft: rgba(200, 85, 46, 0.1);
  --emerald: #0D7A5F;
  --emerald-soft: rgba(13, 122, 95, 0.1);
  --obsidian: #101317;
  --obsidian-card: #181D23;
  --serif: 'Noto Serif KR', Georgia, serif;
  --sans: 'Pretendard Variable', 'Pretendard', 'Malgun Gothic', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 34px rgba(18, 21, 24, 0.06);
  --shadow-lift: 0 24px 60px rgba(18, 21, 24, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.top-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(16, 19, 23, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-inner {
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(140deg, var(--copper), #E07A52);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(200, 85, 46, 0.42);
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.brand-text span { font-size: 9.5px; font-family: var(--mono); letter-spacing: 0.18em; color: #E2B8A6; }

.nav-links { display: flex; gap: 24px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.nav-links a { position: relative; padding: 4px 0; transition: color .18s; }
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--copper); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-copper { background: var(--copper); color: #fff; box-shadow: 0 8px 24px rgba(200, 85, 46, 0.34); }
.btn-copper:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn-emerald { background: var(--emerald); color: #fff; box-shadow: 0 8px 22px rgba(13, 122, 95, 0.3); }
.btn-emerald:hover { background: #0A634C; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262B31; transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--copper); color: var(--copper); background: var(--copper-soft); }

/* Auto-Running Architectural Hero Banner (Starts Immediately on First Paint) */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drawBlueprint {
  from { stroke-dashoffset: 1200; }
  to { stroke-dashoffset: 0; }
}
@keyframes scanBeam {
  0% { transform: translateY(-20px); opacity: 0; }
  12% { opacity: 0.9; }
  88% { opacity: 0.9; }
  100% { transform: translateY(340px); opacity: 0; }
}
@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}
@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 82% 20%, rgba(200, 85, 46, 0.22) 0%, transparent 46%),
              radial-gradient(circle at 12% 88%, rgba(13, 122, 95, 0.18) 0%, transparent 45%),
              linear-gradient(160deg, #0D1014 0%, #151A21 55%, #11151B 100%);
  color: #fff;
  padding: 58px 0 0;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,.035) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,.035) 47px 48px);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 48px; align-items: center; padding-bottom: 58px;
}
.hero-copy { animation: heroRise 0.75s cubic-bezier(.16,1,.3,1) both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  color: #F4A98E; background: rgba(200, 85, 46, 0.16); border: 1px solid rgba(200, 85, 46, 0.42);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 20px;
}
.hero-eyebrow i {
  width: 7px; height: 7px; border-radius: 50%; background: #34D399;
  animation: beaconPulse 1.8s infinite;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(29px, 3.6vw, 46px);
  font-weight: 700; line-height: 1.26; letter-spacing: -0.035em;
  word-break: keep-all; color: #FAF7F2; margin-bottom: 20px;
}
.hero-copy h1 em {
  font-style: normal; color: #F59E7D;
  background: linear-gradient(90deg, #F59E7D, #6EE7B7);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 16.5px; line-height: 1.75; color: #CBD2DC; margin-bottom: 28px;
  max-width: 560px; word-break: keep-all;
}
.hero-lead b { color: #fff; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13); padding-top: 22px;
}
.hero-kpis strong { display: block; font-size: 23px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hero-kpis span { font-size: 12.5px; color: #9AA4B2; }

/* Architectural Interactive Blueprint Stage */
.hero-stage {
  position: relative; overflow: hidden;
  background: rgba(24, 29, 35, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  animation: heroRise 0.9s 0.12s cubic-bezier(.16,1,.3,1) both;
}
.stage-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, #F59E7D, #34D399, transparent);
  box-shadow: 0 0 18px #34D399;
  animation: scanBeam 4.6s linear infinite;
}
.stage-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 14px;
}
.stage-head-tag { font-family: var(--mono); font-size: 11px; color: #6EE7B7; font-weight: 700; letter-spacing: 0.08em; }
.stage-hash {
  font-family: var(--mono); font-size: 11px; color: #F5C2AC;
  background: rgba(200, 85, 46, 0.18); border: 1px solid rgba(200, 85, 46, 0.4);
  padding: 3px 10px; border-radius: 99px;
}
.blueprint-svg-wrap {
  position: relative; background: #0E1217; border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px; padding: 12px; margin-bottom: 14px;
}
.blueprint-svg { width: 100%; height: auto; display: block; }
.bp-line {
  stroke-dasharray: 1200; stroke-dashoffset: 0;
  animation: drawBlueprint 2.2s cubic-bezier(.16,1,.3,1) both;
}
.bp-beacon { animation: beaconPulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.stage-live-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px;
  transition: border-color 0.3s, background 0.3s;
}
.stage-live-card.is-warn { border-color: rgba(248, 113, 113, 0.55); background: rgba(127, 29, 29, 0.3); }
.stage-live-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.stage-room { font-size: 12px; font-weight: 700; color: #F59E7D; }
.stage-verdict-pill {
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: rgba(13, 122, 95, 0.28); color: #6EE7B7; border: 1px solid rgba(52, 211, 153, 0.45);
}
.stage-live-card.is-warn .stage-verdict-pill {
  background: rgba(220, 38, 38, 0.28); color: #FCA5A5; border-color: rgba(248, 113, 113, 0.5);
}
.stage-live-card strong { font-size: 15.5px; color: #fff; }
.stage-live-card code {
  font-family: var(--mono); font-size: 12px; color: #CBD5E1;
  background: rgba(0, 0, 0, 0.35); padding: 3px 8px; border-radius: 6px; width: fit-content;
}
.stage-live-card p { font-size: 12.5px; color: #B8C1CC; }

.stage-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.stage-dots button {
  padding: 7px 4px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #9AA4B2; font-size: 11.5px; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.stage-dots button.active { background: var(--copper); color: #fff; border-color: var(--copper); }

/* Editorial Marquee Ticker */
.hero-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.32);
  overflow: hidden; padding: 12px 0;
}
.ticker-track {
  display: flex; width: max-content; gap: 36px;
  animation: tickerMove 34s linear infinite;
  font-family: var(--mono); font-size: 12px; color: #CBD2DC;
}
.ticker-track span b { color: #F59E7D; margin-right: 6px; }

/* Common Section Typography */
.sec { padding: 84px 0; }
.sec-white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-dark { background: var(--obsidian); color: #fff; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-bottom: 38px;
}
.sec-eyebrow {
  display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--copper); margin-bottom: 8px; text-transform: uppercase;
}
.sec-dark .sec-eyebrow { color: #F59E7D; }
.sec-head h2 {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.28; word-break: keep-all;
}
.sec-head p { font-size: 15.5px; color: var(--ink-soft); margin-top: 10px; max-width: 680px; word-break: keep-all; }
.sec-dark .sec-head p { color: #B8C1CC; }

/* 1. Interactive Estimator Section */
.est-shell {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 28px; align-items: start;
}
.est-controls {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft); display: grid; gap: 22px;
}
.ctrl-group { display: grid; gap: 10px; }
.ctrl-label {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 800; color: var(--ink);
}
.ctrl-label strong { font-family: var(--mono); font-size: 19px; color: var(--copper); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px; border-radius: 99px; border: 1.5px solid var(--line-strong);
  background: var(--ivory); color: var(--ink-soft); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: all .18s;
}
.chip:hover { border-color: var(--copper); color: var(--copper); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active-copper { background: var(--copper); color: #fff; border-color: var(--copper); }

.range-slider {
  width: 100%; accent-color: var(--copper); height: 7px; cursor: pointer;
}
.grade-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grade-card {
  text-align: left; padding: 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--line-strong); background: var(--ivory); cursor: pointer;
  display: grid; gap: 5px; transition: all .18s;
}
.grade-card strong { font-size: 14.5px; color: var(--ink); }
.grade-card small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.grade-card .g-price { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--copper); }
.grade-card.active {
  background: #FFF6F2; border-color: var(--copper); box-shadow: 0 8px 20px rgba(200, 85, 46, 0.14);
}

.toggle-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-pill {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--ivory);
  cursor: pointer; font-size: 13.5px; font-weight: 700;
}
.toggle-pill input { width: 17px; height: 17px; accent-color: var(--copper); }

.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scope-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 700;
}
.scope-toggle input { width: 16px; height: 16px; accent-color: var(--emerald); }

/* Estimator Receipt Card */
.est-receipt {
  position: sticky; top: 88px;
  background: var(--obsidian); color: #fff;
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lift); border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid; gap: 20px;
}
.receipt-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.receipt-badge {
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: #6EE7B7;
  background: rgba(13, 122, 95, 0.25); border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 4px 10px; border-radius: 99px;
}
.receipt-total-label { font-size: 13px; color: #9AA4B2; }
.receipt-total {
  font-family: var(--mono); font-size: clamp(26px, 2.7vw, 34px); font-weight: 800;
  color: #fff; letter-spacing: -0.03em; line-height: 1.2;
}
.receipt-total em { font-style: normal; color: #F59E7D; }
.receipt-sub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12);
}
.receipt-sub-grid span { display: block; font-size: 11.5px; color: #9AA4B2; }
.receipt-sub-grid strong { font-family: var(--mono); font-size: 15px; color: #fff; }
.breakdown-list { display: grid; gap: 10px; }
.bd-row { display: grid; gap: 4px; }
.bd-row-head { display: flex; justify-content: space-between; font-size: 12.5px; color: #D8DEE8; }
.bd-row-head b { font-family: var(--mono); color: #fff; }
.bd-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.bd-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--copper), #6EE7B7); }
.receipt-note {
  font-size: 12.5px; color: #B8C1CC; background: rgba(255,255,255,.05);
  border-left: 3px solid var(--copper); padding: 10px 12px; border-radius: 8px;
}

/* 2. Editorial Magazine Columns */
.col-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.col-search {
  min-width: 240px; padding: 10px 16px; border-radius: 99px;
  border: 1.5px solid var(--line-strong); background: var(--paper); font-size: 14px;
}
.col-featured {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0;
  background: var(--obsidian); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 26px; box-shadow: var(--shadow-lift); cursor: pointer;
  transition: transform .22s;
}
.col-featured:hover { transform: translateY(-3px); }
.col-feat-visual {
  position: relative; padding: 34px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 80% 20%, rgba(200, 85, 46, 0.35), transparent 55%), #141920;
  min-height: 280px;
}
.col-feat-body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.col-cat-pill {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 99px;
  background: var(--copper-soft); color: var(--copper);
}
.col-featured .col-cat-pill { background: rgba(200, 85, 46, 0.25); color: #F5B49A; }
.col-feat-body h3 {
  font-family: var(--serif); font-size: clamp(22px, 2.3vw, 29px); line-height: 1.32; word-break: keep-all;
}
.col-feat-body p { font-size: 14.5px; color: #C6CFD9; word-break: keep-all; }
.col-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.col-featured .col-meta { color: #9AA4B2; }

.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.col-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
  transition: all .2s; box-shadow: 0 4px 14px rgba(18,21,24,.03);
}
.col-card:hover { transform: translateY(-4px); border-color: var(--copper); box-shadow: var(--shadow-soft); }
.col-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.col-card h3 {
  font-family: var(--serif); font-size: 18px; line-height: 1.4; font-weight: 700;
  color: var(--ink); word-break: keep-all;
}
.col-card p { font-size: 13.8px; color: var(--ink-soft); flex: 1; word-break: keep-all; }
.col-card-foot {
  display: flex; justify-content: space-between; align-items: center; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.col-read-more { font-weight: 800; color: var(--copper); }

/* 3. Interactive 24-Item Essential Checklist */
.chk-header-bar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 28px; margin-bottom: 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: var(--shadow-soft);
}
.chk-progress-wrap { flex: 1; min-width: 250px; display: grid; gap: 8px; }
.chk-progress-top { display: flex; justify-content: space-between; align-items: baseline; }
.chk-progress-top strong { font-family: var(--mono); font-size: 24px; color: var(--emerald); }
.chk-bar { height: 10px; border-radius: 99px; background: var(--ivory-deep); overflow: hidden; }
.chk-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper), var(--emerald)); transition: width .3s; }
.chk-sync-box { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chk-sync-box input {
  width: 145px; padding: 9px 12px; border-radius: 99px; border: 1.5px solid var(--line-strong);
  font-family: var(--mono); font-size: 13px; text-transform: uppercase;
}
.chk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chk-stage-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; display: grid; gap: 14px; align-content: start;
}
.chk-stage-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.chk-stage-head h3 { font-size: 16px; font-weight: 800; }
.chk-stage-count { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--emerald); }
.chk-item {
  display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px;
  border-radius: var(--radius-sm); background: var(--ivory); cursor: pointer;
  border: 1px solid transparent; transition: all .16s;
}
.chk-item:hover { border-color: var(--line-strong); }
.chk-item.done { background: #ECFDF5; border-color: rgba(13, 122, 95, 0.35); }
.chk-item input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--emerald); flex-shrink: 0; }
.chk-item b { display: block; font-size: 13.8px; color: var(--ink); line-height: 1.45; }
.chk-item.done b { text-decoration: line-through; color: var(--emerald); }
.chk-item small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* 4. Material Encyclopedia */
.mat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.mat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; display: grid; gap: 12px; box-shadow: 0 4px 16px rgba(18,21,24,.04);
}
.mat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.mat-top h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.mat-price {
  font-family: var(--mono); font-size: 13px; font-weight: 800; color: var(--copper);
  background: var(--copper-soft); padding: 4px 11px; border-radius: 99px;
}
.mat-meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--ink-soft);
  padding: 10px 12px; background: var(--ivory); border-radius: var(--radius-sm);
}
.mat-meta-row code { font-family: var(--mono); font-weight: 700; color: var(--ink); background: #fff; padding: 1px 6px; border-radius: 5px; }
.mat-scores { display: flex; gap: 18px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.mat-scores b { color: var(--copper); letter-spacing: 1px; }
.mat-trap {
  font-size: 12.8px; color: #991B1B; background: #FEF2F2;
  border-left: 3px solid #DC2626; padding: 9px 12px; border-radius: 7px;
}

/* 5. Timeline & Seal Verifier + Service Application */
.tl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tl-card {
  background: var(--obsidian-card); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); padding: 22px; display: grid; gap: 10px;
}
.tl-top { display: flex; justify-content: space-between; align-items: center; }
.tl-step { font-family: var(--mono); font-size: 24px; font-weight: 800; color: #F59E7D; }
.tl-days { font-family: var(--mono); font-size: 12px; color: #9AA4B2; background: rgba(255,255,255,.07); padding: 3px 9px; border-radius: 99px; }
.tl-golden {
  font-size: 12px; font-weight: 800; color: #6EE7B7; background: rgba(13, 122, 95, 0.24);
  border: 1px solid rgba(52, 211, 153, 0.35); padding: 4px 10px; border-radius: 99px; width: fit-content;
}
.tl-card h3 { font-size: 17px; font-weight: 800; color: #fff; }
.tl-card p { font-size: 13.5px; color: #B8C1CC; }

.hub-action-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 26px; align-items: start; }
.verify-panel, .apply-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-soft); display: grid; gap: 16px;
}
.form-stack { display: grid; gap: 13px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-stack label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.form-stack input, .form-stack select, .form-stack textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--ivory); font-size: 14px; color: var(--ink);
}
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus {
  outline: none; border-color: var(--copper); background: #fff;
}
.result-box { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 13.5px; display: none; }
.result-box.show { display: grid; gap: 6px; }
.result-box.ok { background: #ECFDF5; border: 1.5px solid var(--emerald); color: #064E3B; }
.result-box.err { background: #FEF2F2; border: 1.5px solid #DC2626; color: #991B1B; }

/* Footer (Zero agency promotional stamps per rule!) */
.site-footer {
  background: #0C0F13; color: #9AA4B2; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-inner b { color: #fff; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* Magazine Article Reader Modal */
dialog.reader-modal {
  width: min(860px, calc(100vw - 24px)); max-height: 90vh; margin: auto;
  border: 0; border-radius: var(--radius-lg); padding: 0; overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45); background: var(--paper); color: var(--ink);
}
dialog.reader-modal::backdrop { background: rgba(12, 15, 19, 0.72); backdrop-filter: blur(5px); }
.reader-progress { height: 4px; background: var(--ivory-deep); width: 100%; }
.reader-progress i { display: block; height: 100%; width: 0%; background: var(--copper); transition: width .1s; }
.reader-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 26px; border-bottom: 1px solid var(--line); background: var(--ivory);
}
.reader-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; font-size: 20px; cursor: pointer;
}
.reader-scroll { max-height: calc(90vh - 76px); overflow-y: auto; padding: 30px 34px 36px; display: grid; gap: 20px; }
.reader-scroll h2 { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 31px); line-height: 1.32; word-break: keep-all; }
.reader-sub { font-size: 15.5px; color: var(--ink-soft); }
.reader-summary {
  background: #FFF7F3; border: 1px solid rgba(200, 85, 46, 0.28); border-left: 4px solid var(--copper);
  border-radius: var(--radius-sm); padding: 16px 20px; display: grid; gap: 8px;
}
.reader-summary ul { padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.reader-sec h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.reader-sec p, .reader-sec li { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.reader-sec ul { padding-left: 18px; display: grid; gap: 6px; }
.clause-box {
  background: var(--obsidian); color: #E2E8F0; border-radius: var(--radius-md); padding: 18px 20px;
  display: grid; gap: 10px;
}
.clause-box pre {
  white-space: pre-wrap; font-family: var(--sans); font-size: 13.5px; line-height: 1.7; color: #F1F5F9;
}
.reader-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }

/* Mobile Floating Quick Dock & Toast */
.mobile-dock { display: none; }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 9999;
  background: var(--obsidian); color: #fff; padding: 12px 22px; border-radius: 99px;
  font-size: 13.8px; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display: none; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { display: block; }
.toast.err { background: #B91C1C; }

@media (max-width: 1024px) {
  .hero-inner, .est-shell, .col-featured, .hub-action-grid { grid-template-columns: 1fr; }
  .est-receipt { position: static; }
  .col-grid, .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .wrap { padding: 0 16px; }
  .nav-links, .nav-actions .btn-ghost-dark { display: none; }
  .hero { padding-top: 34px; }
  .hero-inner { gap: 28px; padding-bottom: 38px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .sec { padding: 56px 0; }
  .grade-cards, .toggle-pair, .scope-grid, .col-grid, .chk-grid, .mat-grid, .tl-grid, .form-pair { grid-template-columns: 1fr; }
  .col-feat-visual { min-height: 190px; padding: 24px; }
  .col-feat-body { padding: 24px 20px; }
  .est-controls, .est-receipt, .verify-panel, .apply-panel { padding: 20px 18px; }
  .reader-scroll { padding: 22px 18px 28px; }
  .mobile-dock {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(16, 19, 23, 0.96); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-dock a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: #CBD2DC; font-size: 11px; font-weight: 700; padding: 4px 2px; border-radius: 8px;
  }
  .mobile-dock a span { font-size: 16px; line-height: 1; }
  .mobile-dock a.is-accent { color: #F59E7D; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
