/* ============================================================
   Aleo Labs — shared design system
   Light theme. Colors live in :root — change them in one place.
   ============================================================ */

/* self-hosted fonts (no third-party requests) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Matched to Alcove Wallet "Cream" design system (light scheme) */
  --bg-0: #f4f1ea;          /* warm off-white app background */
  --bg-1: #ece7dc;          /* slightly deeper cream for the ambient gradient */
  --fg:   #141a22;          /* primary text */
  --fg-dim: #3b4350;        /* secondary text */
  --fg-faint: #6c6a60;      /* muted / helper text (warm gray) */
  --accent: #3d8bff;        /* Alcove signature blue */
  --accent-strong: #2e7ef2; /* accent pressed */
  --violet: #6fa8ff;        /* accent hover (lighter blue) — used in gradients */
  --accent-soft: rgba(61, 139, 255, 0.16);  /* accent-tinted fill */
  --accent-wash: #eef5ff;   /* faint accent panel (opaque) */
  --rule: rgba(40, 34, 20, 0.12);   /* warm hairline border */
  --card: #ffffff;
  --card-hover: #f1efe7;    /* warm hover fill */
  --shadow: 0 1px 2px rgba(40, 34, 20, 0.08), 0 10px 30px rgba(40, 34, 20, 0.13);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient gradient + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 18% 4%,  rgba(61,139,255,0.10), transparent 60%),
    radial-gradient(55vmax 55vmax at 92% 96%, rgba(61,139,255,0.09),  transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap {
  width: min(1080px, 100% - 48px);
  margin: 0 auto;
}
.wrap--narrow { width: min(820px, 100% - 48px); }

a { color: inherit; }
.text-link { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); transition: border-color 0.2s ease; }
.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- social links (X, LinkedIn) ---------- */
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-dim); text-decoration: none; transition: color 0.2s ease; }
.social-link:hover { color: var(--accent); }
.social-link svg { width: 16px; height: 16px; display: block; fill: currentColor; }
.nav-social { display: inline-flex; align-items: center; gap: 18px; }
.nav-links .social-link { padding: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(244, 241, 234, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244, 241, 234, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
}

.brand-img { height: 40px; width: auto; display: block; }

.brand-word {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1;
}
.brand-word .bold { font-weight: 700; }

.hero-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.hero-logo .brand-word {
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }

.nav-links a.cta {
  color: var(--fg);
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
}
.nav-links a.cta:hover { border-color: var(--accent-soft); background: var(--card-hover); }

/* ---------- nav dropdown + Alcove CTA ---------- */
.nav-item { display: inline-flex; align-items: center; }
.nav-item.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(40, 34, 20, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}
.dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 8px; white-space: nowrap;
  color: var(--fg-dim);
}
.dropdown-menu a:hover { background: var(--card-hover); color: var(--fg); }
.dropdown-menu .dropdown-soon {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: 10px 12px; white-space: nowrap;
  color: var(--fg-faint); cursor: default;
}
.dropdown-menu .dropdown-soon em {
  font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 2px 7px; border-radius: 999px;
}
.ext { width: 10px; height: 10px; flex: 0 0 auto; }

.nav-links a.cta-alcove {
  display: inline-flex; align-items: center; gap: 6px;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(61, 139, 255, 0.24);
}
.nav-links a.cta-alcove:hover {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 36px;
  padding: 0 10px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-inner { position: relative; }
  .nav-toggle { display: flex; }
  .brand-img { height: 34px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 210px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(40, 34, 20, 0.16);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 8px; }
  .nav-links a:hover { background: var(--card-hover); }
  .nav-links a.cta { border: none; background: none; padding: 11px 12px; }
  .nav-social { padding: 8px 12px; }

  /* dropdown collapses inline inside the mobile panel */
  .nav-item, .nav-item.has-dropdown { display: block; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; margin: 0; padding: 0 0 4px 10px;
    background: none; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-toggle { justify-content: flex-start; }
  .nav-links a.cta-alcove {
    justify-content: center; color: #ffffff; background: var(--accent);
    border: 1px solid var(--accent); border-radius: 999px; margin-top: 6px;
  }
  .nav-links a.cta-alcove:hover { background: var(--accent-strong); }
}

/* ---------- section scaffolding ---------- */
section { position: relative; }

.section-pad {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}
.section-pad.no-rule { border-top: none; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 20ch;
}

.section-lead {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 62ch;
}

/* ---------- hero (home) ---------- */
.hero-section {
  display: flex;
  align-items: flex-start;
  min-height: auto;
  padding: 40px 0 72px;
}
.hero { max-width: 820px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(40,34,20,0.02);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.9); }
}

