/* ============================================================
   LMain RMM — Design System
   Clean premium tech + high-trust B2B SaaS
   ============================================================ */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
  /* Brand palette — deep navy with electric teal accent */
  --brand-900: #0a0f1e;
  --brand-800: #0f172a;
  --brand-700: #1a2540;
  --brand-600: #243056;
  --brand-500: #2f3d6e;

  --accent: #19c6b4;     /* electric teal */
  --accent-2: #4d7cff;   /* indigo blue */
  --accent-3: #8b5cf6;   /* plum purple */
  --warn: #f59e0b;
  --danger: #ef4444;
  --ok: #10b981;

  --ink-900: #0b1020;
  --ink-700: #28324d;
  --ink-500: #5a6686;
  --ink-400: #8792b1;
  --ink-300: #aab3ce;

  --paper: #ffffff;
  --paper-2: #f6f8fc;
  --paper-3: #eef2f9;
  --line: #e4e9f2;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(10,16,32,.06), 0 1px 1px rgba(10,16,32,.04);
  --shadow: 0 10px 30px -12px rgba(10,16,32,.18), 0 4px 10px -4px rgba(10,16,32,.08);
  --shadow-lg: 0 30px 60px -20px rgba(10,16,32,.28), 0 12px 24px -8px rgba(10,16,32,.12);

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

  --container: 1200px;
  --header-h: 72px;
}

html, body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--ink-700); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-500); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(77,124,255,.08);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77,124,255,.18);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* -------- Layout -------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark { background: var(--brand-900); color: #e8ecf7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--ink-300); }
.section--dark .lead { color: var(--ink-300); }
.section--paper { background: var(--paper-2); }
.grid { display: grid; gap: 24px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(77,124,255,.45); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-2) 0%, #2b55d0 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(77,124,255,.6);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(77,124,255,.7); }
.btn--ghost {
  background: transparent; color: var(--ink-900);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--paper-2); border-color: #cfd6e6; }
.btn--dark {
  background: var(--ink-900); color: #fff;
}
.btn--dark:hover { background: #1a2344; }
.btn--accent {
  background: var(--accent); color: #022a26;
  box-shadow: 0 10px 24px -10px rgba(25,198,180,.55);
}
.btn--lg { padding: 15px 26px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(228,233,242,.7);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand__mark { width: 32px; height: 32px; }
.brand__name { font-size: 1.1rem; }
.brand__name span { color: var(--accent-2); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: .95rem; color: var(--ink-700); font-weight: 500;
  padding: 8px 2px; position: relative;
}
.nav__link:hover { color: var(--ink-900); }
.nav__link.is-active { color: var(--ink-900); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink-900); position: relative; display: block; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-900); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top:  6px; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-cta .btn--ghost { display: none; }
  .nav.is-open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__link { padding: 14px 8px; border-bottom: 1px solid var(--paper-3); }
  .nav.is-open .nav__link:last-child { border-bottom: 0; }
}

/* -------- Hero -------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(77,124,255,.18), transparent 60%),
    radial-gradient(900px 450px at -10% 20%, rgba(25,198,180,.14), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6fc 100%);
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin: 18px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 1.12rem; color: var(--ink-500); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; color: var(--ink-500); font-size: .92rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero__visual { position: relative; }
.hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__float {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; box-shadow: var(--shadow); font-size: .86rem; display: flex; align-items: center; gap: 10px;
}
.hero__float--a { left: -18px; top: 14%; }
.hero__float--b { right: -12px; bottom: 12%; }
.hero__float .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16,185,129,.55); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* -------- Logo strip / Trust -------- */
.trust-strip { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__inner { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.trust-strip__label { color: var(--ink-400); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.trust-strip__items { display: flex; flex-wrap: wrap; gap: 28px 48px; color: var(--ink-400); font-weight: 700; letter-spacing: -.01em; }
.trust-strip__items span { font-size: 1.1rem; opacity: .8; }
@media (max-width: 720px) { .trust-strip__inner { grid-template-columns: 1fr; gap: 16px; } }

/* -------- Stats band -------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.stat__value { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink-900); }
.stat__value small { font-size: 1rem; color: var(--accent-2); margin-left: 4px; }
.stat__label { color: var(--ink-500); margin-top: 4px; }

/* -------- Feature Grid -------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dcee; }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(77,124,255,.12), rgba(25,198,180,.12));
  color: var(--accent-2);
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .96rem; color: var(--ink-500); }
.feature__link { margin-top: 14px; color: var(--accent-2); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.feature__link:hover { color: #2b55d0; }

/* Highlight feature */
.feature--wide { grid-column: span 2; background: linear-gradient(140deg, #0f172a 0%, #1a2540 100%); color: #fff; border-color: transparent; }
.feature--wide h3, .feature--wide p { color: #fff; }
.feature--wide p { color: var(--ink-300); }
.feature--wide .feature__icon { background: rgba(255,255,255,.08); color: var(--accent); }

/* -------- Split content -------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split, .split--reverse .split__media { grid-template-columns: 1fr; order: initial; } .split { grid-template-columns: 1fr; } }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px; }
.split ul li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-700); }
.split ul li svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.split h2 { margin-bottom: 10px; }

/* -------- Process / How it works steps -------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); color: var(--accent-2);
  font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  position: absolute; top: 18px; right: 20px;
}
.step__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(77,124,255,.1); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { font-size: .93rem; color: var(--ink-500); }

/* -------- Pricing -------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column;
}
.plan--featured {
  background: linear-gradient(160deg, #0f172a 0%, #172448 100%); color: #fff; border-color: transparent;
  transform: translateY(-6px); box-shadow: var(--shadow-lg); position: relative;
}
.plan--featured::after {
  content: "Most popular"; position: absolute; top: -12px; right: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #022a26;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.plan__name { font-weight: 700; font-size: 1.1rem; }
.plan--featured .plan__name { color: #fff; }
.plan__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 0; color: var(--ink-900); }
.plan--featured .plan__price { color: #fff; }
.plan__price small { font-size: 1rem; font-weight: 500; color: var(--ink-500); letter-spacing: 0; }
.plan--featured .plan__price small { color: var(--ink-300); }
.plan__sub { color: var(--ink-500); margin-top: 4px; font-size: .94rem; }
.plan--featured .plan__sub { color: var(--ink-300); }
.plan__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; color: var(--ink-700); }
.plan--featured .plan__list li { color: var(--ink-300); }
.plan__list li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.plan .btn { margin-top: 24px; width: 100%; }

/* Pricing toggle */
.price-toggle { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 20px auto 0; }
.price-toggle button { padding: 8px 16px; border-radius: 999px; font-weight: 600; color: var(--ink-500); font-size: .9rem; }
.price-toggle button.is-active { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.compare th { background: var(--paper-2); color: var(--ink-700); font-weight: 600; }
.compare td.tick { color: var(--ok); font-weight: 700; }
.compare td.cross { color: var(--ink-400); }
.compare tr:last-child td { border-bottom: 0; }

/* -------- Testimonials -------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.05rem; color: var(--ink-700); }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.quote__meta { font-size: .9rem; color: var(--ink-500); }
.quote__meta strong { color: var(--ink-900); display: block; font-weight: 600; }

/* -------- FAQ -------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  background: #fff; margin-bottom: 12px; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #c9d3ea; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-400); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-500); }

/* -------- CTA Band -------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(77,124,255,.25), transparent 60%),
    radial-gradient(700px 300px at 100% 100%, rgba(25,198,180,.2), transparent 60%),
    linear-gradient(160deg, #0b1020 0%, #162042 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-300); margin-top: 8px; max-width: 48ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* -------- Forms -------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; color: var(--ink-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink-900); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(77,124,255,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--ink-500); }
.field--check input { width: 18px; height: 18px; margin-top: 3px; }
.field__hint { font-size: .8rem; color: var(--ink-400); margin-top: 4px; }
.form__status { display: none; padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.form__status.is-ok { display: block; background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.form__status.is-err { display: block; background: rgba(239,68,68,.1); color: #991b1b; border: 1px solid rgba(239,68,68,.3); }

/* -------- Dashboard preview frame -------- */
.frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-lg);
}
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4f6fb; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dde9; display: inline-block; }
.frame__bar i:nth-child(1){ background: #ff6057; }
.frame__bar i:nth-child(2){ background: #ffbd2e; }
.frame__bar i:nth-child(3){ background: #28c840; }
.frame__url { margin-left: 12px; font-size: .82rem; color: var(--ink-500); font-family: var(--font-mono); background: #fff; padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; }

/* -------- Photo media card (real imagery) -------- */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b1020;
  aspect-ratio: 4 / 3;
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.photo:hover img { transform: scale(1.03); }
.photo__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,16,32,.05) 0%, rgba(11,16,32,.55) 60%, rgba(11,16,32,.85) 100%);
  pointer-events: none;
}
.photo__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  color: #fff;
  z-index: 2;
}
.photo__caption h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}
.photo__caption p {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.photo__chips {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
  z-index: 2;
}
.photo__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--ink-900);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
}
.photo__chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.photo__chip--dark {
  background: rgba(15,23,42,.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.photo__chip--blue .d { background: var(--accent-2); }
.photo__chip--purple .d { background: var(--accent-3); }
.photo__chip--amber .d { background: var(--warn); }
.photo__badge {
  position: absolute; bottom: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95);
  color: var(--ink-900);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  z-index: 2;
}
.photo__badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
  animation: pulse 1.8s infinite;
}
@media (max-width: 560px) {
  .photo { aspect-ratio: 16 / 11; }
  .photo__caption { padding: 16px 18px; }
}

/* -------- Footer -------- */
.site-footer {
  background: var(--brand-900); color: var(--ink-300);
  padding: 72px 0 28px;
}
.site-footer a { color: var(--ink-300); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer-about p { color: var(--ink-400); font-size: .92rem; margin-top: 12px; max-width: 38ch; }
.footer-contact { margin-top: 14px; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-400); }
.footer-contact span { color: #fff; font-weight: 600; display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  color: var(--ink-400); font-size: .86rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* -------- Hero inner (page banners) -------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(77,124,255,.14), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(25,198,180,.12), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5fc 100%);
  padding: clamp(64px, 9vw, 110px) 0 clamp(50px, 7vw, 80px);
}
.page-hero h1 { max-width: 18ch; }
.page-hero p { max-width: 56ch; margin-top: 14px; }

/* -------- Misc helpers -------- */
.center { text-align: center; }
.muted { color: var(--ink-500); }
.prose p + p { margin-top: 14px; }
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 24px; margin-bottom: 6px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin-bottom: 6px; color: var(--ink-700); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(25,198,180,.1); color: #0b6b61; border: 1px solid rgba(25,198,180,.3);
  padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}

/* -------- Cookie banner -------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: #0f172a; color: #fff; border-radius: 18px;
  padding: 18px 22px;
  display: none;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.cookie.is-visible { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.cookie p { color: var(--ink-300); font-size: .9rem; max-width: 70ch; }
.cookie a { color: var(--accent); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn--ghost { color: #fff; border-color: rgba(255,255,255,.18); }
.cookie .btn--ghost:hover { background: rgba(255,255,255,.08); }
@media (max-width: 720px) { .cookie.is-visible { grid-template-columns: 1fr; } }

/* -------- Integrations grid -------- */
.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
.integration {
  border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 16px; display: flex; align-items: center; justify-content: center; min-height: 78px;
  color: var(--ink-500); font-weight: 600; text-align: center; font-size: .88rem;
  transition: transform .15s, border-color .15s;
}
.integration:hover { transform: translateY(-2px); border-color: #c9d3ea; color: var(--ink-900); }

/* -------- Section headers -------- */
.sh { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sh p { margin-top: 10px; }

/* -------- Utility: animated reveal -------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------- Print -------- */
@media print {
  .site-header, .site-footer, .cta-band, .cookie { display: none !important; }
  a { color: #000; text-decoration: underline; }
}
