/* Vusha public site. One stylesheet, no build step for CSS.

   A white, airy page: near-black text, hairline dividers, big headlines in a
   geometric sans, pill buttons and rounded cards with soft tints. Charcoal is
   the brand colour; electric lime (#c6f432, the app's accent) appears only in
   small doses: the highlighted words, focus rings, a few dashes and markers.
   It never carries light text, and lime text appears only on dark surfaces.
   The one strong dark moment is the closing call to action. Light first, with
   a full dark theme through prefers-color-scheme. Contrast ratios are noted
   where they matter. */

/* Fonts: Inter for text, Geist for headlines, self-hosted (latin subset,
   SIL Open Font License, see assets/fonts/). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-500.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  /* Light. Muted text #5f5f58 is 6.4:1 on white and 5.9:1 on the soft section background. */
  --bg: #ffffff;
  --bg-soft: #fafaf8;
  --surface: #ffffff;
  --fg: #141414;
  --fg-muted: #5f5f58;
  --fg-faint: #6b6b63;
  --line: #ebeae5;
  --line-strong: #d6d5ce;
  --hover: #f3f3ef;
  --tile: #f4f4f0;

  /* Screenshot card tints. */
  --tint-0: #f3f3ef;
  --tint-1: #f1f5e6;
  --tint-2: #f2f0ea;

  /* Pill buttons: charcoal with white text (17:1). */
  --btn: #141414;
  --btn-hover: #2c2c2a;
  --btn-fg: #ffffff;

  --accent: #c6f432;
  --accent-ink: #4d7c0f;

  /* Focus: a charcoal ring with a lime halo, 3:1 or more on every surface. */
  --focus: #141414;

  /* The dark call to action panel, the same in both themes. On #141414: text 16:1, soft 11.8:1. */
  --panel: #141414;
  --panel-fg: #f4f4ef;
  --panel-soft: #cfcfc7;

  --code-bg: #141414;
  --code-fg: #e7e7e2;
  --code-muted: #a3a39a;

  --neutral-subtle: #f2f2ee;
  --neutral-subtle-fg: #3f3f3a;
  --warning-subtle: #fff8e6;
  --warning-subtle-fg: #854d0e;
  --warning-border: #fde68a;

  --shadow-sm: 0 1px 2px rgb(20 20 20 / 0.05);
  --shadow-md: 0 1px 2px rgb(20 20 20 / 0.04), 0 12px 32px -12px rgb(20 20 20 / 0.14);
  --shadow-menu: 0 30px 60px -20px rgb(20 20 20 / 0.22);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1240px;
  --gutter: 20px;
  --header-h: 72px;
  --r-card: 20px;
  --r-big: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark. Muted text #a1a19a is 7.3:1 on the page and 6.9:1 on cards. */
    --bg: #0e0e0e;
    --bg-soft: #121212;
    --surface: #151515;
    --fg: #f2f2ee;
    --fg-muted: #a1a19a;
    --fg-faint: #8a8a82;
    --line: #242423;
    --line-strong: #363634;
    --hover: #1c1c1b;
    --tile: #1c1c1b;

    --tint-0: #171716;
    --tint-1: #161a10;
    --tint-2: #1a1917;

    --btn: #f2f2ee;
    --btn-hover: #ffffff;
    --btn-fg: #141414;

    --accent-ink: #c6f432;
    --focus: #f2f2ee;

    --panel: #161616;

    --code-bg: #0a0a0a;

    --neutral-subtle: #1f1f1e;
    --neutral-subtle-fg: #d4d4cc;
    --warning-subtle: #2a1d06;
    --warning-subtle-fg: #fcd34d;
    --warning-border: #713f12;

    --shadow-sm: none;
    --shadow-md: 0 0 0 1px rgb(255 255 255 / 0.04);
    --shadow-menu: 0 30px 60px -20px rgb(0 0 0 / 0.7);
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings:
    "cv11" 1,
    "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

html.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}

h1,
h2,
.row-title,
.slide-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-feature-settings: normal;
  letter-spacing: -0.03em;
}

h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

main p a:not(.btn):not(.card-link),
main li a:not(.btn):not(.chip):not(.card-link):not(.slide-card) {
  font-weight: 500;
  text-decoration-color: var(--line-strong);
}

main p a:not(.btn):hover,
main li a:not(.btn):not(.chip):not(.card-link):not(.slide-card):hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--accent);
  border-radius: 6px;
}

::selection {
  background: color-mix(in oklab, var(--accent) 60%, transparent);
  color: #141414;
}

code,
pre {
  font-family: var(--font-mono);
  font-size: 0.875em;
  font-variant-numeric: tabular-nums slashed-zero;
}

p code,
li code,
td code,
th code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--tile);
  font-size: 0.8125em;
  white-space: nowrap;
}

.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-fg);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

