/* Self-hosted Geist (variable) — no external requests, consistent across platforms */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/Geist-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/GeistMono-Variable.woff2") format("woff2");
}

:root {
  /* Neutrals — warm-cool paper with a faint green undertone */
  --canvas: #f4f6f4;
  --surface: #ffffff;
  --surface-muted: #fafbfa;
  --surface-soft: #edf1ee;
  --border: #e5eae6;
  --border-strong: #d5dcd7;

  /* Ink */
  --text: #101613;
  --muted: #4f5852;
  --soft: #838d87;

  /* Accent — restrained teal-green, aligned to the brand mark */
  --accent: #0e7c66;
  --accent-hover: #0a6151;
  --accent-deep: #0b4f42;
  --accent-soft: #e6f3ee;
  --accent-border: #c2e3d8;
  --accent-2: #2c7d8c;      /* muted teal for secondary signal */
  --accent-2-soft: #e4f0f2;
  --amber: #b07a1a;
  --amber-soft: #f7f0e0;
  --amber-border: #e8d5a8;

  /* Elevation — soft, layered, cool-neutral */
  --shadow-1: 0 1px 2px rgb(16 22 19 / 0.04), 0 3px 10px rgb(16 22 19 / 0.03);
  --shadow-2: 0 1px 2px rgb(16 22 19 / 0.05), 0 10px 26px rgb(16 22 19 / 0.05);
  --shadow-3: 0 2px 4px rgb(16 22 19 / 0.05), 0 24px 60px -16px rgb(11 79 66 / 0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-sans: "Geist", "Aptos", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}

/* Page-level ambient background: a calm wash that anchors the hero */
.page {
  position: relative;
  isolation: isolate;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(60% 44% at 78% 4%, rgb(14 124 102 / 0.09), transparent 62%),
    radial-gradient(52% 40% at 4% 0%, rgb(44 125 140 / 0.06), transparent 60%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero,
.section,
.contact-section,
.site-footer {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  background: linear-gradient(160deg, #ffffff, var(--accent-soft));
  box-shadow: var(--shadow-1);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-mark.small {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.brand-mark.small svg {
  width: 15px;
  height: 15px;
}

.brand-name {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}

.nav a {
  border-radius: 999px;
  padding: 9px 14px;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.7);
}

.nav-cta {
  margin-left: 6px;
  color: var(--text) !important;
  font-weight: 620;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.nav-cta:hover {
  border-color: var(--accent-border);
  background: var(--surface) !important;
  box-shadow: var(--shadow-2);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1.02fr);
  gap: 60px;
  align-items: center;
  padding: 70px 0 96px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.66);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0.5;
  animation: pulse 2.8s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.55; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

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

h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.02;
  color: var(--text);
}

h2 {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 620;
  letter-spacing: -0.024em;
  line-height: 1.1;
}

h3 {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.hero-text {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 620;
  letter-spacing: -0.005em;
  transition: background 200ms var(--ease), transform 200ms var(--ease),
    box-shadow 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}

.button svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--ease);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgb(11 79 66 / 0.24), 0 10px 24px -8px rgb(11 79 66 / 0.5);
}

.button-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgb(11 79 66 / 0.24), 0 16px 34px -10px rgb(11 79 66 / 0.55);
}

.button-primary:hover svg {
  transform: translateX(3px);
}

.button-ghost {
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
  font-weight: 560;
}

.button-ghost:hover {
  color: var(--text);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-2);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-tags li {
  position: relative;
  padding-left: 18px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 560;
}

.hero-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
  opacity: 0.75;
}

/* ---------- Product panel ---------- */
.product-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-3);
}

.panel-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.chrome-dots {
  display: inline-flex;
  gap: 6px;
}

.chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-strong);
}

.chrome-dots i:first-child { background: #e6b5ab; }
.chrome-dots i:nth-child(2) { background: #e8d29a; }
.chrome-dots i:nth-child(3) { background: #a9d8bf; }

.chrome-label {
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  padding: 5px 10px;
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 640;
}

.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgb(14 124 102 / 0.18);
}

.panel-body {
  position: relative;
  padding: 18px;
  background:
    radial-gradient(70% 55% at 60% -6%, rgb(14 124 102 / 0.06), transparent 60%),
    var(--surface);
}

.panel-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(16 22 19 / 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 22 19 / 0.024) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 85%);
}

