@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #c9252d;
  --red-dark: #a81720;
  --red-soft: #fff1f1;
  --ink: #17191d;
  --ink-2: #24272c;
  --muted: #666b73;
  --paper: #ffffff;
  --surface: #f6f7f8;
  --silver: #d8dce1;
  --silver-2: #eceef1;
  --amber: #e4b84a;
  --amber-soft: #fff8e5;
  --blue: #38618c;
  --blue-soft: #edf4fb;
  --success: #38618c;
  --success-soft: #edf4fb;
  --danger: #b84046;
  --danger-soft: #fff0f1;
  --radius: 6px;
  --page: min(1380px, calc(100vw - 64px));
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body,
button,
input {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  word-break: keep-all;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(201, 37, 45, .28);
  outline-offset: 3px;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 34px;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(216, 220, 225, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark img {
  display: block;
  width: 112px;
  height: auto;
}

.wordmark strong {
  color: var(--red);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.wordmark > b {
  color: #a6aab0;
  font-size: 13px;
  font-weight: 500;
}

.wordmark > span:last-child {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.wordmark-symbol,
.app-brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 2px;
  width: 19px;
  height: 20px;
  padding-bottom: 3px;
}

.wordmark-symbol::after,
.app-brand-mark::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

.wordmark-symbol i,
.app-brand-mark i {
  display: block;
  background: var(--red);
}

.wordmark-symbol i:nth-child(1),
.app-brand-mark i:nth-child(1) {
  height: 9px;
}

.wordmark-symbol i:nth-child(2),
.app-brand-mark i:nth-child(2) {
  height: 15px;
}

.wordmark-symbol i:nth-child(3),
.app-brand-mark i:nth-child(3) {
  height: 11px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a {
  position: relative;
  color: #555a62;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--red);
  content: "";
  transition: transform .2s ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.header-source {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  color: #4b5057;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.header-source:hover {
  border-color: #b9bdc2;
  background: var(--surface);
}

.header-source i {
  font-size: 15px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--silver);
  border-radius: 5px;
  background: #fff;
  font-size: 20px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr);
  gap: 60px;
  width: var(--page);
  min-height: calc(100vh - 72px);
  align-content: center;
  margin: 0 auto;
  padding: 90px 0 46px;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(55% - 1px);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--silver) 15%, var(--silver) 85%, transparent);
  content: "";
}

.section-code {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.section-code::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-code b {
  color: #5f646c;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-platform {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 11px;
  border: 1px solid #e2b9bc;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.hero-platform i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}

.hero h1 em,
.section-intro h2 em {
  color: var(--red);
  font-style: normal;
}

.hero-description {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #aeb2b8;
  background: var(--surface);
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button.light {
  border-color: rgba(255, 255, 255, .3);
  background: #fff;
  color: var(--ink);
}

.button i {
  font-size: 17px;
}

.hero-rail {
  position: relative;
  align-self: center;
  margin-left: 30px;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(23, 25, 29, .12);
}

.hero-rail::before {
  position: absolute;
  top: -15px;
  right: 24px;
  width: 52px;
  height: 28px;
  border: 1px solid var(--silver);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: #f4f5f6;
  content: "";
}

.rail-header,
.rail-input,
.rail-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rail-header {
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--silver);
  font-family: var(--mono);
  font-size: 10px;
}

.rail-header > span {
  color: #6f747c;
}

.rail-header b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #745b16;
  font-weight: 700;
}

.rail-header b::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(228, 184, 74, .12);
  content: "";
}

.rail-input {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 24px 20px;
  border-bottom: 1px solid var(--silver);
}

.rail-input span {
  grid-row: 1 / 3;
  align-self: center;
  color: #71767e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
}

.rail-input strong {
  font-family: var(--mono);
  font-size: 19px;
  letter-spacing: -.02em;
}

.rail-input small {
  color: #6e737b;
  font-size: 11px;
}

.rail-steps {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 58px;
  list-style: none;
}

.rail-steps::before {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 34px;
  width: 1px;
  background: #cfd3d8;
  content: "";
}

.rail-steps li {
  position: relative;
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e7ea;
}

.rail-steps li:last-child {
  border-bottom: 0;
}

.rail-steps li > i {
  position: absolute;
  left: -38px;
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #cfd3d8;
  border-radius: 4px;
  background: #fff;
  color: #777c84;
  font-size: 14px;
}

.rail-steps li.done > i {
  border-color: #9cb4cd;
  background: var(--blue-soft);
  color: var(--blue);
}

.rail-steps li.active > i {
  border-color: #dcc473;
  background: var(--amber-soft);
  color: #745b16;
}

.rail-steps div {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rail-steps span {
  color: #676c74;
  font-size: 12px;
}

.rail-steps strong {
  font-size: 12px;
  font-weight: 700;
}

.rail-result {
  padding: 19px 20px;
  border-top: 1px solid var(--silver);
  background: #f7f8f9;
}

.rail-result > div {
  min-width: 0;
  flex: 1;
  border-right: 1px solid var(--silver);
}

.rail-result > div:last-child {
  border-right: 0;
}

.rail-result span,
.rail-result strong {
  display: block;
}

.rail-result span {
  color: #6d727a;
  font-size: 10px;
}

.rail-result strong {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 14px;
}

.hero-rail > p {
  margin: 0;
  padding: 9px 20px 11px;
  color: #5f646c;
  font-size: 10px;
  text-align: right;
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--silver);
}

.hero-facts > div {
  min-height: 112px;
  padding: 17px 20px;
  border-right: 1px solid var(--silver);
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts span,
.hero-facts small,
.hero-facts strong {
  display: block;
}

.hero-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.hero-facts strong {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 27px;
}

.hero-facts small {
  margin-top: 3px;
  color: #5f646c;
  font-size: 11px;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 132px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  column-gap: 50px;
  align-items: end;
  margin-bottom: 58px;
}

.section-intro .section-code {
  grid-column: 1 / -1;
}

.section-intro h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.section-intro > p:last-child {
  max-width: 500px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.observation-table {
  border-top: 2px solid var(--ink);
}

.observation-table article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 30px;
  min-height: 126px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--silver);
}

.evidence-label {
  display: inline-flex;
  width: fit-content;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
}

.evidence-label.fact {
  border: 1px solid #e2b9bc;
  background: var(--red-soft);
  color: var(--red-dark);
}

.evidence-label.inference {
  border: 1px solid #e0c670;
  background: var(--amber-soft);
  color: #705915;
}

.observation-table h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.observation-table p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.observation-table article > i {
  color: #8d9299;
  font-size: 28px;
}

.thesis {
  margin-top: 90px;
  padding: 48px 20px 52px;
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
  text-align: center;
}

.thesis > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

.thesis p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.thesis h2 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -.05em;
}

