:root {
  color-scheme: light;
  --saints-blue: #003366;
  --campus-blue: #1578c1;
  --gold: #f4bb33;
  --charcoal: #444444;
  --silver: #cccccc;
  --white: #ffffff;
  --paper: #f4f8fc;
  --paper-2: #edf4fb;
  --ink: #15314d;
  --ink-soft: rgba(21, 49, 77, 0.72);
  --line: rgba(0, 51, 102, 0.1);
  --line-strong: rgba(0, 51, 102, 0.18);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-blue: rgba(238, 245, 252, 0.82);
  --shadow-lg: 0 18px 36px rgba(8, 37, 66, 0.05);
  --shadow-md: 0 8px 18px rgba(8, 37, 66, 0.035);
  --radius-2xl: 16px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-display: "Gantari", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-body: "Gantari", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Code", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(21, 120, 193, 0.06), transparent 18%),
    radial-gradient(circle at top right, rgba(244, 187, 51, 0.06), transparent 14%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 42%, #eef4fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 51, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 102, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 56%);
  opacity: 0.45;
}

.page-shell {
  position: relative;
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.masthead,
.panel,
.hero-panel,
.mockup,
.hero-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.masthead,
.panel,
.hero-card,
.mockup-topbar,
.mockup-grid section,
.surface-card,
.type-card,
.mock-lanes article,
.swatch {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
  padding: 24px 26px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.46);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-lockup > div {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(21, 120, 193, 0.2);
  border-radius: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(145deg, #1f8ce1, #0f4f8d);
}

.kicker,
.eyebrow,
.type-label,
.mock-label {
  margin: 0 0 10px;
  color: #b68615;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead h1,
.hero-copy h2,
.section-heading h2,
.type-card h3,
.mock-hero h3,
.swatch h3 {
  margin: 0;
  font-family: var(--font-display);
}

.masthead h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 100%;
  text-wrap: balance;
}

.masthead-note,
.hero-copy p,
.section-heading p,
.swatch p,
.swatch small,
.type-card span,
.surface-card span,
.plain-list,
.mockup span,
.hero-card span {
  color: var(--ink-soft);
}

.masthead-note {
  margin: 0;
  line-height: 1.65;
}

.board-flow {
  display: grid;
  gap: 24px;
}

.open-section {
  display: grid;
  gap: 18px;
}

.open-section-large {
  gap: 20px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.5);
}

.hero-copy {
  padding: 8px 4px;
}

.hero-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-copy p:last-of-type {
  max-width: 62ch;
  line-height: 1.72;
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.hero-signal {
  padding: 14px 16px;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.14));
}

.hero-signal-primary {
  border-top-width: 2px;
  border-top-color: rgba(21, 120, 193, 0.42);
}

.signal-label {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-signal strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-signal span,
.hero-card-note span {
  line-height: 1.6;
}

.principle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 18px;
}

.principle-row span,
.mock-pills span,
.mock-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
}

.hero-card,
.panel {
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.48);
}

.hero-card {
  padding: 22px;
}

.hero-card-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.stance-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stance-list {
  display: grid;
  gap: 14px;
}

.stance-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
}

.stance-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stance-list strong,
.mock-side strong {
  font-size: 1.04rem;
  font-weight: 700;
}

.panel {
  padding: 24px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.55rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.swatch {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-md);
}

.swatch-chip {
  width: 18px;
  min-width: 18px;
  height: 92px;
  border-radius: 999px;
  background: var(--white);
}

.swatch h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.swatch p,
.swatch small {
  margin: 0;
}

.swatch small {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.swatch.saints .swatch-chip {
  background: var(--saints-blue);
}

.swatch.campus .swatch-chip {
  background: var(--campus-blue);
}

.swatch.gold .swatch-chip {
  background: var(--gold);
}

.swatch.charcoal .swatch-chip {
  background: var(--charcoal);
}

.swatch.silver .swatch-chip {
  background: var(--silver);
}

.swatch.white .swatch-chip {
  background: var(--white);
  border: 1px solid rgba(0, 51, 102, 0.06);
}

.split-panel,
.triple-grid {
  display: grid;
  gap: 24px;
}

.split-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-panel-open {
  align-items: start;
}

.surface-stack,
.type-stack {
  display: grid;
  gap: 16px;
}

.surface-card,
.type-card {
  padding: 18px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-xl);
}

