:root {
  --bg: var(--surface-base);
  --bg-deep: var(--bg-base);
  --surface: var(--surface-raised);
  --surface-soft: var(--surface-muted);
  --line: var(--border-subtle);
  --line-strong: var(--border-accent);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --dim: var(--text-tertiary);
  --primary: var(--brand-primary);
  --cyan: var(--status-info);
  --blue: var(--brand-primary-strong);
  --violet: var(--chart-2);
  --primary-ink: var(--text-on-brand);
  --mint: var(--status-success);
  --amber: var(--status-warning-text);
  --rose: var(--status-danger-text);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family:
    Inter,
    "Segoe UI",
    "Noto Sans KR",
    Apple SD Gothic Neo,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(174, 202, 225, 0.12);
  background: var(--bg-deep);
}

.top-nav,
.site-footer,
.hero-layout,
.why-section,
.process-section,
.trust-section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  color: var(--text);
}

.brand-mark:hover {
  background: var(--surface-soft);
  border-radius: 6px;
}

.brand-mark__symbol {
  position: relative;
  display: inline-grid;
  width: 58px;
  height: 40px;
  flex: 0 0 58px;
  place-items: center;
  overflow: visible;
}

.brand-mark__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark__loop,
.brand-mark__wave,
.brand-mark__i-stem,
.brand-mark__network-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark__loop {
  stroke: #5c3df2;
  stroke-width: 5.4;
}

.brand-mark__wave,
.brand-mark__i-stem {
  stroke: #13bfd0;
  stroke-width: 5.4;
}

.brand-mark__i-stem {
  stroke-linecap: round;
}

.brand-mark__i-dot {
  fill: #13bfd0;
}

.brand-mark__network-line {
  stroke: #6d57f7;
  stroke-width: 1.9;
}

.brand-mark__network-node {
  fill: #3456de;
  stroke: rgba(242, 247, 255, 0.2);
  stroke-width: 0.7;
}

.brand-mark__network-node--accent {
  fill: #7545f5;
}

.brand-mark__copy {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  gap: 5px;
  line-height: 1;
}

