/* ============================================================================
   UniMail — public website
   Direction: calm enterprise with one liquid signature. Light aurora canvas,
   a deep-indigo band mid-page, Bricolage Grotesque display + Manrope body,
   Liquid Glass controls (the product's own design language) for every CTA.
   No build step: plain CSS, custom properties, fluid type, IntersectionObserver
   reveals in site.js.
   ============================================================================ */

:root {
  /* colour roles */
  --bg: #f3f4fb;
  --ink: #14152b;
  --ink-2: #474a68;
  --ink-3: #62657f;
  --brand: #564bc9;
  --brand-deep: #3e33a6;
  --brand-ink: #2a2278;
  --brand-soft: #ecebfc;
  --teal: #21b3bb;
  --peach: #ffb48a;
  --green: #2f9e6b;
  --green-soft: #e1f5ea;
  --line: rgba(20, 21, 43, 0.1);
  --line-strong: rgba(20, 21, 43, 0.18);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-border: rgba(255, 255, 255, 0.8);
  --dark-bg: #12122a;
  --dark-ink: #f2f2fb;
  --dark-ink-2: rgba(242, 242, 251, 0.68);
  --dark-line: rgba(255, 255, 255, 0.1);

  /* geometry */
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;
  --shadow-1: 0 8px 28px rgba(30, 26, 90, 0.08), 0 1px 2px rgba(20, 20, 60, 0.05);
  --shadow-2: 0 24px 70px rgba(30, 26, 90, 0.16), 0 4px 12px rgba(20, 20, 60, 0.06);
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  /* type */
  --font-display: 'Bricolage Grotesque', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;

  /* motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fast: 160ms;
  --normal: 240ms;
  --slow: 480ms;

  /* liquid glass (light) */
  --lg-edge: rgba(255, 255, 255, 0.62);
  --lg-border: rgba(48, 44, 96, 0.16);
  --lg-fill-hi: rgba(255, 255, 255, 0.82);
  --lg-fill-lo: rgba(255, 255, 255, 0.5);
  --lg-hover-border: rgba(86, 75, 201, 0.26);
  --lg-shadow: 0 6px 18px rgba(30, 26, 90, 0.1), 0 1px 3px rgba(20, 20, 60, 0.07);
  --lg-shadow-hover: 0 10px 26px rgba(30, 26, 90, 0.16), 0 2px 5px rgba(20, 20, 60, 0.09);
  --lg-brand-a: rgba(92, 80, 222, 0.94);
  --lg-brand-b: rgba(66, 56, 196, 0.88);
  --lg-brand-shadow: 0 8px 22px rgba(60, 50, 170, 0.3), 0 1px 3px rgba(20, 20, 60, 0.12);
  --lg-brand-shadow-hover: 0 12px 30px rgba(60, 50, 170, 0.38), 0 2px 5px rgba(20, 20, 60, 0.14);
}

/* ---------- reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- canvas: a still aurora in the brand tints ---------- */
.canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 4% -6%, rgba(124, 108, 240, 0.2), transparent 60%),
    radial-gradient(820px 520px at 104% 6%, rgba(33, 179, 187, 0.14), transparent 56%),
    radial-gradient(760px 560px at 60% 118%, rgba(255, 180, 138, 0.16), transparent 60%),
    var(--bg);
}