.dark-section {
  position: relative;
  width: 100%;
  padding-right: max(32px, calc((100vw - 1380px) / 2));
  padding-left: max(32px, calc((100vw - 1380px) / 2));
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
  background: #f7f8f9;
  color: var(--ink);
}

.section-intro.inverse > p:last-child {
  color: var(--muted);
}

.section-intro.inverse .section-code b {
  color: #5f646c;
}

.app-shell {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  min-height: 790px;
  overflow: hidden;
  border: 1px solid #cbd0d6;
  border-radius: 9px;
  background: #eef0f2;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(23, 25, 29, .12);
}

.app-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px 13px;
  border-right: 1px solid var(--silver);
  background: #fff;
  color: var(--ink);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 9px 22px;
  border-bottom: 1px solid var(--silver);
}

.app-brand img {
  display: block;
  width: 112px;
  height: auto;
}

.app-brand > small {
  margin-left: auto;
  color: #71767e;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
}

.app-brand > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.app-brand strong {
  color: var(--red);
  font-size: 16px;
  font-weight: 850;
}

.app-brand small {
  color: #71767e;
  font-family: var(--mono);
  font-size: 10px;
}

.app-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.app-nav {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #555b63;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.app-nav:hover {
  background: var(--surface);
  color: var(--ink);
}

.app-nav.active {
  background: var(--red-soft);
  color: var(--red-dark);
  box-shadow: inset 3px 0 var(--red);
}

.app-nav i {
  font-size: 16px;
}

.app-nav b {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
}

.app-sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 13px 11px;
  border: 1px solid #e2d6b4;
  border-radius: 5px;
  background: var(--amber-soft);
  color: #655d48;
}

.app-sidebar-note i {
  flex: 0 0 auto;
  color: #80651a;
  font-size: 16px;
}

.app-sidebar-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.app-main {
  min-width: 0;
  background: #f3f4f5;
}