h1 {
  margin: 28px 0 0;
  font-size: clamp(40px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fg);
}
h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.blurb {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 56ch;
}

.hero-actions {
  margin: 36px 0 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-alcove {
  margin: 26px 0 0;
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 58ch;
}
.hero-alcove strong { color: var(--fg); font-weight: 600; }
.hero .subscribe-form { margin-top: 34px; }

/* Alcove "Live" announcement callout */
.announce {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 26px 0 0;
  padding: 11px 18px;
  border: 1px solid var(--accent-soft);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--fg);
  text-decoration: none;
  max-width: 100%;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.announce:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(61, 139, 255, 0.15);
}
.announce-badge {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #ffffff; background: var(--accent);
  padding: 5px 10px; border-radius: 999px;
}
.announce-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #ffffff;
  animation: pulse 2.4s ease-in-out infinite;
}
.announce-text { font-size: 15px; line-height: 1.4; color: var(--fg-dim); }
.announce-text strong { color: var(--fg); font-weight: 600; }
.announce-arrow { flex: 0 0 auto; display: inline-flex; color: var(--accent); }
.announce-arrow svg { width: 14px; height: 14px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: 128px 0 44px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 700;
}
.page-hero .lead {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 60ch;
}
/* tighter interior hero (used on Contact): less top space, no divider */
.page-hero--tight { padding-top: 88px; padding-bottom: 8px; border-bottom: none; }
.section-pad.pt-sm { padding-top: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 6px 18px rgba(61, 139, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 8px 22px rgba(61, 139, 255, 0.34);
}
.btn-ghost {
  color: var(--fg);
  border: 1px solid var(--rule);
  background: var(--card);
}
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--card-hover); }

/* ---------- forms (contact + subscribe) ---------- */
.hp { position: absolute !important; left: -9999px !important; }
.form-status { font-size: 14px; color: var(--fg-dim); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #e5484d; }

.contact-form { margin: 40px 0 0; max-width: 640px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--fg-faint);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17.5px;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9c9a8f; }
.subscribe-row input::placeholder { color: #9c9a8f; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: var(--card-hover);
}
.cf-turnstile { margin: 18px 0 4px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }

/* subscribe / waitlist — a distinct white card, identical on home and products */
.subscribe-form {
  margin: 32px 0 0;
  max-width: 580px;
  padding: 24px 26px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.subscribe-label {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--fg-dim);
}
.subscribe-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.subscribe-row input {
  flex: 1 1 240px;
  height: 52px;
  background: var(--card-hover);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  padding: 0 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.subscribe-row input:focus { outline: none; border-color: var(--accent-soft); background: var(--card); }
.subscribe-row button { height: 52px; padding-top: 0; padding-bottom: 0; }
.subscribe-form button:disabled { opacity: 0.6; cursor: default; }
.subscribe-form .form-status { display: block; margin-top: 14px; }
.subscribe-form .form-status:empty { display: none; }
.subscribe-note { margin: 14px 0 0; font-size: 13px; color: var(--fg-faint); }

/* ---------- partners ---------- */
.partners-grid { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.partner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.partner-logo { display: inline-flex; color: var(--fg); text-decoration: none; opacity: 0.92; transition: opacity 0.2s ease; }
.partner-logo:hover { opacity: 1; }
.partner-logo .circle-logo { height: clamp(34px, 4.5vw, 48px); width: auto; display: block; }
.partner-logo .near-logo { height: clamp(22px, 3vw, 30px); width: auto; display: block; }
.partner-logo .aleo-logo { height: clamp(34px, 4.5vw, 48px); width: auto; display: block; color: var(--fg); }
.partner-name {
  margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-faint);
}

/* Alcove-style partners: "powered by" + single centered logo row + backing note */
.powered-by {
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  text-align: center;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 44px;
}
.partners-row .partner-logo { opacity: 0.85; transition: opacity 0.2s ease; }
.partners-row .partner-logo:hover { opacity: 1; }
/* small inline logos, matching Alcove's "powered by" row */
.partners-row .aleo-logo { height: 24px; }
.partners-row .circle-logo { height: 26px; }
.partners-row .near-logo { height: 17px; }
.backed-note {
  margin: 32px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-faint);
  text-align: center;
}

