:root {
  --ink: #101214;
  --panel: #191c20;
  --paper: #f3efe7;
  --muted: #aaa59d;
  --line: #373a3e;
  --bronze: #c17f3f;
  --bronze-light: #dda15f;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(circle at 50% 42%, rgba(193, 127, 63, .12), transparent 34%),
    linear-gradient(135deg, transparent 49.8%, rgba(255, 255, 255, .025) 50%, transparent 50.2%),
    var(--ink);
  background-size: auto, 42px 42px, auto;
  color: var(--paper);
  font: 16px/1.5 Manrope, Arial, sans-serif;
}

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

.portal-header,
.portal-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-header {
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.brand span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bronze);
  color: var(--ink);
  font-family: "DM Mono", monospace;
}

.portal-header > p,
.portal-footer {
  color: var(--muted);
  font-size: 12px;
}

.portal {
  width: min(1050px, calc(100% - 48px));
  margin: auto;
  padding: 72px 0;
  text-align: center;
}

.intro { max-width: 720px; margin: 0 auto 42px; }

.eyebrow,
.card-label {
  margin: 0 0 12px;
  color: var(--bronze-light);
  font: 500 11px/1.3 "DM Mono", monospace;
  letter-spacing: 1.2px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -3.5px;
}

.intro > p:last-child {
  max-width: 590px;
  margin: 20px auto 0;
  color: #c5c0b8;
  font-size: 16px;
}

.path-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  min-height: 310px;
  padding: 38px 34px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(25, 28, 32, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  transition: transform .2s ease, border-color .2s ease;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(221, 161, 95, .55);
}

.buyer-card {
  background: linear-gradient(160deg, rgba(46, 39, 31, .98), rgba(25, 28, 32, .98));
}

.path-card h2 {
  max-width: 390px;
  margin: 0 0 25px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -1.3px;
}

.button {
  min-width: 205px;
  min-height: 48px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--bronze);
  border-radius: 9px;
  background: var(--bronze);
  color: #17120e;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.button:hover { background: var(--bronze-light); }

.button-dark {
  background: transparent;
  color: var(--paper);
}

.button-dark:hover {
  background: var(--bronze);
  color: #17120e;
}

.description {
  max-width: 390px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.portal-footer {
  min-height: 66px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 720px) {
  .portal-header,
  .portal-footer,
  .portal { width: min(100% - 32px, 520px); }
  .portal-header > p { display: none; }
  .portal { padding: 48px 0; }
  .intro { margin-bottom: 30px; }
  .intro h1 { font-size: 48px; letter-spacing: -2.6px; }
  .intro > p:last-child { font-size: 14px; }
  .path-selector { grid-template-columns: 1fr; }
  .path-card { min-height: 250px; padding: 30px 22px 25px; }
  .path-card h2 { font-size: 29px; margin-bottom: 21px; }
  .description { font-size: 12px; }
  .portal-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
}