.app-topbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 340px) 38px;
  min-height: 64px;
  align-items: center;
  gap: 13px;
  padding: 0 19px;
  border-bottom: 1px solid var(--silver);
  background: #fff;
}

.app-topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.app-topbar > div span {
  color: #5f646c;
}

.app-topbar > div b::before {
  margin-right: 8px;
  color: #c4c7cc;
  content: "/";
}

.app-search {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--silver);
  border-radius: 5px;
  background: #fafbfb;
}

.app-search i {
  color: #7e838a;
  font-size: 15px;
}

.app-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.app-topbar > button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--silver);
  border-radius: 5px;
  background: #fff;
}

.app-topbar > button span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
}

.app-content {
  min-height: 720px;
  padding: 22px;
}

.app-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.app-page-head > div > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.app-page-head h3 {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: -.04em;
}

.app-page-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.app-actions {
  display: flex;
  gap: 6px;
}

.app-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #d5d8dc;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.app-button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.app-button:disabled {
  cursor: wait;
  opacity: .6;
}

.app-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.app-kpi {
  min-height: 88px;
  padding: 13px;
  border: 1px solid var(--silver);
  border-radius: 5px;
  background: #fff;
}

.app-kpi span,
.app-kpi strong,
.app-kpi small {
  display: block;
}

.app-kpi span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.app-kpi strong {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 22px;
}

.app-kpi small {
  margin-top: 3px;
  color: #5f646c;
  font-size: 10px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, .58fr);
  gap: 10px;
}

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

.app-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--silver);
  border-radius: 5px;
  background: #fff;
}

.app-card.full {
  grid-column: 1 / -1;
}

.app-card-head {
  display: flex;
  min-height: 36px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.app-card-head h4 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -.02em;
}

.app-card-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.app-source {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid #dddfe2;
  border-radius: 4px;
  color: #6c7178;
  font-family: var(--mono);
  font-size: 9px;
}

.app-table-wrap {
  overflow-x: auto;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.app-table th {
  padding: 9px 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--silver);
  background: #f6f7f8;
  color: #5f646c;
  font-size: 9px;
  font-weight: 750;
  text-align: left;
  white-space: nowrap;
}

.app-table td {
  padding: 11px 8px;
  border-bottom: 1px solid #eceef0;
  vertical-align: middle;
}

.app-table tr:last-child td {
  border-bottom: 0;
}

.model-code {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.model-sub {
  display: block;
  margin-top: 2px;
  color: #5f646c;
  font-size: 9px;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status.ok {
  background: var(--success-soft);
  color: var(--success);
}

.status.warn {
  background: var(--amber-soft);
  color: #80651a;
}

.status.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status.neutral {
  background: #eef0f2;
  color: #666c74;
}

.quote-row.pending .status.after,
.quote-row.resolved .status.before,
.quote-row.pending .resolved-only,
.quote-row.resolved .pending-only {
  display: none;
}

.quote-row.resolved {
  background: #fbfcfc;
}

.branch-list {
  border-top: 1px solid var(--ink);
}

.branch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 78px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid #e6e8eb;
}

.branch-row > div strong,
.branch-row > div small {
  display: block;
}

.branch-row > div strong {
  font-size: 11px;
}

.branch-row > div small {
  margin-top: 2px;
  color: #5f646c;
  font-size: 9px;
}

.branch-row > strong {
  font-family: var(--mono);
  font-size: 12px;
  text-align: right;
}

.branch-row > span {
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.assistant-card {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #ded4b8;
  border-radius: 5px;
  background: #fffaf0;
}

.assistant-card > header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #684f0d;
  font-size: 11px;
  font-weight: 800;
}

.assistant-card > p {
  margin: 8px 0 0;
  color: #625a47;
  font-size: 10px;
  line-height: 1.55;
}

.assistant-card ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.assistant-card li {
  position: relative;
  padding: 5px 0 5px 12px;
  border-top: 1px solid #eadfca;
  color: #544d3e;
  font-size: 10px;
}

.assistant-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--amber);
  content: "";
}

.activity-list {
  border-top: 1px solid var(--ink);
}

.activity-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: start;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid #e7e9eb;
}

.activity-row > i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 4px;
  background: var(--surface);
  font-size: 12px;
}

.activity-row strong,
.activity-row small {
  display: block;
}

.activity-row strong {
  font-size: 10px;
}

.activity-row small,
.activity-row time {
  margin-top: 2px;
  color: #8c9198;
  font-size: 9px;
}

