/* ============================================
   Kodu Record — shared stylesheet
   Used by: index, working-example, request-access, confirmation
   ============================================ */

:root {
  --bg:            #f1f3f7;
  --bg-2:          #e9ecf2;
  --surface:       #ffffff;
  --ink:           #1a2333;
  --ink-2:         #2c3548;
  --slate:         #5a6478;
  --slate-2:       #8a93a4;
  --slate-3:       #b4bbc8;
  --slate-4:       #d4d9e2;
  --rule:          #dde1e8;
  --rule-soft:     #e7eaf0;

  --brand:         #1976d2;
  --brand-2:       #2589e0;
  --brand-soft:    #e3f0fc;
  --brand-tint:    #f3f8fd;

  --ok:            #6fa56d;
  --ok-soft:       #e8f1e6;
  --ok-2:          #5a8e58;

  --pending:       #d49434;
  --pending-soft:  #fbf3e3;
  --pending-2:     #a87320;

  --stroke:        #4a5468;
  --stroke-2:      #6b7587;
  --window-fill:   #d8e6f4;
  --window-stroke: #a0b8d4;
  --foliage:       #c9d8c2;
  --foliage-2:     #b8c9b1;

  --cta-gap:        12px;
  --cta-gap-mobile: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(90, 100, 120, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ============================================
   NAV
   ============================================ */
nav.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--rule-soft);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }

.nav-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.nav-wordmark .accent { color: var(--brand); font-weight: 700; }

.nav-prop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}
.nav-prop svg.house { width: 16px; height: 16px; stroke: var(--slate); fill: none; stroke-width: 1.6; }
.nav-prop .caret { width: 12px; height: 12px; stroke: var(--slate-2); fill: none; stroke-width: 1.6; margin-left: 2px; }

.nav-links { display: flex; justify-content: center; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-link-sm {
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link-sm:hover { color: var(--ink); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  min-height: 38px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 1px 2px rgba(25, 118, 210, 0.18);
}
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-tint); }

.btn-ghost { background: transparent; color: var(--slate); font-weight: 500; }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.btn-neutral {
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--rule);
}
.btn-neutral:hover { border-color: var(--slate-3); color: var(--ink); }

.btn-sm { padding: 8px 14px; font-size: 13px; min-height: 34px; }
.btn-lg { padding: 13px 22px; font-size: 14.5px; min-height: 46px; }

