/* adaim.app: brand guide in ../../brand/BRAND.md */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --amber: #f89d01;
  --orange: #fc6201;
  --orange-600: #ea4901;
  --orange-700: #d23a01;
  --ink: #0e0e0e;

  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #efeff1;
  --border: #e4e4e7;
  --text: #0e0e0e;
  --muted: #5f5f66;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.75);
  --card: rgba(255, 255, 255, 0.6);
  --blob-opacity: 0.4;
  --accent-text: #c43800;
  color-scheme: light;
}
:root.dark {
  --bg: #0a0a0b;
  --surface: #151517;
  --surface-2: #1d1d20;
  --border: #2b2b30;
  --text: #f5f5f6;
  --muted: #b4b4bd;
  /* Smoked glass: lets the glow through but keeps text readable over its brightest part. */
  --glass: rgba(16, 16, 18, 0.58);
  --glass-strong: rgba(18, 18, 20, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card: rgba(14, 14, 16, 0.62);
  --blob-opacity: 0.8;
  --accent-text: #ff8a3d;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Background glow ---------- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--blob-opacity);
}
.blob {
  position: absolute;
  border-radius: 9999px;
  will-change: transform;
}
.blob-a {
  width: 70vmax;
  height: 70vmax;
  left: -20vmax;
  top: -25vmax;
  background: radial-gradient(circle, rgba(255, 112, 20, 0.95) 0%, rgba(252, 98, 1, 0.42) 28%, transparent 58%);
  animation: blob-a 16s ease-in-out infinite alternate;
}
.blob-b {
  width: 60vmax;
  height: 60vmax;
  right: -22vmax;
  bottom: -28vmax;
  background: radial-gradient(circle, rgba(255, 168, 20, 0.95) 0%, rgba(248, 157, 1, 0.4) 28%, transparent 58%);
  animation: blob-b 20s ease-in-out infinite alternate;
}
.blob-c {
  width: 42vmax;
  height: 42vmax;
  left: 35%;
  top: 30%;
  background: radial-gradient(circle, rgba(255, 92, 20, 0.85) 0%, rgba(234, 73, 1, 0.32) 30%, transparent 60%);
  animation: blob-c 24s ease-in-out infinite alternate;
}
@keyframes blob-a {
  50% { transform: translate(28vw, 18vh) scale(1.15); }
  100% { transform: translate(12vw, 42vh) scale(0.95); }
}
@keyframes blob-b {
  50% { transform: translate(-30vw, -20vh) scale(1.1); }
  100% { transform: translate(-12vw, -45vh) scale(0.9); }
}
@keyframes blob-c {
  0% { transform: scale(0.9); }
  50% { transform: translate(-25vw, 15vh) scale(1.2); }
  100% { transform: translate(20vw, -20vh) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
section {
  padding: 72px 0;
}
@media (min-width: 768px) {
  section {
    padding: 104px 0;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.section-title {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 16px;
  max-width: 640px;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 12px 0;
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border-radius: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo .icon {
  width: 32px;
  height: 32px;
}
.logo .wordmark {
  height: 21px;
  width: auto;
}
.wordmark-dark {
  display: none;
}
:root.dark .wordmark-light {
  display: none;
}
:root.dark .wordmark-dark {
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a.link {
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}
.nav a.link:hover {
  color: var(--text);
}
@media (min-width: 720px) {
  .nav a.link {
    display: inline-block;
  }
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--orange);
}
.theme-toggle .sun {
  display: none;
}
:root.dark .theme-toggle .sun {
  display: block;
}
:root.dark .theme-toggle .moon {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font: 600 15px/1 "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(252, 98, 1, 0.6);
}
.btn-primary:hover {
  background: var(--orange-600);
}
.btn-secondary {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.btn-secondary:hover {
  border-color: var(--orange);
}
.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 64px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 112px;
  }
}
.hero-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 32px rgba(252, 98, 1, 0.45));
}
.hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(38px, 6.6vw, 78px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 55%, var(--orange-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin: 24px auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Product ---------- */
.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-beta {
  background: linear-gradient(135deg, var(--amber), var(--orange) 50%, var(--orange-700));
  color: #fff;
}
.pill-muted {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--muted);
}

/* ---------- Portfolio ---------- */
.portfolio {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 720px) {
  .portfolio {
    grid-template-columns: 1.4fr 1fr;
  }
}
.product-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  text-decoration: none;
}
.product-tile h3 {
  font-size: 22px;
}
.product-tile p {
  color: var(--muted);
}
.product-tile.soon {
  border-style: dashed;
}
.product-tile .go {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-text);
}

/* ---------- Beta form ---------- */
.beta {
  display: grid;
  gap: 32px;
  padding: 28px;
  border-radius: 24px;
}
@media (min-width: 900px) {
  .beta {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
  }
}
.beta ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.beta li {
  display: flex;
  gap: 10px;
}
.beta li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--orange);
}
form.join {
  display: grid;
  gap: 14px;
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
.field .optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* stops iOS zooming in on focus */
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252, 98, 1, 0.2);
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.form-message {
  min-height: 1.6em;
  font-size: 15px;
  font-weight: 500;
}
.form-message.error {
  color: #dc2626;
}
:root.dark .form-message.error {
  color: #f87171;
}
.joined {
  display: none;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}
