/* ============================================
   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;
}

/* ============================================
   LEARN ARTICLE PAGE
   ============================================ */
.learn-page main {
  position: relative;
  z-index: 2;
}

.learn-page a:focus-visible,
.learn-page summary:focus-visible {
  outline: 3px solid rgba(25, 118, 210, 0.28);
  outline-offset: 3px;
  border-radius: 6px;
}

.learn-hero {
  padding: 22px 32px 0;
  overflow: hidden;
}

.learn-breadcrumb {
  margin-bottom: 22px;
}

.learn-hero-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: 44px;
  align-items: center;
  min-height: 430px;
}

.learn-hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 28px;
}

.learn-hero-copy .we-title {
  font-size: clamp(42px, 5vw, 62px);
  max-width: 540px;
}

.learn-hero-copy .we-sub {
  max-width: 560px;
  color: var(--ink-2);
}

.learn-hero-media {
  position: relative;
  margin: 0;
  min-height: 410px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.learn-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  display: block;
  object-fit: cover;
}

.learn-media-caption {
  position: absolute;
  left: 10%;
  bottom: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: 12px 16px 12px 12px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 12px 32px -18px rgba(26, 35, 51, 0.28);
}

.learn-media-caption strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.learn-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}

.learn-play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}

.learn-overview {
  position: relative;
  z-index: 2;
  padding: 44px 32px 52px;
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.learn-overview-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.learn-story-copy h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 14px;
}

.learn-story-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

.learn-story-copy p + p {
  margin-top: 14px;
}

.learn-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-soft);
}

.learn-principle {
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 30px;
}

.learn-principle-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.learn-principle-icon svg {
  width: 23px;
  height: 23px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.6;
}

.learn-principle h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}

.learn-principle p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}

.learn-section {
  border-top: 1px solid var(--rule-soft);
}

.learn-product-surface {
  background: var(--bg);
}

.learn-product-surface .s-head-row {
  margin-bottom: 28px;
}

.learn-app-shell {
  background: #eaf0f6;
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(26, 35, 51, 0.03);
}

.learn-app-topbar {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 26px;
  padding: 0 24px;
}

.learn-app-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}

.learn-app-brand span {
  color: var(--brand);
}

.learn-app-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.learn-app-address svg {
  width: 13px;
  height: 13px;
  stroke: var(--slate-2);
  fill: none;
  stroke-width: 1.7;
}

.learn-app-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  min-width: 0;
}

.learn-app-tabs span {
  position: relative;
  height: 58px;
  display: inline-flex;
  align-items: center;
  color: #9aaabb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learn-app-tabs span.active {
  color: var(--brand);
}

.learn-app-tabs span.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
}

.learn-app-content {
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.learn-app-profile,
.learn-app-mini {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(26, 35, 51, 0.04);
}

.learn-app-profile {
  overflow: hidden;
}

.learn-app-photo {
  height: 178px;
  background:
    linear-gradient(180deg, rgba(15, 28, 46, 0.02), rgba(15, 28, 46, 0.08)),
    url("assets/learn/property-record/hero-home-record.png") center 58% / cover;
}

.learn-app-profile-body {
  padding: 26px 30px 28px;
}

.learn-app-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aaabb;
  margin-bottom: 10px;
}

.learn-app-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.learn-app-title-row h3 {
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.learn-app-profile-body > p {
  font-size: 14px;
  color: #718198;
  margin-top: 8px;
}

.learn-app-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.learn-app-badges span {
  min-width: 82px;
  text-align: center;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(25, 118, 210, 0.22);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.learn-app-badges .verified {
  background: var(--ok-soft);
  border-color: rgba(111, 165, 109, 0.28);
  color: var(--ok-2);
}

.learn-app-stats {
  margin-top: 26px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.learn-app-stats span {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.learn-app-stats small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aaabb;
}

.learn-app-stats strong {
  font-size: 14px;
  color: var(--ink);
}

.learn-app-progress {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.learn-app-progress strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 3px;
}

.learn-app-progress span,
.learn-app-progress b {
  font-size: 13px;
  color: #718198;
  font-weight: 600;
}

.learn-app-progress b {
  color: var(--brand);
  white-space: nowrap;
}

.learn-app-progress-bar {
  height: 4px;
  background: var(--rule);
  margin-top: 14px;
  border-radius: 999px;
  overflow: hidden;
}

.learn-app-progress-bar span {
  display: block;
  width: 89%;
  height: 100%;
  background: var(--brand);
}

.learn-app-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.learn-app-mini {
  padding: 20px;
}

.learn-app-card-row,
.learn-app-project {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--rule-soft);
}

.learn-app-card-row:first-of-type,
.learn-app-project:first-of-type {
  border-top: none;
  padding-top: 0;
}

.learn-app-project {
  grid-template-columns: 1fr;
}

.learn-app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f78aa;
  margin-top: 7px;
}

.learn-app-card-row.warn .learn-app-dot {
  background: var(--pending);
}

.learn-app-card-row strong,
.learn-app-project strong,
.learn-app-event strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.006em;
}

.learn-app-card-row p,
.learn-app-project p {
  font-size: 12.5px;
  color: #718198;
  line-height: 1.45;
  margin-top: 3px;
}

.learn-app-project {
  border-left: 2px solid var(--ok);
  padding-left: 12px;
}

.learn-app-project.active {
  border-left-color: var(--brand);
}

.learn-app-timeline {
  padding-bottom: 22px;
}

.learn-app-event {
  display: grid;
  grid-template-columns: 52px 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid var(--rule-soft);
}

.learn-app-event time {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.learn-app-event span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f78aa;
  margin-top: 5px;
}

.learn-app-event p {
  font-size: 12.3px;
  color: #718198;
  line-height: 1.45;
}

