/* DoveHeroTracking — marketing site
   Self-contained styles. Brand tokens mirror the product design system. */

:root {
  /* Mirrors apps/web/src/theme/tokens.css (--ds-*) so the landing page and the
     web app share one palette, type scale and radii. Legacy names kept as aliases. */
  --ds-bg: #f6f7f8;
  --ds-surface: #ffffff;
  --ds-surface-2: #f1f3f4;
  --ds-surface-3: #e8ebed;
  --ds-line: #e1e5e8;
  --ds-line-strong: #cdd3d8;
  --ds-fg: #16191c;
  --ds-fg-2: #4a5259;
  --ds-fg-3: #6f7880;
  --ds-accent: #0b6e69;
  --ds-accent-soft: #e3f1ef;
  --ds-accent-fg: #0a5e5a;
  --ds-good: #1a7f3c;
  --ds-good-soft: #e5f4ea;
  --ds-warn: #a15c00;
  --ds-bad: #c2321f;
  --ds-s1: #2a78d6;
  --ds-s2: #eb6834;
  --ds-s3: #1baf7a;
  --ds-s4: #eda100;
  --ds-s5: #e87ba4;
  --ds-f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ds-f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ds-shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 4px 16px rgba(16, 24, 32, 0.06);
  --ds-shadow-lg: 0 8px 40px rgba(16, 24, 32, 0.18);
  --ds-r: 6px;
  --ds-r-lg: 10px;

  --accent: var(--ds-accent);
  --accent-dark: var(--ds-accent-fg);
  --accent-weak: var(--ds-accent-soft);
  --ink: var(--ds-fg);
  --ink-soft: var(--ds-fg-2);
  --muted: var(--ds-fg-3);
  --bg: var(--ds-surface);
  --bg-subtle: var(--ds-surface-2);
  --bg-tint: var(--ds-accent-soft);
  --border: var(--ds-line);
  --success: var(--ds-good);
  --warn: var(--ds-warn);
  --danger: var(--ds-bad);

  --radius: var(--ds-r-lg);
  --radius-sm: var(--ds-r);
  --shadow-sm: var(--ds-shadow);
  --shadow-lg: var(--ds-shadow-lg);
  --maxw: 1120px;
  --font: var(--ds-f-body);

  --brand-500: var(--ds-accent);
  --brand-600: var(--ds-accent-fg);
  --brand-tint: var(--ds-accent-soft);
  --text-primary: var(--ds-fg);
  --text-secondary: var(--ds-fg-2);
  --text-brand: var(--ds-accent-fg);
  --surface-hover: var(--ds-surface-2);
  --surface-card: var(--ds-surface);
  --control-bg: var(--ds-surface);
  --border-subtle: var(--ds-line);
  --border-default: var(--ds-line-strong);
  --data-lavender: var(--ds-s1);
  --data-sky: var(--ds-s1);
  --data-mint: var(--ds-s3);
  --data-amber: var(--ds-s4);
  --data-rose: var(--ds-s5);
  --data-teal: var(--ds-accent);
  --text-muted: var(--ds-fg-3);
  --surface-sunken: var(--ds-surface-2);
  --positive: var(--ds-good);
  --focal-grad: linear-gradient(155deg, #16312f, #0d1f1e);
  --focal-border: color-mix(in srgb, var(--ds-accent) 40%, transparent);
  --shadow-xl: var(--ds-shadow-lg);
  --us-col-tint: var(--ds-accent-soft);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  /* whole-page background = the offline hero gradient (fixed so it stays consistent) */
  background: var(--ds-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

/* ---------- buttons ---------- */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 500; font-size: 15px;
  padding: 12px 22px; border-radius: var(--ds-r); cursor: pointer;
  border: var(--bw) solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff;  }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--ds-surface); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { font-size: 16px; padding: 14px 26px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- pill buttons (offline design) ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--ds-r);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s, background .14s, border-color .14s;
}
.lp-btn:hover { text-decoration: none; }
.lp-btn:active { transform: scale(.97); }
.lp-btn svg { width: 16px; height: 16px; }
.lp-btn--primary { background: var(--brand-500); color: #fff;  }
.lp-btn--primary:hover { background: var(--brand-600); }
.lp-btn--secondary { background: var(--control-bg); color: var(--text-primary); border-color: var(--border-default); }
.lp-btn--secondary:hover { background: var(--surface-hover); }
.lp-btn--ghost { background: transparent; color: var(--text-secondary); }
.lp-btn--ghost:hover { background: var(--surface-hover); color: var(--text-primary); }
.lp-btn--sm { height: 36px; padding: 0 12px; font-size: 13px; }

/* ---------- nav (offline design) ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border-subtle); transition: box-shadow .2s ease;
}
/* frosted glass on a ::before layer so .lp-nav itself is NOT a containing block for the
   fixed mobile drawer (backdrop-filter would make it one → drawer widens the page) */
.lp-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ds-surface-2) 35%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
}
.lp-nav.scrolled { box-shadow: 0 1px 0 rgba(16,22,35,.04), 0 6px 20px -14px rgba(16,22,35,.28); }
.lp-nav__in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 12px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); flex-shrink: 0; }
.lp-brand:hover { text-decoration: none; }
.lp-brand img { width: 32px; height: 32px; border-radius: var(--ds-r); }
.lp-brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.lp-brand__name b { color: var(--text-brand); font-weight: 700; }
.lp-navlinks { display: flex; align-items: center; gap: 2px; margin-left: 8px; margin-right: auto; }
.lp-navlink { padding: 7px 9px; border-radius: var(--ds-r); font-size: 13px; font-weight: 600; color: var(--text-secondary); text-decoration: none; white-space: nowrap; transition: background .14s, color .14s; }
.lp-navlink:hover { background: var(--surface-hover); color: var(--text-primary); text-decoration: none; }
.lp-nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* wrapper is transparent to layout on desktop (links + right act as direct flex children) */
.lp-nav__menu { display: contents; }
.lp-nav__burger {
  display: none; margin-left: auto; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: var(--ds-r);
  border: 1px solid var(--border-default); background: var(--ds-surface); color: var(--text-primary);
  align-items: center; justify-content: center; cursor: pointer;
}
.lp-nav__burger svg { width: 20px; height: 20px; }
.lp-nav__burger .ic-close { display: none; }
/* dim backdrop behind the mobile drawer (sits below the nav bar + drawer, above page) */
.lp-nav__scrim {
  display: none; position: fixed; inset: 0; z-index: 30;
  background: rgba(16,22,35,.36); opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lp-nav.open ~ .lp-nav__scrim { opacity: 1; pointer-events: auto; }

/* footer still uses .brand */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; object-fit: contain; }

/* Anchor links share the capped (1120px) bar with the brand, the language switcher
   and three CTAs. The longest locales (vi/fr/id) need the full width — hide the anchors
   below 1160px so no locale ever overflows; the CTAs + switcher always stay. */
/* Progressive shedding — keep the primary nav links visible on the single row for as
   long as possible; the links themselves NEVER wrap (white-space:nowrap above). When
   the row runs out of space, drop the optional CTAs first (GitHub, then Sign in — both
   remain in the footer / OSS section), and only then hide the links. The longest
   locales (vi/fr/id) drive the widths, so English keeps everything a little longer. */
/* Below 1180px the single row can't hold every locale's links + CTAs, so collapse the
   whole menu behind a hamburger and drop it as a full-width vertical panel. */
@media (max-width: 1180px) {
  .lp-nav__burger { display: inline-flex; position: relative; z-index: 3; }
  .lp-nav__scrim { display: block; }
  /* off-canvas drawer sliding in from the right edge */
  .lp-nav__menu {
    display: flex; position: fixed; top: 0; right: 0; z-index: 1;
    height: 100vh; height: 100dvh; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ds-surface-2); border-radius: 20px 0 0 20px;
    box-shadow: -24px 0 60px -28px rgba(16,22,35,.5);
    padding: 78px 14px 22px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  }
  .lp-nav.open .lp-nav__menu { transform: translateX(0); }

  .lp-navlinks { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
  .lp-navlink { padding: 13px 14px; font-size: 15px; font-weight: 600; border-radius: var(--ds-r-lg); color: var(--text-primary); }
  .lp-navlink:hover, .lp-navlink:active { background: var(--brand-tint); color: var(--text-brand); }

  .lp-nav__right {
    flex-direction: column; align-items: stretch; gap: 10px;
    margin: 12px 6px 0; padding-top: 16px; border-top: 1px solid var(--border-subtle);
  }
  .lp-nav__right .lp-btn { width: 100%; height: 48px; font-size: 15px; }
  /* language selector expands inline inside the drawer (absolute dropdown would be
     clipped by the drawer's overflow) */
  .lp-nav__right .lang-switcher {
    align-self: stretch; flex-wrap: wrap; height: auto; min-height: 46px;
    justify-content: flex-start; gap: 6px 8px; padding: 11px 14px; margin-bottom: 2px;
    border-radius: var(--ds-r-lg);
  }
  .lp-nav__right .lang-caret { margin-left: auto; }
  .lp-nav__right .lang-menu {
    position: static; flex-basis: 100%; width: 100%; min-width: 0;
    margin: 6px 0 0; padding: 8px 0 0; background: transparent;
    border: none; border-top: 1px solid var(--border-subtle); border-radius: 0; box-shadow: none;
  }
  .lp-nav__right .lang-opt { padding: 11px 10px; font-size: 14px; }

  .lp-nav.open .lp-nav__burger .ic-menu { display: none; }
  .lp-nav.open .lp-nav__burger .ic-close { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .lp-nav__menu, .lp-nav__scrim { transition: none; } }
@media (max-width: 600px) {
  .lp-nav__in { gap: 10px; padding: 0 14px; }
  .lp-brand__name { font-size: 15px; }
  .lp-brand img { width: 28px; height: 28px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    none;
  padding: 76px 0 40px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--ds-surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(47,168,90,.18); }
h1.headline { font-size: 52px; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; }
.headline .grad { background: linear-gradient(120deg, var(--ds-accent), var(--ds-accent-fg)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--success); }

.hero-media { position: relative; }
.hero-media .macwin { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform .5s ease; }
.hero-media:hover .macwin { transform: perspective(1600px) rotateY(-5deg) rotateX(1.5deg); }
.hero-badge {
  position: absolute; bottom: -16px; left: -18px; background: var(--ds-surface); border: 1px solid var(--border);
  border-radius: var(--ds-r-lg); box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; gap: 12px; align-items: center;
}
.hero-badge b { font-size: 18px; }
.hero-badge .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hero-badge .ic { width: 34px; height: 34px; border-radius: var(--ds-r); background: var(--accent-weak); display: grid; place-items: center; color: var(--accent); }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .macwin { transform: none; }
  h1.headline { font-size: 40px; }
}

/* ---------- hero (offline design) ---------- */
/* hero + stat strip sit on the shared page background (set on <body>) */
.lp-hero-band { position: relative; }
.lp-hero {
  position: relative;
  padding: 64px 0 40px;
}
.lp-hero__grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 56px; align-items: center; }
.lp-reveal { min-width: 0; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-brand);
  background: var(--ds-accent-soft); border: 1px solid color-mix(in srgb, var(--ds-accent) 18%, transparent); padding: 5px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.lp-eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }
.lp-hero__title { font-size: 44px; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 700; color: var(--text-primary); }
.lp-hero__title .grad { background: linear-gradient(120deg, var(--ds-accent), var(--ds-accent-fg)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero__lede { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 20px; max-width: 560px; }
.lp-hero__ctas { display: flex; gap: 12px; flex-wrap: nowrap; }
@media (max-width: 440px) {
  .lp-hero__ctas { flex-wrap: wrap; }
  .lp-hero__ctas .lp-btn { flex: 1 1 100%; }
}
.lp-hero__sub-ctas { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
.lp-hero__link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-brand); transition: color .14s; }
.lp-hero__link:hover { color: var(--brand-600); text-decoration: none; }
.lp-hero__link svg { width: 16px; height: 16px; }
.lp-hero__note { margin-top: 24px; font-size: 13px; color: var(--muted); }
.lp-btn--lg { height: 50px; padding: 0 24px; font-size: 15px; }

.lp-mock { position: relative; }
.lp-mock__img { width: 100%; border-radius: var(--ds-r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); background: var(--ds-surface); }
.lp-mock__badge {
  position: absolute; top: -18px; right: -18px; background: var(--ds-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--ds-r-lg); box-shadow: var(--shadow-lg); padding: 11px 15px; display: flex; gap: 11px; align-items: center;
}
.lp-mock__badge .ic { width: 36px; height: 36px; border-radius: var(--ds-r); background: var(--ds-good-soft); display: grid; place-items: center; color: var(--success); }
.lp-mock__badge .ic svg { width: 18px; height: 18px; }
.lp-mock__badge .l { font-size: 12px; color: var(--muted); }
.lp-mock__badge .v { font-size: 17px; font-weight: 700; color: var(--text-primary); }
@media (max-width: 920px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero__title { font-size: 38px; }
}

/* ---------- stat strip (offline design) ---------- */
.lp-section--tight { padding: 56px 0 44px; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--ds-r-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.lp-stat { padding: 26px 24px; text-align: center; }
.lp-stat__v { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--ds-accent); }
.lp-stat__l { margin-top: 10px; font-size: 14px; color: var(--text-secondary); }
@media (max-width: 640px) { .lp-stats { grid-template-columns: 1fr; } }

/* ---------- sections + cards (offline design) ---------- */
.lp-section { padding: 84px 0; }
.lp-head-center { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.lp-h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; text-wrap: balance; }
#privacy .lp-h2 { font-size: 33px; font-weight: 700; max-width: 520px; margin-left: auto; margin-right: auto; }
.lp-lead { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.center { text-align: center; }

.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card--hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lp-card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }

.lp-ic { width: 46px; height: 46px; border-radius: var(--ds-r-lg); display: grid; place-items: center; margin-bottom: 16px; }
.lp-ic svg { width: 22px; height: 22px; }
.lp-ic--lavender { background: color-mix(in srgb, var(--data-lavender) 16%, transparent); color: var(--data-lavender); }
.lp-ic--sky { background: color-mix(in srgb, var(--data-sky) 16%, transparent); color: var(--data-sky); }
.lp-ic--mint { background: color-mix(in srgb, var(--data-mint) 16%, transparent); color: var(--data-mint); }
.lp-ic--amber { background: color-mix(in srgb, var(--data-amber) 16%, transparent); color: #b3830f; }
.lp-ic--rose { background: color-mix(in srgb, var(--data-rose) 16%, transparent); color: var(--data-rose); }
.lp-ic--teal { background: color-mix(in srgb, var(--data-teal) 16%, transparent); color: var(--data-teal); }
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feat-grid .lp-card { padding: 18px 20px; }
.lp-feat-grid .lp-ic { width: 40px; height: 40px; margin-bottom: 12px; }
.lp-feat-grid .lp-ic svg { width: 20px; height: 20px; }
.lp-feat-grid .lp-card__d { font-size: 14px; }
@media (max-width: 860px) { .lp-feat-grid { grid-template-columns: 1fr; } }
.lp-card__t { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.lp-card__d { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.lp-persona__tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--text-brand); background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--ds-accent) 18%, transparent); padding: 4px 11px; border-radius: 999px; }
.lp-step__num { width: 40px; height: 40px; border-radius: var(--ds-r-lg); background: var(--brand-500); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; margin-bottom: 14px; box-shadow: 0 10px 22px -10px var(--brand-500); }
/* how: 3 step cards — narrower side padding */
#how .lp-grid-3 .lp-card { padding-left: 16px; padding-right: 16px; }
.lp-card__d code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--surface-hover); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 1px 6px; }
.lp-card__d a { color: var(--text-brand); font-weight: 600; }
.lp-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--text-brand); }
.lp-card__link:hover { color: var(--brand-600); text-decoration: none; }
.lp-card__link svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .lp-grid-3 { grid-template-columns: 1fr; } }
.lp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-card--row { display: flex; gap: 16px; align-items: flex-start; }
.lp-card--row .lp-ic { margin-bottom: 0; flex: 0 0 auto; }
/* privacy: 4 row-cards — shorter (less vertical padding) */
#privacy .lp-card--row { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 760px) { .lp-grid-2 { grid-template-columns: 1fr; } }

