@font-face {
  font-family: "Host Grotesk";
  src: url("/assets/fonts/host-grotesk-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aleo";
  src: url("/assets/fonts/aleo-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fcfcfc;
  --card: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #424242;
  --iron: #777777;
  --ash: #bababa;
  --border: #e5e5e5;
  --fog: #dddddd;
  --chalk: #f3f3f3;
  --blue: #4a38f5;
  --green: #89fc9a;
  --pink: #ed87fc;
  --yellow: #feffb7;
  --sans: "Host Grotesk", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --serif: "Aleo", Georgia, serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, Monaco, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Nav ---- */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header.site .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  white-space: nowrap;
}

.wordmark span { color: var(--iron); font-weight: 450; }

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a.navlink {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
}

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

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.96rem;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
}

.btn-primary:hover { background: #333333; border-color: #333333; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--fog);
}

.btn-ghost:hover { border-color: var(--ash); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ---- Hero ---- */

.hero {
  padding: 92px 0 40px;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iron);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--fog);
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 auto;
  max-width: 20ch;
}

.hero h1 em {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero h1.cycling {
  min-height: 1.12em;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 0.05em;
  min-width: 2px;
  height: 0.82em;
  margin-left: 0.06em;
  background: var(--ink);
  vertical-align: baseline;
  transform: translateY(0.12em);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

@media (max-width: 600px) {
  .hero h1.cycling { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
}

.hero p.sub {
  margin: 26px auto 0;
  font-size: 1.16rem;
  color: var(--iron);
  max-width: 56ch;
}

.hero .actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Product frame ---- */

.product-frame {
  margin: 64px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  box-shadow:
    0 1px 2px rgba(28, 28, 28, 0.04),
    0 12px 32px rgba(28, 28, 28, 0.07);
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--chalk);
}

.chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chips .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background: var(--green); }
.dot-pink { background: var(--pink); }
.dot-yellow { background: var(--yellow); border: 1px solid #e8e9a7; }

/* ---- Sections ---- */

section.block { padding: 88px 0 0; }

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

.section-head.centered {
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.section-head h2 em {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
}

.section-head p {
  margin-top: 14px;
  color: var(--iron);
  font-size: 1.05rem;
}

/* ---- Feature cards ---- */

.card-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px;
}

.card .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card p {
  color: var(--iron);
  font-size: 0.97rem;
}

/* ---- Split section ---- */

.split {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}

.split .copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.split .copy h2 em {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
}

.split .copy p {
  margin-top: 14px;
  color: var(--iron);
  font-size: 1.02rem;
}

/* ---- CTA band ---- */

.cta-band {
  margin: 96px 0 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 64px 32px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.cta-band h2 em {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
}

.cta-band p {
  margin: 14px auto 0;
  color: var(--iron);
  max-width: 46ch;
}

.cta-band .btn { margin-top: 30px; }

/* ---- Footer ---- */

footer.site {
  margin-top: 96px;
  border-top: 1px solid var(--border);
  padding: 44px 0 60px;
  color: var(--iron);
  font-size: 0.92rem;
  background: var(--bg);
}

footer.site .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer.site .brand { color: var(--ink); font-weight: 650; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .col { display: flex; flex-direction: column; gap: 8px; }

/* ---- Responsive ---- */

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 64px 0 24px; }
  section.block { padding: 64px 0 0; }
  .cta-band { margin-top: 72px; }
  nav a.navlink { display: none; }
}