.joined.show {
  display: block;
}
.joined h3 {
  font-size: 22px;
}
.joined p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 820px;
}
.faq details {
  padding: 18px 20px;
  border-radius: 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after {
  content: "+";
  color: var(--accent-text);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
}

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page {
  padding: 48px 0 80px;
}
.prose {
  max-width: 760px;
  padding: 32px;
  border-radius: 24px;
}
@media (min-width: 768px) {
  .prose {
    padding: 48px;
  }
}
.prose h1 {
  font-size: clamp(30px, 5vw, 42px);
}
.prose h2 {
  margin-top: 36px;
  font-size: 22px;
}
.prose p,
.prose ul {
  margin-top: 12px;
  color: var(--muted);
}
.prose ul {
  padding-left: 20px;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--text);
}
.prose a {
  color: var(--accent-text);
}
.center {
  text-align: center;
  margin-inline: auto;
}

/* Mock company logos (fictional companies) */
.logo-a { background: linear-gradient(135deg, #2563eb, #1e40af); }
.logo-b { background: linear-gradient(135deg, #10b981, #047857); }
.logo-c { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.logo-d { background: linear-gradient(135deg, #f43f5e, #be123c); }
.mock-card .role { display: block; }
.site-footer .logo .icon { width: 24px; height: 24px; }
.faq a, .form-note a { color: var(--accent-text); }


/* ---------- Content sits above the spark line ---------- */
main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}
.site-header {
  z-index: 10;
}
.section-head {
  max-width: 820px;
}
.section-title {
  text-wrap: balance;
}
.rail-start {
  display: block;
  height: 1px;
  margin-top: 40px;
}

/* ---------- Spark line (positions set by /rail.js) ---------- */
.rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.rail-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
:root.dark .rail-track {
  stroke: rgba(255, 255, 255, 0.14);
}
.rail-line {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(252, 98, 1, 0.55));
}
.spark-core {
  fill: #fff7ed;
}
.spark-halo {
  fill: var(--orange);
  opacity: 0.5;
  filter: blur(5px);
}
.rail-spark {
  filter: drop-shadow(0 0 8px rgba(252, 98, 1, 0.9));
  transition: opacity 0.3s;
}
.rail.static .rail-spark {
  opacity: 0;
}

/* ---------- Animated product demo ---------- */
.demo-wrap {
  margin: 44px 0 0;
}
.demo {
  position: relative;
  padding: 0 0 16px;
  border-radius: 24px;
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
}
.demo-add {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.demo-add.pulse {
  box-shadow: 0 0 0 6px rgba(252, 98, 1, 0.25);
  transform: scale(1.06);
}
.demo-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  padding: 16px 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.demo-board::-webkit-scrollbar {
  display: none;
}
.demo-col {
  min-height: 260px;
  padding: 10px 8px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.demo-col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.demo-col .count {
  font-size: 12px;
  color: var(--accent-text);
  transition: transform 0.25s;
}
.demo-col .count.bump {
  transform: scale(1.5);
}
.demo-list {
  display: grid;
  gap: 8px;
}
.demo-card {
  position: relative;
  padding: 11px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s, border-color 0.4s;
}
.demo-card.fresh {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252, 98, 1, 0.25), 0 10px 30px -10px rgba(252, 98, 1, 0.6);
}
.demo-card.enter {
  animation: card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
}
.demo-card .top {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.demo-card strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}
.demo-card .role {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.demo-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.demo-card .chip {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: 11px;
  transition: opacity 0.35s, transform 0.35s;
}
.demo-card .chip.hide,
.demo-card .chip-date.hide {
  opacity: 0;
  transform: translateY(4px);
}
.demo-card .chip-date {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 11px;
  color: var(--muted);
  transition: opacity 0.35s, transform 0.35s;
}
.demo-card .chip-date.soon {
  color: var(--accent-text);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(252, 98, 1, 0.45);
}
.demo-card .bar-track {
  height: 3px;
  margin-top: 9px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
}
.demo-card .bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-card .offer-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes pop {
  from { transform: scale(0); }
}
.demo-card .spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  pointer-events: none;
  animation: burst 0.9s ease-out forwards;
}
@keyframes burst {
  to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}
.demo-drop {
  position: absolute;
  top: 54px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 48px);
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--orange);
  box-shadow: 0 16px 40px -12px rgba(252, 98, 1, 0.55);
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.45s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
}
.demo-drop .drop-icon {
  color: var(--orange);
  display: inline-flex;
}
.demo-drop .drop-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-drop.show {
  opacity: 1;
  transform: none;
}
.demo-drop .drop-reading {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
}
.demo-drop.reading .drop-text {
  display: none;
}
.demo-drop.reading .drop-reading {
  display: inline-flex;
}
.drop-reading i {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--orange) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 0.9s linear infinite;
}
@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.demo-board.fading .demo-list {
  opacity: 0;
  transition: opacity 0.5s;
}
.demo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.demo-pause {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  font: 500 13px/1 "Inter", sans-serif;
  cursor: pointer;
}
.demo-pause:hover {
  border-color: var(--orange);
}

/* ---------- Four statements ---------- */
.proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}
.proof-in {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--surface-2);
}
.proof-in svg {
  color: var(--orange);
}
.proof-arrow {
  color: var(--orange);
  font-weight: 700;
}
.proof-out {
  padding: 5px 10px;
  border-radius: 9px;
  border: 1px solid rgba(252, 98, 1, 0.45);
}
.proof-out b {
  font-weight: 700;
}
.proof-checks .check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: line-through;
}
.proof-checks .check::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 4px;
  border: 1.5px solid var(--muted);
}
.proof-checks .check.on {
  color: var(--text);
  text-decoration: none;
}
.proof-checks .check.on::before {
  border-color: var(--orange);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.proof-save {
  padding: 5px 12px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

/* Proof chips slide in when they scroll into view. */
[data-reveal] > * {
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js [data-reveal]:not(.revealed) > * {
  opacity: 0;
  transform: translateY(8px);
}
[data-reveal].revealed > :nth-child(2) { transition-delay: 0.15s; }
[data-reveal].revealed > :nth-child(3) { transition-delay: 0.3s; }
[data-reveal].revealed > :nth-child(4) { transition-delay: 0.45s; }
[data-reveal].revealed .proof-arrow {
  animation: nudge 1.6s ease-in-out 0.6s infinite;
}
@keyframes nudge {
  50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-card.enter,
  .demo-card .offer-badge,
  [data-reveal].revealed .proof-arrow,
  .drop-reading i {
    animation: none;
  }
  .js [data-reveal]:not(.revealed) > * {
    opacity: 1;
    transform: none;
  }
}

/* Company logo tiles in the demo (made-up companies) */
.mock-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font: 700 13px/1 "Poppins", sans-serif;
  color: #fff;
}


/* ---------- Line dots: light up and pulse once the line reaches them ---------- */
.rail-node {
  fill: var(--bg);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2;
  transition: fill 0.3s, stroke 0.3s;
}
:root:not(.dark) .rail-node {
  stroke: var(--border);
}
.rail-pulse {
  fill: var(--orange);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.rail-dot.lit .rail-node {
  fill: var(--orange);
  stroke: #fff4ec;
}
.rail-dot.lit .rail-pulse {
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(3.4); opacity: 0; }
}

/* ---------- Headings ---------- */
.eyebrow {
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}
.product-head .eyebrow::before,
.product-tile .eyebrow::before {
  display: none;
}

/* Big headings: tight, heavy type with a soft top-to-bottom sheen, and one key phrase in the brand gradient. */
.hero h1,
.section-title,
.insight h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 62%, transparent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title {
  margin-top: 16px;
  font-size: clamp(34px, 5.2vw, 60px);
}
.accent,
.hero h1 .accent {
  background: linear-gradient(100deg, var(--amber) 0%, var(--orange) 45%, var(--orange-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 22px rgba(252, 98, 1, 0.35));
}
:root:not(.dark) .accent {
  filter: none;
}
.product-tile h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.faq summary {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* Headings rise into place as they scroll into view (main.js adds .rise and .in). */
.rise {
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s;
}
.rise:not(.in) {
  opacity: 0;
  transform: translateY(18px);
}
@media (prefers-reduced-motion: reduce) {
  .rise:not(.in) {
    opacity: 1;
    transform: none;
  }
  .rail-dot.lit .rail-pulse {
    animation: none;
  }
}

/* ---------- Four statements, set along the line ---------- */
.insights .wrap {
  display: grid;
  gap: 96px;
}
.insight {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .insights .wrap {
    gap: 136px;
  }
  .insight {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}
.insight h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}
.insight p {
  font-size: 18px;
  color: var(--muted);
}
@media (min-width: 900px) {
  .insight-body {
    padding-top: 10px;
  }
}

/* The board's height is fixed by demo.js; columns fill it and never grow past it. */
.demo-board {
  align-items: stretch;
}
.demo-col {
  overflow: hidden;
}

/* ---------- Analytics consent banner (analytics.js) ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: 420px;
  padding: 18px;
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  animation: consent-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 640px) {
  .consent {
    right: auto;
    left: 24px;
    bottom: 24px;
  }
}
@keyframes consent-in {
  from { opacity: 0; transform: translateY(12px); }
}
.consent-title {
  font: 600 16px/1.3 "Poppins", "Inter", sans-serif;
}
.consent p + p {
  margin-top: 6px;
  color: var(--muted);
}
.consent a {
  color: var(--accent-text);
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.link-button:hover {
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .consent {
    animation: none;
  }
}
.prose .inline-link {
  color: var(--accent-text);
  text-decoration: underline;
}
.prose code {
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
}

/* ---------- Room for the spark line ----------
   Wide screens: the line sits 48px into the page margin. Narrower screens: sections keep a strip of
   left padding and the line runs inside it. */
@media (max-width: 1247px) {
  main section:not(.hero) > .wrap {
    padding-left: 34px;
  }
}
@media (min-width: 640px) and (max-width: 1247px) {
  main section:not(.hero) > .wrap {
    padding-left: 60px;
  }
}
