:root {
  --bg: #f3f3f3;
  --bg-2: #ededed;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-dark: #0d0d0d;
  --text: #000000;
  --text-soft: #4d4d4d;
  --text-faint: #808080;
  --line: rgba(0, 0, 0, 0.11);
  --line-strong: rgba(0, 0, 0, 0.18);
  --accent: #0d0d0d;
  --accent-2: #262626;
  --accent-3: #808080;
  --accent-warm: #0d0d0d;
  --radius: 0;
  --radius-sm: 0;
  --shadow-1: none;
  --shadow-2: none;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

body {
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  inset: auto;
}

.site-bg::before {
  width: 100%;
  height: 1px;
  left: 0;
  top: 124px;
  background: rgba(0, 0, 0, 0.06);
  animation: none;
}

.site-bg::after {
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.06);
  animation: none;
}

.container {
  width: min(1260px, calc(100vw - 80px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0;
  backdrop-filter: none;
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 170ms ease, transform 170ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--text);
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 450;
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  border-radius: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 9px 24px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  color: #ffffff;
  background: var(--surface-dark);
  box-shadow: none;
  transition: opacity 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: none;
  box-shadow: none;
  filter: none;
  opacity: 0.8;
}

.btn-small {
  padding: 9px 24px;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-ghost {
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

main {
  padding-bottom: 12px;
}

.hero {
  padding: 120px 0 76px;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
}

.hero-copy-block {
  position: relative;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 400;
}

.launch-teaser {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  padding: 8px 16px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 12px;
  font-size: clamp(3.4rem, 8vw, 5.7rem);
  line-height: 0.92;
  color: var(--text);
  max-width: 10.5ch;
  font-weight: 400;
}

.hero-copy {
  margin-top: 24px;
  font-size: clamp(1.06rem, 1.5vw, 1.14rem);
  color: var(--text-soft);
  max-width: 40ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: 0 0 0 32px;
}

.cozy-diagram {
  margin: 0;
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--surface-strong);
}

.cozy-diagram img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.88;
  object-fit: cover;
  transform: none;
}

.hero-float {
  position: absolute;
  z-index: 2;
  max-width: 260px;
  padding: 16px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  backdrop-filter: none;
  box-shadow: none;
}

.hero-float strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.hero-float span {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-float-primary {
  left: 0;
  bottom: 34px;
}

.hero-float-secondary {
  top: 18px;
  right: -18px;
}

.powered-by {
  margin: 0 auto 64px;
  padding: 0 0 32px;
  border: 1px solid var(--line);
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.powered-copy {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-weight: 600;
}

.powered-copy a {
  color: var(--text);
  text-decoration: none;
}

.powered-copy a:hover,
.powered-copy a:focus-visible {
  text-decoration: underline;
}

.powered-logos {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.powered-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 20px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.powered-logo-browser {
  background: var(--surface-dark);
  border-color: rgba(120, 136, 142, 0.34);
}

.powered-logo img {
  display: block;
  width: 220px;
  height: 54px;
  object-fit: contain;
}

.powered-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.35vw, 1.72rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1;
}

.powered-logo .logo-pumabrowser {
  width: 220px;
  height: 54px;
  filter: brightness(0) invert(1);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.metrics article {
  padding: 24px;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.metrics article:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.45);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 400;
}

.metrics p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.section {
  padding: 136px 0 8px;
}

.section-head {
  max-width: 760px;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.96;
  font-weight: 400;
}

.architecture {
  padding-top: 120px;
}

.agent-visualization {
  margin: 32px 0 0;
  border-radius: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: none;
}

.agent-visualization img {
  display: block;
  width: 100%;
  height: auto;
}

.agent-visualization figcaption {
  margin: 0;
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--text-soft);
  background: transparent;
  border-top: 1px solid var(--line);
}

.card-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 0;
  padding: 28px;
  box-shadow: none;
  transition: background-color 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.55);
}

.card h3 {
  font-size: 1.36rem;
  max-width: 16ch;
  font-weight: 400;
}

.card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.card-accent {
  margin: 0 0 18px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px;
  align-items: start;
}

.split-intro {
  position: sticky;
  top: 108px;
}

.split-copy {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 1.02rem;
}

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

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  background: var(--surface-strong);
  box-shadow: none;
}

.feature-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}

.feature-list span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
}

.timeline {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.timeline li {
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 20px;
  background: var(--surface-strong);
  box-shadow: none;
}

.timeline h3 {
  font-size: 1.3rem;
  font-weight: 400;
}

.timeline p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.cta {
  margin-top: 88px;
  margin-bottom: 72px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 64px 32px 68px;
  box-shadow: none;
  background: var(--surface-strong);
}

.cta h2 {
  margin: 14px auto 24px;
  max-width: 24ch;
}

.footer {
  border-top: 1px solid rgba(22, 33, 38, 0.12);
  padding: 24px 0 42px;
  color: var(--text-faint);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-one {
  0% {
    transform: translate3d(0, -8px, 0) scale(1);
  }

  100% {
    transform: translate3d(24px, 16px, 0) scale(1.08);
  }
}

@keyframes drift-two {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-32px, 16px, 0) scale(1.06);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: auto;
    padding: 0 40px 34px 0;
  }

  .cozy-diagram {
    max-width: 760px;
  }

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

  .split-intro {
    position: static;
  }

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

@media (max-width: 980px) {
  .container {
    width: min(1160px, calc(100vw - 48px));
  }

  .topbar {
    padding-top: 0;
  }

  .nav-wrap {
    min-height: 64px;
    padding: 12px 0;
  }

  .nav-links {
    display: none;
  }

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

  .powered-by {
    padding: 0 0 24px;
  }

  .powered-logo {
    min-height: 86px;
  }

  .powered-logos {
    grid-template-columns: 1fr;
  }

  .powered-wordmark {
    width: min(220px, 75vw);
    height: 50px;
    font-size: clamp(1.2rem, 6.4vw, 1.6rem);
  }

  .powered-logo img,
  .powered-logo .logo-pumabrowser {
    width: min(220px, 75vw);
    height: 50px;
  }

  .section {
    padding-top: 112px;
  }

  .cta {
    margin-top: 64px;
    margin-bottom: 48px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100vw - 32px));
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 12px 0;
  }

  .btn-small {
    width: 100%;
  }

  .hero {
    padding-top: 54px;
    gap: 22px;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    padding: 0 0 84px;
  }

  h1 {
    font-size: clamp(1.95rem, 10vw, 2.7rem);
    max-width: 11.5ch;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .powered-by,
  .metrics,
  .card,
  .cta {
    border-radius: 0;
  }

  .powered-by {
    margin-bottom: 48px;
  }

  .metrics {
    padding: 12px;
  }

  .card,
  .metrics article,
  .feature-list li,
  .timeline li {
    padding: 16px;
  }

  .hero-float {
    max-width: none;
  }

  .hero-float-primary,
  .hero-float-secondary {
    left: 12px;
    right: 12px;
  }

  .hero-float-primary {
    bottom: 12px;
  }

  .hero-float-secondary {
    top: auto;
    bottom: 124px;
  }

  .timeline li {
    border-left-width: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg::before,
  .site-bg::after {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .metrics article,
  .nav-links a::after {
    transition: none;
    animation: none;
  }
}
