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

/* ArcLeads dark tokens (shadcn neutral dark + ArcSolar action blue). Blue is only for the main CTA and focus. */
:root {
  --background: oklch(0.145 0 0);
  --background-top: oklch(0.255 0.004 286);
  --background-mid: oklch(0.185 0.003 286);
  --foreground: oklch(0.985 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --subtle-foreground: oklch(0.58 0 0);
  --dim-foreground: oklch(0.62 0 0);
  --card: oklch(0.2 0 0 / 0.6);
  --card-solid: oklch(0.2 0 0);
  --border: oklch(1 0 0 / 10%);
  --border-strong: oklch(1 0 0 / 16%);
  --accent: #3d88f1;
  --accent-solid: color-mix(in srgb, var(--accent) 85%, black);
  --accent-solid-hover: color-mix(in srgb, var(--accent) 78%, black);
  --success: oklch(0.72 0.15 160);
  --font: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--foreground);
  background-color: var(--background);
  background-image:
    radial-gradient(120% 60% at 50% -10%, var(--background-top) 0%, transparent 60%),
    linear-gradient(180deg, var(--background-mid) 0%, var(--background) 45%, oklch(0.12 0 0) 100%);
  font-family: var(--font);
  font-feature-settings: "ss03", "cv11";
  font-size: 14px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.dim { color: var(--dim-foreground); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px;
  background: var(--card-solid); border: 1px solid var(--border-strong); border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: oklch(0.17 0 0 / 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 56px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 550; letter-spacing: -0.03em; }
.wordmark img { border-radius: 6px; }
.wordmark.small { font-size: 13px; gap: 8px; color: var(--muted-foreground); }
.header-nav { display: flex; gap: 22px; font-size: 13px; color: var(--muted-foreground); }
.header-nav a:hover { color: var(--foreground); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 32px; padding: 0 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 120ms, border-color 120ms, color 120ms, scale 120ms;
}
.btn:active { scale: 0.98; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { height: 30px; }
.btn-lg { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-primary { background: var(--accent-solid); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(0 0 0 / 0.3); }
.btn-primary:hover { background: var(--accent-solid-hover); }
.btn-outline { background: oklch(1 0 0 / 4%); border-color: var(--border-strong); color: var(--foreground); }
.btn-outline:hover { background: oklch(1 0 0 / 8%); }
.btn-ghost { color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); background: oklch(1 0 0 / 6%); }

/* Hero */
.hero { padding: 80px 0 0; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; line-height: 18px; color: var(--muted-foreground);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: oklch(1 0 0 / 3%);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
h1 {
  margin: 22px auto 0; max-width: 18ch;
  font-size: clamp(38px, 6.6vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -0.042em;
}
h1 span { display: inline-block; }
.lede { margin: 18px auto 0; max-width: 46ch; font-size: 17px; line-height: 27px; color: var(--muted-foreground); text-wrap: pretty; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--subtle-foreground); }

/* Screenshot frames: light product UI sits in a dark bezel so it reads as one object on the gradient. */
.shot {
  position: relative; border-radius: 14px; padding: 6px;
  background: linear-gradient(180deg, oklch(1 0 0 / 9%), oklch(1 0 0 / 3%));
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px -24px rgb(0 0 0 / 0.7), inset 0 1px 0 oklch(1 0 0 / 8%);
}
.shot img { width: 100%; height: auto; border-radius: 9px; background: oklch(0.97 0 0); }
.shot-hero { margin: 0 auto; max-width: 1112px; }
.shot.flat { padding: 4px; border-radius: 11px; box-shadow: none; background: oklch(1 0 0 / 5%); border-color: var(--border); }
.shot.flat img { border-radius: 7px; }

/* Logo rail */
.logos { padding: 72px 0 0; }
.logos-title { text-align: center; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: var(--subtle-foreground); }
.logo-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 14px; background: var(--card); overflow: hidden; }
.logo-grid li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px 18px; text-align: center; border-right: 1px solid var(--border); }
.logo-grid li:last-child { border-right: 0; }
.logo-grid img { width: auto; height: 24px; margin-bottom: 8px; object-fit: contain; }
.logo-grid img.rounded { border-radius: 6px; }
.logo-grid b { font-size: 13px; line-height: 18px; font-weight: 550; color: var(--foreground); }
.logo-grid small { font-size: 12px; line-height: 16px; color: var(--subtle-foreground); }

/* Sections */
.section { padding: 112px 0 0; }
.kicker { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--muted-foreground); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.14; font-weight: 600; letter-spacing: -0.032em; text-wrap: balance; }
h3 { font-size: 14px; line-height: 20px; font-weight: 550; letter-spacing: -0.01em; }
.section-head { max-width: 620px; }
.section-head > p:not(.kicker), .split-copy > p:not(.kicker), .final p { margin-top: 14px; color: var(--muted-foreground); font-size: 15px; line-height: 24px; max-width: 52ch; text-wrap: pretty; }

.split { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.split.reverse .split-copy { order: 2; }
.ticks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
/* Ticks as the liquid-glass Checkbox (onemorethink): an 18px box, 30% corners, always checked, under a clear
   glass cap 1.2x the box that overhangs and bends it at rest. Decorative only: list semantics, no control. */
.ticks li { position: relative; padding-left: 30px; color: var(--muted-foreground); font-size: 14px; line-height: 22px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 30%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M23 52 42 70 79 30' fill='none' stroke='white' stroke-width='13' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.25);
}
.ticks li::after {
  content: ""; position: absolute; left: 0.2px; top: 0.2px; width: 21.6px; height: 21.6px; border-radius: 32%;
  background:
    radial-gradient(120% 70% at 50% 0%, rgb(255 255 255 / 0.42), rgb(255 255 255 / 0.06) 55%, transparent 70%),
    linear-gradient(0deg, rgb(255 255 255 / 0.16), transparent 40%);
  backdrop-filter: blur(0.5px) saturate(150%) brightness(1.1);
  -webkit-backdrop-filter: blur(0.5px) saturate(150%) brightness(1.1);
  box-shadow:
    inset 0 1px 0.5px rgb(255 255 255 / 0.75), inset 0 -1px 1.5px rgb(0 0 0 / 0.28),
    inset 1px 0 1px rgb(255 255 255 / 0.18), inset -1px 0 1px rgb(255 255 255 / 0.18),
    0 2px 5px rgb(0 0 0 / 0.4);
  transition: scale 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ticks li:hover::after { scale: 1.18; }
@media (prefers-reduced-motion: reduce) { .ticks li::after { transition: none; } }

.bento { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.card.wide { grid-column: 1 / -1; }
.card-copy p { margin-top: 4px; color: var(--muted-foreground); font-size: 13px; line-height: 20px; }
.card .shot { margin-top: auto; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts p { margin-top: 6px; color: var(--muted-foreground); font-size: 13px; line-height: 21px; }

/* Final CTA */
.final { padding-bottom: 96px; }
.final-inner {
  text-align: center; padding-top: 56px; padding-bottom: 56px;
  border: 1px solid var(--border); border-radius: 16px;
  background: radial-gradient(80% 120% at 50% 0%, oklch(0.26 0.004 286 / 0.8), oklch(0.18 0 0 / 0.6));
  max-width: 1112px;
}
.final p { margin-left: auto; margin-right: auto; }
.center { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; }
.footnote { font-size: 12px; line-height: 18px; color: var(--subtle-foreground); flex: 1 1 280px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 12px; color: var(--subtle-foreground); }
.site-footer nav a:hover { color: var(--foreground); }

/* Responsive */
@media (max-width: 1000px) {
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-grid li { border-bottom: 1px solid var(--border); }
  .logo-grid li:nth-child(4n) { border-right: 0; }
  .logo-grid li:nth-child(n + 5) { border-bottom: 0; }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.reverse .split-copy { order: 0; }
  .split-copy { max-width: 620px; }
  .facts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .header-nav { display: none; }
  .hero { padding-top: 56px; }
  .showcase { margin-top: 36px; }
  .section { padding-top: 80px; }
  .logos { padding-top: 56px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .facts.four { grid-template-columns: minmax(0, 1fr); }
  .btn { min-height: 44px; }
  .final-inner { padding: 40px 20px; }
  .card { padding: 18px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hide-xs { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid li, .logo-grid li:nth-child(n) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .logo-grid li:nth-child(2n) { border-right: 0; }
  .logo-grid li:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .shot { padding: 4px; border-radius: 11px; }
  .shot img { border-radius: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Glass tabs (hero). Without JS the tabs are hidden and the first view shows. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.showcase { margin-top: 48px; display: flex; flex-direction: column; align-items: center; }
.showcase .shot-hero { margin-top: 20px; width: 100%; }
.glass-tabs {
  position: relative; isolation: isolate; display: none; gap: 2px; padding: 4px;
  border-radius: 999px; background: oklch(1 0 0 / 6%); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 6%);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.js .glass-tabs { display: inline-flex; }
.glass-tabs button {
  position: relative; z-index: 1; height: 32px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted-foreground); font: inherit; font-size: 13px; font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: color 200ms;
}
.glass-tabs button:hover { color: var(--foreground); }
.glass-tabs button[aria-selected="true"] { color: oklch(0.2 0 0); }
.glass-lens {
  position: absolute; z-index: 0; top: 4px; left: 0; height: 32px; width: 0; border-radius: 999px;
  background: oklch(0.97 0 0);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.8);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.3, 0.7, 0.2, 1), width 420ms cubic-bezier(0.3, 0.7, 0.2, 1),
    background-color 180ms, box-shadow 180ms, scale 180ms;
}
.glass-tabs[data-ready] .glass-lens { opacity: 1; }
/* While travelling the pill becomes clear glass: labels show through, magnified and blurred at the rim. */
.glass-tabs[data-moving] .glass-lens {
  background: oklch(1 0 0 / 10%); scale: 1.12 1.18;
  backdrop-filter: blur(1.5px) saturate(160%) brightness(1.25);
  -webkit-backdrop-filter: blur(1.5px) saturate(160%) brightness(1.25);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 35%), inset 0 2px 6px oklch(1 0 0 / 30%), inset 0 -3px 6px rgb(0 0 0 / 0.35), 0 6px 18px rgb(0 0 0 / 0.35);
}
.glass-tabs[data-moving] button[aria-selected="true"] { color: var(--foreground); }
.shot-hero [role="tabpanel"] img { animation: view-in 260ms ease-out; }
@keyframes view-in { from { opacity: 0.4; } to { opacity: 1; } }

/* Glass badge: one short word flowing through a small lens. */
.kicker-badge { display: flex; align-items: center; gap: 10px; }
.glass-badge {
  position: relative; display: inline-block; width: 56px; height: 22px; border-radius: 999px; overflow: hidden;
  background: color-mix(in oklch, oklch(0.65 0.2 45) 82%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.45), inset 0 -1px 2px rgb(0 0 0 / 0.25), inset 0 0 0 1px rgb(255 255 255 / 0.12);
  color: #fff; font-size: 11px; line-height: 22px; font-weight: 600; letter-spacing: 0.01em;
}
.glass-badge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgb(255 255 255 / 0.28), transparent 55%); }
.gb-track {
  display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  animation: gb-flow 5s linear infinite;
}
.gb-track i { width: 3px; height: 3px; background: rgb(255 255 255 / 0.75); border-radius: 1px; }
.section:hover .gb-track { animation-duration: 2.5s; }
@keyframes gb-flow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gb-track { animation: none; -webkit-mask-image: none; mask-image: none; justify-content: center; width: 100%; padding: 0; }
  .gb-track > :not(:first-child) { display: none; }
  .glass-lens { transition: none; }
  .shot-hero [role="tabpanel"] img { animation: none; }
}
@media (max-width: 520px) { .glass-tabs button { padding: 0 9px; font-size: 12px; } .glass-tabs { gap: 0; } }
