
@font-face {
  font-family: "IF Inter";
  src: url("/if/discover/ui/fonts/inter/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IF Tiempos";
  src: url("/if/discover/ui/fonts/tiempos/Tiempos-VF-Subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #f5f0e7;
  --bg-alt: #ece6dc;
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #18212c;
  --muted: #566273;
  --line: #d7d0c2;
  --accent: #3a56d4;
  --accent-alt: #17735f;
  --max: 1180px;
  --radius: 28px;
  --shadow: 0 22px 54px rgba(22, 30, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IF Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 86, 212, 0.06), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(23, 115, 95, 0.05), transparent 24%),
    linear-gradient(180deg, #f7f3ec 0%, var(--bg) 42%, var(--bg-alt) 100%);
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.backdrop::before,
.backdrop::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.42;
  will-change: transform;
}

.backdrop::before {
  inset: auto auto 72% -12%;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(58, 86, 212, 0.18), transparent 70%);
  animation: float-a 26s ease-in-out infinite alternate;
}

.backdrop::after {
  inset: 8% -8% auto auto;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(23, 115, 95, 0.12), transparent 72%);
  animation: float-b 34s ease-in-out infinite alternate;
}

@keyframes float-a {
  0% { transform: translate3d(-2%, 0, 0) scale(1); }
  100% { transform: translate3d(5%, 5%, 0) scale(1.08); }
}

@keyframes float-b {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4%, -6%, 0) scale(1.06); }
}

@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 236, 0.76);
  border-bottom: 1px solid rgba(215, 208, 194, 0.85);
  backdrop-filter: blur(16px);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 670;
  letter-spacing: 0.01em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.topnav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 180ms ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(58, 86, 212, 0.45);
  transform: scaleX(0.18);
  transform-origin: left center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topnav a:hover {
  color: var(--text);
}

.topnav a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
  padding: 78px 0 54px;
}

.hero-copy,
.summary-rail,
.essay-panel,
.module-panel,
.proof-card,
.bridge-card,
.readiness-row,
.stack-band,
.spotlight-row {
  animation: reveal-up 520ms ease forwards;
}

.hero-copy { animation-delay: 60ms; }
.summary-rail { animation-delay: 120ms; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-alt);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 650;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "IF Tiempos", Georgia, serif;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.97;
}

.hero-deck,
.hero-note,
.section-head p,
.footer-copy,
.essay-panel p,
.bridge-card p,
.proof-card span,
.readiness-row span,
.stack-band h3,
.spotlight-copy p,
.module-panel-deck,
.module-facts dd {
  color: var(--muted);
  line-height: 1.7;
}

.hero-deck {
  margin: 20px 0 0;
  max-width: 36rem;
  font-size: 1.12rem;
}

.hero-note {
  margin: 18px 0 0;
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 640;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  background: var(--surface-strong);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
}

.summary-rail,
.essay-panel,
.proof-card,
.bridge-card,
.readiness-row,
.stack-band,
.spotlight-row,
.module-panel {
  border: 1px solid rgba(215, 208, 194, 0.92);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.summary-rail:hover,
.essay-panel:hover,
.proof-card:hover,
.bridge-card:hover,
.readiness-row:hover,
.stack-band:hover,
.spotlight-row:hover,
.module-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 86, 212, 0.28);
  box-shadow: 0 26px 68px rgba(22, 30, 42, 0.1);
}

.summary-rail {
  padding: 10px 0;
}

.summary-row {
  padding: 20px 24px;
}

.summary-row + .summary-row {
  border-top: 1px solid rgba(215, 208, 194, 0.9);
}

.summary-row p,
.proof-card p,
.readiness-row p {
  margin: 0;
  color: var(--accent-alt);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
}

.summary-row h3,
.proof-card h3,
.readiness-row h3,
.spotlight-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.08;
}

.summary-row span,
.proof-card span,
.readiness-row span {
  display: block;
  margin-top: 10px;
}

.section {
  padding: 16px 0 72px;
}

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

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
}

.section-head p {
  margin: 16px 0 0;
  font-size: 1.04rem;
}

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

.essay-panel {
  padding: 28px;
}

.essay-panel h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.quiet-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.quiet-list li,
.spotlight-boundary,
.text-link,
.module-facts dt {
  color: var(--text);
}

.quiet-list li,
.spotlight-boundary {
  line-height: 1.62;
}

.module-list,
.spotlight-list,
.stack-board {
  display: grid;
  gap: 24px;
}

.module-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
}

.module-panel.is-reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.module-panel.is-reverse .module-panel-visual {
  order: 2;
}

.module-panel.is-reverse .module-panel-copy {
  order: 1;
}

.module-panel-visual {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(58, 86, 212, 0.09), rgba(23, 115, 95, 0.08));
}

.module-panel-visual img,
.spotlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.module-panel:hover .module-panel-visual img,
.spotlight-row:hover .spotlight-thumb img {
  transform: scale(1.035);
}

.module-panel-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 33, 44, 0.06), rgba(24, 33, 44, 0.22));
}

.module-panel-copy {
  padding: 32px;
}

.module-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.status,
.module-label,
.module-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(24, 33, 44, 0.08);
}

.status-shipped {
  background: rgba(23, 115, 95, 0.1);
  color: #145547;
}

.status-preview {
  background: rgba(58, 86, 212, 0.08);
  color: #3047b3;
}

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

.module-panel h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.04;
}

.module-panel-deck {
  margin: 16px 0 0;
  font-size: 1.03rem;
}

.module-facts {
  margin: 20px 0 0;
  display: grid;
  gap: 18px;
}

.module-facts div {
  border-top: 1px solid rgba(215, 208, 194, 0.9);
  padding-top: 14px;
}

.module-facts dt {
  margin: 0 0 6px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
}

.module-facts dd {
  margin: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 650;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.proof-card,
.bridge-card,
.readiness-row,
.stack-band,
.spotlight-row {
  padding: 24px;
}

.proof-card strong {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 650;
}

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.bridge-card h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.module-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.module-chip {
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(215, 208, 194, 0.95);
  background: rgba(255, 255, 255, 0.66);
  transition: transform 180ms ease, border-color 180ms ease;
}

.module-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 86, 212, 0.3);
}

.module-chip span {
  color: var(--text);
  font-weight: 650;
}

.module-chip small {
  color: var(--muted);
}

.readiness-board {
  display: grid;
  gap: 16px;
}

.stack-band-head {
  max-width: 44rem;
}

.stack-band h3 {
  margin-top: 8px;
  font-size: 1.3rem;
}

.spotlight-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: stretch;
}

.spotlight-thumb {
  overflow: hidden;
  border-radius: 20px;
  min-height: 200px;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-copy p {
  margin: 14px 0 0;
}

.spotlight-boundary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(215, 208, 194, 0.9);
}

.spotlight-boundary span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-alt);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 650;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 56px;
}

.pitch-page .hero h1 {
  max-width: 9.5ch;
}

@media (max-width: 1080px) {
  .hero,
  .module-panel,
  .module-panel.is-reverse,
  .proof-grid,
  .bridge-grid,
  .split-intro,
  .spotlight-row,
  .cta-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .module-panel.is-reverse .module-panel-visual,
  .module-panel.is-reverse .module-panel-copy {
    order: initial;
  }
}

@media (max-width: 780px) {
  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 28px;
    padding-top: 56px;
  }

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

  .module-panel-copy,
  .proof-card,
  .bridge-card,
  .readiness-row,
  .stack-band,
  .essay-panel,
  .spotlight-row {
    padding: 22px;
  }

  .module-panel-visual {
    min-height: 260px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
