@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ground: #12151b;
  --ink: #E1E6EC;
  --muted: #A6B0BB;
  --micro: #6F7A86;
  --amber: #FAB219;
  --hair: rgba(255, 255, 255, .07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--ground);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

a:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Nav: sits on the ground, turns to glass once the page moves under it. */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background .2s ease, box-shadow .2s ease;
}

.top.stuck {
  background: rgba(30, 35, 43, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--hair);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.top a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

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

.top .name {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -.01em;
}

/* Hero: the type carries the ground; the devices follow at full size. */
.hero {
  padding-top: clamp(48px, 8vw, 104px);
}

h1 {
  font-weight: 600;
  font-size: clamp(42px, 6.9vw, 100px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.dim {
  display: block;
  color: var(--micro);
}

.deck {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 60ch;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.lead {
  color: var(--ink);
}

/* On a wide screen the deck takes the phone's column, so the head and the devices share one grid. */
@media (min-width: 1280px) {
  .hero-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 32px;
    align-items: end;
  }
  .hero-head .deck {
    margin-top: 0;
    padding-bottom: .5em;
    font-size: 16px;
  }
  .hero .pair {
    margin-top: 72px;
  }
}

/* The two frames, side by side on a wide screen: the desk takes the rest,
   the phone keeps a real phone proportion. Below 1280 they stack, phone first. */
.pair {
  display: grid;
  gap: 32px;
  margin-top: clamp(48px, 7vw, 96px);
}

.shot {
  min-width: 0;
}

.shot-phone {
  order: -1;
}

@media (min-width: 1280px) {
  .pair {
    grid-template-columns: minmax(0, 1fr) 292px;
    align-items: start;
  }
  .shot-phone {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .shot-desk {
    grid-column: 1;
    grid-row: 1;
  }
  .claude {
    grid-column: 1;
    grid-row: 2;
  }
  .hero .shot-phone {
    grid-row: 1;
  }
}

/* Glass, for the device frames only. */
.frame {
  background: rgba(30, 35, 43, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 22px rgba(0, 0, 0, .35);
  padding: 10px;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* Agent wall: the six names the app reads, set large. */
.wall {
  margin-top: clamp(80px, 10vw, 144px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-block: 1px solid var(--hair);
}

.wall-label {
  font-size: 15px;
  color: var(--micro);
}

.agents {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -.025em;
  color: var(--muted);
}

@media (min-width: 720px) {
  .agents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .agents {
    display: flex;
    justify-content: space-between;
  }
}

.beat {
  margin-top: clamp(80px, 10vw, 144px);
  scroll-margin-top: 48px;
}

.beat .pair {
  margin-top: 0;
}

.claude {
  max-width: 44ch;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--muted);
}

@media (min-width: 1280px) {
  .claude {
    padding-top: 24px;
  }
}

/* Features: one row each, hairlines between. No boxes. */
.features {
  margin-top: clamp(80px, 10vw, 144px);
}

.features ul {
  list-style: none;
  border-bottom: 1px solid var(--hair);
}

.features li {
  display: grid;
  gap: 12px 48px;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--hair);
}

@media (min-width: 900px) {
  .features li {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: baseline;
  }
}

.features h2 {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.features h2.amber {
  color: var(--amber);
}

.features p {
  max-width: 46ch;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
}

/* Founder band: the hero's two-tone, closing the page. */
.founder {
  padding: clamp(96px, 12vw, 176px) 0 clamp(96px, 12vw, 176px);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.founder .detail {
  color: var(--micro);
}

/* Once-only fade-up on scroll; reduced motion shows everything at once. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
    transition-delay: var(--d, 0s);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}