.cta-row {
  display: flex;
  gap: var(--cta-gap);
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   HERO (index)
   ============================================ */
.hero { padding: 64px 32px 56px; position: relative; z-index: 2; }
.hero-inner { max-width: 1280px; margin: 0 auto; }

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

h1.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 500px;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-helper {
  font-size: 13.5px;
  color: var(--slate-2);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero .cta-row { margin-bottom: 36px; }

.hero-signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  max-width: 460px;
}

.signal {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 450;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(111, 165, 109, 0.14);
}
.signal-dot.pending { background: var(--pending); box-shadow: 0 0 0 3px rgba(212, 148, 52, 0.14); }

.signal-label { color: var(--slate); font-size: 13px; }
.signal strong { color: var(--ink); font-weight: 600; }

/* House illustration */
.house-stage { position: relative; aspect-ratio: 5 / 4; width: 100%; }
.house-stage svg.house-art { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Coverage panel */
.coverage {
  position: absolute;
  top: 8%;
  right: 0;
  z-index: 4;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 16px 18px 14px;
  width: 232px;
  box-shadow: 0 8px 28px -16px rgba(26, 35, 51, 0.15);
}

.coverage-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 8px;
}

.coverage-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.coverage-bar {
  width: 100%;
  height: 5px;
  background: var(--bg-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.coverage-bar-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverage-areas { display: flex; flex-direction: column; gap: 7px; }

.coverage-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
}

.coverage-area .name { color: var(--ink-2); font-weight: 450; }
.coverage-area .state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
}
.coverage-area .state.documented { color: var(--ok-2); }
.coverage-area .state.pending { color: var(--pending-2); }
.coverage-area .state.missing { color: var(--slate-2); }

.coverage-area .state::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.coverage-area .state.documented::before { background: var(--ok); }
.coverage-area .state.pending::before { background: var(--pending); }
.coverage-area .state.missing::before { background: var(--slate-3); }

/* META ROW */
.meta-row {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 28px 32px 0;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.meta-item { display: flex; align-items: baseline; gap: 10px; }
.meta-item .label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.meta-item .value { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.meta-item .value.brand { color: var(--brand); }

/* INFO BAR */
.info-bar { max-width: 1280px; margin: 56px auto 0; padding: 0 32px; position: relative; z-index: 2; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}

.info-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon-wrap svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 1.8; }

.info-text .info-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.012em; margin-bottom: 3px; }
.info-text .info-body { font-size: 13px; color: var(--slate); line-height: 1.5; }

.info-pillars { display: flex; gap: 36px; }
.info-pillar { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 80px; }
.info-pillar svg { width: 16px; height: 16px; stroke: var(--slate); fill: none; stroke-width: 1.6; }
.info-pillar .pillar-label { font-size: 11.5px; color: var(--slate); font-weight: 500; white-space: nowrap; }

/* SECTION */
section.s { padding: 80px 32px; position: relative; z-index: 2; }
.s-inner { max-width: 1280px; margin: 0 auto; }

.s-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.s-title {
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 14px;
}

.s-sub { font-size: 16px; line-height: 1.55; color: var(--slate); max-width: 540px; }

.s-head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }

/* DOCTRINE */
.doctrine { padding-top: 64px; padding-bottom: 64px; }

.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
}

.doctrine-cell {
  background: var(--surface);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease;
}
.doctrine-cell:hover { background: var(--brand-tint); }

.doctrine-num { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--brand); }
.doctrine-name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.014em; line-height: 1.2; }
.doctrine-body { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* EXPLORE / VAULT */
.explore-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 32px 36px 36px;
  box-shadow: 0 1px 0 rgba(26, 35, 51, 0.02);
}

.explore-head {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.explore-h { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.018em; margin-bottom: 6px; }
.explore-sub { font-size: 13.5px; color: var(--slate); }

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
  background: var(--bg-2);
  border: 1px solid var(--rule-soft);
  padding: 4px 9px 4px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  white-space: nowrap;
}
.preview-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--slate-3);
}

/* CHIPS */
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; }

.chip-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

.chip-status.ok { background: var(--ok-soft); border-color: rgba(111, 165, 109, 0.3); color: var(--ok-2); }
.chip-status.brand { background: var(--brand-soft); border-color: rgba(25, 118, 210, 0.18); color: var(--brand); }
.chip-status svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.pill-tabs {
  display: flex;
  gap: 20px;
  margin: 24px 0 28px;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 2px;
  overflow-x: auto;
}

.pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 2px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: default;
}
.pill-tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.pill-tab svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.floorplan {
  background: var(--bg);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.floorplan::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(90, 100, 120, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.floorplan-zoom {
  position: absolute;
  top: 24px; left: 24px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  z-index: 4;
}

.floorplan-zoom button {
  background: transparent;
  border: none;
  width: 28px; height: 28px;
  color: var(--slate);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.floorplan-zoom button + button { border-top: 1px solid var(--rule); }

.floorplan-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

.plan-legend {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  z-index: 4;
  font-size: 11.5px;
  color: var(--slate);
}
.plan-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.plan-legend-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.plan-legend-dot.empty { background: var(--surface); border: 1.5px solid var(--slate-3); }

.area-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 32px;
  padding: 24px 4px 4px;
  align-items: start;
}

.area-summary-block .label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 8px;
}

.area-summary-block .name { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.014em; }
.area-summary-block .desc { font-size: 13px; color: var(--slate); line-height: 1.5; }

.area-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.area-chip {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.area-summary-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* SYSTEMS */
.systems-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.sys-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sys-card:hover { border-color: var(--brand); box-shadow: 0 8px 20px -16px rgba(25, 118, 210, 0.4); }

.sys-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.sys-card-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
}
.sys-card-icon svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 1.7; }