/* ---------- type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(38px, 6.2vw, 74px);
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
}
h3 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  text-wrap: pretty;
}
p {
  margin: 0;
}
.muted {
  color: var(--ink-3);
}

/* ---------- layout primitives ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section {
  padding-block: clamp(64px, 9vw, 128px);
}
.section-head {
  max-width: 62ch;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.grid {
  display: grid;
  gap: var(--gap, 24px);
}

/* ---------- Liquid Glass controls (from the UniMail design system) ---------- */
.lq {
  --px: 50%;
  --py: 40%;
  --r: 14px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.24), transparent 46%),
    linear-gradient(135deg, var(--lg-brand-a), var(--lg-brand-b));
  box-shadow: var(--lg-brand-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    border-color 160ms ease,
    border-radius 220ms ease;
}
.lq::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08) 38%, transparent 62%);
  opacity: 0.75;
  pointer-events: none;
}
.lq-primary::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 45%;
  height: 180%;
  top: -40%;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-140%) rotate(18deg);
  transition: transform 600ms var(--ease);
  pointer-events: none;
}
.lq-primary:hover::after {
  transform: translateX(260%) rotate(18deg);
}
.lq:hover {
  --r: 16px;
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: var(--lg-brand-shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.lq:active {
  --r: 12px;
  transform: scale(0.96);
  transition-duration: 110ms;
  box-shadow: 0 3px 10px rgba(60, 50, 170, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 2px 6px rgba(0, 0, 0, 0.14);
}
.lq .ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}
.lq:hover .ico-arrow {
  transform: translateX(2px);
}
/* medium glass: secondary actions */
.lq-secondary {
  color: var(--ink);
  border-color: var(--lg-border);
  background:
    radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.3), transparent 46%),
    linear-gradient(135deg, var(--lg-fill-hi), var(--lg-fill-lo));
  box-shadow: var(--lg-shadow), inset 0 1px 0 var(--lg-edge), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.lq-secondary::before {
  opacity: 0.55;
}
.lq-secondary:hover {
  border-color: var(--lg-hover-border);
  box-shadow: var(--lg-shadow-hover), inset 0 1px 0 var(--lg-edge), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.lq-secondary:active {
  box-shadow: 0 2px 6px rgba(30, 26, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.08);
}
/* on the dark band: white glass */
.lq-onDark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.lq-onDark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.lq-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  --r: 11px;
}
.lq-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 17px;
  --r: 16px;
}

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(243, 244, 251, 0.78), rgba(243, 244, 251, 0.6));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(20, 21, 43, 0.06);
  transition: box-shadow var(--normal) ease;
}
.nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(30, 26, 90, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6b5fe0, #3f34a6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(60, 50, 170, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
}
.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background-color var(--fast) ease, color var(--fast) ease;
}
.nav-links a:hover {
  background: rgba(86, 75, 201, 0.08);
  color: var(--ink);
}
.nav-cta {
  display: flex;
  gap: 10px;
}
/* the mobile menu exists only below the 960px breakpoint */
.nav-menu {
  display: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--lg-border);
  background: linear-gradient(135deg, var(--lg-fill-hi), var(--lg-fill-lo));
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
  transition: transform var(--normal) var(--ease), opacity var(--fast) ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav.is-open .nav-toggle span {
  background: transparent;
}
.nav.is-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav.is-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(24px, 4vw, 48px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  margin-top: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero .lede {
  margin-top: 22px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-proof {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--ink-3);
  font-size: 14px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-proof svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* providers cluster on the right of the hero */
.providers {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.providers .eyebrow {
  color: var(--ink-3);
}
.provider-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.provider {
  display: grid;
  gap: 8px;
  padding: 14px 12px;
  border-radius: var(--radius-m);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
}
.provider small {
  font-weight: 500;
  color: var(--ink-3);
}
.provider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.providers .note {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------- the product stage ---------- */
.stage-wrap {
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.stage {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.app {
  --app-line: rgba(20, 21, 43, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: #eef0f8;
  color: #1b1d2e;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.08);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(100deg, #453bb0 0%, #564bc9 55%, #7159d6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.app-top .mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.app-top .name {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.app-search {
  flex: 1;
  max-width: 420px;
  margin-inline: auto;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}
.app-top .avatars {
  display: flex;
  margin-left: auto;
}
.app-top .avatars i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #564bc9;
  margin-left: -6px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: #fff;
}
.app-ribbon {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.85), rgba(255, 255, 255, 0.6));
  border-bottom: 1px solid rgba(118, 128, 173, 0.22);
}
.app-ribbon .pill {
  padding: 6px 10px;
  border-radius: 9px;
  color: #474a68;
}
.app-ribbon .pill.primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(92, 80, 222, 0.94), rgba(66, 56, 196, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 8px rgba(60, 50, 170, 0.25);
  font-weight: 600;
}
.app-body {
  display: grid;
  grid-template-columns: 190px 280px minmax(0, 1fr) 200px;
  gap: 8px;
  padding: 8px;
  min-height: 380px;
}
.app-pane {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(30, 26, 90, 0.06);
  overflow: hidden;
}
.app-side {
  padding: 10px 8px;
  background: linear-gradient(180deg, rgba(86, 75, 201, 0.07), rgba(86, 75, 201, 0.02));
}
.app-side .label {
  font-size: 11px;
  color: #7c7f9a;
  margin: 8px 6px 4px;
}
.app-side .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #2a2c45;
}
.app-side .row.on {
  background: rgba(86, 75, 201, 0.14);
  font-weight: 600;
}
.app-side .row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.app-side .row .n {
  margin-left: auto;
  font-size: 11px;
  color: #7c7f9a;
}
.app-list .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--app-line);
  font-weight: 700;
}
.app-list .tabs {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--app-line);
}
.app-list .tabs i {
  font-style: normal;
  padding: 4px 9px;
  border-radius: 8px;
  color: #474a68;
}
.app-list .tabs i.on {
  background: rgba(86, 75, 201, 0.14);
  color: #1b1d2e;
  font-weight: 600;
}
.app-list .msg {
  padding: 9px 12px;
  border-bottom: 1px solid var(--app-line);
}
.app-list .msg b {
  display: block;
  font-weight: 600;
}
.app-list .msg span {
  color: #7c7f9a;
  font-size: 11.5px;
}
.app-list .msg.on {
  background: rgba(86, 75, 201, 0.1);
  box-shadow: inset 3px 0 0 #564bc9;
}
.app-read {
  padding: 14px 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.app-read h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.app-read .from {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #474a68;
}
.app-read .from i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #21b3bb;
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.app-read .paper {
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: 12px;
  color: #242424;
  display: grid;
  gap: 8px;
}
.app-read .paper .ln {
  height: 8px;
  border-radius: 4px;
  background: #e8e9f2;
}
.app-read .paper .ln.w60 {
  width: 60%;
}
.app-read .paper .ln.w80 {
  width: 80%;
}
/* compose card that slides in with the AI draft */
.app-compose {
  position: absolute;
  right: 220px;
  bottom: 22px;
  width: 340px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--app-line);
  box-shadow: 0 20px 50px rgba(30, 26, 90, 0.22);
  transform: translateY(24px);
  opacity: 0;
}
.app-compose .bar {
  height: 30px;
  background: linear-gradient(100deg, #0369a1, #0284c7 55%, #0e9bde);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-weight: 600;
}
.app-compose .cmd {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.85), rgba(255, 255, 255, 0.6));
  border-bottom: 1px solid rgba(118, 128, 173, 0.22);
}
.app-compose .cmd .pill {
  padding: 4px 9px;
  border-radius: 8px;
  color: #474a68;
  font-size: 11.5px;
}
.app-compose .cmd .pill.primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(92, 80, 222, 0.94), rgba(66, 56, 196, 0.88));
  font-weight: 600;
}
.app-compose .cmd .pill.ai {
  color: #3e33a6;
  font-weight: 600;
}
.app-compose .body {
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #242424;
}
.app-compose .body .ln {
  height: 7px;
  border-radius: 4px;
  background: #e8e9f2;
}
.app-compose .body .typing {
  color: #3e33a6;
  font-weight: 600;
}
/* follow-up panel */
.app-follow {
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 6px;
}
.app-follow .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  padding: 2px 2px 8px;
  border-bottom: 1px solid var(--app-line);
  margin-bottom: 4px;
}
.app-follow .count {
  font-size: 11px;
  color: #7c7f9a;
  font-weight: 500;
}
.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 9px;
  border: 1px solid rgba(48, 44, 96, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  transition: background-color 400ms ease, border-color 400ms ease, color 400ms ease;
}
.chip .ic {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex: none;
}
.chip .who {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
  background: #e0674c;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 300ms ease, transform 300ms var(--ease);
}
.chip.active {
  border-color: rgba(86, 75, 201, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 0 3px rgba(86, 75, 201, 0.14);
}
.chip.done {
  color: #1f7a4f;
  border-color: rgba(47, 158, 107, 0.5);
  background: linear-gradient(135deg, rgba(76, 175, 110, 0.26), rgba(76, 175, 110, 0.1));
}
.chip.done .who {
  opacity: 1;
  transform: none;
}
.chip .ic-check {
  display: none;
}
.chip.done .ic-check {
  display: block;
}
.chip.done .ic-mail {
  display: none;
}
.app.is-drafting .app-compose {
  transition: transform 500ms var(--ease), opacity 400ms ease;
  transform: none;
  opacity: 1;
}
.stage-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}
.stage-caption b {
  color: var(--ink-2);
  font-weight: 600;
}
.anim-toggle {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--fast) ease, border-color var(--fast) ease;
}
.anim-toggle:hover {
  border-color: var(--lg-hover-border);
  background: var(--brand-soft);
}
.anim-toggle[aria-pressed='true'] {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.panel-card .anim-toggle {
  margin-top: 12px;
  justify-self: start;
}

/* ---------- "why teams switch": statement + reasons ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.why-sticky {
  position: sticky;
  top: 96px;
}
.why-sticky .display {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-top: 16px;
}
.reasons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.reason {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.reason .glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(86, 75, 201, 0.14);
}
.reason .glyph svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reason h3 {
  margin-bottom: 8px;
}
.reason p {
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- follow-up & AI: steps + panel ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 14px 0;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-deep);
  padding-top: 4px;
}
.steps b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.steps p {
  color: var(--ink-2);
  max-width: 52ch;
}
.panel-card {
  padding: 18px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.panel-card .app-follow {
  font-size: 13px;
}
.panel-card .chip {
  font-size: 13px;
  padding: 9px 10px;
}
.panel-card .chip .who {
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.ai-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(86, 75, 201, 0.16);
  font-size: 13.5px;
  color: var(--brand-ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ai-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ---------- teams bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tile {
  grid-column: span 2;
  padding: 26px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: grid;
  align-content: start;
  gap: 10px;
}
.tile.wide {
  grid-column: span 3;
}
.tile.full {
  grid-column: span 6;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.tile h3 {
  margin-top: 6px;
}
.tile p {
  color: var(--ink-2);
}
.tile .glyph {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}
.tile .glyph svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.presence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.presence .stack {
  display: flex;
}
.presence .stack i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
}
.presence .stack i:first-child {
  margin-left: 0;
}
.presence small {
  color: var(--ink-3);
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.roles li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-solid);
}
.profiles-diagram {
  display: grid;
  gap: 10px;
}
.profile-box {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  display: grid;
  gap: 6px;
  font-size: 13.5px;
}
.profile-box b {
  font-weight: 700;
}
.profile-box .boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-box .boxes span {
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- full feature list ---------- */
.features {
  columns: 3;
  column-gap: 28px;
}
.feature-group {
  break-inside: avoid;
  margin-bottom: 28px;
  padding: 22px 22px 8px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-group h3 svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brand-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.feature-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-group li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.feature-group li b {
  font-weight: 600;
  font-size: 14.5px;
}
.feature-group li span {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------- dark band: add-ons + deployment ---------- */
.band {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(91, 75, 224, 0.35), transparent 60%),
    radial-gradient(820px 480px at 100% 100%, rgba(33, 179, 187, 0.18), transparent 56%),
    var(--dark-bg);
  color: var(--dark-ink);
}
.band .eyebrow {
  color: #b4adf5;
}
.band :focus-visible {
  outline-color: #fff;
}
.band .lede,
.band p {
  color: var(--dark-ink-2);
}
.band h2,
.band h3 {
  color: var(--dark-ink);
}
.addon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.process {
  display: grid;
  gap: 14px;
  counter-reset: p;
}
.process li {
  list-style: none;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
  counter-increment: p;
}
.process li::before {
  content: counter(p);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(92, 80, 222, 0.94), rgba(66, 56, 196, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.process b {
  display: block;
  color: var(--dark-ink);
  margin-bottom: 2px;
}
.process p {
  font-size: 14.5px;
}
.addon-examples {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.addon-examples li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--dark-ink);
}
.deploy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--dark-line);
}
.deploy-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.deploy-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
}
.deploy-list svg {
  width: 20px;
  height: 20px;
  stroke: #7fe0c2;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.diagram {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-line);
  display: grid;
  gap: 18px;
}
.diagram .node {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  display: grid;
  gap: 2px;
}
.diagram .node b {
  color: #fff;
}
.diagram .node small {
  color: var(--dark-ink-2);
}
.diagram .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.diagram .core {
  background: linear-gradient(135deg, rgba(92, 80, 222, 0.6), rgba(66, 56, 196, 0.45));
  border-color: rgba(255, 255, 255, 0.28);
  text-align: center;
}
.diagram .link {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b4adf5;
}

