/* =========================================================================
   MyExchangeServer — main.css
   Light-first marketing theme with permanently dark "ink" sections,
   plus a full dark-mode variant driven by [data-theme] / prefers-color-scheme.
   ========================================================================= */

/* ------------------------------------------------------------- 1. tokens */

:root {
  /* brand — sampled from e-consulting.uk.com */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #4f9dff;
  --brand-500: #2f8bff;
  --brand-600: #086ad8;
  --brand-700: #0b57b8;
  --brand-800: #072a83;
  --brand-900: #041c56;
  --brand-950: #02123a;

  --accent-400: #ffc247;
  --accent-500: #f5a623;
  --accent-600: #dd8b09;

  --green-500: #12a06a;
  --green-100: #d6f5e6;

  /* surfaces (light) */
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-tint: #eef4fd;
  --bg-elev: #ffffff;
  --line: #e3eaf5;
  --line-strong: #cfdaeb;

  /* text (light) */
  --text: #0d1b33;
  --text-mid: #3d4d66;
  --text-soft: #5a6b87;
  --text-faint: #7c8aa3;

  /* ink = always-dark sections */
  --ink-bg: #041c56;
  --ink-bg-2: #02123a;
  --ink-text: #eaf1ff;
  --ink-soft: #a9c0e6;
  --ink-line: rgba(255, 255, 255, 0.14);

  /* effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(12, 30, 66, 0.06), 0 2px 6px rgba(12, 30, 66, 0.05);
  --shadow: 0 4px 12px rgba(12, 30, 66, 0.07), 0 12px 32px rgba(12, 30, 66, 0.07);
  --shadow-lg: 0 12px 28px rgba(12, 30, 66, 0.1), 0 32px 64px rgba(12, 30, 66, 0.12);
  --shadow-brand: 0 10px 24px rgba(8, 106, 216, 0.28);

  --ring: 0 0 0 3px rgba(47, 139, 255, 0.35);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 7vw, 6.75rem);

  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #060d1e;
  --bg-soft: #0a142c;
  --bg-tint: #0d1a38;
  --bg-elev: #0f1c3a;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #eaf1ff;
  --text-mid: #c2d2ec;
  --text-soft: #9db1d2;
  --text-faint: #7d90b3;
  --ink-bg: #030a1c;
  --ink-bg-2: #01060f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #060d1e;
    --bg-soft: #0a142c;
    --bg-tint: #0d1a38;
    --bg-elev: #0f1c3a;
    --line: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #eaf1ff;
    --text-mid: #c2d2ec;
    --text-soft: #9db1d2;
    --text-faint: #7d90b3;
    --ink-bg: #030a1c;
    --ink-bg-2: #01060f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

/* -------------------------------------------------------------- 2. reset */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--brand-600); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; transition: transform 0.18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------ 3. layout */

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--ink {
  background: linear-gradient(165deg, var(--ink-bg) 0%, var(--ink-bg-2) 100%);
  color: var(--ink-text);
  position: relative;
  overflow: hidden;
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p, .section--ink li { color: var(--ink-soft); }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ 4. buttons */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  text-align: center;
  transition: transform 0.16s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 14px 32px rgba(8, 106, 216, 0.4); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #2a1c00;
  box-shadow: 0 10px 24px rgba(221, 139, 9, 0.32);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--brand-50); border-color: var(--brand-300); }
[data-theme='dark'] .btn--ghost { color: var(--brand-300); }
[data-theme='dark'] .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn--ghost { color: var(--brand-300); }
  :root:not([data-theme='light']) .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
}