.learn-belongs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.learn-record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 28px;
}

.learn-record-tile {
  min-height: 112px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
}

.learn-record-tile svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 8px;
  background: var(--brand-tint);
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.7;
}

.learn-record-tile h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.learn-record-tile p {
  font-size: 12.2px;
  line-height: 1.5;
  color: var(--slate);
}

.learn-belongs-media {
  position: relative;
  margin: 0;
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
}

.learn-belongs-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.learn-belongs-media figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  background: rgba(15, 28, 46, 0.94);
  color: var(--text-on-dark, #fff);
  border-radius: 10px;
  padding: 22px 24px;
}

.learn-belongs-media figcaption span {
  color: var(--text-on-dark, #fff);
  font-size: 34px;
  line-height: 1;
  opacity: 0.85;
}

.learn-belongs-media figcaption p {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  margin-top: -4px;
}

.learn-belongs-media figcaption small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  margin-top: 10px;
}

.learn-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learn-scenario-card {
  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);
}

.learn-scenario-media {
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
}

.learn-scenario-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.learn-scenario-media .learn-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 10px 26px rgba(26, 35, 51, 0.14);
}

.learn-scenario-body {
  padding: 22px 24px 24px;
}

.learn-scenario-body h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 12px;
}

.learn-scenario-body p,
.learn-scenario-body li {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

.learn-scenario-body ul {
  padding-left: 18px;
}

.learn-scenario-body li + li {
  margin-top: 3px;
}

.learn-band {
  position: relative;
  z-index: 2;
  padding: 0 32px;
}

.learn-band-inner {
  background: linear-gradient(90deg, rgba(232, 241, 251, 0.82), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 120px minmax(240px, 1fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.learn-band-art {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 12px;
}

.learn-band-copy h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.014em;
  margin-bottom: 7px;
}

.learn-band-copy p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 10px;
}

.learn-folder-strip {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.learn-folder-strip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}

.learn-folder-strip svg {
  width: 34px;
  height: 28px;
  fill: #7fb2e3;
  stroke: #5c95cb;
  stroke-width: 1.1;
}

.learn-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.learn-evidence-panel {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  overflow: hidden;
}

.learn-proof-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-soft);
}

.learn-proof-row:last-child {
  border-bottom: none;
}

.learn-proof-row span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

.learn-proof-row strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.45;
}

.learn-text-link {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.learn-text-link:hover {
  text-decoration: underline;
}

.learn-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.learn-faq-main .we-section-title {
  margin-bottom: 0;
}

.learn-faq {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.learn-faq details {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 0 20px;
}

.learn-faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.learn-faq p {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.learn-cta-card {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.learn-cta-card img {
  width: 100%;
  aspect-ratio: 4 / 2.2;
  object-fit: cover;
  border-radius: 10px;
}

.learn-cta-card h2 {
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.learn-cta-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}

.learn-cta-card .btn {
  align-self: flex-start;
}

.learn-related {
  position: relative;
  z-index: 2;
  padding: 0 32px 38px;
}

.learn-related-inner {
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
}

.learn-related h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.learn-related-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.learn-related-links span {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
}

.learn-related-links span::after {
  content: " ->";
}


/* ============================================
   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; }
  .learn-hero { padding-left: 20px; padding-right: 20px; }
  .learn-hero-panel,
  .learn-overview-grid,
  .learn-belongs-layout,
  .learn-split,
  .learn-faq-layout,
  .learn-related-inner { grid-template-columns: 1fr; gap: 32px; }
  .learn-hero-copy { padding-bottom: 0; }
  .learn-hero-media,
  .learn-hero-media img { min-height: 320px; }
  .learn-overview { padding-left: 20px; padding-right: 20px; }
  .learn-principles { grid-template-columns: 1fr; }
  .learn-app-topbar { grid-template-columns: 1fr; gap: 10px; align-items: start; padding: 16px 20px; }
  .learn-app-tabs { justify-content: flex-start; gap: 22px; overflow-x: auto; padding-bottom: 2px; }
  .learn-app-tabs span { height: auto; padding: 8px 0; }
  .learn-app-content { grid-template-columns: 1fr; padding: 24px; }
  .learn-record-grid { grid-template-columns: repeat(2, 1fr); }
  .learn-belongs-media img { min-height: 420px; }
  .learn-scenario-grid { grid-template-columns: 1fr; }
  .learn-band { padding-left: 20px; padding-right: 20px; }
  .learn-band-inner { grid-template-columns: 104px 1fr; }
  .learn-folder-strip { grid-column: 1 / -1; }
  .learn-related { padding-left: 20px; padding-right: 20px; }
  .learn-related-links { grid-template-columns: repeat(2, 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%; }
  .learn-hero-copy .we-title { font-size: clamp(36px, 10vw, 46px); }
  .learn-hero-media,
  .learn-hero-media img { min-height: 260px; }
  .learn-media-caption { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .learn-app-content { padding: 16px; }
  .learn-app-photo { height: 130px; }
  .learn-app-profile-body { padding: 20px; }
  .learn-app-title-row { grid-template-columns: 1fr; }
  .learn-app-badges { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .learn-app-stats { grid-template-columns: 1fr 1fr; }
  .learn-app-progress { flex-direction: column; align-items: flex-start; }
  .learn-record-grid { grid-template-columns: 1fr; }
  .learn-record-tile { min-height: 0; }
  .learn-belongs-media img { min-height: 340px; }
  .learn-belongs-media figcaption { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .learn-band-inner { grid-template-columns: 1fr; text-align: left; }
  .learn-band-art { width: 88px; height: 88px; }
  .learn-folder-strip { grid-template-columns: repeat(3, 1fr); }
  .learn-proof-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .learn-related-links { grid-template-columns: 1fr; gap: 10px; }
}