.sys-card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok-2);
}
.sys-card-status::before { content: ""; width: 6px; height: 6px; background: var(--ok); border-radius: 50%; }
.sys-card-status.warn { color: var(--pending-2); }
.sys-card-status.warn::before { background: var(--pending); }

.sys-card-name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.014em; line-height: 1.2; }
.sys-card-sub { font-size: 12.5px; color: var(--slate); margin-top: 4px; }

.sys-card-meta { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--rule-soft); margin-top: auto; }
.sys-card-meta-item .l {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 3px;
}
.sys-card-meta-item .v { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

/* TIMELINE */
.tl-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 36px 40px 36px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.tl-summary { font-size: 13.5px; color: var(--slate); margin-bottom: 24px; }
.tl-summary strong { color: var(--brand); font-weight: 700; }

.tl-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--rule-soft); }

.tl-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  border-radius: 7px 7px 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: default;
}
.tl-tab.on { color: var(--brand); background: var(--brand-tint); font-weight: 600; }

.tl-month {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 8px;
  padding-top: 8px;
}

.tl-event {
  display: grid;
  grid-template-columns: 56px 24px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.tl-event:last-child { border-bottom: none; }

.tl-event-date .day { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.tl-event-date .dow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: 4px;
}

.tl-event-bullet { display: flex; justify-content: center; padding-top: 8px; }
.tl-event-bullet-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1.5px var(--brand);
}

.tl-event-body { min-width: 0; }
.tl-event-title { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.012em; margin-bottom: 3px; }
.tl-event-sub { font-size: 13px; color: var(--slate); margin-bottom: 8px; }

.tl-event-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--slate);
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  padding: 3px 9px;
  border-radius: 5px;
}
.tl-event-tag svg { width: 11px; height: 11px; stroke: var(--slate-2); fill: none; stroke-width: 1.6; }

.tl-event-time { font-size: 12px; color: var(--slate-2); padding-top: 6px; white-space: nowrap; }

.tl-sidebar { border-left: 1px solid var(--rule-soft); padding-left: 32px; }
.tl-sidebar h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 18px; letter-spacing: -0.012em; }

.tl-sidebar-stat { margin-bottom: 18px; }
.tl-sidebar-stat .label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 5px;
}
.tl-sidebar-stat .value { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.tl-sidebar-divider { height: 1px; background: var(--rule-soft); margin: 20px 0; }

.tl-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.tl-sidebar-link:hover { text-decoration: underline; }

/* TRANSFER */
.transfer-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.transfer-text { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }

.transfer-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 14px;
}

.transfer-title { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.022em; line-height: 1.1; margin-bottom: 16px; }
.transfer-body { font-size: 14.5px; color: var(--slate); line-height: 1.55; margin-bottom: 24px; }

.transfer-bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.transfer-bullets li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-2);
  align-items: start;
}
.transfer-bullets svg { width: 14px; height: 14px; stroke: var(--brand); fill: none; stroke-width: 2; margin-top: 3px; }

.transfer-visual {
  background: var(--bg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--rule-soft);
  position: relative;
}

.transfer-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(90, 100, 120, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.transfer-mock {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 22px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 12px 32px -16px rgba(26, 35, 51, 0.12);
  position: relative;
  z-index: 2;
}

.transfer-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 14px;
  gap: 14px;
}
.transfer-mock-title { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.012em; margin-bottom: 3px; }
.transfer-mock-sub { font-size: 12px; color: var(--slate); }

.transfer-mock-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 9px;
  border-radius: 4px;
  flex-shrink: 0;
}

.transfer-mock-rows { display: flex; flex-direction: column; gap: 9px; }