.surface-card p,
.type-card p,
.mock-lanes p {
  margin: 0 0 6px;
  font-weight: 700;
}

.surface-card span,
.type-card span,
.mock-lanes span,
.mock-side span {
  line-height: 1.55;
}

.surface-hero {
  min-height: 138px;
  background:
    linear-gradient(180deg, rgba(240, 246, 252, 0.94), rgba(255, 255, 255, 0.82));
}

.surface-section {
  min-height: 118px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 252, 0.82));
}

.surface-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.surface-tile {
  background: rgba(255, 255, 255, 0.7);
}

.surface-signal {
  background:
    linear-gradient(180deg, rgba(244, 187, 51, 0.12), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.64);
}

.type-card h3 {
  margin-bottom: 10px;
  font-size: 1.85rem;
  line-height: 1.05;
}

.detail-card {
  border-top: 2px solid rgba(21, 120, 193, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.signal-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.signal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  background: rgba(244, 247, 251, 0.92);
}

.signal-badge-blue {
  border-color: rgba(21, 120, 193, 0.18);
  background: rgba(232, 242, 251, 0.96);
}

.signal-badge-gold {
  border-color: rgba(244, 187, 51, 0.22);
  background: rgba(255, 248, 230, 0.96);
}

.mono-card code {
  display: block;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-md);
  color: #1c4b75;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.6;
  background: rgba(242, 247, 252, 0.9);
  word-break: break-word;
}

.mockup {
  padding: 18px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.5);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
}

.mock-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-top: 1px solid rgba(0, 51, 102, 0.16);
  color: var(--ink-soft);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.36);
}

.mock-meta-pill-blue {
  border-top-color: rgba(21, 120, 193, 0.38);
  color: var(--ink);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(244, 187, 51, 0.32);
}

.mock-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.mockup button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(21, 120, 193, 0.18);
  border-radius: 999px;
  color: var(--white);
  font: inherit;
  font-weight: 800;
  background: linear-gradient(135deg, #45a3ef 0%, #1578c1 100%);
  box-shadow: 0 14px 28px rgba(21, 120, 193, 0.18);
}

.mockup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 16px;
}

.mockup-grid section {
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
}

.mock-hero {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 246, 251, 0.82));
}

.mock-hero h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.mock-hero-copy {
  max-width: 56ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.mock-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mock-audit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.audit-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mock-audit-row strong {
  font-size: 1rem;
}

.mock-side {
  display: grid;
  gap: 14px;
}

.mock-side article,
.mock-lanes article {
  padding: 18px;
}

.mock-lanes {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
  border: 0;
}

.mock-lanes article {
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
}

.triple-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.open-pillars {
  gap: 30px;
  padding-top: 8px;
}

.pillar {
  padding-right: 20px;
  border-right: 1px solid rgba(0, 51, 102, 0.08);
}

.pillar:last-child {
  border-right: 0;
  padding-right: 0;
}

.plain-list {
  display: grid;
  gap: 12px;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #ffdd87);
}

@media (max-width: 1180px) {
  .masthead,
  .hero-panel,
  .split-panel,
  .triple-grid,
  .mockup-grid,
  .hero-signal-grid {
    grid-template-columns: 1fr;
  }

  .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-lanes {
    grid-template-columns: 1fr;
  }

  .mock-audit-row {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 51, 102, 0.08);
    padding-bottom: 22px;
  }

  .pillar:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 16px, 1320px);
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .masthead,
  .hero-panel,
  .panel,
  .mockup {
    padding: 18px;
  }

  .swatch-grid,
  .surface-row {
    grid-template-columns: 1fr;
  }

  .mockup-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mock-nav,
  .principle-row,
  .mock-pills {
    justify-content: flex-start;
  }

  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .masthead h1 {
    font-size: 2.1rem;
  }

  .hero-copy h2,
  .section-heading h2 {
    max-width: none;
  }
}