.btn--light { background: #fff; color: var(--brand-800); box-shadow: var(--shadow); }
.btn--light:hover { background: #f2f7ff; }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.075rem; }
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------- 5. topbar */

.topbar {
  background: var(--brand-950);
  color: #c9dcff;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__msg { display: flex; align-items: center; gap: 0.5rem; }
.topbar__msg .ico { width: 1rem; height: 1rem; color: var(--brand-400); }
.topbar__actions { display: flex; align-items: center; gap: 1.35rem; }
.topbar__actions a {
  color: #c9dcff; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500;
  transition: color 0.15s ease;
}
.topbar__actions a:hover { color: #fff; text-decoration: none; }
.topbar__actions .ico { width: 1rem; height: 1rem; }

.topbar__actions a { white-space: nowrap; }

@media (max-width: 860px) {
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__actions { gap: 1.1rem; font-size: 0.78rem; }
}

/* Narrow phones: keep every link reachable but drop the two secondary labels
   to icons, so the row never wraps — including before the webfont has loaded,
   when the fallback face is wider. */
@media (max-width: 430px) {
  .topbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar__opt { padding: 0.25rem; }
  .topbar__actions { gap: 0.85rem; }
  .topbar__actions .ico { width: 1.1rem; height: 1.1rem; }
}

/* theme toggle */
.theme-btn {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; color: #c9dcff; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.theme-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.theme-btn .ico { width: 0.95rem; height: 0.95rem; }
.theme-btn__moon { display: none; }
[data-theme='dark'] .theme-btn__sun { display: none; }
[data-theme='dark'] .theme-btn__moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn__sun { display: none; }
  :root:not([data-theme='light']) .theme-btn__moon { display: block; }
  :root[data-theme='dark'] .theme-btn__sun { display: none; }
}
[data-theme='light'] .theme-btn__sun { display: block; }
[data-theme='light'] .theme-btn__moon { display: none; }

/* ------------------------------------------------------------- 6. header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.header.is-stuck { box-shadow: 0 4px 24px rgba(9, 26, 60, 0.09); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.logo__text strong { font-weight: 800; color: var(--brand-600); }
.logo__tld { color: var(--text-faint); font-weight: 500; font-size: 0.82em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: 100px;
  font-size: 0.945rem;
  font-weight: 550;
  color: var(--text-mid);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__link:hover { color: var(--brand-700); background: var(--bg-soft); text-decoration: none; }
.nav__link.is-active { color: var(--brand-700); font-weight: 650; }
.nav__chev { display: inline-flex; transition: transform 0.2s ease; }
.nav__chev .ico { width: 0.95rem; height: 0.95rem; }
.nav__toggle[aria-expanded='true'] .nav__chev { transform: rotate(180deg); }

.header__cta { display: flex; align-items: center; gap: 0.55rem; flex: none; }

@media (max-width: 1120px) {
  .header__login { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
}

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(980px, calc(100vw - 3rem));
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.mega[hidden] { display: block; }
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 0.85fr; gap: 1.75rem; }
.mega__heading {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--text-faint); margin-bottom: 0.75rem;
}
.mega__list { display: grid; gap: 0.2rem; }
.mega__link {
  display: flex; gap: 0.8rem; padding: 0.65rem 0.7rem; border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}
.mega__link:hover { background: var(--bg-soft); text-decoration: none; }
.mega__icon {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 10px; background: var(--brand-50); color: var(--brand-600);
}
[data-theme='dark'] .mega__icon { background: rgba(47, 139, 255, 0.14); }
.mega__body { display: grid; gap: 0.1rem; }
.mega__label { font-weight: 620; font-size: 0.945rem; color: var(--text); }
.mega__blurb { font-size: 0.82rem; color: var(--text-soft); line-height: 1.45; }
.mega__col--promo { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.mega__promo {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-950));
  border-radius: var(--radius); padding: 1.25rem; color: #fff;
}
.mega__promo-price { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.mega__promo-price span { font-size: 2.1rem; }
.mega__promo-price small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); margin-top: 0.2rem; }
.mega__promo-copy { font-size: 0.84rem; color: var(--ink-soft); margin: 0.75rem 0 1rem; }
.mega__promo-tel {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin-top: 0.7rem; color: #fff; font-weight: 600; font-size: 0.9rem;
}
.mega__promo-tel .ico { width: 1rem; height: 1rem; }

/* burger + mobile nav */
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); padding: 0 11px;
}
.burger span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 114px 0 0; z-index: 99;
  background: var(--bg); overflow-y: auto;
  animation: fadeUp 0.22s ease;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { padding: 1.25rem var(--gutter) 3rem; }
.mobile-nav__list { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.mobile-nav__list a {
  display: block; padding: 0.9rem 0.25rem; font-size: 1.075rem; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--line);
}
.mobile-nav__list a:hover { color: var(--brand-600); text-decoration: none; }
.mobile-nav__cta { display: grid; gap: 0.7rem; }
.mobile-nav__tel {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.6rem; font-weight: 700; color: var(--brand-700);
}
@media (max-width: 1024px) { .burger { display: block; } }

/* ---------------------------------------------------------- 7. home hero */

.hero {
  position: relative;
  background: linear-gradient(155deg, #0a2f8f 0%, var(--ink-bg) 45%, var(--ink-bg-2) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero__mesh {
  position: absolute; inset: -20% -10% auto; height: 140%;
  background:
    radial-gradient(45% 45% at 18% 22%, rgba(47, 139, 255, 0.42), transparent 65%),
    radial-gradient(38% 38% at 82% 12%, rgba(0, 200, 255, 0.22), transparent 66%),
    radial-gradient(46% 46% at 72% 78%, rgba(245, 166, 35, 0.16), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.775rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--brand-600); margin-bottom: 0.9rem;
}
.eyebrow .ico { width: 1rem; height: 1rem; }
.eyebrow--light {
  color: #9dc6ff; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.9rem; border-radius: 100px;
  backdrop-filter: blur(6px);
}

.hero__title {
  font-size: clamp(2.25rem, 5.2vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #7db8ff, #ffd27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #c2d8f7;
  max-width: 38rem;
  margin-bottom: 1.6rem;
}
.hero__lead strong { color: #fff; font-weight: 650; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

.hero__points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem; margin-bottom: 1.75rem; max-width: 34rem;
}
.hero__points li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.925rem; color: #cfe0f9;
}
.hero__points .ico { width: 1.15rem; height: 1.15rem; color: #55d6a0; margin-top: 0.15rem; }

.hero__proof {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.hero__proof-stars { display: flex; gap: 0.1rem; color: var(--accent-400); }
.hero__proof-stars .ico { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.hero__proof-text { font-size: 0.86rem; color: #b7cdec; }
.hero__proof-text strong { color: #fff; }

/* hero visual */
.hero__visual { position: relative; }
.hero__device {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  animation: floaty 9s ease-in-out infinite;
}
.hero__price-tag {
  position: absolute;
  left: -1rem; bottom: 12%;
  background: rgba(255, 255, 255, 0.97);
  color: var(--brand-900);
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem;
  animation: floaty 9s ease-in-out 0.8s infinite;
  z-index: 3;
}
.hero__badge {
  position: absolute; right: -0.5rem; top: 8%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: #fff;
  animation: floaty 11s ease-in-out 1.6s infinite;
  z-index: 3;
}
.hero__badge .ico { color: #55d6a0; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pbadge { display: flex; align-items: center; gap: 0.5rem; }
.pbadge__amount {
  font-family: var(--font-display); font-weight: 800; font-size: 2.3rem;
  line-height: 1; letter-spacing: -0.04em; color: var(--brand-700);
}
.pbadge__cur { font-size: 0.55em; vertical-align: super; }
.pbadge__dec { font-size: 0.55em; }
.pbadge__unit { font-size: 0.66rem; line-height: 1.25; color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 980px) {
  /* Headline first on narrow screens: the offer should be readable without
     scrolling past a large image. */
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; margin-top: 2.25rem; }
  .hero__price-tag { left: 0; bottom: 6%; }
  .hero__proof { padding-top: 1.15rem; }
}
@media (max-width: 560px) {
  .hero__points { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .hero__price-tag { padding: 0.7rem 0.9rem; }
  .pbadge__amount { font-size: 1.9rem; }
  /* Ragged button widths read as sloppy on a narrow screen. */
  .hero__ctas, .phero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn, .phero__ctas .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
}

/* ------------------------------------------------------- 8. page heroes */

.phero {
  position: relative;
  background: linear-gradient(160deg, #0a2f8f 0%, var(--ink-bg) 55%, var(--ink-bg-2) 100%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.75rem);
  overflow: hidden;
}
.phero__glow {
  position: absolute; inset: -40% -10% auto; height: 160%;
  background:
    radial-gradient(40% 44% at 22% 20%, rgba(47, 139, 255, 0.4), transparent 66%),
    radial-gradient(38% 40% at 84% 22%, rgba(245, 166, 35, 0.16), transparent 66%);
  pointer-events: none;
}
.phero__inner { position: relative; max-width: 56rem; }
.phero__title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  color: #fff;
  letter-spacing: -0.033em;
  margin-bottom: 1rem;
}
.phero__title em { font-style: normal; background: linear-gradient(100deg, #7db8ff, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero__lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: #c2d8f7; max-width: 46rem; }
.phero__lead strong { color: #fff; }
.phero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.35rem;
}
.phero__meta li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: #cfe0f9; }
.phero__meta .ico { width: 1.15rem; height: 1.15rem; color: #55d6a0; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

/* breadcrumbs */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-block: 0.75rem; }
.crumbs li { color: var(--text-soft); display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: '/'; color: var(--text-faint); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------ 9. section heads */

.shead { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead__title { font-size: clamp(1.65rem, 3.3vw, 2.5rem); margin-bottom: 0.85rem; }
.shead__lead { font-size: clamp(1rem, 1.4vw, 1.115rem); color: var(--text-soft); }
.section--ink .shead__lead { color: var(--ink-soft); }
.section--ink .eyebrow { color: #8fbcff; }

/* --------------------------------------------------------- 10. trust bar */

.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; padding-block: 1.5rem;
}
.trust__item { display: flex; align-items: center; gap: 0.75rem; }
.trust__item .ico { width: 1.6rem; height: 1.6rem; color: var(--brand-600); }
.trust__item strong { display: block; font-size: 0.925rem; font-weight: 650; line-height: 1.3; }
.trust__item span { font-size: 0.8rem; color: var(--text-soft); }
@media (max-width: 900px) { .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 460px) { .trust__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 11. cards */

.cards { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
}
[data-theme='dark'] .card__icon { background: rgba(47, 139, 255, 0.14); color: var(--brand-300); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .card__icon { background: rgba(47, 139, 255, 0.14); color: var(--brand-300); }
}
.card__icon .ico { width: 1.5rem; height: 1.5rem; }
.card__title { font-size: 1.115rem; margin-bottom: 0.5rem; }
.card__body { color: var(--text-soft); font-size: 0.95rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.9rem; font-weight: 600; font-size: 0.9rem;
}
.card__link .ico { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.card__link:hover .ico { transform: translateX(3px); }

.section--ink .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.section--ink .card:hover { background: rgba(255, 255, 255, 0.075); border-color: rgba(255, 255, 255, 0.25); }
.section--ink .card__icon { background: rgba(255, 255, 255, 0.1); color: #9dc6ff; }
.section--ink .card__body { color: var(--ink-soft); }

@media (max-width: 1000px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ 12. feature list */

.flist { display: grid; gap: 0.85rem 2rem; }
.flist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flist__item { display: flex; gap: 0.75rem; align-items: flex-start; }
.flist__tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 0.15rem;
  background: var(--green-100); color: var(--green-500);
}
[data-theme='dark'] .flist__tick { background: rgba(18, 160, 106, 0.18); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .flist__tick { background: rgba(18, 160, 106, 0.18); }
}
.flist__tick .ico { width: 0.85rem; height: 0.85rem; stroke-width: 2.6; }
.flist__item strong { display: block; font-weight: 620; font-size: 0.965rem; line-height: 1.4; }
.flist__item span { display: block; font-size: 0.875rem; color: var(--text-soft); line-height: 1.55; }
.section--ink .flist__item strong { color: #fff; }
.section--ink .flist__item span { color: var(--ink-soft); }
.section--ink .flist__tick { background: rgba(85, 214, 160, 0.16); color: #55d6a0; }
@media (max-width: 860px) { .flist--2, .flist--3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- 13. pricing */

.pricing-layout {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start;
}
@media (max-width: 940px) { .pricing-layout { grid-template-columns: 1fr; } }

.pcard {
  position: relative;
  background: var(--bg-elev);
  border: 2px solid var(--brand-500);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-lg);
}
.pcard__flag {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #2a1c00; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.35rem 0.95rem; border-radius: 100px; white-space: nowrap;
}
.pcard__head { text-align: center; padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); }
.pcard__name { font-size: 1.2rem; margin-bottom: 0.6rem; }
.pcard__price {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em;
  color: var(--brand-700); line-height: 1;
  display: flex; align-items: flex-start; justify-content: center; gap: 0.2rem; flex-wrap: wrap;
}
.pcard__cur { font-size: 1.7rem; margin-top: 0.5rem; }
.pcard__num { font-size: clamp(3rem, 7vw, 3.9rem); }
.pcard__per {
  width: 100%; font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  color: var(--text-soft); letter-spacing: 0; margin-top: 0.5rem; text-transform: uppercase;
}
.pcard__alt { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.65rem; }
.pcard__list { display: grid; gap: 0.6rem; padding-block: 1.35rem; }
.pcard__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.925rem; }
.pcard__list .ico { width: 1.05rem; height: 1.05rem; color: var(--green-500); flex: none; margin-top: 0.28rem; stroke-width: 2.6; }
.pcard__foot { display: grid; gap: 0.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pcard__note {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.79rem; color: var(--text-soft); margin-top: 0.25rem; text-align: center;
}
.pcard__note .ico { width: 0.95rem; height: 0.95rem; color: var(--green-500); }

/* calculator */
.calc {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow);
  overflow: hidden;
}
.calc__head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: clamp(1.15rem, 2.4vw, 1.6rem); border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.calc__title { font-size: 1.075rem; display: flex; align-items: center; gap: 0.55rem; }
.calc__title .ico { color: var(--brand-600); }
.calc__toggles { display: flex; gap: 0.55rem; flex-wrap: wrap; }

.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: 100px;
}
.seg__btn {
  padding: 0.4rem 0.85rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  color: var(--text-soft); transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.seg__btn.is-on { background: var(--bg-elev); color: var(--brand-700); box-shadow: var(--shadow-sm); }
.seg__save { font-size: 0.68rem; color: var(--green-500); font-weight: 700; }

.calc__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
.calc__controls { padding: clamp(1.15rem, 2.4vw, 1.75rem); display: grid; gap: 1.5rem; align-content: start; }
.calc__row { display: grid; gap: 0.5rem; }
.calc__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-weight: 620; font-size: 0.95rem;
}
.calc__label output {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  color: var(--brand-600); letter-spacing: -0.03em;
}
.calc__help { font-size: 0.8rem; color: var(--text-soft); }

.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; }
.calc__range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 100px;
  background: linear-gradient(90deg, var(--brand-500) var(--pct, 4%), var(--line-strong) var(--pct, 4%));
}
.calc__range::-moz-range-track { height: 8px; border-radius: 100px; background: var(--line-strong); }
.calc__range::-moz-range-progress { height: 8px; border-radius: 100px; background: var(--brand-500); }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -8px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-600);
  box-shadow: var(--shadow-sm); cursor: grab; transition: transform 0.15s ease;
}
.calc__range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand-600); box-shadow: var(--shadow-sm); cursor: grab;
}
.calc__range:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.calc__range:focus-visible::-webkit-slider-thumb { box-shadow: var(--ring); }

.calc__opts { border: 0; padding: 0; display: grid; gap: 0.55rem; }
.calc__opts legend { padding: 0; margin-bottom: 0.35rem; }
.opt { display: flex; gap: 0.65rem; align-items: flex-start; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt__box {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  display: grid; place-items: center; color: transparent; margin-top: 0.1rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.opt__box .ico { width: 0.8rem; height: 0.8rem; stroke-width: 3; }
.opt input:checked + .opt__box { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.opt input:focus-visible + .opt__box { box-shadow: var(--ring); }
.opt__text { font-size: 0.875rem; color: var(--text-soft); line-height: 1.45; }
.opt__text strong { color: var(--text); font-weight: 620; display: block; }

.calc__result {
  background: linear-gradient(165deg, var(--brand-800), var(--brand-950));
  color: #fff; padding: clamp(1.35rem, 2.6vw, 1.85rem);
  display: grid; align-content: start; gap: 0.35rem;
}
.calc__result-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9dc6ff; font-weight: 700; }
.calc__total {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(2.5rem, 6vw, 3.25rem); line-height: 1; color: #fff;
  display: flex; align-items: flex-start; gap: 0.1rem;
}
.calc__cur { font-size: 0.5em; margin-top: 0.28em; }
.calc__period { font-size: 0.85rem; color: #b7cdec; margin-bottom: 0.9rem; }
.calc__break {
  display: grid; gap: 0.4rem; padding-block: 0.9rem; margin-bottom: 0.6rem;
  border-block: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem;
}
.calc__break > div { display: flex; justify-content: space-between; gap: 1rem; }
.calc__break dt { color: #b7cdec; }
.calc__break dd { margin: 0; font-weight: 600; color: #fff; white-space: nowrap; }
.calc__perbox { font-size: 0.85rem; color: #b7cdec; margin-bottom: 1rem; }
.calc__perbox span { color: #fff; font-weight: 700; }
.calc__disclaimer { font-size: 0.75rem; color: #93aacd; margin-top: 0.75rem; line-height: 1.5; }

@media (max-width: 780px) { .calc__body { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 14. tables */

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.table { min-width: 620px; font-size: 0.925rem; }
.table th, .table td { padding: 0.95rem 1.15rem; text-align: left; vertical-align: top; }
.table thead th {
  background: var(--bg-soft); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-soft); font-weight: 700;
  border-bottom: 1px solid var(--line); position: relative;
}
.table tbody tr + tr { border-top: 1px solid var(--line); }
.table tbody th { font-weight: 620; color: var(--text); }
.table tbody td { color: var(--text-soft); }
.table__price strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-700); }
.table__unit { font-size: 0.78rem; color: var(--text-faint); }
.table tbody tr:hover { background: var(--bg-soft); }

.table--compare thead th.is-us,
.table--compare tbody td.is-us { background: var(--brand-50); }
[data-theme='dark'] .table--compare thead th.is-us,
[data-theme='dark'] .table--compare tbody td.is-us { background: rgba(47, 139, 255, 0.1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .table--compare thead th.is-us,
  :root:not([data-theme='light']) .table--compare tbody td.is-us { background: rgba(47, 139, 255, 0.1); }
}
.table--compare thead th.is-us { color: var(--brand-700); }
.table--compare tbody td.is-us { color: var(--text); font-weight: 550; }
.table__tag {
  display: block; font-size: 0.65rem; color: var(--brand-600);
  letter-spacing: 0.06em; margin-top: 0.2rem;
}

.pill {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.pill--free { background: var(--green-100); color: #0a6b46; }
[data-theme='dark'] .pill--free { background: rgba(18, 160, 106, 0.2); color: #55d6a0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pill--free { background: rgba(18, 160, 106, 0.2); color: #55d6a0; }
}

/* -------------------------------------------------------------- 15. FAQ */

.faq { display: grid; gap: 0.75rem; max-width: 56rem; margin-inline: auto; }
.faq__item {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq__item[open] { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 650; font-size: 1.0125rem;
  color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-700); }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-soft); color: var(--brand-600);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.faq__a { padding: 0 1.3rem 1.25rem; color: var(--text-soft); font-size: 0.95rem; }
.faq__a strong { color: var(--text); }
.faq__item[open] .faq__a { animation: fadeUp 0.25s ease; }

/* -------------------------------------------------------- 16. CTA bands */

.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--brand-700) 0%, var(--brand-900) 55%, var(--brand-950) 100%);
  color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta__glow {
  position: absolute; inset: -50% -20% auto; height: 200%;
  background:
    radial-gradient(35% 40% at 20% 30%, rgba(47, 139, 255, 0.45), transparent 65%),
    radial-gradient(32% 36% at 82% 65%, rgba(245, 166, 35, 0.22), transparent 66%);
  pointer-events: none;
}
.cta__inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.cta__title { font-size: clamp(1.6rem, 3.2vw, 2.35rem); color: #fff; margin-bottom: 0.8rem; }
.cta__lead { color: #c2d8f7; font-size: 1.04rem; }
.cta__points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.25rem; }
.cta__points li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: #cfe0f9; }
.cta__points .ico { width: 1.15rem; height: 1.15rem; color: #55d6a0; }
.cta__actions { display: grid; gap: 0.7rem; }
.cta__sub { font-size: 0.85rem; color: #b7cdec; text-align: center; }
.cta__sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 17. stats */

.stats { background: var(--bg-soft); border-block: 1px solid var(--line); }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; padding-block: clamp(2rem, 4vw, 3rem); text-align: center;
}
.stat__value {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-800));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme='dark'] .stat__value { background: linear-gradient(135deg, #7db8ff, var(--brand-400)); -webkit-background-clip: text; background-clip: text; }
.stat__label { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.4rem; font-weight: 550; }
@media (max-width: 720px) { .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; } }

/* ------------------------------------------------------- 18. testimonials */

.quotes { max-width: 48rem; margin-inline: auto; text-align: center; }
.quotes__track { position: relative; min-height: 15rem; }
.quote {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease; transform: translateY(8px);
}
.quote.is-on { opacity: 1; visibility: visible; position: relative; transform: none; }
.quote__mark { display: inline-flex; color: var(--brand-300); margin-bottom: 0.75rem; }
.quote__mark .ico { width: 2.5rem; height: 2.5rem; }
.quote blockquote p {
  font-family: var(--font-display); font-size: clamp(1.075rem, 2.1vw, 1.4rem);
  line-height: 1.5; font-weight: 500; letter-spacing: -0.018em; color: var(--text);
}
.section--ink .quote blockquote p { color: #fff; }
.quote figcaption { margin-top: 1.25rem; font-size: 0.9rem; }
.quote figcaption strong { display: block; color: var(--text); }
.quote figcaption span { color: var(--text-soft); }
.section--ink .quote figcaption strong { color: #fff; }
.section--ink .quote figcaption span { color: var(--ink-soft); }
.quotes__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.quotes__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong);
  transition: width 0.25s ease, background-color 0.25s ease;
}
.quotes__dot.is-on { width: 28px; border-radius: 100px; background: var(--brand-500); }

/* ------------------------------------------------------------ 19. steps */

.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.4vw, 1.75rem);
  position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.step__n {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-800));
  color: #fff; box-shadow: var(--shadow-brand);
}
.step__title { font-size: 1.115rem; margin-bottom: 0.4rem; }
.step__body p { color: var(--text-soft); font-size: 0.95rem; }
.section--ink .step { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.12); }
.section--ink .step__body p { color: var(--ink-soft); }

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

/* -------------------------------------------------------- 20. split rows */

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split--reverse > *:first-child { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.split__media--float img { animation: floaty 10s ease-in-out infinite; }
.split__caption { font-size: 0.8rem; color: var(--text-faint); margin-top: 0.75rem; text-align: center; }
.section--ink .split__caption { color: var(--ink-soft); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}

/* screenshot frame */
.frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-elev); box-shadow: var(--shadow-lg);
}
.frame__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.9rem; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__dot:nth-child(1) { background: #ff5f57; }
.frame__dot:nth-child(2) { background: #febc2e; }
.frame__dot:nth-child(3) { background: #28c840; }
.frame__url {
  margin-left: 0.6rem; font-size: 0.72rem; color: var(--text-faint);
  background: var(--bg); padding: 0.2rem 0.7rem; border-radius: 100px;
  border: 1px solid var(--line); font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
.frame img { width: 100%; display: block; }
.frame--tall img { max-height: 520px; object-fit: cover; object-position: top; }

/* ------------------------------------------------------------ 21. prose */

.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2.75rem; }
.prose h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-top: 2rem; }
.prose p, .prose li { color: var(--text-mid); }
.prose ul, .prose ol { display: grid; gap: 0.55rem; padding-left: 1.35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand-500); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 650; }
.prose blockquote {
  border-left: 3px solid var(--brand-400); padding-left: 1.25rem;
  color: var(--text-soft); font-style: italic;
}
.prose table { font-size: 0.9rem; }
.prose--wide { max-width: 62rem; }

.callout {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: var(--radius); padding: 1.15rem 1.35rem;
  font-size: 0.94rem; color: var(--text-mid);
}
[data-theme='dark'] .callout { background: rgba(47, 139, 255, 0.09); border-color: rgba(47, 139, 255, 0.28); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .callout { background: rgba(47, 139, 255, 0.09); border-color: rgba(47, 139, 255, 0.28); }
}
.callout .ico { color: var(--brand-600); flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; }
.callout strong { color: var(--text); }

/* ------------------------------------------------------------- 22. tabs */

.tabs__nav {
  display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2rem; padding: 4px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 100px; width: fit-content;
  margin-inline: auto; max-width: 100%;
}
.tabs__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.15rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600;
  color: var(--text-soft); transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tabs__btn .ico { width: 1.1rem; height: 1.1rem; }
.tabs__btn:hover { color: var(--brand-700); }
.tabs__btn[aria-selected='true'] { background: var(--bg-elev); color: var(--brand-700); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp 0.3s ease; }
.tabs__intro { text-align: center; max-width: 44rem; margin: 0 auto 2rem; color: var(--text-soft); }
@media (max-width: 640px) {
  .tabs__nav { border-radius: var(--radius); flex-direction: column; width: 100%; }
  .tabs__btn { justify-content: flex-start; }
}

/* ----------------------------------------------------------- 23. related */

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related__heading { font-size: 1.15rem; margin-bottom: 1.25rem; }
.related__card {
  display: grid; gap: 0.3rem; padding: 1.15rem 1.35rem;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.related__card:hover { text-decoration: none; border-color: var(--brand-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related__icon { color: var(--brand-600); }
.related__label { font-weight: 650; color: var(--text); font-size: 0.965rem; }
.related__blurb { font-size: 0.84rem; color: var(--text-soft); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- 24. form */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.875rem; font-weight: 620; }
.field label .req { color: #d33; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; font-size: 0.965rem;
  background: var(--bg); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b87' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: var(--ring);
}
.field__hint { font-size: 0.78rem; color: var(--text-faint); }
.form__consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.85rem; color: var(--text-soft); }
.form__consent input { margin-top: 0.25rem; accent-color: var(--brand-600); width: 1.1rem; height: 1.1rem; flex: none; }
.form__note { font-size: 0.8rem; color: var(--text-faint); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.turnstile { margin-block: 0.35rem; min-height: 65px; }
.turnstile iframe { max-width: 100%; }

.form-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

/* ------------------------------------------------------- 25. misc blocks */

.badge-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 600; color: var(--text-soft);
}
.badge-chip .ico { width: 0.95rem; height: 0.95rem; color: var(--brand-600); }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.logos img { height: 34px; width: auto; opacity: 0.72; filter: grayscale(1); transition: opacity 0.25s ease, filter 0.25s ease; }
.logos img:hover { opacity: 1; filter: none; }
.logos__label { width: 100%; text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 700; margin-bottom: 0.5rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.4rem 0.9rem; border-radius: 100px; font-size: 0.85rem;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-soft);
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); text-decoration: none; }

/* ----------------------------------------------------------- 26. footer */

.footer { background: var(--ink-bg-2); color: var(--ink-soft); position: relative; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem;
}
.footer .logo__text { color: #fff; }
.footer .logo__text strong { color: #7db8ff; }
.footer .logo__tld { color: #6f88b3; }
.footer__pitch { font-size: 0.9rem; margin: 1.15rem 0 1.35rem; max-width: 26rem; color: var(--ink-soft); }
.footer__contact { display: grid; gap: 0.6rem; font-size: 0.9rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer__contact .ico { color: #7db8ff; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.footer__contact a { color: var(--ink-soft); }
.footer__contact a:hover { color: #fff; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.35rem; }
.footer .badge-chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #b7cdec; }
.footer .badge-chip .ico { color: #55d6a0; }

.footer__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.footer__heading {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff; font-weight: 700; margin-bottom: 1rem; font-family: var(--font);
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { color: var(--ink-soft); font-size: 0.885rem; transition: color 0.15s ease; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.75rem 2.25rem; display: grid; gap: 0.75rem;
  font-size: 0.8rem; color: #8fa5c7;
}
.footer__bottom a { color: #b7cdec; text-decoration: underline; text-underline-offset: 2px; }
.footer__trademark { font-size: 0.74rem; color: #7288ab; line-height: 1.6; }

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .footer__links { grid-template-columns: 1fr; gap: 1.5rem; } }

.to-top {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-600); color: #fff; box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-700); text-decoration: none; }

/* ------------------------------------------------------- 27. scroll reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------- 28. print */

@media print {
  .topbar, .header, .mobile-nav, .to-top, .cta, .footer__links { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero, .phero, .section--ink { background: #fff !important; color: #000 !important; }
  .hero__title, .phero__title, .section--ink h2 { color: #000 !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