.transfer-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.transfer-mock-row .k { color: var(--slate); }
.transfer-mock-row .v { color: var(--ink); font-weight: 600; }

.transfer-mock-foot {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--slate-2);
}

/* CLOSE */
.close { padding: 88px 32px 96px; text-align: center; }
.close-inner { max-width: 640px; margin: 0 auto; }

.close-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 16px;
}

.close-sub { font-size: 16px; color: var(--slate); line-height: 1.55; margin: 0 auto 28px; max-width: 480px; }

.close .cta-row { justify-content: center; margin-bottom: 18px; }
.close-note { font-size: 12.5px; color: var(--slate-2); }

/* FOOTER */
footer.foot {
  padding: 56px 32px 28px;
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
  position: relative;
  z-index: 2;
}

.foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-soft);
}

.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-statement { font-size: 13px; color: var(--slate); line-height: 1.55; max-width: 280px; }

.foot-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 13px; color: var(--slate); text-decoration: none; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--ink); }

.foot-base {
  max-width: 1280px;
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate-2);
  gap: 16px;
  flex-wrap: wrap;
}
.foot-base .foot-base-links { display: flex; gap: 20px; }
.foot-base a { color: var(--slate-2); text-decoration: none; }
.foot-base a:hover { color: var(--ink); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }


/* ============================================
   WORKING EXAMPLE PAGE
   ============================================ */
.we-hero {
  padding: 56px 32px 40px;
  position: relative;
  z-index: 2;
}

.we-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.we-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--slate-2);
}
.we-breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
}
.we-breadcrumb a:hover { color: var(--ink); }
.we-breadcrumb svg { width: 12px; height: 12px; stroke: var(--slate-3); fill: none; stroke-width: 1.6; }

.we-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.we-hero-text { max-width: 760px; }

.we-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.we-title {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 14px;
}

.we-sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 620px;
  margin-bottom: 28px;
}

/* Video / walkthrough placeholder */
.walkthrough {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(26, 35, 51, 0.02);
}

.walkthrough-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, #1a2333 0%, #0d121d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.walkthrough-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.walkthrough-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
}

.walkthrough-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.walkthrough-play svg {
  width: 26px;
  height: 26px;
  fill: var(--brand);
  margin-left: 4px;
}

.walkthrough-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.walkthrough-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.014em;
}

.walkthrough-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 360px;
}

.walkthrough-foot {
  padding: 18px 24px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  flex-wrap: wrap;
}

.walkthrough-foot-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--slate);
}

.walkthrough-foot-meta strong { color: var(--ink); font-weight: 600; }

.we-section {
  padding: 64px 32px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule-soft);
}

.we-section-inner { max-width: 1280px; margin: 0 auto; }

.we-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.we-section-eyebrow .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.we-section-title {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin-bottom: 12px;
}

.we-section-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 620px;
  margin-bottom: 32px;
}

/* Guidance card on working-example */
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guidance-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guidance-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.guidance-icon svg { width: 16px; height: 16px; stroke: var(--brand); fill: none; stroke-width: 1.7; }

.guidance-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.014em;
  line-height: 1.25;
}

.guidance-body {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

.guidance-detail {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
  margin-top: auto;
}


/* ============================================
   REQUEST ACCESS PAGE
   ============================================ */
.form-page {
  padding: 56px 32px 80px;
  position: relative;
  z-index: 2;
}

.form-page-inner {
  max-width: 720px;
  margin: 0 auto;
}

.form-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--slate-2);
}
.form-breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
}
.form-breadcrumb a:hover { color: var(--ink); }
.form-breadcrumb svg { width: 12px; height: 12px; stroke: var(--slate-3); fill: none; stroke-width: 1.6; }

.form-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.form-title {
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 14px;
}

.form-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 36px 40px 32px;
  box-shadow: 0 1px 0 rgba(26, 35, 51, 0.02);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.form-label .req {
  color: var(--brand);
  font-weight: 600;
  margin-left: 2px;
}