/* ---------- cards / grids ---------- */
.grid { margin: 48px 0 0; display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: var(--accent-soft);
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(40,34,20,0.06), 0 16px 40px rgba(40,34,20,0.10);
}
.card .ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card h3 .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-dim); }

/* ---------- product cards ---------- */
.product-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; }
.product-card .prod-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
.product-card p { margin: 0 0 24px; font-size: 15px; }
.product-card .btn { margin-top: auto; }
.product-card.is-soon { background: linear-gradient(180deg, rgba(40,34,20,0.015), transparent), var(--card); }
.product-card.is-soon .prod-name { color: var(--fg-dim); }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px; border: 1px solid var(--accent-soft); border-radius: 999px;
  margin-bottom: 18px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.badge.soon { color: var(--fg-faint); border-color: var(--rule); }
.badge.soon .dot { background: var(--fg-faint); box-shadow: none; }

/* Products page: stacked vertical blocks */
.product-block { padding: 44px 0; }
.product-block + .product-block { border-top: 1px solid var(--rule); }
.product-head {
  max-width: none;
  margin: 16px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-head a {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--fg); text-decoration: none; transition: color 0.2s ease;
}
.product-head a:hover { color: var(--accent); }
.alcove-logo { height: 42px; width: auto; display: block; }
.product-desc {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 60ch;
}
.product-block > .btn { margin-top: 26px; }
.product-block .subscribe-form { margin-top: 24px; }

/* ---------- values list (careers) ---------- */
.careers-row { margin: 40px 0 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 760px) { .careers-row { grid-template-columns: 1fr; } }
.panel {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(61,139,255,0.07), transparent 55%),
    var(--card);
}
.panel h3 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.panel p { margin: 14px 0 0; color: var(--fg-dim); line-height: 1.6; font-size: 15px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 12px; font-size: 14.5px; color: var(--fg-dim); line-height: 1.5; }
.values li::before {
  content: ""; flex: 0 0 auto; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}

/* ---------- legal / doc pages ---------- */
.doc-head { border-bottom: 1px solid var(--rule); padding-bottom: 28px; margin-bottom: 8px; }
.updated { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-faint); }
.doc { font-size: 16px; line-height: 1.7; color: var(--fg-dim); max-width: 760px; }
.doc a { color: var(--accent); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc h2 { margin: 48px 0 0; padding-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); max-width: none; }
.doc h3 { margin: 28px 0 0; font-size: 16px; font-weight: 600; color: var(--fg); }
.doc p { margin: 14px 0 0; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin: 8px 0 0; }
.doc strong { color: var(--fg); font-weight: 600; }
.note {
  margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px;
  background: var(--card-hover); font-size: 14.5px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 40px;
}
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-tagline {
  max-width: 40ch;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 20px;
}
.footer-socials { display: flex; gap: 18px; align-items: center; margin-top: 20px; }
.footer-socials .social-link { color: var(--fg-faint); }
.footer-socials .social-link:hover { color: var(--accent); }
.footer-copy {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.footer-col a {
  display: block;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--fg); }
.footer-col .footer-soon {
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-faint); font-size: 14px; margin-bottom: 10px;
}
.footer-col .footer-soon em {
  font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 2px 7px; border-radius: 999px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.footer-bottom a { color: var(--fg-faint); text-decoration: none; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--fg); }
.footer-corp {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
  line-height: 1.5;
  text-transform: none;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .section-pad { padding: 72px 0; }
  .page-hero { padding: 112px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
