:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-2: #e8eeee;
  --ink: #20201d;
  --muted: #66716d;
  --line: #d5dcda;
  --accent: #0f766e;
  --accent-dark: #0b5c56;
  --warn: #a15c00;
  --danger: #b42318;
  --ok: #26734d;
  --focus: #246bfe;
  --shadow: 0 12px 30px rgba(25, 39, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.topnav a {
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 14px;
}

.topnav a:hover {
  background: var(--surface-2);
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
}

.band.compact {
  align-items: center;
}

.public-hero {
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.lede {
  color: var(--muted);
  max-width: 720px;
  font-size: 17px;
  margin-bottom: 0;
}

.content-grid,
.panel,
.login-panel {
  width: 100%;
}

.panel,
.login-panel,
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 20px;
  margin-bottom: 20px;
}

.login-panel {
  max-width: 420px;
  padding: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 16px 0 8px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.form-panel {
  max-width: 880px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.two-column.wide-left {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.metric strong {
  font-size: 24px;
}

.split-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.field-grid {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  font: inherit;
  min-height: 42px;
}

input[readonly] {
  color: var(--muted);
  background: #f8fbfa;
}

textarea {
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(36, 107, 254, 0.22);
  outline-offset: 2px;
  border-color: var(--focus);
}

.qty-input {
  width: 84px;
  min-width: 84px;
}

.qty-col {
  width: 120px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  background: #f8fbfa;
}

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

.compact-table th,
.compact-table td {
  padding: 8px;
}

.invitee-table {
  min-width: 920px;
}

.invitee-table th:nth-child(1),
.invitee-table td:nth-child(1) {
  width: 190px;
}

.invitee-table th:nth-child(2),
.invitee-table td:nth-child(2) {
  width: 260px;
}

.invitee-table th:nth-child(3),
.invitee-table td:nth-child(3) {
  width: 150px;
}

.link-cell {
  min-width: 170px;
}

.link-cell a,
.link-cell span {
  display: block;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
  background: #eef4f2;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.danger {
  color: var(--danger);
}

.button.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}

.button.full {
  width: 100%;
  margin-top: 8px;
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button-row,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tabs a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}

.tabs a.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ece7dc;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.status.large {
  font-size: 14px;
  padding: 8px 12px;
}

.status.approved,
.status.fulfilled,
.status.sent {
  background: #dff4e8;
  color: var(--ok);
}

.status.pending,
.status.assigned,
.status.dry_run {
  background: #fff1d6;
  color: var(--warn);
}

.status.waitlisted,
.status.partially_approved,
.status.partial {
  background: #e7efff;
  color: #2556a3;
}

.status.rejected,
.status.failed {
  background: #fde3df;
  color: var(--danger);
}

.alert {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9e8;
  color: var(--warn);
  margin-bottom: 16px;
}

.alert.danger {
  background: #fff1ef;
  color: var(--danger);
  border-color: #f3b5ad;
}

.notice {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef4f2;
  margin-bottom: 16px;
}

.notice.success {
  color: var(--ok);
  border-color: #b8dfc9;
  background: #eefaf3;
}

.notice.error {
  color: var(--danger);
  border-color: #f3b5ad;
  background: #fff1ef;
}

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

.small-copy {
  font-size: 13px;
  margin-bottom: 0;
}

.guardrail-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.guardrail-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.guardrail-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guardrail-item h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.guardrail-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.empty-state {
  max-width: 560px;
  padding: 48px 0;
}

.error-box {
  max-width: 100%;
  overflow: auto;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.8fr) 42px;
  gap: 12px;
  align-items: center;
}

.event-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.progress {
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.key-list {
  display: grid;
  gap: 10px;
}

.key-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.key-list dt {
  color: var(--muted);
}

.key-list dd {
  margin: 0;
  font-weight: 800;
}

.marketing-shell {
  width: min(1240px, calc(100% - 32px));
  padding-top: 0;
}

.gtc-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 64px));
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #18231f url("/images/gtc-operations-hero.png") center / cover no-repeat;
}

.gtc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 20, 0.88) 0%, rgba(16, 23, 20, 0.76) 36%, rgba(16, 23, 20, 0.28) 72%, rgba(16, 23, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 23, 20, 0.58), rgba(16, 23, 20, 0.08) 45%);
}

