/* =========================================================
   Lmein — Stylesheet
   Premium B2B SaaS / RMM Platform
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-50:  #eef4ff;
  --brand-100: #d9e6ff;
  --brand-200: #b6cdff;
  --brand-300: #87adff;
  --brand-400: #5a8aff;
  --brand-500: #2f66f6;
  --brand-600: #1f4fdb;
  --brand-700: #183fae;
  --brand-800: #15368a;
  --brand-900: #112d6e;

  --accent-500: #14b8a6;
  --accent-600: #0e9f8e;

  /* Neutrals (Light) */
  --bg:        #ffffff;
  --bg-soft:   #f6f8fc;
  --bg-mute:   #eef1f7;
  --surface:   #ffffff;
  --surface-2: #f9fbff;
  --line:      #e3e8f1;
  --line-strong: #d2d9e6;
  --text:      #0e1626;
  --text-soft: #3b475c;
  --text-mute: #66738a;

  --success: #16a34a;
  --warning: #d97706;
  --danger:  #dc2626;

  /* Effects */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 4px 14px rgba(15,23,42,.06);
  --shadow:    0 12px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 28px 60px rgba(15,23,42,.14);
  --ring:      0 0 0 4px rgba(47,102,246,.18);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 72px;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Dark Theme ---------- */
:root[data-theme="dark"] {
  --bg:        #0a0f1c;
  --bg-soft:   #0d1425;
  --bg-mute:   #111a2f;
  --surface:   #0f172a;
  --surface-2: #131c33;
  --line:      #1e2a45;
  --line-strong: #2a3859;
  --text:      #e9eef9;
  --text-soft: #b8c2d6;
  --text-mute: #8794ad;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.35);
  --shadow:    0 14px 32px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 60px rgba(0,0,0,.55);
  --ring:      0 0 0 4px rgba(122,160,255,.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
:root[data-theme="dark"] a { color: var(--brand-300); }
:root[data-theme="dark"] a:hover { color: var(--brand-200); }
button { font-family: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brand-200); color: var(--brand-900); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; color: var(--text-soft); }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50);
  padding: .4rem .75rem; border-radius: 999px;
  border: 1px solid var(--brand-100);
}
:root[data-theme="dark"] .eyebrow {
  color: var(--brand-300);
  background: rgba(47,102,246,.08);
  border-color: rgba(122,160,255,.18);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: var(--container-wide); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.muted { color: var(--text-mute); }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.35rem;
  font-weight: 600; font-size: .98rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 8px 22px rgba(47,102,246,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { color:#fff; box-shadow: 0 12px 28px rgba(47,102,246,.45); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { color: var(--text); border-color: var(--brand-400); background: var(--surface-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--brand-600); background: var(--bg-soft); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: .55rem .85rem; font-size: .85rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--text); letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(47,102,246,.35);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  margin-left: auto;
  list-style: none; padding: 0;
}
.nav-links a {
  display: inline-flex; align-items: center;
  padding: .55rem .85rem; border-radius: 8px;
  color: var(--text-soft); font-weight: 500; font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--bg-soft);
}
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  display: grid; place-items: center;
  transition: all .2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--brand-400); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem; margin: 0;
    transform: translateY(-110%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .85rem 1rem; border-radius: 10px; }
  .nav-cta .btn-secondary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 12% -10%, rgba(47,102,246,.18), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(20,184,166,.12), transparent 60%);
  pointer-events: none;
}
:root[data-theme="dark"] .hero::before {
  background:
    radial-gradient(800px 400px at 12% -10%, rgba(47,102,246,.25), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(20,184,166,.18), transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 span.grad {
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  margin-top: 2rem; color: var(--text-mute); font-size: .9rem;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: .4rem;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--success); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.15));
  pointer-events: none;
}
.hero-stat {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .85rem;
  box-shadow: var(--shadow);
}
.hero-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--text); }
.hero-stat-lbl { font-size: .8rem; color: var(--text-mute); }
.hero-stat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.15);
}