.form-help {
  font-size: 12px;
  color: var(--slate-2);
  margin-top: -2px;
  margin-bottom: 2px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  font-weight: 450;
  line-height: 1.4;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-3);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Inter', sans-serif;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235a6478' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-footer {
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-consent {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.5;
}

.form-consent a { color: var(--brand); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-side-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--brand-tint);
  border: 1px solid rgba(25, 118, 210, 0.15);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-side-note svg {
  width: 16px; height: 16px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-side-note .t {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.form-side-note .t strong { color: var(--ink); font-weight: 600; }


/* ============================================
   CONFIRMATION PAGE
   ============================================ */
.confirm-page {
  min-height: calc(100vh - 70px);
  padding: 80px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.confirm-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.confirm-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok-soft);
  border: 1px solid rgba(111, 165, 109, 0.25);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirm-mark svg {
  width: 28px;
  height: 28px;
  stroke: var(--ok-2);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirm-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ok-2);
  margin-bottom: 14px;
}

.confirm-title {
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 18px;
}

.confirm-sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 32px;
}

.confirm-detail {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.confirm-detail h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}

.confirm-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.confirm-detail li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  align-items: start;
}

.confirm-detail li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  flex-shrink: 0;
}

.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 16px; padding: 12px 20px; }
  .nav-prop { display: none; }
  .nav-links { display: none; }
  .hero { padding: 48px 20px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .coverage { position: static; width: 100%; max-width: 380px; margin: 24px auto 0; }
  .meta-row { padding: 20px 20px 0; gap: 28px; }
  .info-bar { padding: 0 20px; }
  .info-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .info-pillars { width: 100%; justify-content: space-between; gap: 12px; }
  .doctrine-grid { grid-template-columns: 1fr 1fr; }
  .tl-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .tl-sidebar { border-left: none; border-top: 1px solid var(--rule-soft); padding-left: 0; padding-top: 24px; }
  .systems-row { grid-template-columns: 1fr 1fr; }
  .transfer-card { grid-template-columns: 1fr; }
  .transfer-visual { border-left: none; border-top: 1px solid var(--rule-soft); padding: 32px 28px; }
  .transfer-text { padding: 32px 28px; }
  section.s { padding: 56px 20px; }
  .area-summary { grid-template-columns: 1fr 1fr; gap: 22px; }
  .area-summary-action { grid-column: 1 / -1; align-items: flex-start; }
  .s-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .explore-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .explore-card { padding: 24px 22px 26px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 20px 28px; }
  footer.foot { padding: 40px 0 24px; }
  .foot-base { padding: 0 20px; }
  .we-hero, .we-section { padding-left: 20px; padding-right: 20px; }
  .we-section { padding-top: 48px; padding-bottom: 48px; }
  .guidance-grid { grid-template-columns: 1fr; }
  .form-page { padding: 40px 20px 60px; }
  .form-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 18px; }
  .walkthrough-foot { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  :root { --cta-gap: var(--cta-gap-mobile); }
  .hero { padding: 36px 20px 40px; }
  h1.hero-title { font-size: clamp(34px, 9vw, 44px); }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .close .cta-row { flex-direction: column; align-items: stretch; }
  .close .cta-row .btn { width: 100%; }
  .doctrine-grid { grid-template-columns: 1fr; }
  .systems-row { grid-template-columns: 1fr; }
  .tl-event { grid-template-columns: 44px 20px 1fr; }
  .tl-event-time { display: none; }
  .area-summary { grid-template-columns: 1fr; gap: 18px; }
  .meta-row { gap: 18px 28px; }
  .pill-tabs { gap: 16px; }
  .nav-right .btn { padding: 8px 12px; font-size: 13px; min-height: 34px; }
  .walkthrough-play { width: 56px; height: 56px; }
  .walkthrough-play svg { width: 20px; height: 20px; }
  .walkthrough-title { font-size: 18px; }
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .confirm-actions .btn { width: 100%; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
}