.panel-top,
.metric-grid,
.signal-card,
.queue {
  position: relative;
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 4px 18px;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.panel-top h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid article,
.signal-card,
.queue {
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
}

.metric-grid article {
  min-height: 120px;
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.metric-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-2);
}

.metric-grid span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
}

.metric-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 30px;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-grid strong u {
  font-size: 18px;
  font-weight: 560;
  color: var(--soft);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.metric-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.signal-card {
  margin-top: 10px;
  border-radius: var(--radius-xl);
  padding: 18px;
}

.signal-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.signal-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.signal-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px -6px rgb(14 124 102 / 0.5);
}

.signal-icon svg {
  width: 20px;
  height: 20px;
}

.flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.flow span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.flow i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-border), var(--accent));
}

.queue {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border);
}

.queue-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgb(255 255 255 / 0.92);
  padding: 15px 16px;
  transition: background 200ms var(--ease);
}

.queue-row:hover {
  background: #fff;
}

.queue-row strong,
.queue-row small {
  display: block;
}

.queue-row strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.queue-row small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
}

.queue-row b {
  font-size: 12.5px;
  font-weight: 640;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
}

.trend.up {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.trend.up::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 5px solid currentColor;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--accent-2);
  background: var(--accent-2-soft);
}

.queue-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.queue-dot.green {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.queue-dot.teal {
  background: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 92px 0;
}

.band {
  position: relative;
  width: 100%;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.band > * {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.eyebrow-plain,
.section-heading .eyebrow,
.split-intro .eyebrow,
.contact-inner .eyebrow {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  backdrop-filter: none;
}

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

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-muted);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-1);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgb(14 124 102 / 0.28), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 260ms var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}

.card:hover::after {
  opacity: 1;
}

.card p,
.principles p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.card h3 {
  margin-top: 22px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.icon-candidate {
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border-color: #b9dbe0;
}

.icon-ops {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: var(--amber-border);
}

/* ---------- Split / Approach ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

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

.split-intro h2 {
  margin-top: 18px;
}

.split-lede {
  margin-top: 20px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.principles {
  display: grid;
  gap: 6px;
}

.principles article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 26px 8px 26px 4px;
  border-radius: 14px;
  transition: background 220ms var(--ease);
}

.principles article:first-child {
  border-top: 0;
}

.principles article:hover {
  background: var(--surface);
}

.principles span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 620;
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

/* ---------- Contact ---------- */
.contact-section {
  margin-bottom: 40px;
}

.contact-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: 28px;
  background:
    radial-gradient(80% 130% at 50% -20%, rgb(14 124 102 / 0.14), transparent 62%),
    linear-gradient(180deg, #ffffff, var(--surface-muted));
  padding: 66px 40px 68px;
  text-align: center;
  box-shadow: var(--shadow-2);
}

.contact-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(14 124 102 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(14 124 102 / 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 78%);
  opacity: 0.7;
}

.contact-inner > * {
  position: relative;
}

.contact-inner h2 {
  max-width: 18ch;
  margin: 18px auto 30px;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  padding: 30px 0 46px;
  color: var(--soft);
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 600;
}

.footer-tag {
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 32px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 44px 0 68px;
  }

  h1 {
    font-size: clamp(2.6rem, 8vw, 3.6rem);
    max-width: 18ch;
  }

  .metric-grid,
  .card-grid,
  .section-heading,
  .split {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .split {
    gap: 30px;
  }

  .split-intro {
    position: static;
  }

  .section {
    padding: 64px 0;
  }

  .band > * {
    width: min(100% - 32px, 720px);
  }

  .contact-inner {
    padding: 52px 28px 54px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .flow {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .flow i {
    width: 2px;
    height: 16px;
    margin-left: 18px;
  }

  .queue-row {
    grid-template-columns: auto 1fr;
  }

  .queue-row b {
    grid-column: 2;
    justify-self: start;
  }

  .card {
    padding: 22px;
  }

  .contact-inner {
    border-radius: 22px;
    padding: 44px 22px 46px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-tag {
    text-align: left;
  }
}

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