/* ---------- plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  padding: 28px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: grid;
  align-content: start;
  gap: 14px;
}
.plan.featured {
  border-color: rgba(86, 75, 201, 0.35);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.plan .tag {
  align-self: start;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
}
.plan .price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.plan .price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 8px;
}
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.plan li svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--brand-deep);
  transition: transform var(--normal) var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 18px;
  color: var(--ink-2);
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.field {
  display: grid;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13.5px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(86, 75, 201, 0.16);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.form-foot .hint {
  font-size: 13px;
  color: var(--ink-3);
}
.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #1f7a4f;
  min-height: 1.4em;
}
.field .req {
  color: var(--brand-deep);
}
.contact-aside {
  display: grid;
  gap: 18px;
}
.contact-aside .card {
  padding: 20px 22px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 6px;
}
.contact-aside .card b {
  font-weight: 700;
}
.contact-aside .card a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
}
.contact-aside .card a:hover {
  text-decoration: underline;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 40px;
  color: var(--ink-3);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-2);
}
.footer-links a:hover {
  color: var(--ink);
}

/* ---------- reveal choreography ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .app-body {
    grid-template-columns: 170px 240px minmax(0, 1fr) 180px;
  }
  .app-compose {
    right: 196px;
  }
  .features {
    columns: 2;
  }
  .nav-primary {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav.is-open .nav-menu {
    display: grid;
  }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px var(--gutter) 20px;
    background: rgba(243, 244, 251, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(30, 26, 90, 0.12);
    gap: 4px;
  }
  .nav-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-menu a:hover {
    background: rgba(86, 75, 201, 0.08);
  }
  .nav-menu .lq {
    margin-top: 8px;
    justify-self: start;
  }
}
@media (max-width: 960px) {
  .app-ribbon .pill:nth-child(n + 6) {
    display: none;
  }
  .hero-grid,
  .why-grid,
  .flow-grid,
  .addon-grid,
  .deploy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .why-sticky {
    position: static;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile,
  .tile.wide {
    grid-column: span 1;
  }
  .tile.full {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  /* the product stage becomes a two-pane story on smaller screens */
  .app-body {
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 0;
  }
  .app-side,
  .app-read {
    display: none;
  }
  .app-compose {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }
}
@media (max-width: 640px) {
  .provider-row {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile.full {
    grid-column: span 1;
  }
  .features {
    columns: 1;
  }
  .form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .app-body {
    grid-template-columns: 1fr;
  }
  .app-follow {
    order: -1;
  }
  .app-compose .body .ln {
    display: none;
  }
  .app-list .msg:nth-child(n + 5) {
    display: none;
  }
  .diagram {
    padding: 16px;
  }
  .diagram .row {
    grid-template-columns: 1fr;
  }
  .app-search {
    display: none;
  }
  .app-ribbon .pill:nth-child(n + 4) {
    display: none;
  }
  .hero-ctas .lq {
    width: 100%;
  }
  .stage {
    padding: 8px;
    border-radius: 22px;
  }
  .app {
    border-radius: 16px;
  }
}
@media (hover: none) {
  .lq:hover {
    transform: none;
    --r: 14px;
  }
  .lq-primary:hover::after {
    transform: translateX(-140%) rotate(18deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lq,
  .lq .ico,
  .chip,
  .chip .who,
  .nav-toggle span,
  .faq summary::after {
    transition: none;
  }
  .lq-primary::after {
    display: none;
  }
  .lq:hover,
  .lq:active {
    transform: none;
  }
  .app.is-drafting .app-compose {
    transition: none;
  }
}

/* ---------- legal pages (privacy.html, terms.html) + Google data section ---------- */
.legal {
  max-width: 820px;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 128px);
  display: grid;
  gap: 40px;
}
.legal-head {
  display: grid;
  gap: 16px;
}
.legal-head h1 {
  font-size: clamp(34px, 5vw, 56px);
}
.legal-meta {
  font-size: 14px;
  color: var(--ink-3);
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legal-toc a {
  font-size: 13px;
  text-decoration: none;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 6px 12px;
}
.legal-toc a:hover {
  background: #dedcf8;
}
.legal section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 90px;
}
.legal h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  padding-top: 8px;
}
.legal h3 {
  font-size: 18px;
  margin-top: 6px;
}
.legal p,
.legal li {
  color: var(--ink-2);
  line-height: 1.65;
}
.legal ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.legal a {
  color: var(--brand-deep);
}
.legal code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--brand-soft);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--brand-ink);
}
.legal-summary {
  list-style: none;
  padding: 0;
  gap: 10px;
}
.legal-summary li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-m);
  padding: 14px 18px;
}
.legal-highlight {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px);
}
.legal-callout {
  border-left: 3px solid var(--brand);
  padding: 12px 18px;
  background: var(--brand-soft);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink) !important;
  font-weight: 500;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.legal-table th {
  color: var(--ink);
  font-weight: 600;
}
.legal-address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-2);
}

/* "Your Google data" section on the homepage */
.gdata-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gdata-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-l);
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.gdata-card svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gdata-card h3 {
  font-size: 19px;
}
.gdata-card p,
.gdata-card li {
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 15px;
}
.gdata-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.gdata-foot {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.gdata-foot .legal-callout {
  max-width: 76ch;
}
@media (max-width: 960px) {
  .gdata-grid {
    grid-template-columns: 1fr;
  }
}