.branch-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--silver);
}

.branch-cell {
  min-height: 105px;
  padding: 13px;
  border-right: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
}

.branch-cell span,
.branch-cell strong,
.branch-cell small {
  display: block;
}

.branch-cell span {
  color: var(--muted);
  font-size: 10px;
}

.branch-cell strong {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 18px;
}

.branch-cell small {
  margin-top: 3px;
  color: #8d9299;
  font-size: 9px;
}

.transfer-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--silver);
  background: #fafbfb;
}

.transfer-flow > div {
  padding: 12px;
  background: #fff;
}

.transfer-flow span,
.transfer-flow strong,
.transfer-flow small {
  display: block;
}

.transfer-flow span {
  color: var(--muted);
  font-size: 9px;
}

.transfer-flow strong {
  margin-top: 4px;
  font-size: 12px;
}

.transfer-flow small {
  margin-top: 2px;
  color: #5f646c;
  font-size: 9px;
}

.transfer-flow > i {
  color: var(--red);
  font-size: 20px;
}

.customer-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid #e2b9bc;
  border-radius: 5px;
  background: var(--red-soft);
  color: var(--ink);
}

.customer-hero span {
  color: var(--red-dark);
  font-size: 10px;
}

.customer-hero h4 {
  margin: 5px 0 0;
  font-size: 20px;
}

.customer-hero p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.customer-hero > div:last-child {
  text-align: right;
}

.customer-hero strong {
  display: block;
  font-family: var(--mono);
  font-size: 18px;
}

.project-list {
  border-top: 1px solid var(--ink);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) .6fr .6fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid #e6e8eb;
}

.project-row strong,
.project-row small,
.project-row span {
  display: block;
}

.project-row strong {
  font-size: 11px;
}

.project-row small {
  margin-top: 2px;
  color: #5f646c;
  font-size: 9px;
}

.project-row > span {
  color: var(--muted);
  font-size: 10px;
}

.project-row > b {
  font-family: var(--mono);
  font-size: 11px;
}

.funnel {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 10px;
}

.funnel-row > span {
  color: var(--muted);
  font-size: 10px;
}

.funnel-row progress {
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 0;
  background: #eceef0;
}

.funnel-row progress::-webkit-progress-bar {
  background: #eceef0;
}

.funnel-row progress::-webkit-progress-value {
  background: var(--red);
}

.funnel-row progress::-moz-progress-bar {
  background: var(--red);
}

.funnel-row > strong {
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.insight-list {
  border-top: 1px solid var(--ink);
}

.insight-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e7e9;
}

.insight-row > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 14px;
}

.insight-row strong {
  display: block;
  font-size: 11px;
}

.insight-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.simulation-note {
  margin: 11px 0 0;
  color: #5f646c;
  font-size: 10px;
  text-align: right;
}

.capability-list {
  border-top: 2px solid var(--ink);
}

.capability-list article {
  position: relative;
  display: grid;
  grid-template-columns: 125px 240px minmax(0, 1fr) minmax(280px, .8fr) 44px;
  align-items: start;
  gap: 28px;
  min-height: 158px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--silver);
}

.capability-list article > span {
  padding-top: 4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
}

.capability-list h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.03em;
}

.capability-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.capability-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding: 3px 0 3px 13px;
  color: #555a61;
  font-size: 13px;
}

.capability-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--red);
  content: "";
}

.capability-list article > i {
  color: #9ba0a7;
  font-size: 30px;
}

.journey {
  border-top: 1px solid var(--silver-2);
}

.journey-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  align-items: stretch;
}

.journey-column {
  padding: 28px;
  border: 1px solid var(--silver);
  border-radius: 7px;
}

.journey-column.proposed {
  border-color: #e1b9bc;
  background: #fffafa;
}

.journey-column header {
  min-height: 72px;
  border-bottom: 1px solid var(--ink);
}

.journey-column header span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}

.journey-column.proposed header span {
  color: var(--red);
}

.journey-column h3 {
  margin: 8px 0 0;
  font-size: 20px;
}

.journey-column ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-column li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  min-height: 86px;
  align-items: center;
  border-bottom: 1px solid var(--silver-2);
}

.journey-column li:last-child {
  border-bottom: 0;
}

.journey-column li > b {
  color: #a1a6ad;
  font-family: var(--mono);
  font-size: 9px;
}

.journey-column.proposed li > b {
  color: var(--red);
}