/* ---------- device frames ---------- */
.macwin { border-radius: var(--ds-r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--ds-surface); }
.macwin img { width: 100%; }

.browser { border-radius: var(--ds-r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #1c1c1c; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #2a2a2a; border-bottom: 1px solid #000; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar .url {
  flex: 1; margin-left: 8px; background: #3a3a3a; color: #c8c8c8; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; text-align: center; max-width: 360px;
}
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.browser img { width: 100%; display: block; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-brand); margin: 0 0 12px; }
h2.title { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; color: var(--text-primary); }
.section-head p { font-size: 17px; color: var(--text-secondary); margin: 0; }

/* ---------- stat strip ---------- */
.stats { background: var(--ink); color: #fff; padding: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 40px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.stat span { color: #9fb0cc; font-size: 14px; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(odd) { border-left: none; } }

/* ---------- demo ---------- */
.demo { background: transparent; }
/* segmented control with a role sub-label (offline design) */
.lp-tabs {
  display: inline-flex; gap: 4px; margin-top: 20px;
  background: var(--ds-surface-2); border: 1px solid var(--border-subtle);
  border-radius: var(--ds-r-lg); padding: 4px;
}
.lp-tab {
  font: inherit; cursor: pointer; text-align: center; white-space: nowrap;
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 22px; border-radius: var(--ds-r); border: 0; background: transparent;
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
  transition: background .16s, color .16s, box-shadow .16s;
}
.lp-tab__role { font-size: 11px; font-weight: 500; color: var(--text-secondary); opacity: .85; }
.lp-tab.active { background: var(--ds-surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.demo-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.demo-tab {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--ds-surface); color: var(--ink-soft);
}
.demo-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.demo-stage { max-width: 940px; margin: 0 auto; }
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-panel video { width: 100%; display: block; background: #1c1c1c; }
.demo-shot { width: 100%; display: block; border-radius: var(--ds-r-lg); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); }
.demo-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--ds-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature .ficon { width: 52px; height: 52px; margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- personas / who it's for ---------- */
.personas { background: var(--bg-subtle); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.persona-card {
  background: var(--ds-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; text-align: center;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.persona-ic { font-size: 40px; line-height: 1; margin-bottom: 16px; }
.persona-card h3 { font-size: 19px; margin: 0 0 10px; }
.persona-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.persona-tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-weak); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 880px) { .persona-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: left; }
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent-weak); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- showcase ---------- */
.showcase { background: transparent; }
.shot-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 34px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot-grid.single { grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; }
.shot-card { cursor: zoom-in; }
.shot-card .cap { margin-top: 12px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.shot-card .cap span { color: var(--muted); font-weight: 400; }
.shot-panel { display: none; }
.shot-panel.active { display: block; }
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }

.lp-cap { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: #9AA1B4; }
.lp-cap svg { width: 14px; height: 14px; }
/* showcase gallery (offline design) */
.showcase .lp-head-center { margin-bottom: 30px; }
.lp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-shot { position: relative; margin: 0; border-radius: var(--ds-r-lg); overflow: hidden; cursor: zoom-in; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; transition: transform .16s ease, box-shadow .16s ease; }
.lp-shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lp-shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 9px; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(to top, rgba(8,10,18,.72), transparent); }
.lp-shot__zoom { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 8px; background: rgba(0,0,0,.4); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; }
.lp-shot:hover .lp-shot__zoom { opacity: 1; }
.lp-shot__zoom svg { width: 14px; height: 14px; }
@media (max-width: 880px) { .lp-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- compare / vs hubstaff ---------- */
.cmp-card {
  max-width: 820px; margin: 0 auto; background: var(--ds-surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; overflow-x: auto;
}
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.cmp th, .cmp td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.cmp thead th { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--bg-subtle); white-space: nowrap; }
.cmp tbody td:first-child { color: var(--ink-soft); font-weight: 500; }
.cmp .cmp-us { background: var(--accent-weak); text-align: center; }
.cmp .cmp-them { text-align: center; color: var(--ink-soft); }
.cmp thead .cmp-us { color: var(--accent); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp .yes { color: var(--success); font-weight: 600; white-space: nowrap; }
.cmp .yes::before { content: "✓ "; font-weight: 700; }
.cmp .no { color: var(--muted); }
.cmp .no::before { content: "✕ "; }
.cmp-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- compare (offline lp-cmp) ---------- */
.lp-card.lp-cmp { max-width: 780px; margin: 0 auto; padding: 0; overflow: hidden; }
.lp-cmp table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-cmp th, .lp-cmp td { padding: 18px 20px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
.lp-cmp tbody tr:last-child td { border-bottom: none; }
.lp-cmp thead th { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.lp-cmp thead .col { text-align: center; }
.lp-cmp td.feat { font-weight: 600; color: var(--text-primary); }
.lp-cmp td.c { text-align: center; }
/* highlighted "DoveHeroTracking" column: white header, tinted body cells */
.lp-cmp__us-col { background: var(--us-col-tint); }
.lp-cmp thead .col.us { color: var(--text-brand); background: #FFFFFF; font-size: 15px; }
.lp-cmp__val { font-weight: 700; font-size: 14px; }
.lp-cmp__val--pos { color: var(--success); }
.lp-cmp__val--muted { color: var(--muted); }
.lp-yes, .lp-no { display: inline-flex; line-height: 0; }
.lp-yes { color: var(--success); }
.lp-no { color: var(--muted); }
.lp-yes svg, .lp-no svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .lp-cmp th, .lp-cmp td { padding: 11px 12px; } .lp-cmp table { font-size: 13.5px; } }

/* ---------- privacy ---------- */
.privacy { background: transparent; }
.priv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.priv {
  display: flex; gap: 14px; align-items: flex-start; padding: 22px;
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--ds-r-lg); box-shadow: var(--shadow-sm);
}
.priv .pi { flex: none; width: 40px; height: 40px; border-radius: var(--ds-r); background: var(--brand-tint); color: var(--text-brand); display: grid; place-items: center; }
.priv h3 { margin: 0 0 5px; font-size: 16px; color: var(--text-primary); }
.priv p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.priv svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .priv-grid { grid-template-columns: 1fr; } }

/* ---------- pricing (offline) ---------- */
.lp-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; margin: 0 auto; }
@media (max-width: 760px) { .lp-price-grid { grid-template-columns: 1fr; } }
.lp-price-grid--one { grid-template-columns: 1fr; max-width: 440px; }
.lp-price { padding: 28px; position: relative; display: flex; flex-direction: column; }
.lp-price--focal { background: var(--focal-grad); color: #fff; border-color: var(--focal-border); box-shadow: var(--shadow-xl); }
.lp-price__name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.lp-price--focal .lp-price__name { color: #fff; }
.lp-price__amt { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.lp-price__num { font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.lp-price__num--talk { font-size: 30px; line-height: 1.3; }
.lp-price__per { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.lp-price--focal .lp-price__per { color: rgba(255,255,255,.6); }
.lp-price__d { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 18px; }
.lp-price--focal .lp-price__d { color: rgba(255,255,255,.7); }
.lp-price__list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.lp-price__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.lp-price--focal .lp-price__list li { color: rgba(255,255,255,.85); }
.lp-price__list svg { width: 17px; height: 17px; color: var(--positive); flex: none; margin-top: 2px; }
.lp-price--focal .lp-price__list svg { color: var(--data-mint); }
.lp-price__badge { position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--data-mint); color: #06281d; padding: 4px 10px; border-radius: 999px; }
.lp-price__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.lp-price__ctas .lp-btn { width: 100%; justify-content: center; }
.lp-price--focal .lp-btn--secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.lp-price--focal .lp-btn--secondary:hover { background: rgba(255,255,255,.2); }
.lp-pledge { max-width: 720px; margin: 24px auto 0; text-align: center; font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  background: var(--accent-weak); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; }
.lp-pledge strong { color: var(--accent); }

/* ---------- open source (offline) ---------- */
.lp-oss__foot { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-oss__foot .lp-btn svg { width: 18px; height: 18px; }
.lp-oss__soon {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-muted);
  border: 1px dashed var(--border-default); border-radius: 999px; padding: 8px 18px; background: var(--surface-card);
}
.lp-oss__soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); display: inline-block; }

/* ---------- final cta (offline) ---------- */
.lp-finalcta { background: var(--focal-grad); border-radius: var(--ds-r-lg); padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-xl); }
.lp-finalcta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.025em; margin: 0 0 10px; }
.lp-finalcta p { font-size: 16px; color: rgba(255,255,255,.72); margin: 0 auto 26px; max-width: 52ch; line-height: 1.6; }
.lp-finalcta__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-finalcta .lp-btn--ghost { color: #fff; }
.lp-finalcta .lp-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.lp-finalcta .lp-btn svg { width: 18px; height: 18px; }

/* ---------- footer (offline) ---------- */
.lp-footer { border-top: 1px solid var(--border-subtle); padding: 48px 0 36px; margin-top: 20px; }
.lp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .lp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .lp-footer__grid { grid-template-columns: 1fr; } }
.lp-footer__brand .lp-brand { margin-bottom: 4px; }
.lp-footer__tag { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; max-width: 30ch; margin: 14px 0 0; }
.lp-footer__col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9AA1B4; margin: 0 0 12px; }
.lp-footer__col a { display: block; font-size: 13.5px; color: var(--text-secondary); text-decoration: none; padding: 5px 0; }
.lp-footer__col a:hover { color: var(--text-brand); text-decoration: none; }
.lp-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--border-subtle); font-size: 12.5px; color: #9AA1B4; flex-wrap: wrap; }
.lp-footer__social { display: inline-flex; gap: 14px; }
.lp-footer__social a { color: var(--text-muted); display: inline-flex; transition: color .14s; }
.lp-footer__social a:hover { color: var(--text-brand); }
.lp-footer__social svg { width: 18px; height: 18px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,12,20,.86); display: none; align-items: center; justify-content: center; padding: 32px; z-index: 80; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: var(--ds-r); box-shadow: var(--shadow-lg); }

/* ---------- windows install notice (SmartScreen) ---------- */
.winmodal { position: fixed; inset: 0; background: rgba(8,12,20,.6); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 90; backdrop-filter: blur(3px); }
.winmodal.open { display: flex; }
.winmodal-card { position: relative; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 30px 30px 24px; }
.winmodal-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.winmodal-x:hover { background: var(--bg-subtle); color: var(--ink); }
.winmodal-title { margin: 0 0 10px; font-size: 21px; color: var(--ink); }
.winmodal-lede { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* faithful mock of the Windows SmartScreen dialog */
.ss-dialog { background: #f2f2f2; border: 1px solid #d9d9d9; border-radius: 6px; padding: 20px 22px; box-shadow: var(--shadow-sm); color: #1a1a1a; font-size: 13px; line-height: 1.5; }
.ss-title { font-size: 18px; font-weight: 600; color: #000; margin-bottom: 8px; }
.ss-body { margin: 0 0 12px; color: #303030; }
.ss-meta { margin: 0 0 4px; color: #303030; }
.ss-meta div { margin-bottom: 2px; }
.ss-moreinfo { display: inline-block; margin-bottom: 16px; color: #0066cc; text-decoration: underline; text-underline-offset: 2px; }
.ss-actions { display: flex; gap: 10px; justify-content: flex-end; }
.ss-btn { display: inline-block; min-width: 96px; text-align: center; padding: 6px 14px; background: #e1e1e1; border: 1px solid #adadad; border-radius: 3px; color: #1a1a1a; }
.ss-run { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-weak); font-weight: 600; }

.winmodal-steps { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 12px; }
.winmodal-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.winmodal-steps .step-badge { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.winmodal-steps strong { color: var(--ink); }
.winmodal-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.winmodal-foot { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- reveal ----------
   Visible by default (no-JS, crawlers, SEO). Only hidden+animated once JS
   adds `.anim` to <html>, so content is never stuck invisible. */
html.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.anim .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- language switcher (i18n) — trigger shows current flag + language name ---- */
.lang-switcher{position:relative;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 11px;cursor:pointer;font-size:13px;font-weight:700;color:var(--text-secondary);border-radius:999px;border:1px solid var(--border-default);background:var(--control-bg);outline:none;transition:background .14s}
.lang-switcher:hover,.lang-switcher:focus-visible{background:var(--surface-hover)}
.lang-globe{width:15px;height:15px;flex-shrink:0}
.lang-label{white-space:nowrap}
.lang-caret{color:var(--text-secondary);transition:transform .15s ease}
.lang-switcher.open .lang-caret,.lang-switcher:focus-within .lang-caret{transform:rotate(180deg)}
.lang-switcher.open .lang-menu,.lang-switcher:focus-within .lang-menu{display:flex}
.lang-menu{display:none;position:absolute;top:44px;right:0;flex-direction:column;min-width:184px;background:var(--surface-card);border:1px solid var(--border-default);border-radius:16px;box-shadow:var(--shadow-lg);padding:6px;z-index:120}
.lang-opt{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;color:var(--text-secondary);text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}
.lang-opt:hover{background:var(--surface-hover);color:var(--text-primary);text-decoration:none}
.lang-opt .ck{margin-left:auto;width:15px;height:15px;opacity:0}
.lang-opt[aria-current="true"]{color:var(--text-brand);font-weight:700;background:var(--brand-tint)}
.lang-opt[aria-current="true"] .ck{opacity:1}
@media (max-width:560px){.lang-label{display:none}}

/* ---------- type: same families as the web app (DS display + body) ---------- */
h1, h2, h3, .lp-h2, .lp-hero__title, h1.headline, h2.title, .lp-brand__name, .lp-stat__v, .lp-step__num {
  font-family: var(--ds-f-display);
}
.lp-hero__title, .lp-h2, h2.title, .lp-stat__v, .lp-brand__name, .lp-brand__name b, .lp-step__num { font-weight: 700; }
.lp-brand img { width: 34px; height: 30px; border-radius: 0; object-fit: contain; }

/* ======================================================================
   UX pass — rhythm, one-line labels, mobile layout
   ====================================================================== */

/* Vertical rhythm: sections were 84px each side (168px between blocks). */
.lp-section { padding: 64px 0; }
.lp-head-center { margin-bottom: 40px; }
.lp-section--tight { padding: 8px 0 24px; }
@media (max-width: 640px) {
  .lp-section { padding: 48px 0; }
  .lp-head-center { margin-bottom: 28px; }
  .lp-h2, h2.title { font-size: 28px; }
}

/* Hero: balanced headline (3 lines desktop), copy before screenshot on mobile. */
.lp-hero__title { font-size: clamp(34px, 4vw, 48px); text-wrap: balance; }
.lp-hero__lede { font-size: 17px; }
.lp-hero__note { text-wrap: pretty; }
.lp-hero__ctas .lp-btn { white-space: nowrap; }
@media (max-width: 920px) {
  .lp-hero__grid { gap: 32px; }
  .lp-mock__badge { display: none; }
}

/* Stat strip: compact, always one row. */
.lp-stat { padding: 18px 16px; }
.lp-stat__v { font-size: 30px; }
.lp-stat__l { margin-top: 6px; font-size: 13px; }
@media (max-width: 640px) {
  .lp-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lp-stat { padding: 14px 6px; }
  .lp-stat__v { font-size: 24px; }
  .lp-stat__l { font-size: 11.5px; line-height: 1.3; }
}

/* Segmented tabs on phones: two equal halves, labels on one line. */
@media (max-width: 560px) {
  .lp-tabs { display: flex; width: 100%; }
  .lp-tab { flex: 1 1 0; min-width: 0; padding: 9px 6px; font-size: 12.5px; }
  .lp-tab__role { display: none; }
}

/* Compare table: wider feature column on phones so rows don't wrap 6 lines. */
.lp-cmp thead .col.us { background: var(--ds-surface); }
@media (max-width: 560px) {
  .lp-cmp table { table-layout: fixed; }
  .lp-cmp thead th:first-child, .lp-cmp td.feat { width: 52%; }
  .lp-cmp td.feat { font-size: 13px; line-height: 1.35; }
  .lp-cmp thead .col.us { font-size: 12.5px; }
  .lp-cmp__val { font-size: 12.5px; }
}

/* Final CTA: full-width buttons on phones. */
@media (max-width: 560px) {
  .lp-finalcta { padding: 40px 20px; }
  .lp-finalcta__ctas .lp-btn { flex: 1 1 100%; }
}

/* Footer: brand on its own row, link columns two-up on phones. */
@media (max-width: 760px) {
  .lp-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
}
.lp-footer__col h4 { color: var(--ds-fg-3); }
@media (max-width: 560px) {
  .lp-cmp thead th { white-space: normal; line-height: 1.25; }
  .lp-eyebrow { font-size: 11px; }
}

/* ---------- hero trust ticks (replaces the long note line) ---------- */
.lp-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; }
.lp-hero__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-secondary); white-space: nowrap; }
.lp-hero__trust svg { width: 15px; height: 15px; color: var(--ds-accent); flex: none; }

/* Hero: give the product screenshot more room on wide screens. */
@media (min-width: 1181px) {
  .lp-hero__grid { grid-template-columns: 1fr 1.15fr; gap: 48px; }
}

/* ---------- final CTA: copy left, actions right (one row on desktop) ---------- */
.lp-finalcta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 48px; text-align: left; padding: 48px 56px; }
.lp-finalcta p { margin: 0; max-width: 56ch; }
.lp-finalcta__ctas { justify-content: flex-end; max-width: 460px; }
@media (max-width: 920px) {
  .lp-finalcta { grid-template-columns: 1fr; text-align: center; padding: 44px 28px; }
  .lp-finalcta p { margin: 0 auto; }
  .lp-finalcta__ctas { justify-content: center; max-width: none; }
}
@media (max-width: 560px) { .lp-finalcta { padding: 36px 20px; } }
@media (min-width: 921px) {
  .lp-finalcta h2 { line-height: 1.2; }
  .lp-finalcta__ctas { display: grid; grid-template-columns: auto auto; gap: 12px; max-width: none; }
  .lp-finalcta__ctas .lp-btn--ghost { grid-column: 1 / -1; justify-self: center; }
}

/* ---------- feature spotlight: alternating copy / product image ---------- */
.lp-spot { display: grid; gap: 72px; margin-bottom: 56px; }
.lp-spot__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.lp-spot__row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-spot__row--flip .lp-spot__copy { order: 2; }
.lp-spot__copy .lp-ic { margin-bottom: 18px; }
.lp-spot__t { font-family: var(--ds-f-display); font-size: 28px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; }
.lp-spot__d { font-size: 16.5px; line-height: 1.65; color: var(--text-secondary); margin: 0; max-width: 46ch; }
.lp-spot__media { margin: 0; padding: 14px; background: var(--ds-surface-2); border: 1px solid var(--ds-line); border-radius: var(--ds-r-lg); }
.lp-spot__media img { width: 100%; height: auto; border-radius: var(--ds-r); border: 1px solid var(--ds-line); box-shadow: var(--ds-shadow); background: var(--ds-surface); }
.lp-feat-grid--compact .lp-card { padding: 22px; }
@media (max-width: 860px) {
  .lp-spot { gap: 48px; margin-bottom: 40px; }
  .lp-spot__row, .lp-spot__row--flip { grid-template-columns: 1fr; gap: 20px; }
  .lp-spot__row--flip .lp-spot__copy { order: 0; }
  .lp-spot__t { font-size: 23px; }
  .lp-spot__d { font-size: 15.5px; }
  .lp-spot__media { padding: 8px; }
}


/* ---------- action callouts on product shots (web-app card style) ---------- */
.lp-spot__media { position: relative; }
.lp-note {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  max-width: 260px; padding: 8px 12px 8px 8px;
  background: var(--ds-surface); color: var(--ds-fg); border: 1px solid var(--ds-line);
  border-radius: var(--ds-r); box-shadow: 0 6px 24px rgba(16, 24, 32, .14);
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.lp-note i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-accent-soft); color: var(--ds-accent); }
.lp-note i svg { width: 13px; height: 13px; }
.reveal.in .lp-note { animation: lp-note-in .5s ease .35s both; }
.reveal.in .lp-note--2 { animation-delay: .55s; }
@keyframes lp-note-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal.in .lp-note { animation: none; } }

/* Positions point at the UI element each note describes. */
.lp-spot__media--act .lp-note--1   { left: -18px; top: 70%; }      /* under the timeline's idle gap */
.lp-spot__media--act .lp-note--2   { left: 26%; top: -18px; }      /* above the Top app card */
.lp-spot__media--keys .lp-note--1  { left: -18px; bottom: -16px; } /* bars = counts */
.lp-spot__media--keys .lp-note--2  { right: -18px; top: -30px; }   /* above the hover tooltip */
.lp-spot__media--shots .lp-note--1 { left: -18px; top: -16px; }    /* capture thumbnails */
.lp-spot__media--shots .lp-note--2 { right: -18px; bottom: -16px; }/* activity % badge */

/* Phones: notes become a tidy list under the image. */
@media (max-width: 860px) {
  .lp-spot__media { display: flex; flex-direction: column; gap: 8px; }
  .lp-spot__media img { order: -1; margin-bottom: 4px; }
  .lp-note { position: static; max-width: none; box-shadow: none; }
}

/* Icon tiles follow the design system (accent-soft tile, accent glyph) like the
   web app's DS components, instead of one colour per card. */
.lp-ic, .lp-ic--lavender, .lp-ic--sky, .lp-ic--mint, .lp-ic--amber, .lp-ic--rose, .lp-ic--teal {
  background: var(--ds-accent-soft); color: var(--ds-accent);
}

/* ---------- multi-vendor compare table ---------- */
.lp-cmp--multi { padding: 0; overflow: hidden; }
.lp-cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-cmp--multi table { min-width: 760px; font-size: 14px; }
.lp-cmp--multi th, .lp-cmp--multi td { padding: 13px 16px; }
.lp-cmp--multi thead th { position: sticky; top: 0; background: var(--ds-surface-2); font-size: 13px; white-space: nowrap; }
.lp-cmp--multi thead th:first-child { color: var(--ds-fg-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.lp-cmp--multi thead .col.us { background: var(--ds-accent); color: #fff; }
.lp-cmp--multi td.feat { width: 34%; font-weight: 500; }
.lp-cmp--multi tbody tr:nth-child(even) td:not(.lp-cmp__us-col) { background: color-mix(in srgb, var(--ds-surface-2) 55%, transparent); }
.lp-cmp--multi .lp-cmp__val { font-size: 13px; }
.lp-cmp__none { color: var(--ds-fg-3); font-weight: 600; }
.lp-cmp--multi .lp-yes { color: var(--ds-good); }
.lp-cmp--multi td:not(.lp-cmp__us-col) .lp-yes { color: var(--ds-fg-3); }
.cmp-note { max-width: 780px; margin: 16px auto 0; text-align: center; font-size: 12.5px; color: var(--ds-fg-3); line-height: 1.55; }
@media (max-width: 560px) {
  .lp-cmp--multi table { table-layout: auto; }
  .lp-cmp--multi td.feat, .lp-cmp--multi thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--ds-surface); width: auto; min-width: 150px; }
  .lp-cmp--multi thead th:first-child { background: var(--ds-surface-2); }
}
.lp-cmp--multi .lp-cmp__val { white-space: nowrap; }
.lp-cmp__swipe { display: none; }
@media (max-width: 760px) {
  .lp-cmp__swipe { display: block; margin: 0 0 10px; text-align: end; font-size: 12.5px; font-weight: 600; color: var(--ds-accent); }
}
@media (max-width: 560px) {
  .lp-cmp--multi td.feat, .lp-cmp--multi thead th:first-child { min-width: 128px; max-width: 150px; font-size: 12.5px; }
  .lp-cmp--multi th, .lp-cmp--multi td { padding: 11px 12px; }
}
/* Fixed column widths: feature column stays readable, vendor values fit on one line. */
@media (min-width: 561px) {
  .lp-cmp--multi table { table-layout: fixed; }
  .lp-cmp--multi thead th:first-child, .lp-cmp--multi td.feat { width: 30%; }
  .lp-cmp--multi thead th.col { width: 17.5%; }
}
@media (min-width: 561px) {
  .lp-cmp--multi thead th:first-child, .lp-cmp--multi td.feat { width: 28%; }
  .lp-cmp--multi thead th.col { width: 18%; white-space: normal; }
  .lp-cmp--multi .lp-cmp__val { white-space: normal; line-height: 1.35; }
}

/* ===== Download picker (one button → every platform) ===== */
.lp-dl-os { align-self: center; font-size: 13.5px; color: var(--muted); }
.dlmodal { position: fixed; inset: 0; background: rgba(8,12,20,.6); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 89; backdrop-filter: blur(3px); }
.dlmodal.open { display: flex; }
.dlmodal-card { position: relative; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px 28px 22px; }
.dl-list { display: grid; gap: 10px; }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line, rgba(127,127,127,.22)); border-radius: 12px; background: var(--bg); }
.dl-item.is-rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.dl-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg-subtle); color: var(--ink); }
.dl-ico svg { width: 22px; height: 22px; }
.dl-meta { flex: 1 1 auto; min-width: 0; }
.dl-name { font-weight: 700; color: var(--ink); font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-rec { display: none; font-size: 11px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 8px; border-radius: 999px; }
.dl-item.is-rec .dl-rec { display: inline-block; }
.dl-req { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.dl-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.dl-acts .lp-btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 520px) {
  .dlmodal-card { padding: 24px 18px 18px; }
  .dl-item { flex-wrap: wrap; }
  .dl-meta { flex-basis: calc(100% - 54px); }
  .dl-acts { width: 100%; }
  .dl-acts .lp-btn { flex: 1 1 0; justify-content: center; }
}