.brand-mark__word {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark__word--psai {
  font-weight: 950;
}

.brand-mark__word--lab {
  font-weight: 500;
}

.brand-mark__divider {
  color: var(--primary);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-links,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-entry:hover,
.site-footer a:hover {
  color: var(--primary);
}

.nav-actions {
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.nav-entry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  padding: 8px 6px;
}

.nav-request,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-request {
  min-height: 32px;
  padding: 0 18px;
  background: var(--brand-primary);
  color: var(--primary-ink);
}

.hero-section {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 42px 0 28px;
  border-bottom: 0;
  background: var(--bg-deep);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1fr);
  gap: clamp(42px, 6vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  text-align: left;
}

.hero-eyebrow {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

h1 {
  margin-bottom: 24px;
  color: #f8fbff;
  font-size: 51px;
  line-height: 1.18;
  font-weight: 850;
  word-break: keep-all;
}

.hero-lede {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  word-break: keep-all;
}

.hero-definition {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.hero-actions {
  justify-content: flex-start;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-actions li {
  min-width: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 30.5rem;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid rgba(167, 220, 255, 0.16);
  border-radius: 8px;
  background: var(--surface);
}

.hero-proof div {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  gap: 2px 12px;
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid rgba(167, 220, 255, 0.13);
}

.hero-proof div:first-child {
  border-left: 0;
}

.hero-proof div::before {
  grid-area: icon;
  align-self: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-raised);
  content: "";
}

.hero-proof__item::after {
  position: absolute;
  left: 30px;
  top: 28px;
  width: 12px;
  height: 10px;
  border-top: 2px solid #8db7ff;
  border-bottom: 2px solid #8db7ff;
  content: "";
}

.hero-proof__item--evidence::after {
  left: 29px;
  top: 25px;
  width: 11px;
  height: 14px;
  border: 2px solid #8db7ff;
  border-radius: 2px;
}

.hero-proof__item--segment::after {
  left: 28px;
  top: 24px;
  width: 14px;
  height: 14px;
  border: 0;
  background:
    linear-gradient(#8db7ff, #8db7ff) 0 1px / 14px 2px no-repeat,
    linear-gradient(#8db7ff, #8db7ff) 0 6px / 14px 2px no-repeat,
    linear-gradient(#8db7ff, #8db7ff) 0 11px / 14px 2px no-repeat;
}

.hero-proof dt {
  grid-area: label;
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
}

.hero-proof dd {
  grid-area: value;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  word-break: keep-all;
}

.hero-preview {
  --scenario-accent: var(--mint);

  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(167, 220, 255, 0.24);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero-preview[data-active-scenario="service"] {
  --scenario-accent: var(--violet);
}

.hero-preview[data-active-scenario="region"] {
  --scenario-accent: var(--cyan);
}

.hero-preview::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(167, 220, 255, 0.08);
  border-radius: 10px;
  pointer-events: none;
  content: "";
}

.hero-preview::after {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  content: "";
}

.hero-preview__toolbar,
.hero-preview__bars div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-preview__toolbar {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(174, 202, 225, 0.1);
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-preview__toolbar strong {
  color: #d7fbff;
  font-size: 12px;
}

.hero-preview__summary,
.hero-preview__insights > div,
.hero-preview__note {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(174, 202, 225, 0.14);
  border-radius: 8px;
  background: var(--surface-soft);
}

.hero-preview__summary {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 44px 18px 18px;
}

.hero-preview__summary::after {
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--primary);
  font-size: 24px;
  transform: translateY(-50%);
  content: "›";
}

.hero-preview small,
.hero-preview__summary small,
.hero-preview__insights span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.hero-preview__summary strong {
  color: var(--text);
  font-size: 19px;
  line-height: 1.42;
  word-break: keep-all;
}

.hero-preview__summary p {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
}

.hero-preview__insights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hero-preview__insights > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  gap: 4px 10px;
  padding: 13px 12px;
}

.hero-preview__insights strong {
  grid-area: value;
  color: var(--primary);
  font-size: 13px;
  line-height: 1.35;
}

.hero-preview__insights span:not(.insight-icon) {
  grid-area: label;
}

.insight-icon {
  grid-area: icon;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-raised);
}

.insight-icon::before {
  width: 13px;
  height: 13px;
  border: 2px solid #9fc3ff;
  border-radius: 2px;
  content: "";
}

.insight-icon--response::before {
  border-radius: 50%;
}

.insight-icon--rule::before {
  transform: rotate(45deg);
}

.hero-preview__bars {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  padding: 2px 8px 0;
}

.hero-preview__bars div {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 2.75rem;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-preview__bars i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(167, 220, 255, 0.12);
}

.hero-preview__bars i::before {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  content: "";
}

.hero-preview__bars strong {
  color: var(--text);
  text-align: right;
}

.hero-preview__note {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-color: rgba(247, 200, 91, 0.26);
  background: rgba(36, 26, 5, 0.38);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-preview__note::before {
  flex: 0 0 auto;
  content: "☆";
}

.hero-preview__note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  flex: 0 0 auto;
  color: #8db7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button-primary {
  min-width: 174px;
  padding: 0 24px;
}

.button-primary {
  background: var(--brand-primary);
  color: var(--primary-ink);
}

.button-primary::after {
  margin-left: 16px;
  font-size: 20px;
  line-height: 1;
  content: "→";
}

.scenario-switcher {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(167, 220, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.34);
}

.scenario-switcher__label {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.scenario-switcher__buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.scenario-switcher button {
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(167, 220, 255, 0.16);
  border-radius: 6px;
  background: rgba(15, 23, 38, 0.78);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.scenario-switcher button:hover,
.scenario-switcher button:focus-visible {
  border-color: rgba(167, 220, 255, 0.46);
  color: var(--text);
}

.scenario-switcher button.is-active {
  border-color: var(--primary);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.button-primary:hover,
.nav-request:hover {
  background: #c9ebff;
}

.is-request-modal-open {
  overflow: hidden;
}

.request-modal[hidden] {
  display: none !important;
}

.request-modal__panel[hidden] {
  display: none !important;
}

.request-modal {
  --request-modal-backdrop: rgba(8, 15, 12, 0.82);
  --request-modal-panel-bg: #16201c;
  --request-modal-frame-bg: #101714;
  --request-modal-header-bg: #1d2924;
  --request-modal-line: rgba(115, 208, 181, 0.18);
  --request-modal-text: #eef5f1;
  --request-modal-muted: #73d0b5;
  --request-modal-control-bg: #24332c;
  --request-modal-control-hover: #2b3d35;
  --request-modal-control-border: rgba(115, 208, 181, 0.24);
  --request-rail-line-active: #73d0b5;
  --request-rail-active-text: #0d211a;

  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

html[data-theme="light"] .request-modal {
  --request-modal-backdrop: rgba(238, 241, 236, 0.88);
  --request-modal-panel-bg: #ffffff;
  --request-modal-frame-bg: #f8faf7;
  --request-modal-header-bg: #ffffff;
  --request-modal-line: rgba(23, 35, 31, 0.12);
  --request-modal-text: #17231f;
  --request-modal-muted: #4b5b54;
  --request-modal-control-bg: #ffffff;
  --request-modal-control-hover: #edf2ee;
  --request-modal-control-border: rgba(23, 35, 31, 0.16);
  --request-rail-line-active: #1d4ed8;
  --request-rail-active-text: #ffffff;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: var(--request-modal-backdrop);
  cursor: pointer;
}

html[data-theme="light"] .request-modal__backdrop {
  background: var(--request-modal-backdrop);
}

.request-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.24fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1140px, 100%);
  height: min(760px, calc(100dvh - 32px));
  overflow: hidden;
  border: 1px solid var(--request-modal-line);
  border-radius: 16px;
  background: var(--request-modal-panel-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  transition: grid-template-columns 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] .request-modal__panel {
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

/* 사이드바 접힘 상태 */
.request-modal__panel.is-rail-collapsed {
  grid-template-columns: 4.5rem minmax(0, 1fr);
}

.request-modal__panel.is-history-view {
  grid-template-columns: minmax(0, 1fr);
}

.request-modal__header {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid var(--request-modal-line);
  background: var(--request-modal-header-bg);
}

.request-modal__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.request-modal__header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.request-modal__view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(5.25rem, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--request-modal-control-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--request-modal-control-bg) 82%, transparent);
}

.request-modal__view-switch button {
  min-width: 0;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--request-modal-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.request-modal__view-switch button:hover,
.request-modal__view-switch button:focus-visible {
  color: var(--request-modal-text);
}

.request-modal__view-switch button.is-active {
  background: var(--request-rail-line-active);
  color: var(--request-rail-active-text);
}

.request-modal__availability {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 18rem;
  padding: 0 10px;
  border: 1px solid var(--request-modal-control-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--request-modal-control-bg) 86%, transparent);
  color: var(--request-modal-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.request-modal__availability[data-submission-state="available"] {
  border-color: color-mix(in srgb, var(--mint) 52%, var(--request-modal-control-border));
  color: var(--mint);
}

.request-modal__availability[data-submission-state="blocked"],
.request-modal__availability[data-submission-state="error"] {
  border-color: color-mix(in srgb, var(--amber) 58%, var(--request-modal-control-border));
  color: var(--amber);
}

.request-modal__header .section-kicker {
  margin-bottom: 2px;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.request-modal__header h2 {
  margin: 0;
  color: var(--request-modal-text);
  font-family: var(--font-family-display);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.request-modal__close {
  position: static;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--request-modal-control-border);
  border-radius: 50%;
  background: var(--request-modal-control-bg);
  color: var(--request-modal-text);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.request-modal__close:hover {
  background: var(--request-modal-control-hover);
}

.request-modal__back {
  grid-auto-flow: column;
  gap: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.request-modal__back:hover {
  background: var(--request-modal-control-hover);
  transform: translateY(-1px);
}

.request-modal__close:hover {
  background: var(--request-modal-control-hover);
}

.request-modal__rail {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 32px 20px 24px;
  border-right: 1px solid var(--request-modal-line);
  background: var(--request-modal-header-bg);
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-rail-collapsed .request-modal__rail {
  padding: 32px 10px 24px;
}

.request-modal__panel.is-history-view .request-modal__rail {
  display: none;
}

/* 레일 토글 버튼 */
.request-modal__rail-toggle {
  position: absolute;
  right: 12px;
  top: 10px;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--request-modal-control-border);
  border-radius: 6px;
  background: var(--request-modal-control-bg);
  color: var(--request-modal-text);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.request-modal__rail-toggle:hover {
  background: var(--request-modal-control-hover);
}

.is-rail-collapsed .request-modal__rail-toggle {
  right: 50%;
  transform: translateX(50%);
}

.request-modal__rail ol {
  display: grid;
  gap: 0;
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

.request-modal__rail li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding-bottom: 34px;
  color: var(--request-modal-text);
  transition: all 0.3s ease;
}

.is-rail-collapsed .request-modal__rail li {
  grid-template-columns: 28px 0px;
  gap: 0;
}

.request-modal__rail li:last-child {
  padding-bottom: 0;
}

/* 연결 파이프라인 노드선 */
.request-modal__rail li:not(:last-child)::after {
  position: absolute;
  left: 14px;
  top: 32px;
  width: 2px;
  height: calc(100% - 36px);
  background: var(--request-modal-line);
  content: "";
  transition: background 0.3s ease;
}

.request-modal__rail li.is-completed:not(:last-child)::after {
  background: var(--request-rail-line-active);
}

.request-modal__rail li span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--request-modal-control-border);
  border-radius: 50%;
  background: var(--request-modal-control-bg);
  color: var(--request-modal-text);
  font-size: 12px;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 액티브 노드 펄스 상태 */
.request-modal__rail li.is-active span {
  border-color: var(--request-rail-line-active);
  background: var(--request-rail-line-active);
  color: var(--request-rail-active-text);
}

html[data-theme="light"] .request-modal__rail li.is-active span {
  color: var(--request-rail-active-text);
}

/* 완료 노드 상태 */
.request-modal__rail li.is-completed span {
  border-color: var(--request-rail-line-active);
  background: color-mix(
    in srgb,
    var(--request-rail-line-active) 15%,
    var(--request-modal-control-bg)
  );
  color: var(--request-rail-line-active);
}

.request-modal__rail li.is-completed span::after {
  content: none;
}

.request-modal__rail li.is-completed span {
  color: var(--request-rail-line-active);
}

.request-modal__rail li div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.is-rail-collapsed .request-modal__rail li div {
  opacity: 0;
  pointer-events: none;
}

.request-modal__rail li strong {
  min-width: 0;
  color: var(--request-modal-text);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.request-modal__rail li.is-active strong {
  color: var(--request-rail-line-active);
}

/* 누적 메타데이터 소형 배지 */
.rail-metadata {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  color: var(--request-modal-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
  transition: all 0.25s ease;
}

.request-modal__rail li.is-completed .rail-metadata {
  color: var(--request-rail-line-active);
  font-weight: 600;
}

.request-modal__frame {
  grid-column: 2;
  grid-row: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--request-modal-frame-bg);
}

.request-modal__panel.is-history-view .request-modal__frame {
  grid-column: 1 / -1;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--primary);
  font:
    800 12px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading--left {
  max-width: 640px;
  margin: 0;
  text-align: left;
}

.section-heading--flow {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: #f7fbff;
  font-size: 31px;
  line-height: 1.34;
  word-break: keep-all;
}

.section-heading p:not(.section-kicker),
.process-step__body p,
.why-grid p,
.trust-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
  word-break: keep-all;
}

.why-section {
  padding: 76px 0 58px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(167, 220, 255, 0.18);
  border-radius: 8px;
  background: var(--surface);
}

.why-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--primary);
  content: "";
}

.why-grid article:nth-child(2)::before {
  background: var(--primary);
}

.why-grid article:nth-child(3)::before {
  background: var(--primary);
}

.why-card__alternative {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--primary);
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1 !important;
}

.why-card__alternative::after {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(167, 220, 255, 0.16);
  content: "";
}

.why-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.4;
  word-break: keep-all;
}

.why-grid article > p:last-child {
  margin: 0;
}

.process-section {
  padding: 36px 0 26px;
  border-top: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  --process-accent: var(--mint);

  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(167, 220, 255, 0.18);
  border-radius: 8px;
  background: var(--surface);
}

.process-step:not(:last-child)::after {
  position: absolute;
  right: -45px;
  top: 50%;
  color: rgba(167, 220, 255, 0.76);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  content: "›";
}

.process-step:nth-child(2) {
  --process-accent: var(--primary);
}

.process-step:nth-child(3) {
  --process-accent: var(--amber);
}

.process-step__index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--process-accent) 56%, transparent);
  border-radius: 999px;
  color: var(--process-accent);
  font:
    800 15px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}

.process-step__body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.process-step__body h3,
.report-panel h3,
.trust-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.process-step__body h3,
.process-step__body p {
  margin-bottom: 0;
}

.process-step__meta,
.process-evidence-list,
.process-review-list,
.process-step__fields {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.process-step__meta div,
.process-evidence-list li,
.process-review-list li,
.process-step__fields span {
  display: grid;
  gap: 4px;
  min-height: 40px;
  padding: 11px 12px;
  border: 1px solid rgba(174, 202, 225, 0.1);
  border-radius: 6px;
  background: rgba(12, 22, 41, 0.72);
}

.process-review-list li,
.process-evidence-list li {
  position: relative;
  padding-left: 34px;
}

.process-review-list li::before,
.process-evidence-list li::before {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(92, 233, 255, 0.55);
  border-radius: 3px;
  transform: translateY(-50%);
  content: "";
}

.process-step__meta dt,
.process-evidence-list span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.process-step__meta dd,
.process-evidence-list strong,
.process-review-list span,
.process-step__fields span {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.report-section {
  width: 100%;
  max-width: none;
  padding: 0 max(24px, calc((100% - var(--container)) / 2)) 18px;
  background: transparent;
  border: 0;
}

.report-preview {
  display: grid;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  border: 1px solid rgba(167, 220, 255, 0.2);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.report-preview__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 24px 26px 20px;
  border-bottom: 1px solid rgba(174, 202, 225, 0.1);
}

.report-preview__header span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font:
    800 12px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  text-transform: uppercase;
}

.report-preview__header h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
  word-break: keep-all;
}

.report-preview__header h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 31px;
  line-height: 1.25;
  word-break: keep-all;
}

.report-preview__header p {
  max-width: 42rem;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.report-preview__header strong {
  display: block;
  color: #dceeff;
  font-size: 18px;
  line-height: 1.4;
}

.report-preview__header dl {
  display: flex;
  gap: 10px;
  margin: 0;
}

.report-preview__header dl div {
  display: grid;
  gap: 5px;
  min-width: 84px;
  padding: 10px 12px;
  border: 1px solid rgba(174, 202, 225, 0.1);
  border-radius: 6px;
  background: rgba(8, 13, 24, 0.42);
}

.report-preview__header dt {
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
}

.report-preview__header dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.report-preview__body {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
}

.report-panel {
  min-width: 0;
  padding: 26px;
}

.report-panel + .report-panel {
  border-left: 1px solid rgba(174, 202, 225, 0.1);
}

.report-panel h3 {
  color: var(--text);
}

.response-bars {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.response-bars div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.response-bars i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(167, 220, 255, 0.12);
}

.response-bars i::before {
  content: "";
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.response-bars strong {
  color: var(--text);
  font-size: 13px;
}

.evidence-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(174, 202, 225, 0.09);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.evidence-list strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.evidence-list li:last-child {
  border-bottom: 0;
}

.evidence-list span {
  color: var(--dim);
  font-weight: 700;
  text-align: right;
}

.segment-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.segment-list div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(174, 202, 225, 0.09);
}

.segment-list div:last-child {
  border-bottom: 0;
}

.segment-list dt {
  color: var(--primary);
  font-weight: 800;
}

.segment-list dd {
  color: var(--muted);
}

.report-preview__notice {
  margin: 0;
  padding: 16px 28px;
  border-top: 1px solid rgba(174, 202, 225, 0.1);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  word-break: keep-all;
}

.trust-section {
  padding: 38px 0 26px;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 36px 0 0;
  text-align: left;
}

.trust-grid article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.trust-grid .trust-icon {
  grid-row: 1 / span 2;
}

.trust-grid h3,
.trust-grid p {
  grid-column: 2;
}

.trust-grid h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.trust-grid p {
  margin-bottom: 0;
}

.trust-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(95, 125, 255, 0.48);
  border-radius: 999px;
  background: var(--surface-raised);
}

.trust-icon::before,
.trust-icon::after {
  position: absolute;
  content: "";
}

.trust-icon--synthetic::before {
  width: 28px;
  height: 18px;
  border: 2px solid #8db7ff;
  transform: skewY(-24deg);
}

.trust-icon--synthetic::after {
  width: 28px;
  height: 18px;
  border: 2px solid #8db7ff;
  transform: translateY(7px) skewY(-24deg);
  opacity: 0.65;
}

.trust-icon--evidence::before {
  width: 24px;
  height: 30px;
  border: 2px solid var(--mint);
  border-radius: 3px;
}

.trust-icon--evidence::after {
  width: 13px;
  height: 2px;
  background: var(--mint);
  box-shadow:
    0 7px 0 var(--mint),
    0 14px 0 var(--mint);
}

.trust-icon--beta::before {
  width: 24px;
  height: 30px;
  border: 2px solid var(--violet);
  border-top: 0;
  border-radius: 3px 3px 10px 10px;
}

.trust-icon--beta::after {
  top: 16px;
  width: 16px;
  height: 2px;
  background: var(--violet);
}

.final-cta {
  min-width: 230px;
  margin: 0 auto;
}

.start-section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 36px;
}

.start-banner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 260px;
  padding: 42px 32px 32px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
}

.start-banner::before,
.start-banner::after {
  position: absolute;
  inset: auto auto 0 -8%;
  width: 52%;
  height: 136px;
  display: none;
  pointer-events: none;
  content: "";
}

.start-banner::after {
  right: -8%;
  left: auto;
  transform: scaleX(-1);
}

.start-banner h2,
.start-banner p,
.start-banner a {
  position: relative;
  z-index: 1;
}

.start-banner h2 {
  margin: 0;
  color: var(--text);
  font-size: 31px;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

.start-banner p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 50px 0;
  border-top: 1px solid rgba(174, 202, 225, 0.08);
}

.footer-brand__lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-mark__symbol--footer {
  width: 50px;
  height: 34px;
  flex-basis: 50px;
}

.brand-mark__copy--footer .brand-mark__word {
  color: var(--primary);
  font-size: 20px;
}

.site-footer p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* Keep the public landing on a small, intentional type scale. */
.brand-mark__word,
.brand-mark__word--psai,
.brand-mark__word--lab,
.brand-mark__divider,
.brand-mark__copy--footer .brand-mark__word {
  font-size: 16px;
  font-weight: 700;
}

.nav-links,
.nav-actions,
.nav-entry,
.nav-request,
.button-primary,
.section-kicker,
.hero-proof dt,
.hero-proof dd,
.scenario-switcher button,
.hero-preview__toolbar,
.hero-preview__toolbar strong,
.hero-preview small,
.hero-preview__summary small,
.hero-preview__summary p,
.hero-preview__insights span,
.hero-preview__bars div,
.hero-preview__bars strong,
.hero-preview__note,
.scenario-switcher__label,
.process-step__index,
.process-step__meta dt,
.process-step__meta dd,
.process-evidence-list span,
.process-evidence-list strong,
.report-preview__header span,
.report-preview__header dt,
.report-preview__header dd,
.response-bars div,
.response-bars strong,
.evidence-list li,
.evidence-list strong,
.segment-list dt,
.segment-list dd,
.report-preview__notice,
.site-footer p,
.site-footer nav {
  font-weight: 700;
}

h1 {
  font-weight: 700;
}

.hero-lede,
.section-heading p:not(.section-kicker),
.process-step__body p,
.why-grid p,
.trust-grid p {
  font-size: 15px;
}

.hero-proof dt,
.hero-preview__toolbar,
.section-kicker,
.report-preview__header span,
.report-preview__header dt {
  font-size: 12px;
}

.process-step__index {
  font-size: 13px;
}

.hero-proof dd,
.button-primary,
.nav-links,
.nav-actions,
.nav-entry,
.nav-request,
.hero-preview__summary p,
.hero-preview__insights strong,
.hero-preview__bars div,
.process-step__meta dd,
.process-evidence-list strong,
.report-preview__header dd,
.response-bars div,
.response-bars strong,
.evidence-list li,
.evidence-list strong,
.segment-list dt,
.segment-list dd,
.report-preview__notice,
.site-footer p,
.site-footer nav {
  font-size: 13px;
}

.hero-proof dd {
  font-size: 14px;
}

.hero-preview__summary strong {
  font-size: 18px;
  font-weight: 700;
}

.process-step__body h3,
.report-panel h3,
.trust-grid h3 {
  font-size: 17px;
  font-weight: 700;
}

.process-step__fields span,
.process-review-list span {
  font-weight: 700;
}

.report-preview__header h3 {
  font-size: 22px;
  font-weight: 700;
}

.section-heading h2 {
  font-weight: 700;
}

@media (max-width: 940px) {
  .top-nav,
  .site-footer,
  .hero-layout,
  .why-section,
  .process-section,
  .trust-section {
    width: min(100% - 32px, var(--container));
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero-section {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-layout,
  .why-grid,
  .process-steps,
  .report-preview__body,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    gap: 18px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .hero-copy {
    margin: 0 auto;
    text-align: center;
  }

  .hero-lede {
    margin: 0 auto;
  }

  .hero-definition {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-preview {
    width: min(100%, 43rem);
    margin: 0 auto;
  }

  .section-heading--left {
    max-width: 720px;
  }

  .process-step + .process-step,
  .report-panel + .report-panel {
    border-left: 0;
  }

  .report-panel + .report-panel {
    border-top: 1px solid rgba(174, 202, 225, 0.1);
  }

  .report-preview__header {
    grid-template-columns: 1fr;
  }

  .report-preview__header dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .start-section {
    width: min(100% - 32px, var(--container));
  }
}

@media (max-width: 620px) {
  .top-nav {
    height: 58px;
    gap: 14px;
  }

  .brand-mark {
    gap: 8px;
  }

  .brand-mark__symbol {
    width: 44px;
    height: 32px;
    flex-basis: 44px;
  }

  .brand-mark__word {
    font-size: 16px;
  }

  .brand-mark__divider {
    font-size: 16px;
  }

  .nav-request {
    display: none;
  }

  .hero-section {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.26;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 12px;
    width: min(100%, 22rem);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions li {
    display: block;
    width: 100%;
  }

  .button-primary {
    width: 100%;
  }

  .scenario-switcher button {
    min-height: 44px;
    white-space: normal;
  }

  .process-section,
  .report-section,
  .why-section,
  .trust-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-preview {
    padding: 18px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 100%;
    margin-top: 24px;
  }

  .hero-proof div {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "value";
    min-width: 0;
    padding: 12px 8px;
    border-left: 1px solid rgba(167, 220, 255, 0.18);
  }

  .hero-proof div:first-child {
    border-left: 0;
  }

  .hero-proof div::before,
  .hero-proof__item::after {
    display: none;
  }

  .hero-proof dd {
    font-size: 13px;
  }

  .why-grid article {
    padding: 22px;
  }

  .hero-preview__insights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-preview__bars div {
    grid-template-columns: 3rem minmax(0, 1fr) 2.25rem;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 24px;
    line-height: 1.36;
  }

  .process-step,
  .report-panel {
    padding: 22px;
  }

  .process-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .report-preview__header {
    padding: 22px;
  }

  .report-preview__header h2,
  .start-banner h2 {
    font-size: 24px;
  }

  .response-bars div {
    grid-template-columns: 74px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .evidence-list li,
  .segment-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .evidence-list li {
    display: grid;
  }

  .evidence-list span {
    text-align: left;
  }

  .trust-grid article {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
  }

  .start-banner {
    min-height: 280px;
    padding: 34px 18px 24px;
  }

  .start-banner p {
    text-align: center;
  }

  .hero-preview__note {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-preview__note a {
    width: 100%;
  }

  .request-modal {
    padding: 10px;
  }

  .request-modal__panel {
    grid-template-columns: minmax(0, 1fr);
    height: calc(100dvh - 20px);
    border-radius: 8px;
  }

  .request-modal__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .request-modal__heading {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .request-modal__header-actions {
    grid-column: 1;
    grid-row: 2;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .request-modal__view-switch {
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }

  .request-modal__view-switch button {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 8px;
    white-space: normal;
  }

  .request-modal__availability {
    order: 3;
    width: 100%;
    max-width: none;
    min-height: 34px;
  }

  .request-modal__back {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 44px;
    padding: 0 10px;
  }

  .request-modal__close {
    width: 44px;
    height: 44px;
  }

  .request-modal__header .section-kicker {
    display: none;
  }

  .request-modal__header h2 {
    font-size: 19px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .request-modal__rail {
    display: none;
  }

  .request-modal__frame {
    grid-column: 1;
  }
}

/* Outcome-first public landing */

body[data-landing-page] {
  --landing-accent-text: var(--brand-primary-strong);

  background: var(--bg-deep);
}

html[data-theme="dark"] body[data-landing-page] {
  --landing-accent-text: var(--brand-primary);
}

.site-header {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg-deep) 94%, transparent);
}

.top-nav,
.site-footer,
.hero-layout,
.process-section,
.trust-section {
  width: min(var(--container), calc(100% - 48px));
}

.nav-request,
.button-primary {
  border-color: var(--brand-primary-strong);
  background: var(--brand-primary-strong);
  color: var(--text-on-brand);
}

.nav-request:hover,
.button-primary:hover {
  border-color: var(--brand-primary-strong-hover);
  background: var(--brand-primary-strong-hover);
  color: var(--text-on-brand);
}

h1,
.section-heading h2,
.report-preview__header h2,
.report-preview__header strong {
  color: var(--text);
}

.hero-section {
  min-height: 0;
  padding: 58px 0 48px;
  background: var(--bg-deep);
}

.hero-layout {
  grid-template-columns: minmax(0, 0.94fr) minmax(25rem, 1.06fr);
  gap: clamp(36px, 5vw, 64px);
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 4.2vw, 50px);
  line-height: 1.16;
}

.hero-lede {
  font-size: 16px;
  line-height: 1.72;
}

.hero-definition {
  color: var(--muted);
}

.hero-eyebrow,
.section-kicker,
.brand-mark__copy--footer .brand-mark__word {
  color: var(--landing-accent-text);
}

.hero-actions {
  margin-top: 28px;
}

.hero-preparation {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 750;
}

.hero-preparation span {
  color: var(--muted);
}

.hero-preparation span + span::before {
  margin-right: 12px;
  color: var(--line-strong);
  content: "·";
}

.hero-proof {
  margin-top: 24px;
  border-color: var(--line);
  background: var(--surface);
}

.hero-proof div {
  padding: 15px 16px;
  border-color: var(--line);
}

.hero-proof div::before,
.insight-icon {
  border-color: var(--line-strong);
  background: var(--surface-accent);
}

.hero-proof__item::after,
.insight-icon::before {
  border-color: var(--brand-primary);
}

.hero-proof__item--segment::after {
  background:
    linear-gradient(var(--brand-primary), var(--brand-primary)) 0 1px / 14px 2px no-repeat,
    linear-gradient(var(--brand-primary), var(--brand-primary)) 0 6px / 14px 2px no-repeat,
    linear-gradient(var(--brand-primary), var(--brand-primary)) 0 11px / 14px 2px no-repeat;
}

.hero-preview {
  gap: 12px;
  padding: 18px;
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-preview::before {
  border-color: color-mix(in srgb, var(--line) 55%, transparent);
}

.hero-preview__toolbar {
  padding-bottom: 12px;
  border-color: var(--line);
}

.hero-preview__toolbar strong {
  color: var(--status-info-text);
}

.hero-preview__summary,
.hero-preview__insights > div {
  border-color: var(--line);
  background: var(--surface-soft);
}

.hero-preview__summary {
  padding: 16px 42px 16px 16px;
}

.hero-preview__summary p,
.hero-preview__insights strong {
  color: var(--brand-primary);
}

.hero-preview__insights > div {
  padding: 12px 10px;
}

.hero-preview__note {
  border-color: var(--status-warning-border);
  background: var(--status-warning-bg);
  color: var(--status-warning-text);
}

.hero-preview__note a {
  color: var(--brand-primary);
}

.report-section {
  padding: 28px max(24px, calc((100% - var(--container)) / 2)) 40px;
  background: var(--bg);
}

.report-preview {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.report-preview__header {
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.55fr);
  gap: 18px 28px;
  align-items: start;
  padding: 26px;
  border-color: var(--line);
}

.report-preview__intro {
  min-width: 0;
}

.report-preview__header h2 {
  font-size: 29px;
}

.report-preview__header span {
  color: var(--brand-primary);
}

.report-preview__header dl {
  grid-column: 1 / -1;
}

.report-preview__header dl div {
  min-width: 94px;
  border-color: var(--line);
  background: var(--surface-soft);
}

.scenario-switcher {
  border-color: var(--line);
  background: var(--surface-soft);
}

.scenario-switcher button {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}

.scenario-switcher button:hover,
.scenario-switcher button:focus-visible {
  border-color: var(--brand-primary);
  color: var(--text);
}

.scenario-switcher button.is-active {
  border-color: var(--brand-primary);
  background: var(--surface-accent);
  color: var(--text);
}

.report-preview__body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-panel {
  min-height: 206px;
  padding: 24px 26px;
  border-top: 1px solid var(--line);
}

.report-panel + .report-panel {
  border-left: 0;
}

.report-panel:nth-child(even) {
  border-left: 1px solid var(--line);
}

.response-bars {
  margin-top: 20px;
}

.response-bars i {
  background: var(--surface-accent);
}

.response-bars i::before {
  background: var(--brand-primary);
}

.evidence-list li,
.segment-list div {
  border-color: var(--line);
}

.next-check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.next-check-list li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.next-check-list li::before {
  position: absolute;
  left: 14px;
  color: var(--brand-primary);
  content: "→";
}

.report-preview__notice {
  border-color: var(--status-warning-border);
  background: var(--status-warning-bg);
  color: var(--status-warning-text);
}

.process-section {
  padding: 68px 0 54px;
}

.section-heading {
  margin-bottom: 36px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: stretch;
}

.preparation-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  background: var(--surface-accent);
}

.preparation-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.4;
}

.preparation-card ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.preparation-card li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.preparation-card li strong {
  color: var(--text);
  font-size: 13px;
}

.preparation-card li span,
.preparation-card__note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.preparation-card__note {
  margin: 0;
}

.process-steps {
  grid-template-columns: 1fr;
  gap: 10px;
}

.process-step {
  --process-accent: var(--status-success-text);

  min-height: 0;
  padding: 20px;
  border-color: var(--line);
  background: var(--surface);
}

.process-step:not(:last-child)::after {
  display: none;
}

.trust-section {
  padding: 54px 0 44px;
}

.trust-grid {
  gap: 16px;
  margin-top: 30px;
}

.trust-grid article {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-color: var(--line-strong);
  background: var(--surface-accent);
}

.trust-boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--status-warning-border);
  border-radius: var(--radius-md);
  background: var(--status-warning-bg);
  color: var(--status-warning-text);
  text-align: left;
}

.trust-boundary strong {
  white-space: nowrap;
}

.trust-boundary span {
  line-height: 1.55;
}

.start-section {
  padding-bottom: 28px;
}

.start-banner {
  min-height: 232px;
  padding: 36px 28px 28px;
  border-color: var(--border-accent);
  background: var(--surface);
}

.start-banner small {
  color: var(--dim);
  font-size: 12px;
}

.site-footer {
  padding: 36px 0;
  border-color: var(--line);
}

.site-footer p {
  max-width: 520px;
}

@media (max-width: 940px) {
  .top-nav,
  .site-footer,
  .hero-layout,
  .process-section,
  .trust-section {
    width: min(100% - 32px, var(--container));
  }

  .hero-layout,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 43rem;
  }

  .report-preview__header {
    grid-template-columns: 1fr;
  }

  .report-preview__header dl {
    grid-column: 1;
  }

  .process-layout {
    max-width: 46rem;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .hero-section {
    padding: 40px 0 34px;
  }

  h1 {
    font-size: 30px;
  }

  .hero-preparation {
    justify-content: center;
  }

  .hero-proof {
    margin-top: 20px;
  }

  .hero-preview {
    padding: 14px;
  }

  .hero-preview__insights {
    grid-template-columns: 1fr;
  }

  .hero-preview__note {
    display: grid;
    grid-template-columns: 1fr;
  }

  .report-section {
    padding: 22px 16px 34px;
  }

  .report-preview__header {
    padding: 22px 18px;
  }

  .report-preview__header h2 {
    font-size: 25px;
  }

  .report-preview__header dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-preview__header dl div {
    min-width: 0;
    padding: 9px;
  }

  .report-preview__body {
    grid-template-columns: 1fr;
  }

  .report-panel {
    min-height: 0;
    padding: 22px 18px;
  }

  .report-panel:nth-child(even) {
    border-left: 0;
  }

  .process-section,
  .trust-section {
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .preparation-card,
  .process-step {
    padding: 18px;
  }

  .trust-grid {
    gap: 12px;
  }

  .trust-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .trust-boundary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .start-banner {
    min-height: 240px;
    padding: 30px 18px 24px;
  }

  .site-footer {
    padding: 30px 0;
  }
}

@media (max-width: 340px) {
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    grid-template-columns: 5rem minmax(0, 1fr);
    grid-template-areas: "label value";
    gap: 10px;
    padding: 11px 14px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-proof div:first-child {
    border-top: 0;
  }
}