.bi {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* Legacy inline icons in the legal pages' draft banner. */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The highlighted words: a lime marker under charcoal text; in dark mode the words turn lime. */
.hl {
  background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 88%, transparent 88%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.03em;
}

@media (prefers-color-scheme: dark) {
  .hl {
    background: none;
    color: var(--accent);
  }
}

/* Buttons: pills. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.btn .bi {
  font-size: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:active {
    transform: scale(0.98);
  }
}

.btn-pill {
  background: var(--btn);
  color: var(--btn-fg);
}

.btn-pill:hover {
  background: var(--btn-hover);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn-outline:hover {
  background: var(--hover);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 28px;
  font-size: 1.0625rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions-center {
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 14px 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.pill .bi {
  color: var(--fg);
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tile);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.pill-link:hover {
  background: var(--line);
}

.label {
  margin-bottom: 12px;
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--tile);
  color: var(--fg);
  font-size: 1.0625rem;
}

.tile-lg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.375rem;
}

.tile-muted {
  color: var(--fg-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  border-radius: 6px;
}

.brand img {
  width: 103px;
  height: 28px;
}

.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  cursor: pointer;
}

.nav-top .bi {
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.nav-top .chev {
  font-size: 0.6875rem;
  transition: transform 0.2s;
}

.nav-top:hover,
.nav-top[aria-current="page"],
.nav-top.is-section,
.nav-trigger[aria-expanded="true"] {
  background: var(--hover);
}

.nav-trigger[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-actions .sign-in {
  display: none;
}

.header-actions .get-started {
  display: none;
}

@media (min-width: 480px) {
  .header-actions .get-started {
    display: inline-flex;
  }
}

@media (min-width: 1140px) {
  .nav-desktop {
    display: block;
    margin-left: 28px;
  }

  .header-actions .sign-in {
    display: inline-flex;
  }

  .m-menu {
    display: none;
  }
}

/* Mega menus: full-width white panels under the bar. */

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 36px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-big) var(--r-big);
  box-shadow: var(--shadow-menu);
}

.mega[hidden] {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .mega:not([hidden]) {
    animation: mega-in 0.18s ease-out;
  }
}

@keyframes mega-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Without JavaScript, a focused trigger still opens its panel. */
html:not(.js) .has-mega:focus-within .mega {
  display: block;
}

.mega-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
}

.mega-intro p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mega-intro .pill-link {
  margin-top: 22px;
}

.mega-cols {
  display: grid;
  gap: 0;
}

.mega-cols.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.mega-cols.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-group {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.mega-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-label {
  margin: 0 0 12px 10px;
  color: var(--fg-faint);
  font-size: 0.8125rem;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
}

.mega-link:hover {
  background: var(--hover);
}

.mega-link .tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.9375rem;
}

.mega-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.mega-desc {
  display: block;
  margin-top: 2px;
  color: var(--fg-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(20 20 20 / 0.16);
}

.mega-backdrop[hidden] {
  display: none;
}

/* Phone menu: a full-screen disclosure with accordions; works without JavaScript. */

.m-menu {
  position: static;
}

.m-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-fg);
  font-size: 1.25rem;
  cursor: pointer;
}

.m-toggle::-webkit-details-marker {
  display: none;
}

.m-menu .icon-close,
.m-menu[open] .icon-open {
  display: none;
}

.m-menu[open] .icon-close {
  display: block;
}

.m-panel {
  position: fixed;
  top: calc(var(--header-h) + 1px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
  background: var(--bg);
  overscroll-behavior: contain;
}

.m-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-list > li {
  border-bottom: 1px solid var(--line);
}

.m-list .nav-top,
.m-acc > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 4px;
  border-radius: 0;
  background: none;
  font-size: 1.0625rem;
  font-weight: 500;
}

.m-list .nav-top:hover {
  background: none;
}

.m-acc > summary {
  list-style: none;
  cursor: pointer;
}

.m-acc > summary::-webkit-details-marker {
  display: none;
}

.m-acc > summary .bi {
  color: var(--fg-muted);
}

.m-acc > summary .chev {
  margin-left: auto;
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.m-acc[open] > summary .chev {
  transform: rotate(180deg);
}

.m-sub {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.m-sub .pill-link {
  margin: 8px 0 0 10px;
}

.m-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.m-actions .btn {
  min-height: 52px;
  font-size: 1.0625rem;
}

/* Sections */

.section {
  padding-block: 72px;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

@media (min-width: 900px) {
  .section {
    padding-block: 120px;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.06;
}

.section-head p {
  margin-top: 18px;
  color: var(--fg-muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.section-head .ticks {
  margin-top: 20px;
}

.h2-sm {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.1;
}

.note {
  margin-top: 28px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 900px;
  height: 562px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
}

@media (min-width: 720px) {
  .hero-bg {
    width: max(1440px, 100%);
    height: 900px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg img {
    animation: drift 40s ease-in-out infinite alternate;
  }
}

@keyframes drift {
  to {
    transform: rotate(2.5deg) scale(1.04);
  }
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero h1 {
  max-width: 14ch;
  margin-inline: auto;
  font-size: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero .lead {
  max-width: 640px;
  margin: 26px auto 0;
  color: var(--fg-muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-note {
  margin-top: 18px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.hero-shot {
  position: relative;
  margin-top: 72px;
}

.hero-shot .shot {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(16px, 4vw, 48px) clamp(16px, 4vw, 48px) 0;
  border-radius: var(--r-big) var(--r-big) 0 0;
}

.hero-shot .shot img {
  border-radius: 14px 14px 0 0;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 120px;
  }
}

/* Page heroes (inner pages): left aligned. */

.page-hero {
  padding-block: 56px 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--fg-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  text-wrap: pretty;
}

.page-hero .shot {
  margin-top: 56px;
}

@media (min-width: 900px) {
  .page-hero {
    padding-block: 88px 96px;
  }
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs .bi {
  font-size: 0.75rem;
}

/* App screenshots in soft-tinted cards. */

.shot {
  margin: 0;
  padding: clamp(14px, 3.2vw, 36px) 0 0 clamp(14px, 3.2vw, 36px);
  overflow: hidden;
  border-radius: var(--r-big);
  background: var(--tint-0);
}

.shot.tint-1 {
  background: var(--tint-1);
}

.shot.tint-2 {
  background: var(--tint-2);
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 12px 0 0 0;
  box-shadow:
    0 0 0 1px rgb(20 20 20 / 0.06),
    0 18px 40px -18px rgb(20 20 20 / 0.3);
}

@media (prefers-color-scheme: dark) {
  .shot img {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  }
}

/* Alternating rows: big title, short text, screenshot card. */

.rows {
  display: grid;
  gap: 88px;
}

.row {
  display: grid;
  gap: 32px;
  align-items: center;
}

.row-title {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  line-height: 1.08;
}

.row-lead {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

.row-text .btn {
  margin-top: 28px;
}

.row-text .label {
  margin: 24px 0 8px;
}

.row-text .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.row-feats {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.row-feats li,
.icon-list li {
  display: flex;
  gap: 14px;
}

.row-feats h4,
.icon-list h3 {
  font-size: 1rem;
}

.row-feats p,
.icon-list p {
  margin-top: 2px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

@media (min-width: 960px) {
  .row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }

  .row.flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .row.flip .row-text {
    order: 2;
  }

  .rows {
    gap: 120px;
  }
}

/* Solutions grid */

.sol-grid {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.sol-card {
  display: flex;
  flex-direction: column;
}

.sol-card h3 {
  margin-top: 22px;
  font-size: 1.1875rem;
}

.sol-card p {
  margin-top: 8px;
  color: var(--fg-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.card-link .bi {
  font-size: 0.875rem;
  transition: transform 0.15s;
}

.card-link:hover .bi {
  transform: translateX(3px);
}

/* The whole card is clickable through its link. */
.sol-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.sol-card:hover {
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: no-preference) {
  .sol-card:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 640px) {
  .sol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .sol-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sol-grid li:first-child {
    grid-column: span 2;
  }
}

/* Hairline grid: industry challenges. */

.hairline-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.hairline-grid li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.hairline-grid h3 {
  margin-top: 18px;
  font-size: 1.125rem;
}

.hairline-grid p {
  margin-top: 8px;
  color: var(--fg-muted);
}

@media (min-width: 720px) {
  .hairline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}

@media (min-width: 1100px) {
  .hairline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
    border-top: 0;
  }

  .hairline-grid li {
    padding: 4px 28px 8px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .hairline-grid li:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* Feature grids on solution and industry pages. */

.feat-grid {
  display: grid;
  gap: 16px;
}

.feat {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.feat h3 {
  margin-top: 18px;
  font-size: 1.0625rem;
}

.feat p {
  margin-top: 6px;
  color: var(--fg-muted);
}

@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .feat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feat-grid.n4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Steps */

.steps {
  display: grid;
  gap: 40px;
}

.step {
  padding-top: 20px;
  border-top: 1px solid var(--fg);
}

.step-num {
  display: block;
  margin-bottom: 28px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.step h3 {
  font-size: 1.1875rem;
}

.step p {
  margin-top: 10px;
  color: var(--fg-muted);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Ticks */

.ticks {
  display: grid;
  gap: 8px;
  color: var(--fg-muted);
}

.ticks li {
  position: relative;
  padding-left: 26px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg);
}

/* Chips and coverage */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.chip .bi {
  color: var(--fg-muted);
}

.chip-lg {
  padding: 10px 18px;
  font-size: 1rem;
}

.chip-meta {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chip-soon {
  border-style: dashed;
  border-color: var(--line-strong);
  color: var(--fg-muted);
}

.chip-link:hover {
  background: var(--hover);
}

.coverage {
  display: grid;
  gap: 32px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  background: var(--bg-soft);
}

/* Split head: title left, text and button right. */

.split-head {
  display: grid;
  gap: 20px;
  margin: 112px 0 40px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.split-head p {
  max-width: 44ch;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

.split-head .btn {
  margin-top: 20px;
}

.split {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .split-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
}

/* Carousel: native horizontal scroll with snap; buttons step one card. */

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 8px;
  margin: -4px -4px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 min(300px, 82%);
  scroll-snap-align: start;
}

.slide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: 28px;
  border-radius: var(--r-big);
  background: var(--tint-0);
  text-decoration: none;
  transition: background-color 0.2s;
}

.slide:nth-child(3n + 2) .slide-card {
  background: var(--tint-1);
}

.slide:nth-child(3n + 3) .slide-card {
  background: var(--tint-2);
}

.slide-card:hover {
  background: var(--line);
}

.slide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.slide-title {
  margin-top: auto;
  padding-top: 40px;
  font-size: 2rem;
  line-height: 1.05;
}

.slide-desc {
  min-height: 3.2em;
  margin-top: 10px;
  color: var(--fg-muted);
}

.slide-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

html:not(.js) .carousel-nav {
  display: none;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
}

.round-btn:hover {
  background: var(--hover);
}

.round-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Developers */

.dev {
  display: grid;
  gap: 40px;
  align-items: start;
}

.dev .section-head {
  margin-bottom: 0;
}

.icon-list {
  display: grid;
  gap: 22px;
}

.dev .icon-list {
  margin-top: 36px;
}

.code-card {
  margin: 0;
  min-width: 0;
}

.code {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  border-radius: var(--r-card);
  background: var(--code-bg);
  color: var(--code-fg);
  line-height: 1.75;
  tab-size: 2;
}

.code .c {
  color: var(--code-muted);
}

.code .k {
  color: var(--accent);
}

.code-card figcaption {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 0.875rem;
}

@media (min-width: 960px) {
  .dev {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .dev .code-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (max-width: 599px) {
  .code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table thead th {
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.table tbody tr:last-child > * {
  border-bottom: 0;
}

.table tbody th {
  font-weight: 600;
}

/* Call to action: the dark moment, with our dash field. */

.section-cta {
  padding-block: 24px 96px;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 24px;
  border-radius: var(--r-big);
  background: var(--panel);
  color: var(--panel-fg);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06);
  --focus: #f4f4ef;
}

.cta-dashes {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  opacity: 0.9;
}

.cta-panel h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  line-height: 1.05;
}

.cta-panel p {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--panel-soft);
  font-size: 1.0625rem;
}

.btn-invert {
  background: #f4f4ef;
  color: #141414;
}

.btn-invert:hover {
  background: #ffffff;
}

.btn-ghost-panel {
  border-color: rgb(255 255 255 / 0.3);
  color: var(--panel-fg);
}

.btn-ghost-panel:hover {
  background: rgb(255 255 255 / 0.08);
}

@media (min-width: 768px) {
  .cta-panel {
    padding: 96px 72px;
  }
}

/* Footer */

.site-footer {
  padding-block: 64px 32px;
  border-top: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  gap: 48px;
}

.footer-brand img {
  width: 152px;
  height: 48px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
}

.footer-mail:hover {
  text-decoration: underline;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.footer-cols h2 {
  margin-bottom: 14px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols li + li {
  margin-top: 8px;
}

.footer-cols a {
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 4fr);
    gap: 64px;
  }

  .footer-cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Legal and utility pages */

.legal {
  max-width: 800px;
  padding-block: 64px 96px;
}

.legal h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.05;
}

.legal h2 {
  margin-top: 44px;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal p,
.legal ul {
  margin-top: 12px;
  color: var(--fg-muted);
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 4px;
}

.legal .meta {
  margin-top: 8px;
  font-size: 0.875rem;
}

.legal .eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.legal p a.btn {
  color: var(--btn-fg);
  text-decoration: none;
}

.draft-banner {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--warning-border);
  border-radius: 14px;
  background: var(--warning-subtle);
  color: var(--warning-subtle-fg);
}

.draft-banner p {
  margin: 0;
  color: inherit;
}

.draft-banner strong {
  display: block;
}

@media (forced-colors: active) {
  .btn,
  .chip,
  .pill,
  .card,
  .shot,
  .cta-panel,
  .mega {
    border: 1px solid CanvasText;
  }

  :focus-visible {
    outline: 2px solid Highlight;
  }

  .hl {
    background: none;
    text-decoration: underline;
  }
}
