/* Static portfolio page for Prediction Market Execution Lab. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --ink: #111827;
  --muted: #5b6478;
  --muted-2: #7d879a;
  --line: #dbe3f0;
  --brand: #3856d8;
  --brand-dark: #2741b3;
  --brand-soft: #eef3ff;
  --shadow: 0 24px 80px rgba(21, 31, 57, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 86, 216, 0.12), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

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

.hero,
main {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  word-spacing: 0.18em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0em;
  font-weight: 900;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.032em;
  font-weight: 900;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.016em;
  font-weight: 850;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.32rem);
  line-height: 1.62;
  letter-spacing: -0.018em;
}

.takeaway {
  margin: 28px 0 32px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 50px rgba(20, 31, 60, 0.06);
  color: #273047;
  font-size: 1.08rem;
  line-height: 1.65;
  letter-spacing: -0.018em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(20, 31, 60, 0.06);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #c8d3e6;
}

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

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

.hero-card,
.visual-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card {
  padding: 26px 26px 20px;
}

.hero-card img,
.visual-grid img {
  width: 100%;
  border-radius: 16px;
  background: white;
}

figcaption {
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.section {
  padding: 84px 0;
  border-top: 1px solid rgba(219, 227, 240, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p,
.split>div>p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.card,
.artifact,
.workflow div,
.disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 48px rgba(20, 31, 60, 0.06);
}

.card {
  padding: 24px;
}

.card p,
.artifact span,
.disclaimer p {
  color: var(--muted);
  line-height: 1.62;
  letter-spacing: -0.012em;
}

.number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: center;
}

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

.visual-grid figure {
  padding: 16px;
}

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

.artifact {
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.artifact strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.04rem;
  letter-spacing: -0.024em;
}

.artifact:hover {
  transform: translateY(-2px);
  border-color: #c3cff0;
  box-shadow: 0 18px 60px rgba(56, 86, 216, 0.13);
}

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

.workflow div {
  padding: 18px 20px;
  color: #273047;
  font-weight: 750;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #273047;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.disclaimer {
  padding: 32px;
  margin-bottom: 68px;
}

.disclaimer h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

@media (max-width: 980px) {

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

  .hero-grid {
    padding-top: 44px;
  }

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

@media (max-width: 680px) {

  .hero,
  main {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    height: auto;
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.8rem, 11.5vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  h2 {
    letter-spacing: -0.024em;
  }

  .cards,
  .artifact-grid,
  .visual-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}