.journey-column li strong {
  display: block;
  font-size: 15px;
}

.journey-column li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.journey-switch {
  display: grid;
  place-items: center;
}

.journey-switch i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 19px;
}

.system-map {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 44px minmax(360px, 1.5fr) 44px minmax(220px, .75fr);
  align-items: center;
  gap: 15px;
}

.system-source,
.system-core {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--silver);
  border-radius: 6px;
  background: #fff;
}

.system-source > span,
.system-core > span {
  display: block;
  margin-bottom: 20px;
  color: #6f747c;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.system-source strong {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-top: 1px solid var(--silver);
  color: var(--ink);
  font-size: 13px;
}

.system-source strong:last-child {
  border-bottom: 1px solid var(--silver);
}

.system-core {
  min-height: 330px;
  border-color: #e2b9bc;
  background: var(--red-soft);
}

.system-core > span {
  color: var(--red);
}

.system-core h3 {
  max-width: 460px;
  margin: 44px 0 0;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.system-core > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: #e6c7ca;
}

.system-core b {
  padding: 12px;
  background: #fffafa;
  color: #5d3b3e;
  font-size: 11px;
}

.system-map > i {
  color: #737982;
  font-size: 24px;
  text-align: center;
}

.integration-caveat {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 18px 20px;
  border: 1px solid #e2d6b4;
  border-radius: 6px;
  background: var(--amber-soft);
}

.integration-caveat > i {
  color: #80651a;
  font-size: 25px;
}

.integration-caveat strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.integration-caveat p {
  margin: 4px 0 0;
  color: #655d48;
  font-size: 13px;
  line-height: 1.65;
}

.roadmap-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--silver);
}

.roadmap-rail article {
  min-height: 340px;
  padding: 24px;
  border-right: 1px solid var(--silver);
}

.roadmap-rail article:last-child {
  border-right: 0;
}

.roadmap-rail article > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.roadmap-rail article > div {
  margin-top: 75px;
}

.roadmap-rail p {
  margin: 0;
  color: #8d9299;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.roadmap-rail h3 {
  margin: 10px 0 0;
  font-size: 20px;
}

.roadmap-rail ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-rail li {
  position: relative;
  padding: 5px 0 5px 12px;
  color: var(--muted);
  font-size: 13px;
}

.roadmap-rail li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--red);
  content: "";
}

.pilot-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pilot-metrics > div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--silver);
  border-radius: 6px;
  background: var(--surface);
}

.pilot-metrics span,
.pilot-metrics strong,
.pilot-metrics p {
  display: block;
}

.pilot-metrics span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.pilot-metrics strong {
  margin-top: 14px;
  font-size: 15px;
}

.pilot-metrics p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.sources {
  border-top: 1px solid var(--silver-2);
}

.source-list {
  border-top: 2px solid var(--ink);
}

.source-list a {
  display: grid;
  grid-template-columns: 120px 1fr 24px;
  align-items: center;
  gap: 25px;
  min-height: 86px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--silver);
  color: var(--ink);
  text-decoration: none;
}

.source-list a:hover strong {
  color: var(--red);
}

.source-list a > span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.source-list strong {
  display: block;
  font-size: 16px;
  transition: color .18s ease;
}

.source-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.source-list i {
  color: #999ea5;
  font-size: 18px;
}

.source-disclaimer {
  max-width: 1040px;
  margin: 34px 0 0 auto;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  color: #655d48;
  font-size: 13px;
  line-height: 1.7;
}

.source-disclaimer strong {
  color: var(--ink);
}

.closing {
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 90px max(32px, calc((100vw - 1380px) / 2));
  border-top: 1px solid var(--silver);
  background: #f7f8f9;
  color: var(--ink);
}

.closing-copy > span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
}

.closing h2 {
  max-width: 1000px;
  margin: 24px 0 0;
  font-size: clamp(45px, 6vw, 84px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.065em;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  min-height: 100px;
  align-items: center;
  gap: 30px;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  border-top: 1px solid var(--silver);
  background: #fff;
  color: var(--ink);
}

.footer-wordmark strong {
  color: var(--red);
}

footer p,
footer > a {
  color: #5f646c;
  font-size: 11px;
}

footer > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.copilot-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  min-width: 205px;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 9px;
  border: 1px solid #cdd1d6;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(23, 25, 29, .16);
  text-align: left;
}