.gtc-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 100px;
  color: #fff;
}

.gtc-kicker {
  margin: 0 0 12px;
  color: #d9b46c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gtc-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.94;
}

.gtc-hero-copy {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.34;
}

.gtc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button.light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gtc-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.gtc-signal-row span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
}

.gtc-proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background: #cbd5d1;
  border-bottom: 1px solid var(--line);
}

.gtc-proof-band div {
  min-height: 148px;
  padding: 28px;
  background: #f8faf8;
}

.gtc-proof-band strong,
.gtc-proof-band span {
  display: block;
}

.gtc-proof-band strong {
  max-width: 340px;
  margin-bottom: 10px;
  font-size: 18px;
}

.gtc-proof-band span {
  max-width: 420px;
  color: var(--muted);
}

.gtc-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head h2,
.gtc-cta h2,
.founder-copy h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.logo-section {
  padding-top: 64px;
}

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

.logo-tile {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #1f2420;
  text-align: center;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.08;
  box-shadow: 0 8px 18px rgba(21, 31, 28, 0.05);
}

.logo-tile.staley {
  border-top: 5px solid #0f766e;
}

.logo-tile.circa {
  border-top: 5px solid #a37a2c;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.logo-tile.kirby {
  border-top: 5px solid #b42318;
  text-transform: uppercase;
}

.logo-tile.purdue {
  border-top: 5px solid #98753b;
  letter-spacing: 0;
}

.logo-tile.cold {
  border-top: 5px solid #66716d;
}

.logo-tile.gtc {
  border-top: 5px solid #214f7a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-index {
  display: inline-block;
  margin-bottom: 38px;
  color: #a37a2c;
  font-size: 12px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.case-list {
  display: grid;
  gap: 14px;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.case-row.featured {
  background: #10231f;
  border-color: #10231f;
  color: #fff;
}

.case-row.featured p,
.case-row.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.case-label {
  margin-bottom: 8px;
  color: #a37a2c;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-row h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.02;
}

.case-row p {
  max-width: 720px;
  color: var(--muted);
}

.case-row ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.case-row li + li {
  margin-top: 8px;
}

.process-band {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding-left: max(16px, calc((100vw - 1240px) / 2));
  padding-right: max(16px, calc((100vw - 1240px) / 2));
  background: #eef2ef;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-grid div {
  padding: 20px 0 0;
  border-top: 3px solid #d9b46c;
}

.process-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 850;
}

.process-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: start;
}

.founder-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.founder-facts {
  display: grid;
  gap: 10px;
}

.founder-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.founder-facts span {
  margin-top: 4px;
  color: var(--muted);
}

.gtc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 0;
  padding: 34px;
  border-radius: 8px;
  background: #1c2d29;
  color: #fff;
}

.gtc-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .topbar,
  .band,
  .split-head {
    align-items: stretch;
    flex-direction: column;
  }

  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .metric-grid,
  .grid.two,
  .two-column,
  .two-column.wide-left,
  .field-grid.two {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 12px;
  }

  .topnav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 36px;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .marketing-shell {
    width: min(100% - 20px, 1240px);
  }

  .gtc-hero {
    min-height: 640px;
    background-position: 62% center;
  }

  .gtc-hero-overlay {
    background: linear-gradient(90deg, rgba(16, 23, 20, 0.92), rgba(16, 23, 20, 0.64));
  }

  .gtc-hero-inner {
    width: min(100% - 24px, 1240px);
    padding: 50px 0 64px;
  }

  .gtc-proof-band,
  .logo-grid,
  .service-grid,
  .case-row,
  .process-grid,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .gtc-proof-band div {
    min-height: 0;
    padding: 22px 18px;
  }

  .gtc-section {
    padding: 52px 0;
  }

  .logo-grid {
    gap: 8px;
  }

  .logo-tile {
    min-height: 84px;
  }

  .service-card {
    min-height: 0;
  }

  .service-index {
    margin-bottom: 18px;
  }

  .process-band {
    padding-left: 10px;
    padding-right: 10px;
  }

  .gtc-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .gtc-cta .button {
    width: 100%;
  }
}