/* ---------- Logo bar ---------- */
.logo-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.logo-bar p {
  text-align: center; font-size: .85rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 1.5rem;
}
.logo-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem;
  align-items: center;
}
.logo-row span {
  font-family: var(--font-display); font-weight: 700;
  color: var(--text-mute); letter-spacing: -.01em;
  text-align: center; font-size: 1rem; opacity: .8;
}
@media (max-width: 800px) { .logo-row { grid-template-columns: repeat(3, 1fr); gap: 1rem 1.25rem; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
:root[data-theme="dark"] .card .ico {
  background: linear-gradient(135deg, rgba(47,102,246,.18), rgba(20,184,166,.08));
  border-color: rgba(122,160,255,.25);
  color: var(--brand-300);
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.card p { margin: 0; font-size: .95rem; }

/* Feature card with image */
.feature-rich {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}
.feature-rich.reverse { grid-template-columns: 1fr 1.1fr; }
.feature-rich.reverse .feat-text { order: 2; }
.feature-rich.reverse .feat-visual { order: 1; }
@media (max-width: 900px) {
  .feature-rich, .feature-rich.reverse { grid-template-columns: 1fr; padding: 1.5rem; }
  .feature-rich.reverse .feat-text { order: 1; }
  .feature-rich.reverse .feat-visual { order: 2; }
}
.feat-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.feat-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.feat-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feat-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .45rem 0; color: var(--text-soft); font-size: .98rem;
}
.feat-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* Stat tiles */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 800px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.stat-tile .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--text); line-height: 1;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-tile .l { color: var(--text-mute); font-size: .9rem; margin-top: .35rem; }

/* ---------- How it works (timeline) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: .9rem;
  box-shadow: 0 6px 14px rgba(47,102,246,.35);
}
.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 2rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { border-color: var(--brand-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.price-card.featured {
  border-color: var(--brand-500);
  background: linear-gradient(180deg, var(--brand-50), var(--surface) 60%);
  box-shadow: 0 18px 40px rgba(47,102,246,.18);
}
:root[data-theme="dark"] .price-card.featured {
  background: linear-gradient(180deg, rgba(47,102,246,.12), var(--surface) 60%);
}
.price-card .badge {
  position: absolute; top: -12px; right: 1.25rem;
  background: var(--brand-600); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(47,102,246,.4);
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.price-tag { display: flex; align-items: baseline; gap: .35rem; margin: .75rem 0; }
.price-tag .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.price-tag .per { color: var(--text-mute); font-size: .9rem; }
.price-desc { color: var(--text-mute); font-size: .92rem; min-height: 2.6em; }
.price-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; flex-grow: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .38rem 0; font-size: .94rem; color: var(--text-soft);
}
.price-list li svg { width: 18px; height: 18px; color: var(--brand-500); flex-shrink: 0; margin-top: 3px; }
.price-list li.muted { color: var(--text-mute); }
.price-list li.muted svg { color: var(--text-mute); opacity: .55; }
.price-foot { font-size: .82rem; color: var(--text-mute); margin-top: .8rem; }

.price-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem;
  margin: 0 auto 2rem;
}
.price-toggle button {
  border: none; background: transparent; color: var(--text-soft);
  padding: .5rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  transition: all .2s ease;
}
.price-toggle button.active {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 4px 10px rgba(47,102,246,.35);
}
.save-pill {
  display: inline-block;
  background: var(--accent-500); color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: .15rem .45rem; border-radius: 999px;
  margin-left: .35rem;
  vertical-align: middle;
}

/* ---------- Compare table ---------- */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  font-size: .94rem;
}
.compare th, .compare td {
  padding: .9rem 1rem; text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare th { background: var(--bg-soft); font-weight: 600; color: var(--text); font-size: .85rem; letter-spacing: .03em; }
.compare tr:last-child td { border-bottom: none; }
.compare td.center, .compare th.center { text-align: center; }
.compare td svg { width: 18px; height: 18px; }
.compare .yes { color: var(--success); }
.compare .no { color: var(--text-mute); opacity: .5; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.quote-card .stars { color: #f59e0b; display: inline-flex; gap: 2px; }
.quote-card .stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote-card blockquote {
  margin: 0; font-size: 1rem; line-height: 1.65;
  color: var(--text); font-style: normal;
}
.quote-author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote-author img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--line);
}
.quote-author .name { font-weight: 600; font-size: .95rem; }
.quote-author .role { font-size: .82rem; color: var(--text-mute); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0;
  margin-bottom: .75rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366738a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform .2s ease;
  flex-shrink: 0; margin-left: 1rem;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--text-soft); font-size: .95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #e9eef9;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 280px at 90% 0%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(420px 260px at 0% 100%, rgba(47,102,246,.4), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: .4rem; }
.cta-banner p { color: rgba(233,238,249,.85); max-width: 60ch; }
.cta-banner .btn-primary {
  background: #fff; color: var(--brand-700); box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.cta-banner .btn-primary:hover { background: #fff; color: var(--brand-800); }
.cta-banner .btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.cta-banner .row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text); margin-bottom: .35rem;
}
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit;
  padding: .75rem .9rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: var(--ring);
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .88rem; color: var(--text-soft);
  margin-bottom: 1rem;
}
.checkbox input { margin-top: 3px; flex-shrink: 0; width: auto; }
.field .hint { font-size: .8rem; color: var(--text-mute); margin-top: .35rem; }

/* ---------- Contact info card ---------- */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.info-tile .ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center;
}
:root[data-theme="dark"] .info-tile .ico { background: rgba(47,102,246,.15); color: var(--brand-300); }
.info-tile .ico svg { width: 20px; height: 20px; }
.info-tile h4 { margin: 0 0 .15rem; font-size: .98rem; }
.info-tile p, .info-tile a { margin: 0; font-size: .92rem; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h5 {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin-bottom: 1rem;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: .45rem 0; }
.foot-col a { color: var(--text-soft); font-size: .92rem; }
.foot-col a:hover { color: var(--brand-600); }
.foot-about p { font-size: .92rem; max-width: 36ch; margin: .8rem 0 1rem; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center;
  padding-top: 2rem; margin-top: 3rem;
  border-top: 1px solid var(--line);
  color: var(--text-mute); font-size: .85rem;
}
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-bottom a { color: var(--text-mute); }
.foot-bottom a:hover { color: var(--text); }

/* ---------- Page header ---------- */
.page-hero {
  position: relative;
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .65rem; }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb {
  display: inline-flex; gap: .4rem; align-items: center;
  margin-bottom: 1rem;
  font-size: .85rem; color: var(--text-mute);
}
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--brand-600); }

/* ---------- Long-form / Legal ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text-soft); font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.prose .updated {
  font-size: .85rem; color: var(--text-mute); margin-bottom: 1.5rem;
  padding: .5rem .85rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 8px;
  display: inline-block;
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 60;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: none;
  max-width: 720px; margin: 0 auto;
}
.cookie.show { display: block; animation: cookieIn .4s ease; }
@keyframes cookieIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
@media (max-width: 700px) { .cookie-row { grid-template-columns: 1fr; } }
.cookie p { margin: 0; font-size: .9rem; }
.cookie h4 { margin: 0 0 .25rem; font-size: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { padding: .6rem 1rem; font-size: .88rem; }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }
.flex-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--brand-600); color: #fff;
  padding: .5rem .85rem; border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }

/* Focus */
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }
