/*
 * Autovena marketing site — design system.
 *
 * This file styles the new marketing pages only. The store-submitted legal
 * pages under /en/ and /tr/ still load the legacy `style.css` + `legal.css`
 * and must not be affected by anything in here.
 *
 * Contents
 *   1. Fonts
 *   2. Tokens
 *   3. Reset and base
 *   4. Layout
 *   5. Typography
 *   6. Buttons
 *   7. Header and navigation
 *   8. Language banner
 *   9. Components
 *  10. Footer
 *  11. Utilities
 *  12. Motion preferences
 */

/* ==========================================================================
   1. Fonts — self-hosted (SIL Open Font License 1.1)
   `latin-ext` carries the Turkish diacritics (ğ İ ı ş ç ö ü); both subsets are
   required. Variable font, one file per subset covers 400–700.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.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: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #061428;
  --navy-800: #0a1f44;
  --navy-700: #10305f;
  --navy-600: #1c4380;

  /*
   * Cyan ladder. Contrast measured against --bg (#F8FAFC):
   *   cyan-500 #00B4D8  2.4:1  — decoration only, never text or an icon
   *   cyan-600 #0093B0  3.5:1  — large text and graphics only, fails AA at body size
   *   cyan-700 #00718A  5.5:1  — the only cyan allowed for small text
   * Use --cyan-700 for anything a reader has to read.
   */
  --cyan-700: #00718a;
  --cyan-600: #0093b0;
  --cyan-500: #00b4d8;
  --cyan-400: #48cae4;
  --cyan-050: #e6f7fb;

  /* Neutral */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1f2937;
  --text-mute: #55637a;
  --text-inv: #f8fafc;
  --text-inv-mute: #b8c4d6;

  /* Status — forms and notices only */
  --success: #0f8a5f;
  --warning: #b45309;
  --danger: #b42318;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 4.5vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2.4vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Shape */
  --container: 1200px;
  --container-wide: 1400px;
  --container-prose: 68ch;
  --gutter: clamp(20px, 5vw, 40px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(6 20 40 / 6%), 0 1px 3px rgb(6 20 40 / 5%);
  --shadow-md: 0 4px 12px rgb(6 20 40 / 8%);
  --shadow-lg: 0 12px 32px rgb(6 20 40 / 12%);
  --shadow-screenshot: 0 24px 60px -12px rgb(6 20 40 / 28%);

  --section-y: clamp(64px, 9vw, 120px);

  color-scheme: light;
}

/* ==========================================================================
   3. Reset and base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header height, so in-page anchors are not hidden behind it. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Visible focus everywhere. Never override this with `outline: none`. */
:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--navy-800);
  color: var(--text-inv);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

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

.container--wide {
  max-width: var(--container-wide);
}

.container--prose {
  max-width: var(--container-prose);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

/*
 * Dark sections. The homepage alternates light → light → dark; never place two
 * dark sections next to each other.
 */
.section--dark {
  background: var(--navy-800);
  color: var(--text-inv);
}

.section--darker {
  background: var(--navy-900);
  color: var(--text-inv);
}

.section--sunken {
  background: var(--surface-sunken);
}

.section--dark .section__lead,
.section--darker .section__lead,
.section--dark .muted,
.section--darker .muted {
  color: var(--text-inv-mute);
}

.section__header {
  max-width: 46rem;
  margin-bottom: var(--s-7);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-700);
}

.section--dark .eyebrow,
.section--darker .eyebrow {
  color: var(--cyan-400);
}

.grid {
  display: grid;
  gap: var(--s-5);
}

/*
 * Grid and flex children default to min-width:auto, which means they refuse to
 * shrink below their content's minimum width and push the page sideways on
 * narrow phones. Everything here is allowed to shrink instead.
 */
.grid > *,
.btn-row > * {
  min-width: 0;
}

/* A long unbroken string — a part number, a URL — must wrap rather than scroll. */
h1, h2, h3, h4, p, li, td, th {
  overflow-wrap: break-word;
}

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

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }
  .grid--split-reverse > :first-child { order: 2; }
}

/* ==========================================================================
   5. Typography
   ========================================================================== */

h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); line-height: 1.05; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); }

p {
  margin: 0 0 var(--s-4);
  max-width: var(--container-prose);
  text-wrap: pretty;
}

.section__lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-mute);
}

.muted { color: var(--text-mute); }
.small { font-size: var(--fs-small); }

a {
  color: var(--navy-600);
  text-underline-offset: 3px;
}

a:hover { color: var(--navy-800); }

.section--dark a,
.section--darker a {
  color: var(--cyan-400);
}

/* Turkish needs tabular figures in price and table contexts. */
.tnum { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  /*
   * Labels stay on one line. Turkish CTA text is longer than English
   * ("Ücretsiz deneyin" vs "Free trial"), and a wrapped button in the sticky
   * header changes the header height, which shifts the whole page.
   */
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease;
}

/*
 * Primary is navy, not cyan. White on cyan #00B4D8 is only 2.4:1 and fails
 * WCAG AA — cyan is an accent colour here, never a button background with
 * white text on it.
 */
.btn--primary {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--text-inv);
}

.btn--primary:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
  color: var(--text-inv);
}

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy-800);
}

.btn--secondary:hover {
  border-color: var(--navy-800);
  background: var(--surface);
  color: var(--navy-800);
}

/* On dark sections the primary button inverts so it stays the loudest thing. */
.section--dark .btn--primary,
.section--darker .btn--primary,
.hero .btn--primary {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--navy-900);
}

.section--dark .btn--primary:hover,
.section--darker .btn--primary:hover,
.hero .btn--primary:hover {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--navy-900);
}

.section--dark .btn--secondary,
.section--darker .btn--secondary,
.hero .btn--secondary {
  border-color: rgb(248 250 252 / 35%);
  color: var(--text-inv);
}

.section--dark .btn--secondary:hover,
.section--darker .btn--secondary:hover,
.hero .btn--secondary:hover {
  border-color: var(--text-inv);
  background: rgb(248 250 252 / 8%);
  color: var(--text-inv);
}

.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: var(--s-2) var(--s-5); font-size: var(--fs-small); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-block: var(--s-5);
}

/* ==========================================================================
   7. Header and navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(248 250 252 / 92%);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  /* Height must not change on scroll — a changing header causes layout shift. */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 72px;
}

.header__logo {
  flex: none;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 30px;
  width: auto;
}

/* Text-only detail pages use a compact product-led hero. This keeps the visual
   language of the home/product pages without repeating a full-width mockup. */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.page-hero__copy { min-width: 0; }
.page-hero__media { min-width: 0; }
.page-hero__media .screenshot { margin: 0; }

@media (max-width: 800px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .page-hero__media {
    width: min(100%, 34rem);
    margin-inline: auto;
  }
}

.header__nav {
  display: none;
  /* Never shrink below the link list: an overflowing <ul> would be drawn on
     top of the language switch, making two links overlap. */
  flex: none;
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--s-4);
  margin-inline-start: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-2) 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  /*
   * Slightly tighter than --fs-small. The Turkish menu carries nine longer
   * labels ("Bulut ve güvenlik", "Fiyatlandırma"); at --fs-small it no longer
   * fits beside the logo and the two CTAs, and the header overflows the page.
   */
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--surface);
  color: var(--navy-800);
}

.nav-link[aria-current="page"] { font-weight: 600; }

/* Dropdown built on <details> so it works without JavaScript. */
.nav-group > summary {
  list-style: none;
  cursor: pointer;
}

.nav-group > summary::-webkit-details-marker { display: none; }

.nav-group__chevron {
  /* Without flex:none the SVG is a shrinkable flex item and collapses to 0px. */
  flex: none;
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
}

.nav-group[open] .nav-group__chevron { transform: rotate(180deg); }

.nav-group__panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 10;
  min-width: 17rem;
  padding: var(--s-2);
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.nav-group__panel a {
  display: block;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--fs-small);
  text-decoration: none;
}

.nav-group__panel a:hover {
  background: var(--cyan-050);
  color: var(--navy-800);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* WCAG 2.2 target size: 24x24 minimum, with clear space around it. */
  min-height: 36px;
  min-width: 44px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-mute);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.lang-switch:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  margin-inline-start: auto;
  padding: var(--s-2) var(--s-3);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/*
 * The full menu only appears once it genuinely fits. Measured against the
 * Turkish navigation, which is the wider of the two: below this the header
 * would overflow and the whole page would scroll sideways, so narrower
 * viewports get the mobile menu instead.
 */
@media (min-width: 1240px) {
  .header__nav,
  .header__actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: var(--s-4) 0 var(--s-8);
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu[data-open="true"] { display: flex; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.mobile-menu__list {
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list a {
  display: block;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__list .mobile-menu__sub a {
  padding-inline-start: var(--s-4);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text-mute);
}

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

.mobile-menu__actions {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ==========================================================================
   8. Language banner
   ========================================================================== */

/*
 * Suggests the other language when the browser asks for it. Hidden by default
 * and revealed by JS, but the space is not reserved — it sits above the sticky
 * header and pushes content down only on the rare visit where it applies, so it
 * is inserted before first paint by an inline script to avoid layout shift.
 */
.lang-banner {
  display: none;
  background: var(--navy-900);
  color: var(--text-inv);
  font-size: var(--fs-small);
}

.lang-banner[data-visible="true"] { display: block; }

.lang-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  padding-block: var(--s-3);
}

.lang-banner a {
  color: var(--cyan-400);
  font-weight: 600;
}

.lang-banner__dismiss {
  margin-inline-start: auto;
  min-height: 32px;
  padding: var(--s-1) var(--s-3);
  background: transparent;
  border: 1px solid rgb(248 250 252 / 30%);
  border-radius: var(--radius-sm);
  color: var(--text-inv);
  font-size: var(--fs-xs);
  cursor: pointer;
}

/* ==========================================================================
   9. Components
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy-800);
  color: var(--text-inv);
  padding-block: clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero::after {
  /* Decorative cyan wash, kept subtle. */
  content: "";
  position: absolute;
  inset-inline-end: -10%;
  inset-block-start: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(0 180 216 / 22%), transparent 65%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero p { color: var(--text-inv-mute); }

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 34rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--text-inv-mute);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* --- Screenshot frame — the signature component -------------------------- */

.screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-screenshot);
}

.screenshot__chrome {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 36px;
  padding-inline: var(--s-4);
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--border);
}

.screenshot__dots {
  display: flex;
  gap: 6px;
  flex: none;
}

.screenshot__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.screenshot__url {
  flex: 1;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-mute);
  /* Balance the dots so the label is optically centred. */
  padding-inline-end: 48px;
}

.screenshot img { width: 100%; }

.screenshot--tablet,
.screenshot--phone {
  padding: 10px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}

.screenshot--phone { border-radius: 28px; padding: 8px; }

.screenshot--tablet img,
.screenshot--phone img { border-radius: 14px; }

.screenshot--phone img { border-radius: 20px; }

/* --- Supplied device imagery -------------------------------------------- */

/*
 * Shot on a pale studio backdrop, which is close enough to the light sections
 * that no frame or panel is needed. Keep it off the dark sections — there the
 * backdrop would read as a bright box.
 */
.device { margin: 0; }

.device img { width: 100%; height: auto; }

/*
 * A portrait phone line-up dropped into a wide two-column slot. Without a cap
 * it stretches to the full column (620px wide → ~1400px tall) and swamps the
 * text beside it. Keep it narrow and centred in its column.
 */
.device--phone { max-width: 380px; margin-inline: auto; }

/*
 * Store badges. Rendered as a <span>, never a link, for as long as
 * stores.json says the app isn't released, so it can't be tabbed to or
 * clicked into a 404 — full colour, not dimmed, since a plain <span> already
 * reads as inert without degrading the official artwork.
 */
.store-badges { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-5); }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:not(a) { cursor: default; }

/*
 * Download QR. Only meaningful to a visitor on a desktop holding a phone, so it
 * is hidden on narrow screens rather than shrunk. The 140px floor is not
 * decorative: below roughly 120px this code stops decoding, and
 * scripts/generate-qr.mjs refuses to build one that fails at 140.
 */
.store-qr { display: none; }

@media (min-width: 860px) {
  .store-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
    margin-inline-start: var(--s-3);
    max-width: 160px;
  }
  .store-qr img {
    display: block;
    width: 140px;
    height: 140px;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
  }
  .store-qr span {
    font-size: var(--fs-xs);
    line-height: 1.3;
    text-align: center;
    color: inherit;
    opacity: .78;
  }
}

/* --- Cards --------------------------------------------------------------- */

.card {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card h3 { margin-bottom: var(--s-2); }

.card p:last-child { margin-bottom: 0; }

/*
 * Cards that carry a small screenshot instead of an icon. The image bleeds to
 * the card edges above the text, so it needs its own padding removed from the
 * top and the radius clipped to match.
 */
.card--media {
  padding-top: 0;
  overflow: hidden;
}

.card__media {
  margin: 0 calc(var(--s-5) * -1) var(--s-4);
}

.card__media img { width: 100%; height: auto; display: block; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-4);
  border-radius: var(--radius-sm);
  background: var(--cyan-050);
  color: var(--cyan-700);
}

.section--dark .card,
.section--darker .card {
  background: rgb(248 250 252 / 6%);
  border-color: rgb(248 250 252 / 14%);
}

.section--dark .card__icon,
.section--darker .card__icon {
  background: rgb(0 180 216 / 18%);
  color: var(--cyan-400);
}

/* --- Workflow strip ------------------------------------------------------ */

.flow {
  counter-reset: flow;
  display: grid;
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
}

.flow__step {
  position: relative;
  counter-increment: flow;
  padding-top: var(--s-6);
}

.flow__step::before {
  content: counter(flow);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan-050);
  color: var(--navy-800);
  font-size: var(--fs-small);
  font-weight: 700;
}

@media (min-width: 960px) {
  /* Connector line between steps. */
  .flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    inset-inline-start: 40px;
    inset-inline-end: -8px;
    height: 2px;
    background: var(--border);
  }
}

.flow__step h3 { font-size: var(--fs-h4); margin-bottom: var(--s-1); }
.flow__step p { font-size: var(--fs-small); color: var(--text-mute); margin: 0; }

/* --- Comparison table ---------------------------------------------------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-small);
}

.compare th,
.compare td {
  padding: var(--s-3) var(--s-4);
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  font-weight: 600;
  color: var(--text-mute);
  border-bottom-width: 2px;
}

.compare tbody th { font-weight: 500; color: var(--text-mute); }

/* The Autovena column is the one we want read — give it the emphasis. */
.compare :is(th, td):last-child {
  background: var(--surface);
  border-inline-start: 3px solid var(--cyan-500);
  font-weight: 600;
  color: var(--text);
}

.compare thead th:last-child { color: var(--navy-800); }

.compare-wrap { overflow-x: auto; }

/*
 * --text-mute is tuned for light backgrounds; on navy it drops to 2.7:1. The
 * dark sections need the inverted muted tone instead.
 */
.section--dark .compare :is(thead th, tbody th):not(:last-child),
.section--darker .compare :is(thead th, tbody th):not(:last-child) {
  color: var(--text-inv-mute);
}

.section--dark .compare :is(th, td),
.section--darker .compare :is(th, td) {
  border-bottom-color: rgb(248 250 252 / 16%);
}

/* --- Pricing card -------------------------------------------------------- */

.price-card {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-block: var(--s-4);
  font-variant-numeric: tabular-nums;
}

.price-card__figure {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card__period { color: var(--text-mute); font-size: var(--fs-body); }

.cadence {
  display: inline-flex;
  padding: 4px;
  margin-inline: auto;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.cadence__option {
  min-height: 40px;
  padding: var(--s-2) var(--s-5);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
}

.cadence__option[aria-selected="true"] {
  background: var(--navy-800);
  color: var(--text-inv);
}

.includes {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-5) 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
}

@media (min-width: 640px) {
  .includes { grid-template-columns: repeat(2, 1fr); gap: var(--s-2) var(--s-5); }
}

.includes li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-2);
  align-items: start;
}

.includes svg { margin-top: 4px; color: var(--success); }

/* --- FAQ ----------------------------------------------------------------- */

.faq { max-width: 46rem; margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  font-size: var(--fs-h4);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq__chevron {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--text-mute);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__answer { padding-bottom: var(--s-4); color: var(--text-mute); }
.faq__answer p:last-child { margin-bottom: 0; }

/* --- Notices ------------------------------------------------------------- */

.notice {
  padding: var(--s-4) var(--s-5);
  border-inline-start: 3px solid var(--cyan-500);
  border-radius: var(--radius-sm);
  background: var(--cyan-050);
  font-size: var(--fs-small);
}

.notice p:last-child { margin-bottom: 0; }

.section--dark .notice,
.section--darker .notice {
  background: rgb(0 180 216 / 12%);
  color: var(--text-inv-mute);
}

/* Closing statement of intent — the one line on the page that raises its voice. */
.tagline {
  max-width: 34ch;
  margin-inline: auto;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  color: var(--text);
}

.section--dark .tagline,
.section--darker .tagline { color: var(--text-inv); }

/* Honest-claims disclaimer — deliberately quiet, never hidden. */
.disclaimer {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--text-mute);
}

.section--dark .disclaimer,
.section--darker .disclaimer { color: var(--text-inv-mute); }

/* --- Contact form -------------------------------------------------------- */

.contact-form { display: grid; gap: var(--s-4); }

.form-grid { display: grid; gap: var(--s-4); }

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

.field { display: grid; gap: var(--s-2); margin: 0; }

.field label { font-size: var(--fs-small); font-weight: 600; }

.field .req { color: var(--danger); }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:hover,
.field textarea:hover { border-color: var(--navy-600); }

/* Invalid styling only after the field has been touched, never on first paint. */
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff5f4;
}

.field__error {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--danger);
}

/* Consent: checkbox beside its label, both hit targets comfortably large. */
.field--check {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: var(--s-3);
  font-size: var(--fs-small);
}

.field--check input { min-height: 0; width: 22px; height: 22px; margin-top: 2px; }

.form-status {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
}

.form-status[data-state="ok"] { background: #e8f6f0; color: #0b6647; }
.form-status[data-state="error"] { background: #fdeceb; color: var(--danger); }

/* ==========================================================================
   10. Footer
   ========================================================================== */

.download-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 76px);
  border-top: 1px solid #d8e7f2;
  background:
    radial-gradient(circle at 88% 18%, rgb(36 183 242 / 18%), transparent 28%),
    linear-gradient(135deg, #f8fcff 0%, #eaf6fe 100%);
}

.download-band::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: clamp(24px, 8vw, 120px);
  width: 1px;
  height: 32px;
  background: #0797eb;
  box-shadow: 32px 0 0 rgb(7 151 235 / 34%);
}

.download-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.download-band__copy { max-width: 620px; }
.download-band__copy .eyebrow { width: max-content; margin-bottom: 14px; }
.download-band__copy h2 { margin-bottom: 14px; }
.download-band__copy p:last-child { margin: 0; color: var(--text-mute); }

.download-band__actions {
  width: min(100%, 590px);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 174px;
  align-items: center;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid #cfe1ee;
  border-radius: 18px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 24px 54px -38px rgb(4 18 37 / 52%);
}

.download-card__content { padding: 26px 30px; }

.download-card__platform {
  display: block;
  margin-bottom: 6px;
  color: #0072b8;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.download-card h3 {
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 1.28rem;
  letter-spacing: -.025em;
}

.download-card__content p {
  max-width: 310px;
  margin: 0 0 18px;
  color: var(--text-mute);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.download-card__store {
  display: inline-flex;
  border-radius: 8px;
  outline-offset: 4px;
}

.download-card__store img { display: block; height: 48px; width: auto; }

.download-card__qr {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-inline-start: 1px solid #dceaf3;
  background: #f7fbfe;
  color: var(--text-mute);
  text-decoration: none;
  outline-offset: -4px;
}

.download-card__qr img {
  display: block;
  width: 132px;
  height: 132px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
}

.download-card__qr span {
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .01em;
}

.download-android {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgb(163 190 208 / 55%);
  border-radius: 12px;
  background: rgb(255 255 255 / 58%);
}

.download-android__mark {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #93a9b8;
  box-shadow: 0 0 0 5px rgb(147 169 184 / 14%);
}

.download-android div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  min-width: 0;
  color: var(--text-mute);
  font-size: var(--fs-xs);
}

.download-android strong { color: #30445b; }
.download-android a { margin-inline-start: auto; }
.download-android a img { display: block; height: 38px; width: auto; }

.download-android--live .download-android__mark {
  background: #12a56a;
  box-shadow: 0 0 0 5px rgb(18 165 106 / 14%);
}

@media (min-width: 860px) {
  .download-band__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .download-band__actions { min-width: 560px; }
}

@media (max-width: 859px) {
  .download-card { grid-template-columns: 1fr; min-height: 0; }
  .download-card__content { padding: 24px; }
  .download-card__content p { max-width: 36rem; }
  .download-card__qr { display: none; }
}

.footer {
  padding-block: var(--s-8) var(--s-6);
  background: var(--navy-900);
  color: var(--text-inv-mute);
  font-size: var(--fs-small);
}

.footer__grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgb(248 250 252 / 12%);
}

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }

.footer__brand img { height: 26px; width: auto; margin-bottom: var(--s-3); }

.footer h2 {
  margin-bottom: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inv);
}

.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }

.footer a { color: var(--text-inv-mute); text-decoration: none; }
.footer a:hover { color: var(--text-inv); text-decoration: underline; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
}

.footer__bottom .lang-switch {
  border-color: rgb(248 250 252 / 25%);
  color: var(--text-inv-mute);
}

.footer__bottom .lang-switch:hover { border-color: var(--text-inv); color: var(--text-inv); }

/* ==========================================================================
   11. Utilities
   ========================================================================== */

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

.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   12. Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   13. 2026 product-led visual direction

   The marketing site should feel like the product: precise, operational and
   calm. Technical rails, larger product proof and a tighter type rhythm add
   character without introducing decorative marketing artwork.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface-sunken: #f4f8fc;
  --navy-950: #020b18;
  --navy-900: #041225;
  --navy-800: #071d3d;
  --cyan-500: #0797eb;
  --cyan-400: #24b7f2;
  --cyan-050: #eaf7ff;
  --container: 1280px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-screenshot: 0 36px 80px -28px rgb(2 11 24 / 42%),
    0 12px 34px -20px rgb(7 151 235 / 28%);
}

body {
  color: #13233a;
  line-height: 1.62;
}

.section {
  position: relative;
  padding-block: clamp(80px, 9vw, 132px);
  overflow: hidden;
}

.section--sunken {
  background: linear-gradient(180deg, #f5f9fd 0%, #f0f6fb 100%);
}

.section--dark,
.section--darker {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 88% 18%, rgb(7 151 235 / 11%), transparent 31%),
    linear-gradient(rgb(36 183 242 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 183 242 / 10%) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  background-position: 0 0, calc(100% - 96px) 86px, calc(100% - 96px) 86px;
  background-repeat: no-repeat;
}

.section__header {
  max-width: 50rem;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.section__header--center { max-width: 54rem; }

.eyebrow {
  position: relative;
  margin-bottom: 18px;
  padding-inline-end: 62px;
  color: #0072b8;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .115em;
}

.eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.section__header--center .eyebrow { padding-inline: 52px; }
.section__header--center .eyebrow::before,
.section__header--center .eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.section__header--center .eyebrow::before { inset-inline-start: 0; }
.section__header--center .eyebrow::after { inset-inline-end: 0; }

h1, h2, h3, h4 { letter-spacing: -.035em; }
h2 { line-height: 1.08; }
.section__lead { max-width: 44rem; line-height: 1.55; }

.btn {
  min-height: 50px;
  padding-inline: 26px;
  border-radius: 9px;
  border-width: 1px;
  font-size: 1rem;
  box-shadow: 0 8px 22px -16px rgb(2 11 24 / 60%);
  transition: transform .18s ease, box-shadow .18s ease,
    background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: #067fd1; border-color: #067fd1; }
.btn--primary:hover { background: #056cb2; border-color: #056cb2; }
.btn--sm { min-height: 42px; padding-inline: 20px; border-radius: 8px; }

.header {
  background: rgb(255 255 255 / 93%);
  border-bottom-color: rgb(203 213 225 / 55%);
  backdrop-filter: saturate(150%) blur(18px);
}
.header__inner { min-height: 78px; }
/* The wordmark is a wide horizontal lockup (1096×148, ~7.4:1). Size it by
   height and let the width follow — the old fixed 126×56 crop box was cut for
   the previous, far squarer logo and would clip this one to a sliver. */
.header__logo { display: flex; align-items: center; }
.header__logo img {
  height: 30px;
  width: auto;
}
.nav-link { color: #1b2b42; font-weight: 550; }
.header__actions { gap: 12px; }
.header__actions > .nav-link { margin-inline: 4px 8px; }

.hero {
  min-height: min(820px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  padding-block: clamp(66px, 7vw, 104px) clamp(82px, 8vw, 118px);
  background:
    radial-gradient(circle at 77% 48%, rgb(7 151 235 / 17%), transparent 33%),
    linear-gradient(118deg, var(--navy-950) 0%, #061832 52%, #082246 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(36 183 242 / 34%) 1px, transparent 1.5px);
  background-size: 13px 13px;
  mask-image: linear-gradient(90deg, transparent 34%, #000 58%, transparent 90%);
  opacity: .32;
  pointer-events: none;
}

.hero::after {
  inset: auto 4% 10% auto;
  width: 47%;
  height: 1px;
  aspect-ratio: auto;
  background: linear-gradient(90deg, transparent, var(--cyan-500));
  box-shadow: 0 -560px 0 rgb(7 151 235 / 45%);
  opacity: .8;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(500px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 4.5vw, 72px);
}

.hero__copy { position: relative; z-index: 2; }
.hero__copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 4.55vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.hero__copy h1 span { color: var(--cyan-400); }
.hero__lead { max-width: 31rem; margin-top: 24px; font-size: 1.15rem; }
.hero .btn-row { margin-block: 30px 26px; gap: 14px; }
.hero .btn { min-height: 52px; }
.hero .btn--primary {
  background: linear-gradient(135deg, #087dd4, #09a8ee);
  border-color: #21b9f3;
  color: #fff;
  box-shadow: 0 14px 36px -18px rgb(7 151 235 / 90%);
}
.hero .btn--primary:hover { background: linear-gradient(135deg, #0a8fe8, #20baf3); color: #fff; }
.hero .btn--secondary { border-color: rgb(184 196 214 / 48%); }
.hero__trust { gap: 12px 26px; margin-top: 0; }
.hero__trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(36 183 242 / 10%);
}

.hero__visual {
  position: relative;
  width: calc(100% + 5vw);
  margin-inline-end: -5vw;
}
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.hero__visual::before {
  inset: -22px 22px auto auto;
  width: 142px;
  height: 30px;
  border-top: 1px solid var(--cyan-500);
  border-right: 1px solid var(--cyan-500);
}
.hero__visual::after {
  inset: auto auto -20px 12%;
  width: 70%;
  height: 34px;
  border-left: 1px solid var(--cyan-500);
  border-bottom: 1px solid var(--cyan-500);
}
.hero__visual .screenshot {
  margin: 0;
  border: 1px solid rgb(111 164 218 / 48%);
  border-radius: 20px;
  box-shadow: 0 40px 90px -28px #000, 0 0 48px rgb(7 151 235 / 13%);
  transform: perspective(1400px) rotateY(-2deg) rotateX(.5deg);
}
.hero__visual .screenshot__chrome {
  height: 40px;
  background: #dfe8f2;
}

.hero__visual .device {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(111 164 218 / 42%);
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 40px 90px -28px #000, 0 0 48px rgb(7 151 235 / 16%);
  transform: perspective(1400px) rotateY(-2deg) rotateX(.5deg);
}
.hero__visual .device img {
  display: block;
  width: 100%;
  transform: scale(1.015);
}

/* Homepage campaign hero: the product is shown as a responsive device family,
   not as a dashboard screenshot inside a generic white card. */
.hero__tour-link { gap: 10px; }
.hero__tour-link > span {
  color: var(--cyan-400);
  font-size: .76rem;
}
.hero .btn--primary::after {
  content: "→";
  display: grid;
  width: 26px;
  height: 26px;
  margin-inline-start: 12px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.hero-benefits article {
  min-width: 0;
  padding: 18px 15px 16px;
  border: 1px solid rgb(126 164 210 / 22%);
  border-radius: 11px;
  background: linear-gradient(155deg, rgb(15 42 79 / 58%), rgb(3 18 42 / 42%));
  box-shadow: inset 0 1px rgb(255 255 255 / 3%);
}
.hero-benefits__icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  color: #179ff5;
}
.hero-benefits__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-benefits strong,
.hero-benefits small { display: block; }
.hero-benefits strong {
  color: #fff;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.018em;
}
.hero-benefits small {
  margin-top: 7px;
  color: rgb(207 219 236 / 70%);
  font-size: .68rem;
  line-height: 1.5;
}
.hero-devices {
  position: relative;
  min-height: 510px;
  isolation: isolate;
}
.hero-devices__orbit {
  position: absolute;
  z-index: -1;
  inset: 1% -5% auto 8%;
  height: 78%;
  border: 2px solid rgb(13 147 255 / 72%);
  border-radius: 50%;
  background: radial-gradient(circle at 55% 50%, rgb(16 108 240 / 28%), rgb(4 34 80 / 17%) 44%, transparent 70%);
  box-shadow: 0 0 42px rgb(0 130 255 / 24%), inset 0 0 44px rgb(0 130 255 / 12%);
  transform: rotate(-8deg);
}
.hero-device {
  position: absolute;
  display: block;
  margin: 0;
  filter: none;
}
.hero-device img { display: block; width: 100%; height: auto; }
.hero-device:not(.hero-device--laptop) img {
  width: auto;
  max-width: none;
  height: 100%;
}
.hero-device:not(.hero-device--laptop)::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 18% 0;
  height: 6px;
  border-radius: 50%;
  background: rgb(0 3 11 / 24%);
  filter: blur(5px);
}
.hero-device--laptop {
  z-index: 1;
  inset: 4% -8% auto auto;
  width: 78%;
}
.hero-device--iphone {
  z-index: 5;
  inset: auto auto 2% 0;
  width: auto;
  height: 40%;
  transform: rotate(-1deg);
}
.hero-device--ipad {
  z-index: 3;
  inset: auto auto 1% 13%;
  width: auto;
  height: 47%;
  transform: rotate(-.4deg);
}
.hero-device--android-phone {
  z-index: 6;
  inset: auto auto 0 29%;
  width: auto;
  height: 43%;
  transform: rotate(.8deg);
}
.hero-device--android-tablet {
  z-index: 4;
  inset: auto auto 1% 41%;
  width: auto;
  height: 52%;
  transform: rotate(.5deg);
}
.hero-platforms {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  position: relative;
  z-index: 6;
  margin: -5px 0 0 2%;
  padding: 14px 12px;
  border: 1px solid rgb(104 152 214 / 45%);
  border-radius: 14px;
  background: linear-gradient(100deg, rgb(6 28 62 / 92%), rgb(7 24 52 / 80%));
  box-shadow: 0 20px 46px rgb(0 5 18 / 30%), inset 0 1px rgb(255 255 255 / 4%);
  backdrop-filter: blur(14px);
}
.hero-platforms span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding-inline: 7px;
  place-content: center;
  border-inline-start: 1px solid rgb(150 180 220 / 20%);
  color: #fff;
  line-height: 1.25;
  text-align: center;
}
.hero-platforms span:first-child { border-inline-start: 0; }
.hero-platforms img {
  width: 25px;
  height: 25px;
  margin-bottom: 7px;
  object-fit: contain;
}
.hero-platforms span:nth-child(-n+2) img { filter: invert(1); }
.hero-platforms strong {
  display: block;
  color: #fff;
  font-size: .68rem;
  font-weight: 520;
  white-space: nowrap;
}

.screenshot {
  margin: 0;
  border: 1px solid #d7e1ec;
  border-radius: 17px;
  box-shadow: var(--shadow-screenshot);
}
.screenshot__chrome { height: 40px; background: #eaf0f6; }
.screenshot__dots span { width: 9px; height: 9px; background: #b4c3d4; }
.screenshot__url { font-weight: 500; color: #52677f; }

/* Supplied device compositions already include hardware and need no browser shell. */
.screenshot--raw {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.home > main > .section:nth-of-type(2) .screenshot {
  max-width: 1060px;
  margin-inline: auto;
}

.outcome-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: 52px auto 0;
  padding: 22px 0;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 18px 44px -36px rgb(4 18 37 / 45%);
}
.outcome-rail > div { padding: 4px 30px; }
.outcome-rail > div + div { border-inline-start: 1px solid #dce7f1; }
.outcome-rail strong, .outcome-rail span { display: block; }
.outcome-rail strong { margin-bottom: 3px; color: var(--navy-800); font-size: .95rem; }
.outcome-rail span { color: var(--text-mute); font-size: .83rem; }

/* AI Assistant campaign section — rebuilt as live HTML/CSS from the supplied
   composition reference. Product screens remain real, copy stays selectable,
   and the layout can reflow instead of shrinking a poster on mobile. */
.ai-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 84% 20%, rgb(7 151 235 / 12%), transparent 28%),
    linear-gradient(135deg, #fff 0 44%, #f3f8fd 44% 66%, #e8f3fb 100%);
}
.ai-showcase::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -26% -8% auto 42%;
  height: 54%;
  border-radius: 0 0 0 52%;
  background: linear-gradient(135deg, #071d3d, #06376b);
  transform: rotate(-4deg);
}
.ai-showcase__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, .78fr) minmax(620px, 1.22fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: center;
}
.ai-showcase__label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid #cfe0ef;
  border-radius: 9px;
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 10px 28px -22px #061832;
  color: #076fcb;
  font-size: .82rem;
  font-weight: 750;
}
.ai-showcase__copy h2 {
  max-width: 10.5ch;
  color: #061832;
  font-size: clamp(3rem, 4.7vw, 5rem);
  line-height: 1.02;
}
.ai-showcase__copy h2 span {
  color: #087fd4;
  background: linear-gradient(90deg, #1738d2, #08b4e6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-showcase__lead { max-width: 36rem; color: #33465d; font-size: 1.05rem; }
.ai-showcase__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.ai-showcase__cards article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #d7e3ed;
  border-radius: 11px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 18px 38px -32px #061832;
}
.ai-showcase__cards article > span { color: #0797eb; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.ai-showcase__cards h3 { margin: 12px 0 6px; color: #0a1d38; font-size: .96rem; }
.ai-showcase__cards p { margin: 0; color: #65758a; font-size: .76rem; line-height: 1.45; }
.ai-showcase__product { position: relative; min-height: 680px; }
.ai-showcase__desktop {
  position: absolute;
  inset: 3% -5% auto -3%;
  filter: drop-shadow(0 24px 22px rgb(1 12 28 / 22%));
}
.ai-showcase__desktop img { display: block; width: 100%; }
.ai-showcase__phone {
  position: absolute;
  z-index: 3;
  inset: auto auto -1% 2%;
  width: 22%;
  filter: drop-shadow(0 18px 16px rgb(1 12 28 / 25%));
  transform: rotate(-3deg);
}
.ai-showcase__phone img { display: block; width: 100%; }
.ai-showcase__assistant {
  position: absolute;
  z-index: 4;
  inset: 32% -2% auto auto;
  width: 43%;
  padding: 16px;
  border: 1px solid #accff0;
  border-radius: 16px;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 30px 60px -32px #001027;
}
.ai-showcase__assistant header { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; margin: -16px -16px 14px; padding: 13px 16px; border-radius: 15px 15px 0 0; background: #072756; color: #fff; }
.ai-showcase__assistant header > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #087fd4; }
.ai-showcase__assistant header strong,.ai-showcase__assistant header span { display: block; }
.ai-showcase__assistant header strong { font-size: .78rem; }
.ai-showcase__assistant header span { color: #b9cee5; font-size: .62rem; }
.ai-showcase__question,.ai-showcase__answer { max-width: 90%; margin-bottom: 9px; padding: 9px 11px; border-radius: 9px; font-size: .67rem; line-height: 1.4; }
.ai-showcase__question { margin-inline-start: auto; background: #dff0ff; color: #0b3e6d; }
.ai-showcase__answer { background: #f1f4f7; color: #24364b; }
.ai-showcase__input { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 9px 10px; border: 1px solid #d4e0ea; border-radius: 9px; color: #8290a1; font-size: .65rem; }
.ai-showcase__input b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #087fd4; color: #fff; }
.ai-showcase__benefit-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 46px;
  padding-block: 28px;
  color: #fff;
}
.ai-showcase__benefit-rail::before { content: ""; position: absolute; z-index: -1; inset: 0 calc((100vw - 100%) / -2); background: linear-gradient(100deg, #052458, #073b77 58%, #061c3c); }
.ai-showcase__benefit-rail div { padding: 0 28px; }
.ai-showcase__benefit-rail div + div { border-inline-start: 1px solid rgb(255 255 255 / 18%); }
.ai-showcase__benefit-rail strong,.ai-showcase__benefit-rail span { display: block; }
.ai-showcase__benefit-rail strong { margin-bottom: 3px; font-size: .9rem; }
.ai-showcase__benefit-rail span { color: #b9cee5; font-size: .72rem; }

@media (max-width: 1100px) {
  .ai-showcase__main { grid-template-columns: minmax(360px,.8fr) minmax(500px,1.2fr); gap: 32px; }
  .ai-showcase__product { min-height: 590px; }
}
@media (max-width: 800px) {
  .ai-showcase { padding-top: 72px; }
  .ai-showcase::before { inset: 44% -30% auto 20%; height: 30%; }
  .ai-showcase__main { grid-template-columns: 1fr; }
  .ai-showcase__copy h2 { max-width: 11ch; }
  .ai-showcase__cards { grid-template-columns: 1fr; }
  .ai-showcase__cards article { min-height: 0; }
  .ai-showcase__product { min-height: 540px; }
  .ai-showcase__desktop { inset-inline: 5%; }
  .ai-showcase__assistant { inset-inline-end: 0; width: 52%; }
  .ai-showcase__phone { width: 25%; inset-inline-start: 2%; }
  .ai-showcase__benefit-rail { grid-template-columns: repeat(2,1fr); gap: 24px 0; }
  .ai-showcase__benefit-rail div:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 520px) {
  .ai-showcase__copy h2 { font-size: 2.75rem; }
  .ai-showcase__product { min-height: 430px; margin-inline: -10%; }
  .ai-showcase__assistant { top: 36%; width: 58%; }
  .ai-showcase__benefit-rail { grid-template-columns: 1fr; }
  .ai-showcase__benefit-rail div + div { border-inline-start: 0; }
}

.card {
  padding: 26px;
  border-color: #dbe5ef;
  border-radius: 12px;
  box-shadow: 0 12px 32px -30px rgb(4 18 37 / 55%);
}
.section--dark .card,
.section--darker .card {
  padding: 18px 0 18px 22px;
  background: transparent;
  border: 0;
  border-inline-start: 1px solid rgb(36 183 242 / 48%);
  border-radius: 0;
  box-shadow: none;
}

.flow {
  position: relative;
  gap: 18px;
  padding-block: 18px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 4%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--cyan-500) 0 4px, transparent 4px 10px);
  opacity: .65;
}
.flow__step {
  min-height: 180px;
  padding: 58px 18px 24px;
  background: linear-gradient(180deg, #fff, #f7fbfe);
  border: 1px solid #dce7f1;
  border-radius: 12px;
  box-shadow: 0 18px 38px -34px rgb(4 18 37 / 65%);
}
.flow__step:nth-child(even) { margin-top: 48px; }
.flow__step::before {
  top: 17px;
  inset-inline-start: 18px;
  width: 30px;
  height: 30px;
  border: 1px solid #86d9fa;
  background: #effaff;
  color: #0078bf;
  font-size: .75rem;
}
@media (min-width: 960px) { .flow__step:not(:last-child)::after { display: none; } }

.compare-wrap {
  border: 1px solid rgb(139 176 215 / 24%);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
}
.compare th, .compare td { padding: 15px 20px; }
.compare :is(th, td):last-child {
  background: rgb(7 151 235 / 8%);
  border-inline-start-color: var(--cyan-500);
}
.section--dark .compare :is(th, td):last-child { color: #f8fbff; }
.section--dark .compare thead th:last-child { color: var(--cyan-400); }

.price-card {
  max-width: 760px;
  border: 1px solid #a8d7f4;
  border-radius: 16px;
  box-shadow: 0 28px 70px -42px rgb(4 18 37 / 60%);
}
.price-card__figure { color: var(--navy-800); }
.price-card .btn--primary {
  background: linear-gradient(90deg, #076fcb, #079fe7);
  border-color: #0784d7;
}
.includes { gap: 10px; }
.includes svg { color: #0785ca; }

.faq { max-width: 820px; }
.faq__item { border-bottom: 0; }
.faq__item > summary {
  margin-bottom: 10px;
  padding: 18px 20px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #fff;
}
.faq__answer { padding: 4px 20px 20px; }

.footer {
  padding-top: 74px;
  background:
    radial-gradient(circle at 85% 0%, rgb(7 151 235 / 13%), transparent 28%),
    var(--navy-950);
}
/* The dark-background wordmark ships with the right colours already (white
   type, turquoise mark). The old brightness/invert trick existed to force the
   light logo white on navy; keeping it here would flatten the turquoise out. */
.footer__brand img {
  height: 28px;
  width: auto;
  padding: 0;
}

@media (max-width: 1100px) {
  .hero { min-height: auto; }
  .hero__layout { grid-template-columns: minmax(390px, .85fr) minmax(0, 1.15fr); }
  .hero__copy h1 { font-size: clamp(3rem, 5vw, 4rem); }
  .hero__visual { width: 100%; margin-inline-end: 0; }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-devices { min-height: 450px; }
  .hero-device--laptop { width: 82%; }
  .hero-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-platforms span:nth-child(5) { border-inline-start: 0; }
  .hero-platforms span:nth-child(n+5) { border-top: 1px solid rgb(150 180 220 / 16%); }
}

@media (max-width: 800px) {
  .header__inner { min-height: 68px; }
  .header__logo { width: 112px; height: 52px; }
  .header__logo img { width: 112px; }
  .hero { min-height: auto; padding-block: 58px 78px; }
  .hero::after { display: none; }
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy h1 { max-width: 12ch; font-size: clamp(2.75rem, 11.5vw, 4rem); }
  .hero__lead { font-size: 1.05rem; }
  .hero__visual { width: 112%; margin-inline-end: -12%; }
  .hero__visual .screenshot { transform: none; }
  .hero__visual .device { transform: none; }
  .hero__trust { display: grid; grid-template-columns: 1fr; }
  .hero-benefits { max-width: 620px; }
  .hero-devices { min-height: clamp(390px, 76vw, 580px); }
  .hero-device--laptop { inset-inline-end: -2%; width: 79%; }
  .hero-platforms { margin-inline: 0 8%; }
  .outcome-rail { grid-template-columns: 1fr; margin-top: 36px; padding: 8px 20px; }
  .outcome-rail > div { padding: 14px 0; }
  .outcome-rail > div + div { border-inline-start: 0; border-top: 1px solid #dce7f1; }
  .flow::before { display: none; }
  .flow__step, .flow__step:nth-child(even) { min-height: 0; margin-top: 0; }
}

@media (max-width: 520px) {
  .section { padding-block: 72px; }
  .hero .btn-row { display: grid; }
  .hero .btn { width: 100%; }
  .hero__visual { width: 118%; margin-inline: 0 -18%; }
  .hero-benefits { gap: 8px; margin-top: 28px; }
  .hero-benefits article { padding: 13px 11px; }
  .hero-devices { min-height: 330px; }
  .hero-device--laptop { inset-block-start: 7%; width: 84%; }
  .hero-device--iphone { width: auto; height: 39%; }
  .hero-device--ipad { width: auto; height: 46%; }
  .hero-device--android-phone { width: auto; height: 42%; }
  .hero-device--android-tablet { width: auto; height: 51%; }
  .hero-platforms { margin-top: 0; padding: 8px; }
  .hero-platforms span { min-height: 46px; padding-inline: 3px; }
  .hero-platforms img { width: 19px; height: 19px; margin-bottom: 4px; }
  .hero-platforms strong { font-size: .57rem; }
  .screenshot__chrome { height: 32px; }
  .screenshot__url { padding-inline-end: 26px; }
  .eyebrow { padding-inline-end: 46px; }
}