.copilot-launcher > span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #e2d6b4;
  border-radius: 5px;
  background: var(--amber-soft);
  color: #80651a;
  font-size: 19px;
}

.copilot-launcher strong,
.copilot-launcher small {
  display: block;
}

.copilot-launcher strong {
  font-size: 13px;
}

.copilot-launcher small {
  margin-top: 2px;
  color: #737880;
  font-size: 10px;
}

.copilot-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 95;
  width: min(380px, calc(100vw - 30px));
  overflow: hidden;
  border: 1px solid #cdd1d6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(23, 25, 29, .24);
}

.copilot-panel[hidden] {
  display: none;
}

.copilot-panel > header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--silver);
}

.copilot-panel > header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.copilot-panel > header > div > span {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 5px;
  background: var(--amber-soft);
  color: #715a18;
  font-size: 17px;
}

.copilot-panel > header strong,
.copilot-panel > header small {
  display: block;
}

.copilot-panel > header strong {
  font-size: 13px;
}

.copilot-panel > header small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.copilot-panel > header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 18px;
}

.copilot-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid var(--silver-2);
  background: #f7f8f9;
  font-size: 10px;
}

.copilot-context span {
  color: var(--muted);
}

.copilot-messages {
  display: grid;
  gap: 10px;
  min-height: 190px;
  max-height: 300px;
  overflow-y: auto;
  padding: 14px;
}

.copilot-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 5px;
  background: #f1f3f4;
  color: #4f545b;
  font-size: 12px;
  line-height: 1.6;
}

.copilot-message.user {
  justify-self: end;
  background: var(--red-soft);
  color: var(--red-dark);
}

.copilot-suggestions {
  display: flex;
  gap: 6px;
  padding: 0 14px 12px;
  overflow-x: auto;
}

.copilot-suggestions button {
  min-height: 30px;
  flex: 0 0 auto;
  padding: 0 9px;
  border: 1px solid var(--silver);
  border-radius: 4px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.copilot-panel > p {
  margin: 0;
  padding: 9px 14px;
  border-top: 1px solid var(--silver-2);
  background: #f7f8f9;
  color: #8b9096;
  font-size: 9px;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 100px;
  z-index: 110;
  display: grid;
  gap: 8px;
}

.toast {
  width: min(330px, calc(100vw - 30px));
  padding: 13px 14px;
  border: 1px solid #cdd1d6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(23, 25, 29, .16);
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  font-size: 12px;
}

.toast span {
  margin-top: 3px;
  color: #737880;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --page: min(100% - 44px, 1100px);
  }

  .site-header {
    padding: 0 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
    gap: 36px;
  }

  .hero::before {
    display: none;
  }

  .hero-rail {
    margin-left: 0;
  }

  .dark-section,
  .closing,
  footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .capability-list article {
    grid-template-columns: 100px 200px minmax(0, 1fr) 240px 36px;
    gap: 20px;
  }

  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .branch-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav,
  .header-source {
    display: none;
  }

  .site-header.menu-open nav {
    position: absolute;
    top: 71px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 22px 18px;
    border-bottom: 1px solid var(--silver);
    background: #fff;
  }

  .site-header.menu-open nav a {
    min-height: 44px;
    padding: 12px 0;
    border-bottom: 1px solid var(--silver-2);
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

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

  .hero-rail {
    width: min(100%, 650px);
  }

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

  .hero-facts > div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--silver);
  }

  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .observation-table article {
    grid-template-columns: 105px 1fr 38px;
    gap: 18px;
  }

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

  .app-sidebar {
    display: block;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid #343840;
  }

  .app-brand {
    padding-bottom: 12px;
  }

  .app-sidebar nav {
    display: flex;
    margin-top: 12px;
    overflow-x: auto;
  }

  .app-nav {
    grid-template-columns: 20px auto auto;
    flex: 0 0 auto;
  }

  .app-sidebar-note {
    display: none;
  }

  .app-grid,
  .app-grid.equal {
    grid-template-columns: 1fr;
  }

  .app-card.full {
    grid-column: auto;
  }

  .capability-list article {
    grid-template-columns: 100px 190px minmax(0, 1fr) 36px;
  }

  .capability-list ul {
    grid-column: 3;
  }

  .capability-list article > i {
    grid-column: 4;
    grid-row: 1;
  }

  .journey-board {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .journey-switch {
    min-height: 50px;
  }

  .journey-switch i {
    transform: rotate(90deg);
  }

  .system-map {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .system-map > i {
    transform: rotate(90deg);
  }

  .system-source,
  .system-core {
    min-height: auto;
  }

  .system-core h3 {
    margin-top: 25px;
  }

  .roadmap-rail,
  .pilot-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-rail article:nth-child(2) {
    border-right: 0;
  }

  .roadmap-rail article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--silver);
  }

  .closing {
    min-height: 450px;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 26px);
  }

  body {
    word-break: keep-all;
  }

  .site-header {
    min-height: 62px;
    padding: 0 13px;
  }

  .site-header.menu-open nav {
    top: 61px;
    padding-right: 13px;
    padding-left: 13px;
  }

  .hero {
    padding-top: 54px;
  }

  .section-code {
    gap: 9px;
    margin-bottom: 17px;
  }

  .section-code::before {
    width: 20px;
  }

  .hero h1 {
    font-size: clamp(40px, 12.3vw, 56px);
  }

  .hero-description {
    margin-top: 21px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-rail::before {
    display: none;
  }

  .rail-input {
    grid-template-columns: 1fr;
  }

  .rail-input span {
    grid-row: auto;
  }

  .rail-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .rail-result > div {
    width: 100%;
    padding-bottom: 9px;
    border-right: 0;
    border-bottom: 1px solid #3a3e45;
  }

  .rail-result > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hero-facts {
    margin-top: 25px;
  }

  .hero-facts > div {
    min-height: 102px;
    padding: 14px;
  }

  .hero-facts strong {
    font-size: 23px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .section-intro h2 {
    font-size: 39px;
  }

  .section-intro > p:last-child {
    font-size: 12px;
  }

  .observation-table article {
    grid-template-columns: 1fr 34px;
    gap: 12px;
    padding: 22px 4px;
  }

  .observation-table .evidence-label {
    grid-column: 1 / -1;
  }

  .observation-table article > i {
    grid-column: 2;
    grid-row: 2;
  }

  .thesis {
    margin-top: 58px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .thesis h2 {
    font-size: 35px;
  }

  .dark-section,
  .closing,
  footer {
    padding-right: 13px;
    padding-left: 13px;
  }

  .app-shell {
    margin-right: -1px;
    margin-left: -1px;
  }

  .app-sidebar nav {
    padding-bottom: 3px;
  }

  .app-topbar {
    grid-template-columns: 1fr 36px;
    padding: 0 12px;
  }

  .app-search {
    display: none;
  }

  .app-content {
    min-height: 700px;
    padding: 14px;
  }

  .app-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-actions {
    width: 100%;
  }

  .app-actions .app-button {
    flex: 1;
  }

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

  .app-table {
    min-width: 670px;
  }

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

  .transfer-flow {
    grid-template-columns: 1fr;
  }

  .transfer-flow > i {
    transform: rotate(90deg);
    text-align: center;
  }

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

  .customer-hero > div:last-child {
    text-align: left;
  }

  .project-row {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .project-row > span,
  .project-row > b {
    grid-column: 1;
  }

  .project-row .status {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .capability-list article {
    grid-template-columns: 1fr 38px;
    gap: 14px;
  }

  .capability-list article > span,
  .capability-list h3,
  .capability-list p,
  .capability-list ul {
    grid-column: 1;
  }

  .capability-list article > i {
    grid-column: 2;
    grid-row: 1;
  }

  .journey-column {
    padding: 21px 18px;
  }

  .roadmap-rail,
  .pilot-metrics {
    grid-template-columns: 1fr;
  }

  .roadmap-rail article {
    min-height: 285px;
    border-right: 0;
    border-bottom: 1px solid var(--silver);
  }

  .roadmap-rail article > div {
    margin-top: 55px;
  }

  .source-list a {
    grid-template-columns: 1fr 20px;
    gap: 6px 12px;
    padding: 16px 4px;
  }

  .source-list a > span {
    grid-column: 1;
  }

  .source-list a > div {
    grid-column: 1;
  }

  .source-list a > i {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .closing {
    min-height: 520px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .closing h2 {
    font-size: 48px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .copilot-launcher {
    right: 13px;
    bottom: 13px;
    min-width: 54px;
    min-height: 54px;
    padding: 7px;
  }

  .copilot-launcher > div {
    display: none;
  }

  .copilot-panel {
    right: 13px;
    bottom: 77px;
  }

  .toast-region {
    right: 13px;
    bottom: 77px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
