/* Hop On by Intrepide. Mirrors the intrepide.ai design system (ix-*):
   light, monochrome ink, Space Grotesk display + Inter body + mono details. */
:root {
  --ink: #0a0a0a;
  --muted: #666;
  --faint: #9a9a9a;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --soft: #fafafa;
  --live: #22c55e;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code {
  font: 0.88em var(--mono);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 0.12em 0.42em;
  border-radius: 6px;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 880px; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand b { font: 600 1.05rem var(--display); letter-spacing: -0.01em; }
.brand .by { color: var(--faint); font-size: 0.8rem; }
.wordmark {
  font: 600 1em var(--display);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  text-decoration: none;
}
.brand .wordmark { color: var(--muted); font-size: 0.8rem; }
.nav nav { display: flex; align-items: center; gap: 32px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.nav nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 10px 22px; }

/* ---------- type ---------- */
.eyebrow {
  display: block; margin-bottom: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.kicker {
  display: inline-flex; align-items: center; margin-bottom: 30px;
  padding: 10px 14px 10px 18px;
  font: 500 11.5px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase;
  /* corner brackets, as on intrepide.ai */
  background:
    linear-gradient(var(--ink), var(--ink)) left top / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left top / 1.5px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 1.5px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 1.5px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 1.5px 10px no-repeat;
}
.h1, .h2, .h3 { font-family: var(--display); font-weight: 500; margin: 0; }
.h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 26px; }
.h2 { font-size: clamp(2.05rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 10px; }
.h1 em, .h2 em { font-style: italic; font-weight: 400; }
.lede { color: var(--muted); font-size: 1.18rem; line-height: 1.65; margin: 0; }
.muted { color: var(--muted); }

/* ---------- buttons, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #262626; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: rgba(0, 0, 0, 0.35); }
.btn--white { background: #fff; color: var(--ink); }
.btn svg { display: block; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13px;
}
.tag--dashed { border-style: dashed; color: var(--muted); background: transparent; }
.tag svg { display: block; }

/* ---------- sections ---------- */
.sec { padding: 128px 0; }
.sec--hero { padding: 120px 0 96px; }
.sec--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.head { max-width: 760px; margin-bottom: 64px; }
.center .head, .head.center { margin-left: auto; margin-right: auto; }
.hero .lede { max-width: 560px; margin: 0 auto 36px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 28px 56px rgba(0, 0, 0, 0.09); }
.card--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.card__tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.card--ink .card__tag { color: rgba(255, 255, 255, 0.55); }
.card__art { height: 86px; margin-bottom: 22px; display: flex; align-items: center; }
.card__title { font: 500 24px/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.card__text { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.card--ink .card__text { color: rgba(255, 255, 255, 0.7); }
.card--ink code { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }

/* Demo panel: the Slack conversation, styled like intrepide.ai's agent card. */
.panel {
  max-width: 560px; margin: 72px auto 0; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.panel__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel__head img { width: 32px; height: 32px; border-radius: 8px; }
.panel__name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.panel__sub { font-size: 12px; color: var(--muted); }
.badge {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 6px;
  font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.panel__body { padding: 6px 20px 20px; }
.step {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  animation: step-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.step:last-child { border-bottom: 0; }
.step:nth-child(1) { animation-delay: 0.15s; }
.step:nth-child(2) { animation-delay: 0.6s; }
.step:nth-child(3) { animation-delay: 1.05s; }
.step__mark { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.step__title { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.step__detail { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.step__time { font: 11px var(--mono); color: var(--faint); margin-top: 2px; }
.step__actions { display: flex; gap: 8px; margin-top: 10px; }
.step__actions .btn { padding: 9px 16px; font-size: 12.5px; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Privacy list */
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact span { color: var(--muted); font-size: 13px; text-align: right; }

/* ---------- long-form pages ---------- */
.prose { padding: 96px 0 128px; }
.prose .h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.prose h2 { font: 500 1.35rem var(--display); letter-spacing: -0.015em; margin: 2.75rem 0 0.75rem; }
.prose p, .prose li { color: #333; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; }
.prose .updated { font: 11.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 40px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .left { display: flex; align-items: center; gap: 16px; color: var(--faint); }
.foot .wordmark { color: var(--muted); font-size: 0.95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.foot nav a:hover { color: var(--ink); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav nav a:not(.btn) { display: none; }
  .sec { padding: 88px 0; }
  .sec--hero { padding: 72px 0 64px; }
  .split, .grid--3 { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { gap: 16px; }
  .head { margin-bottom: 40px; }
  .panel { margin-top: 48px; }
  .brand .by, .brand .wordmark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step { animation: none; }
  .btn, .card { transition: none; }
}
