:root {
  --ink: #18130e;
  --paper: #f6f0df;
  --paper-deep: #e7dcc1;
  --poppy: #ec3f2f;
  --blue: #2267d8;
  --acid: #c8f14a;
  --mint: #a9dfc3;
  --line: rgba(24, 19, 14, 0.18);
  --shadow: 0 24px 80px rgba(24, 19, 14, 0.18);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "IBM Plex Sans", "Avenir Next", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    linear-gradient(90deg, rgba(24, 19, 14, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(24, 19, 14, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: radial-gradient(rgba(24, 19, 14, 0.28) 0.6px, transparent 0.6px);
  background-size: 6px 6px;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 223, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links {
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.section-band {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero.section-band {
  padding-top: clamp(34px, 5vh, 64px);
  padding-bottom: clamp(34px, 5vh, 64px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--poppy);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 14.8ch;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 5.8vw, 6.6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.55rem, 6vw, 6.4rem);
  font-weight: 850;
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
}

.hero-lede {
  max-width: 650px;
  font-size: clamp(1.06rem, 1.22vw, 1.24rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.primary {
  background: var(--acid);
}

.button.ghost {
  background: var(--paper);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  padding: 12px 18px 12px 0;
}

.hero-facts dt {
  margin-bottom: 6px;
  color: rgba(24, 19, 14, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  min-height: 500px;
  place-items: center;
}

.lab-board {
  width: min(100%, 640px);
  border: 3px solid var(--ink);
  background: #fdf9ed;
  box-shadow: 18px 18px 0 var(--ink);
  transform: rotate(1.2deg);
}

.board-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border-bottom: 3px solid var(--ink);
  background: var(--blue);
  color: #fff;
}

.board-top span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--acid);
}

.board-top p {
  margin: 0 0 0 auto;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 42px;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(236, 63, 47, 0.16) 48% 52%, transparent 52%),
    var(--mint);
}

.app-shell {
  display: grid;
  grid-template-columns: 86px 1fr;
  width: 88%;
  min-height: 260px;
  border: 3px solid var(--ink);
  background: #fffaf0;
  box-shadow: 10px 10px 0 rgba(24, 19, 14, 0.26);
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-right: 3px solid var(--ink);
  background: var(--poppy);
}

.app-sidebar span {
  height: 26px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.app-main {
  padding: 28px;
}

.chart-line {
  position: relative;
  height: 98px;
  margin-bottom: 26px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(145deg, transparent 48%, var(--blue) 49% 51%, transparent 52%),
    linear-gradient(22deg, transparent 58%, var(--poppy) 59% 61%, transparent 62%),
    #fff;
}

.app-row {
  height: 18px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  background: var(--acid);
}

.app-row.wide {
  width: 100%;
}

.app-row:not(.wide) {
  width: 72%;
}

.app-row.short {
  width: 48%;
}

.phone-shell {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 158px;
  min-height: 280px;
  padding: 20px 16px;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--poppy);
  transform: rotate(-7deg);
}

.phone-notch,
.phone-pill,
.phone-stack {
  border: 2px solid var(--ink);
}

.phone-notch {
  width: 54px;
  height: 10px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-pill {
  height: 72px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--blue);
}

.phone-stack {
  height: 42px;
  margin-bottom: 12px;
  background: #fff;
}

.phone-stack.alt {
  background: var(--acid);
}

.agent-note {
  position: absolute;
  border: 2px solid var(--ink);
  padding: 10px 12px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
}

.note-one {
  left: 24px;
  bottom: 44px;
}

.note-two {
  top: 72px;
  right: 28px;
  background: var(--acid);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.intro-grid p,
.section-heading p,
.outcome-panel p,
.founder-note p,
.price-card p,
.requirements p,
.apply-copy p {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.58;
}

.ticker {
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
}

.ticker span {
  padding: 18px 34px;
  border-right: 2px solid rgba(246, 240, 223, 0.32);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.52fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.timeline article {
  min-height: 310px;
  padding: 24px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.64);
}

.timeline article:nth-child(2) {
  background: rgba(200, 241, 74, 0.28);
}

.timeline article:nth-child(3) {
  background: rgba(34, 103, 216, 0.13);
}

.timeline article:nth-child(4) {
  background: rgba(236, 63, 47, 0.12);
}

.week {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 40px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-weight: 900;
}

.timeline p {
  line-height: 1.5;
}

.outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.outcome-panel,
.founder-note,
.price-card,
.requirements,
.apply-form {
  border: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 8px 8px 0 rgba(24, 19, 14, 0.14);
}

.outcome-panel {
  padding: clamp(28px, 5vw, 58px);
}

.founder-note {
  align-self: end;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.small-print {
  color: rgba(246, 240, 223, 0.72);
  font-size: 0.9rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--acid);
  content: "";
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
  gap: clamp(22px, 4vw, 48px);
}

.price-card,
.requirements {
  padding: clamp(28px, 4vw, 42px);
}

.price-card h2 {
  color: var(--blue);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding-left: 20px;
  font-weight: 700;
  line-height: 1.45;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  border-top: 3px solid var(--ink);
  background:
    linear-gradient(140deg, rgba(236, 63, 47, 0.16) 0 36%, transparent 36%),
    var(--paper-deep);
}

.apply-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 13px 12px;
  background: #fffdf7;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1100px) {
  .hero,
  .intro-grid,
  .section-heading,
  .outcome,
  .pricing,
  .apply {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

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

  .hero-facts div {
    border-bottom: 1px solid var(--line);
  }

  .lab-board {
    box-shadow: 10px 10px 0 var(--ink);
    transform: none;
  }

  .product-canvas {
    min-height: 430px;
    padding: 24px;
  }

  .app-shell {
    width: 100%;
    grid-template-columns: 56px 1fr;
  }

  .app-sidebar {
    padding: 14px;
  }

  .app-main {
    padding: 18px;
  }

  .phone-shell {
    right: 20px;
    width: 128px;
    min-height: 235px;
  }

  .agent-note {
    font-size: 0.72rem;
  }

  .note-two {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
