/* =============================================================================
   FaxDirect — theme stylesheet (design system + WordPress integration)
   Light-only by design: the public site is a light product-marketing surface.
   Every colour is a token; every component reads tokens, never literals.
   Built from the approved 2026 redesign preview.
   ============================================================================= */

:root {
  color-scheme: light;

  /* Ink & text */
  --ink: #08172B;
  --navy: #011C54;
  --navy-2: #0B2D6E;
  --body: #33465C;
  --muted: #5B6E84;
  --faint: #8FA0B3;

  /* Brand accent (kept from the current identity) */
  --accent: #005FFC;
  --accent-ink: #0047C7;
  --accent-hi: #4D8FFF;
  --accent-wash: #E8F0FF;
  --accent-line: #C2D8FF;

  /* Semantic */
  --success: #00A97F;
  --success-ink: #00795A;
  --success-wash: #DDF6EE;
  --amber: #F59E0B;
  --amber-ink: #9A5B00;
  --amber-wash: #FFF4DE;
  --alert-ink: #B42318;
  --alert-wash: #FBEAE7;
  --maple: #D52B1E;

  /* Surfaces */
  --paper: #FFFFFF;
  --glacier: #F4F7FB;
  --glacier-2: #E9F0F9;
  --line: #D6E2F0;
  --line-2: #E6EEF7;

  /* Dark "theatre" surfaces */
  --night: #071A33;
  --night-2: #0D2A55;
  --night-3: #123A73;
  --on-night: #EAF2FC;
  --on-night-muted: #A9BFD6;
  --night-line: rgba(160, 196, 240, 0.16);

  /* Thermal-paper receipt (the one warm note in the system) */
  --receipt: #FFFBF2;
  --receipt-ink: #3B3A32;
  --receipt-line: #E8E0CC;

  /* Type */
  --display: 'Exo 2', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-xs: 0.8125rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.125rem;
  --t-lg: clamp(1.1875rem, 0.3vw + 1.1rem, 1.3125rem);
  --t-xl: clamp(1.25rem, 0.5vw + 1.13rem, 1.5rem);
  --t-2xl: clamp(1.5rem, 1vw + 1.2rem, 2rem);
  --t-3xl: clamp(1.9rem, 2vw + 1.3rem, 2.75rem);
  --t-4xl: clamp(2.4rem, 3.6vw + 1.1rem, 3.9rem);

  /* Layout */
  --container: 1200px;
  --narrow: 760px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  /* Shape & depth */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sh-xs: 0 1px 2px rgba(8, 23, 43, 0.06);
  --sh-sm: 0 1px 2px rgba(8, 23, 43, 0.05), 0 4px 12px rgba(8, 23, 43, 0.06);
  --sh: 0 10px 30px rgba(8, 23, 43, 0.10);
  --sh-lg: 0 24px 60px rgba(8, 23, 43, 0.16);
  --sh-glow: 0 8px 24px rgba(0, 95, 252, 0.28);

  /* Motion */
  --fast: 160ms;
  --dur: 320ms;
  --slow: 700ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--t-4xl); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: var(--t-3xl); font-weight: 700; line-height: 1.1; }
h3 { font-size: var(--t-xl); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: var(--t-md); font-weight: 600; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tabular { font-variant-numeric: tabular-nums; }
.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; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-wash); color: var(--navy); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--glacier { background: var(--glacier); }
.section--night { background: var(--night); color: var(--on-night-muted); }
.section--night h2, .section--night h3, .section--night strong { color: var(--on-night); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--sans); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--night .eyebrow { color: var(--accent-hi); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head .lead { margin-top: 1rem; }
.lead { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.section--night .lead { color: var(--on-night-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--navy); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 600; font-size: 0.975rem; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--fast), border-color var(--fast), color var(--fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh-sm); border-color: var(--accent-line); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 60ms; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 1px 2px rgba(0, 71, 199, 0.25); }
.btn--primary:hover { --btn-bg: var(--accent-ink); --btn-bd: var(--accent-ink); box-shadow: var(--sh-glow); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--accent-wash); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--accent-wash); --btn-bd: var(--accent-wash); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-night); --btn-bd: rgba(255,255,255,0.35); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,0.08); --btn-bd: rgba(255,255,255,0.7); }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent-ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Pills, chips, seals ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  background: var(--accent-wash); color: var(--accent-ink);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
}
.pill--success { background: var(--success-wash); color: var(--success-ink); }
.pill--amber { background: var(--amber-wash); color: var(--amber-ink); }
.pill--night { background: rgba(77,143,255,0.16); color: var(--accent-hi); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--live .dot { animation: pulse 1.6s ease-in-out infinite; }
.chip { display: inline-block; padding: 0.25rem 0.6rem; border-radius: var(--r-sm); background: var(--glacier-2); color: var(--muted); font-size: var(--t-xs); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ---------- Header ---------- */
.topbar { position: relative; z-index: 60; background: var(--navy); color: var(--on-night-muted); font-size: 0.9375rem; line-height: 1.4; }
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; min-height: 38px; }
.topbar__contact { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.topbar__contact li { display: flex; align-items: center; }
.topbar__contact li + li::before { content: ""; width: 1px; height: 14px; margin-inline: 0.9rem; background: rgba(255,255,255,0.2); }
.topbar__link { display: inline-flex; align-items: center; gap: 0.45rem; padding-block: 0.3rem; border-radius: 4px; color: rgba(234,242,252,0.88); font-weight: 500; white-space: nowrap; transition: color var(--fast) var(--ease); }
.topbar__link svg { flex: none; width: 16px; height: 16px; opacity: 0.72; transition: opacity var(--fast) var(--ease); }
.topbar__link:hover { color: #fff; text-decoration: none; }
.topbar__link:hover svg { opacity: 1; }
.topbar a:focus-visible, .lang-switch__toggle:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
/* Language menu (top bar): a disclosure button over a compact list of language codes. */
.lang-switch { position: relative; }
.lang-switch__toggle { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 30px; margin-inline-end: -0.5rem; padding: 0.2rem 0.5rem; border: 0; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; transition: background-color var(--fast) var(--ease); }
.lang-switch__toggle:hover, .lang-switch.is-open .lang-switch__toggle { background: rgba(255,255,255,0.12); }
.lang-switch__caret { width: 12px; height: 12px; opacity: 0.75; transition: transform var(--dur) var(--ease); }
.lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }
.lang-switch.is-loading .lang-switch__caret { animation: langPulse 0.9s var(--ease-inout) infinite; }
@keyframes langPulse { 50% { opacity: 0.2; } }
.lang-switch__menu { position: absolute; top: calc(100% + 6px); right: -0.5rem; width: 6.5rem; margin: 0; padding: 0.25rem 0; list-style: none; background: #fff; border: 1px solid rgba(15,23,42,0.12); border-radius: 2px; box-shadow: 0 8px 24px rgba(15,23,42,0.14); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--fast) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--fast); }
.lang-switch.is-open .lang-switch__menu, html:not(.js) .lang-switch:focus-within .lang-switch__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-switch__menu li + li { border-top: 1px solid rgba(15,23,42,0.08); }
.lang-switch__item { position: relative; display: flex; align-items: center; padding: 0.65rem 1rem; color: #1f2937; font-size: var(--t-sm); font-weight: 600; line-height: 1.15; letter-spacing: 0.03em; transition: background-color var(--fast) var(--ease); }
.lang-switch__item:hover { background: #f3f4f6; color: #111827; text-decoration: none; }
.lang-switch__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: #f3f4f6; }
.lang-switch__item[aria-current="true"] { background: #f9fafb; color: #111827; }
/* Codes only on screen; the full language name stays available to screen readers. */
.lang-switch__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.lang-switch__check { display: none; }
/* Language control in the mobile drawer. */
.drawer__lang { display: flex; gap: 0.25rem; margin-top: 1.25rem; padding: 0.25rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--glacier); }
.drawer__lang a { flex: 1; padding: 0.6rem 0.75rem; border-radius: var(--r-pill); color: var(--muted); font-size: var(--t-sm); font-weight: 600; text-align: center; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.drawer__lang a:hover { color: var(--ink); text-decoration: none; }
.drawer__lang a[aria-current="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(8,23,43,0.12); }
/* MaxMind credit (footer), shown while visitor regions come from GeoLite data. */
.footer__credit { display: block; margin-top: 0.35rem; font-size: 0.75rem; line-height: 1.5; opacity: 0.8; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
/* French copy runs ~40% longer than English: keep the hero headline to two lines on desktop. */
.fdh-hero .fdh-title:lang(fr) { font-size: clamp(2.1rem, 0.5rem + 3vw, 2.9rem); }
.fdh-copy:lang(fr) { max-width: 640px; }
@media (max-width: 899px) {
  .fdh-hero .fdh-title:lang(fr) { font-size: clamp(1.85rem, 7.2vw, 2.6rem); }
}
@media (max-width: 720px) {
  .topbar .container { min-height: 34px; gap: 0.75rem; }
  .topbar__contact li + li::before { margin-inline: 0.65rem; }
}
@media (max-width: 520px) {
  .topbar__link--compact { justify-content: center; min-width: 28px; min-height: 28px; }
  .topbar__link--compact .topbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 360px) {
  .topbar { font-size: var(--t-sm); }
  .topbar .container { gap: 0.5rem; }
  .topbar__contact li + li::before { margin-inline: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-switch__menu, .lang-switch__caret { transition: none; }
  .lang-switch__menu { transform: none; }
  .lang-switch.is-loading .lang-switch__caret { animation: none; }
}

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow var(--dur) var(--ease), border-color var(--dur); }
.nav.is-scrolled { border-bottom-color: var(--line-2); box-shadow: 0 8px 30px rgba(8,23,43,0.06); }
.nav__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--nav-h); }
.brand { --logo-cloud: var(--navy); --logo-doc: var(--accent); --logo-doc-fill: #fff; display: inline-flex; align-items: center; gap: 0.55rem; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); font-weight: 800; }
.menu { display: none; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
.menu > li { position: relative; }
.menu__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.85rem; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink); font-weight: 500; font-size: 0.975rem; cursor: pointer; text-decoration: none;
  transition: background var(--fast), color var(--fast);
}
.menu__link:hover, .menu__link[aria-expanded="true"] { background: var(--glacier); color: var(--navy); text-decoration: none; }
.menu__link svg { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--fast) var(--ease); }
.menu__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 320px; padding: 0.75rem;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(0.98); transform-origin: top left;
  transition: opacity var(--fast) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--fast);
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega--wide { min-width: 660px; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1.5rem; }
.mega__group { padding: 0.5rem; }
.mega__title { display: block; padding: 0.25rem 0.5rem 0.5rem; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.mega a { display: grid; grid-template-columns: 34px 1fr; gap: 0.7rem; align-items: start; padding: 0.55rem 0.5rem; border-radius: var(--r); color: var(--ink); transition: background var(--fast); }
.mega a:hover { background: var(--glacier); text-decoration: none; }
.mega a .ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-wash); color: var(--accent-ink); }
.mega a .ico svg { width: 18px; height: 18px; }
.mega a b { display: block; font-weight: 600; font-size: 0.95rem; }
.mega a small { display: block; color: var(--muted); font-size: var(--t-xs); line-height: 1.4; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.nav__cta .login { display: none; font-weight: 600; color: var(--ink); padding: 0.5rem 0.75rem; }
.nav__cta .btn--ghost { display: none; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--paper); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .menu { display: flex; }
  .nav__cta .login, .nav__cta .btn--ghost { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(1,28,84,0.45); opacity: 0; transition: opacity var(--dur); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform var(--dur) var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line-2); }
.drawer__body { padding: 0.5rem var(--gutter) 1.5rem; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 16px; height: 16px; transition: transform var(--fast); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details a, .drawer > .drawer__body > a.plain { display: block; padding: 0.6rem 0; color: var(--body); }
.drawer details a b { color: var(--ink); }
.drawer details a small { display: block; color: var(--muted); font-size: var(--t-xs); }
.drawer .drawer__ctas { display: grid; gap: 0.6rem; padding-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--glacier) 100%); }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,95,252,0.14), rgba(0,95,252,0) 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); align-items: center; }
.hero__copy .lead { margin-top: 1.25rem; }
.hero__copy .btn-row { margin-top: 2rem; }
.hero__fine { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: var(--t-sm); }
.hero__fine span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__fine svg { width: 16px; height: 16px; color: var(--success-ink); }
.hero__badge { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: var(--r-pill); border: 1px solid var(--accent-line); background: var(--paper); color: var(--navy); font-size: var(--t-xs); font-weight: 600; box-shadow: var(--sh-xs); }
.hero__badge .flag { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--alert-wash); }
.hero__badge .flag svg { width: 14px; height: 14px; }
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3; background: var(--glacier-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,28,84,0) 55%, rgba(1,28,84,0.35) 100%); pointer-events: none; }
.float { position: absolute; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid rgba(214,226,240,0.7); }
.float--inbox { left: -6%; bottom: 10%; width: min(330px, 78%); padding: 0.9rem 1rem; }
.float--receipt { right: -4%; top: 8%; width: 230px; padding: 0.9rem 1rem; background: var(--receipt); border-color: var(--receipt-line); }
.float__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; font-size: var(--t-xs); font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.fax-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 0.65rem; align-items: center; padding: 0.55rem 0.4rem; border-radius: var(--r-sm); }
.fax-row + .fax-row { border-top: 1px solid var(--line-2); border-radius: 0; }
.fax-row .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.fax-row .ico svg { width: 18px; height: 18px; }
.fax-row b { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 600; line-height: 1.25; }
.fax-row small { display: block; color: var(--muted); font-size: var(--t-xs); }
.fax-row time { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.fax-row.is-new { background: var(--accent-wash); animation: rowIn var(--slow) var(--ease) both; }
.fax-row.is-new b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.4rem; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.receipt-mini { font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--receipt-ink); }
.receipt-mini .ok { color: var(--success-ink); font-weight: 600; }
.receipt-mini dl { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.75rem; margin: 0.4rem 0 0; }
.receipt-mini dt { color: var(--faint); }
.receipt-mini dd { margin: 0; }
.hero__proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.stat b { display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat small { display: block; margin-top: 0.35rem; color: var(--muted); font-size: var(--t-sm); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem 3.5rem; }
  .hero__proof { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; }
  .hero__visual { margin-inline: 0 1rem; }
}
@media (max-width: 899px) {
  .hero__visual { margin-top: 0.5rem; }
  .float--inbox { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; padding: 0.6rem 0.75rem; animation: none; }
  .float--inbox .fax-row:nth-child(n+2) { display: none; }
  .float--inbox .float__head { margin-bottom: 0.3rem; }
  .float--receipt { display: none; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--paper); }
.trust .container { display: grid; gap: 1.25rem; padding-block: 1.5rem; align-items: center; }
.trust__label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.seals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.5rem; }
.seal { display: flex; align-items: center; gap: 0.75rem; }
.seal__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; --seal-disc: var(--navy-2); --seal-ring: var(--navy-2); --seal-glyph: #fff; --seal-ink: var(--navy-2); --seal-paper: #fff; }
.seal__ico svg { width: 56px; height: 56px; }
.seal b { display: block; font-size: 0.925rem; color: var(--ink); font-weight: 600; line-height: 1.2; }
.seal small { display: block; color: var(--muted); font-size: var(--t-xs); }
@media (min-width: 900px) {
  .trust .container { grid-template-columns: auto 1fr; gap: 2.5rem; }
  .seals { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* ---------- App mockup (product theatre) ---------- */
.app { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--sh-lg); border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--body); }
.app__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; background: var(--navy-2); color: #fff; }
.app__bar .brand { color: #fff; font-size: 0.95rem; gap: 0.4rem; }
.app__bar .brand b { color: var(--accent-hi); }
.app__bar .brand, .footer .brand { --logo-cloud: #fff; --logo-doc: var(--accent-hi); --logo-doc-fill: transparent; }
.app__bar .user { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; opacity: 0.9; }
.app__bar .user i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-size: 0.6rem; font-weight: 700; }
.app__body { display: grid; grid-template-columns: 120px 220px 1fr; min-height: 380px; }
.app__side { background: var(--glacier); border-right: 1px solid var(--line-2); padding: 0.6rem 0; }
.app__side .tab { display: flex; }
.app__side .tab span { flex: 1; text-align: center; padding: 0.4rem 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.app__side .tab span.is-on { color: var(--accent-ink); border-color: var(--accent); background: var(--paper); }
.app__side ul { margin-top: 0.4rem; }
.app__side li { display: flex; justify-content: space-between; padding: 0.4rem 0.8rem; color: var(--ink); }
.app__side li.is-on { background: var(--accent-wash); color: var(--accent-ink); font-weight: 600; }
.app__side li span { font-variant-numeric: tabular-nums; color: var(--accent-ink); font-weight: 600; }
.app__side .foot { margin-top: auto; padding: 0.8rem; color: var(--muted); font-size: 0.68rem; border-top: 1px solid var(--line-2); }
.app__list { border-right: 1px solid var(--line-2); display: flex; flex-direction: column; min-width: 0; }
.app__list .head { padding: 0.6rem 0.7rem 0.4rem; font-weight: 600; color: var(--ink); font-size: 0.85rem; }
.app__search { margin: 0 0.6rem 0.4rem; padding: 0.35rem 0.5rem; border: 1px solid var(--accent-line); border-radius: 6px; background: var(--accent-wash); color: var(--accent-ink); display: flex; gap: 0.4rem; align-items: center; }
.app__search svg { width: 12px; height: 12px; }
.app__day { display: flex; justify-content: space-between; padding: 0.3rem 0.7rem; background: var(--glacier-2); color: var(--muted); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.app__row { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.5rem; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--line-2); }
.app__row b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__row small { color: var(--muted); font-size: 0.68rem; }
.app__row time { font-family: var(--mono); color: var(--muted); font-size: 0.66rem; }
.app__row.is-on { background: var(--accent-wash); }
.app__row.is-new { animation: rowIn var(--slow) var(--ease) both; }
.app__row.is-unread b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 0.35rem; vertical-align: middle; }
.app__preview { background: var(--glacier); padding: 0.75rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.app__toolbar { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.app__toolbar span { padding: 0.25rem 0.5rem; border-radius: 6px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); font-size: 0.68rem; font-weight: 500; }
.app__toolbar span.pri { background: var(--accent); color: #fff; border-color: var(--accent); }
.paper { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 1rem 1.1rem; box-shadow: var(--sh-xs); font-family: var(--mono); font-size: 0.66rem; line-height: 1.55; color: #2A2F38; flex: 1; }
.paper .hdr { display: flex; justify-content: space-between; color: #777; border-bottom: 1px dashed #ccc; padding-bottom: 0.4rem; margin-bottom: 0.6rem; font-size: 0.6rem; }
.paper h5 { margin: 0 0 0.3rem; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; color: #1a1a1a; }
.paper p { margin: 0.35rem 0; }
.paper mark { background: #DDD6FE; color: inherit; padding: 0 0.1em; border-radius: 2px; }
.app__status { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.7rem; border-radius: 8px; background: var(--success-wash); color: var(--success-ink); font-weight: 600; font-size: 0.72rem; }
.app__status svg { width: 14px; height: 14px; }
.toast { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.9rem; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 0.8rem; box-shadow: var(--sh-lg); opacity: 0; transform: translateY(8px); transition: opacity var(--dur), transform var(--dur) var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.toast .ico { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.toast .ico svg { width: 14px; height: 14px; }
.toast b { display: block; font-weight: 600; }
.toast small { opacity: 0.8; }
.app-frame { position: relative; }
@media (max-width: 720px) {
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__preview { display: none; }
  .app__body { min-height: 0; }
}

/* ---------- Transmission theatre ---------- */
.theatre { position: relative; overflow: hidden; }
.theatre::before { content: ""; position: absolute; inset: auto auto -30% -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,95,252,0.32), rgba(0,95,252,0) 70%); pointer-events: none; }
.theatre__grid { position: relative; display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .theatre__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.tl { position: relative; padding: 1.25rem 1.25rem 1rem; border-radius: var(--r-lg); background: rgba(13,42,85,0.55); border: 1px solid var(--night-line); backdrop-filter: blur(8px); }
.tl__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--night-line); font-family: var(--mono); font-size: var(--t-xs); color: var(--on-night-muted); }
.tl__head .dots { display: inline-flex; gap: 5px; margin-right: 0.6rem; }
.tl__head .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.tl__list { position: relative; }
.tl__list::before { content: ""; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 2px; background: var(--night-line); }
.tl__fill { position: absolute; left: 17px; top: 14px; width: 2px; height: 0; background: linear-gradient(180deg, var(--accent-hi), var(--success)); transition: height var(--slow) linear; }
.tl__stage { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 0.75rem; align-items: center; padding: 0.6rem 0; opacity: 0.45; transition: opacity var(--dur); }
.tl__stage.is-done, .tl__stage.is-active { opacity: 1; }
.tl__dot { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1.5px solid var(--night-line); color: var(--on-night-muted); transition: background var(--dur), border-color var(--dur), color var(--dur); }
.tl__dot svg { width: 16px; height: 16px; }
.tl__stage.is-active .tl__dot { border-color: var(--accent-hi); color: #fff; background: var(--night-3); box-shadow: 0 0 0 6px rgba(77,143,255,0.18); }
.tl__stage.is-active .tl__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(77,143,255,0.6); animation: ring 1.4s ease-out infinite; }
.tl__stage.is-done .tl__dot { background: var(--success); border-color: var(--success); color: #fff; }
.tl__stage b { display: block; color: var(--on-night); font-weight: 600; font-size: 0.975rem; }
.tl__stage small { display: block; color: var(--on-night-muted); font-size: var(--t-xs); }
.tl__stage time { font-family: var(--mono); font-size: var(--t-xs); color: var(--on-night-muted); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.tl__stage.is-active time { color: var(--accent-hi); }
.tl__stage.is-done time { color: var(--on-night); }
.tl__foot { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.9rem; margin-top: 0.4rem; border-top: 1px solid var(--night-line); }
.receipt { margin-top: 1.5rem; max-width: 400px; padding: 1.1rem 1.25rem 1.4rem; background: var(--receipt); color: var(--receipt-ink); font-family: var(--mono); font-size: 0.78rem; line-height: 1.55; border-radius: 4px 4px 0 0; box-shadow: var(--sh); position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 96% 100%, 92% calc(100% - 8px), 88% 100%, 84% calc(100% - 8px), 80% 100%, 76% calc(100% - 8px), 72% 100%, 68% calc(100% - 8px), 64% 100%, 60% calc(100% - 8px), 56% 100%, 52% calc(100% - 8px), 48% 100%, 44% calc(100% - 8px), 40% 100%, 36% calc(100% - 8px), 32% 100%, 28% calc(100% - 8px), 24% 100%, 20% calc(100% - 8px), 16% 100%, 12% calc(100% - 8px), 8% 100%, 4% calc(100% - 8px), 0 100%); transform-origin: top; }
.receipt.is-print { animation: printOut 0.9s var(--ease) both; }
.receipt .rt { text-align: center; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px dashed var(--receipt-line); padding-bottom: 0.5rem; margin-bottom: 0.6rem; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; margin: 0; }
.receipt dt { color: #8A8677; }
.receipt dd { margin: 0; font-variant-numeric: tabular-nums; }
.receipt .ok { color: var(--success-ink); font-weight: 600; }
.theatre__points { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.theatre__points li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; }
.theatre__points svg { width: 22px; height: 22px; color: var(--success); }
.theatre__points b { color: var(--on-night); font-weight: 600; }
.theatre__points span { display: block; color: var(--on-night-muted); font-size: var(--t-sm); }

/* ---------- Feature stories & grid ---------- */
.story { display: grid; gap: 2rem; align-items: center; }
.story + .story { margin-top: clamp(3rem, 6vw, 5.5rem); }
.story__media { position: relative; }
.story__copy .lead { margin-top: 0.75rem; }
.story__copy ul { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.story__copy li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; color: var(--body); }
.story__copy li svg { width: 20px; height: 20px; color: var(--success-ink); margin-top: 0.15rem; }
.story__copy .link-arrow { margin-top: 1.25rem; }
@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .story--flip .story__media { order: 2; }
}
.photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--glacier-2); box-shadow: var(--sh); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--32 { aspect-ratio: 3 / 2; }
.photo--169 { aspect-ratio: 16 / 9; }
.photo__cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; border-radius: var(--r); background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); color: var(--ink); font-size: var(--t-sm); font-weight: 500; box-shadow: var(--sh-sm); }
.photo__cap .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.photo__cap .ico svg { width: 15px; height: 15px; }

.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feature { padding: 1.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--accent-line); }
.feature__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 1rem; }
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: var(--t-sm); line-height: 1.55; }

/* ---------- Content search demo ---------- */
.search-demo { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--paper); box-shadow: var(--sh); overflow: hidden; }
.search-demo__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-2); background: var(--glacier); }
.search-demo__input { flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; border-radius: var(--r-sm); border: 1.5px solid var(--accent-line); background: #fff; font-family: var(--mono); font-size: 0.9rem; color: var(--ink); min-height: 42px; }
.search-demo__input svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }
.search-demo__input .caret { width: 2px; height: 1.1em; background: var(--accent); animation: blink 1s steps(2) infinite; }
.search-demo__hint { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.search-demo__body { display: grid; grid-template-columns: 1fr; }
.search-demo__results { border-bottom: 1px solid var(--line-2); }
.search-demo__results .app__row { opacity: 0; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur) var(--ease); }
.search-demo__results .app__row.is-in { opacity: 1; transform: none; }
.search-demo__count { padding: 0.5rem 0.9rem; font-size: var(--t-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.search-demo__paper { padding: 1rem; background: var(--glacier); }
.search-demo__paper .paper { font-size: 0.74rem; min-height: 280px; }
.search-demo__paper .paper mark { background: transparent; box-shadow: inset 0 -0.6em 0 rgba(196,181,253,0); transition: box-shadow var(--dur); }
.search-demo__paper .paper mark.is-on { background: #DDD6FE; }
@media (min-width: 760px) { .search-demo__body { grid-template-columns: 260px 1fr; } .search-demo__results { border-bottom: 0; border-right: 1px solid var(--line-2); } }

/* ---------- Region / residency ---------- */
.regions { display: grid; gap: 1rem; }
@media (min-width: 720px) { .regions { grid-template-columns: repeat(3, 1fr); } }
.region { position: relative; padding: 1.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1.5px solid var(--line-2); transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease); }
.region:hover { border-color: var(--accent-line); box-shadow: var(--sh); transform: translateY(-2px); }
.region__flag { display: block; width: 72px; height: 50px; margin-bottom: 1rem; border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(8, 23, 43, 0.12), 0 0 0 1px var(--line-2); }
.region__flag svg { display: block; width: 100%; height: 100%; }
.region__flag--both { padding: 0 2px; }
.region h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.region p { color: var(--muted); font-size: var(--t-sm); }
.region .chips { margin-top: 1rem; }
.accordion { display: grid; gap: 0.6rem; }
.acc { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; transition: border-color var(--dur), box-shadow var(--dur); }
.acc[open] { border-color: var(--accent-line); box-shadow: var(--sh-sm); }
.acc summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 1.25rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); transition: transform var(--dur) var(--ease), background var(--fast), border-color var(--fast); }
.acc summary .plus svg { width: 14px; height: 14px; }
.acc[open] summary .plus { transform: rotate(45deg); background: var(--accent-wash); border-color: var(--accent-line); }
.acc summary .with-ico { display: inline-flex; align-items: center; gap: 0.7rem; }
.acc summary .with-ico svg { width: 20px; height: 20px; color: var(--accent-ink); }
.acc__body { padding: 0 1.25rem 1.25rem; color: var(--body); max-width: 68ch; }
.acc__body p { animation: fadeUp var(--dur) var(--ease) both; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ind { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; background: var(--night-2); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ind:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); text-decoration: none; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ind:hover img { transform: scale(1.04); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,28,84,0.05) 30%, rgba(1,28,84,0.85) 100%); }
.ind__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem; }
.ind__body h3 { color: #fff; font-size: 1.3rem; }
.ind__body p { margin-top: 0.25rem; color: rgba(255,255,255,0.82); font-size: var(--t-sm); }
.ind__body .link-arrow { margin-top: 0.6rem; color: #fff; font-size: var(--t-sm); }
.ind--tile { aspect-ratio: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); padding: 1.25rem; box-shadow: none; }
.ind--tile::after { display: none; }
.ind--tile .ind__body { position: static; padding: 0; }
.ind--tile .ind__body h3 { color: var(--ink); font-size: 1.05rem; }
.ind--tile .ind__body p { color: var(--muted); }
.ind--tile .ind__body .link-arrow { color: var(--accent-ink); }
.ind--tile:hover { border-color: var(--accent-line); box-shadow: var(--sh); }
.ind--tile .feature__ico { margin-bottom: 0.75rem; }

/* ---------- Number checker ---------- */
.checker { border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--sh); padding: clamp(1.25rem, 3vw, 2rem); }
.checker__form { display: grid; gap: 1rem; }
@media (min-width: 720px) { .checker__form { grid-template-columns: 1fr 180px auto; align-items: end; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.field .help { font-size: var(--t-xs); color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; transition: border-color var(--fast), box-shadow var(--fast); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,95,252,0.14); }
.input.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6E84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.4rem; }
.checker__result { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--glacier); display: none; align-items: flex-start; gap: 0.8rem; }
.checker__result.is-on { display: flex; animation: fadeUp var(--dur) var(--ease) both; }
.checker__result .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--success-wash); color: var(--success-ink); }
.checker__result .ico svg { width: 18px; height: 18px; }
.checker__result.is-warn .ico { background: var(--amber-wash); color: var(--amber-ink); }
.checker__result b { display: block; color: var(--ink); }
.checker__result p { font-size: var(--t-sm); color: var(--muted); }
.checker__note { margin-top: 0.9rem; font-size: var(--t-xs); color: var(--faint); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.port-steps { display: grid; gap: 1rem; margin-top: 2.5rem; counter-reset: step; }
@media (min-width: 720px) { .port-steps { grid-template-columns: repeat(3, 1fr); } }
.port-step { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.5rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-2); }
.port-step::before { counter-increment: step; content: counter(step); position: absolute; left: 1.1rem; top: 1.2rem; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 0.9rem; }
.port-step b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.25rem; }
.port-step p { color: var(--muted); font-size: var(--t-sm); }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; align-items: center; gap: 0.75rem; }
.toggle__track { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-pill); background: var(--glacier-2); border: 1px solid var(--line-2); }
.toggle__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--paper); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease); }
.toggle__track[data-mode="annual"] .toggle__thumb { transform: translateX(100%); }
.toggle__opt { position: relative; z-index: 1; padding: 0.5rem 1.15rem; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 600; color: var(--muted); cursor: pointer; transition: color var(--fast); }
.toggle__opt[aria-pressed="true"] { color: var(--navy); }
.plans { display: grid; gap: 1rem; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plans--4 { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem; border-radius: var(--r-xl); background: var(--paper); border: 1.5px solid var(--line-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.plan--hi { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,95,252,0.08), var(--sh); }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 0.3rem 0.85rem; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--sh-glow); }
.plan h3 { font-size: 1.3rem; }
.plan .chips { margin: 0.75rem 0 0.9rem; min-height: 3.5rem; align-content: flex-start; }
.plan__desc { color: var(--muted); font-size: var(--t-sm); min-height: 3.1em; }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; margin-top: 1.25rem; font-family: var(--display); color: var(--navy); }
.plan__price .cur { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan__price .amt { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price .per { color: var(--muted); font-family: var(--sans); font-size: var(--t-sm); }
.plan__alt { margin-top: 0.35rem; color: var(--muted); font-size: var(--t-xs); min-height: 1.4em; }
.plan__unl { margin: 1.1rem 0; padding: 0.7rem 0.9rem; border-radius: var(--r); background: var(--navy); color: #fff; display: flex; align-items: center; gap: 0.7rem; }
.plan__unl b { font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--accent-hi); }
.plan__unl span { font-size: var(--t-xs); opacity: 0.9; }
.plan__unl svg { width: 20px; height: 20px; color: var(--accent-hi); flex: none; }
.plan ul { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 0.55rem; align-items: start; font-size: var(--t-sm); color: var(--body); }
.plan li svg { width: 17px; height: 17px; color: var(--success-ink); margin-top: 0.15rem; }
.plan li.plus { color: var(--ink); font-weight: 600; grid-template-columns: 1fr; }
.plan .btn { margin-top: auto; }
.plan--ent { background: var(--night); border-color: var(--night); color: var(--on-night-muted); }
.plan--ent h3, .plan--ent .plan__price .amt, .plan--ent li { color: var(--on-night); }
.plan--ent .plan__desc, .plan--ent .plan__alt { color: var(--on-night-muted); }
.plan--ent .chip { background: rgba(255,255,255,0.1); color: var(--on-night-muted); }
.plan--ent li svg { color: var(--success); }
.pricing-note { margin-top: 1.5rem; max-width: 760px; color: var(--muted); font-size: var(--t-sm); }
.pricing-note b { color: var(--ink); }
.amt[data-anim] { display: inline-block; }
.amt.is-flip { animation: flip var(--dur) var(--ease); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 640px; }
.table th, .table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--glacier); }
.table tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table td .yes { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--success-ink); font-weight: 600; }
.table td .yes svg { width: 16px; height: 16px; }
.table td .no { color: var(--faint); }
.table--compact { min-width: 0; }
.table .price { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; max-width: 820px; margin-inline: auto; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0D3FA3 100%); color: var(--on-night-muted); }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77,143,255,0.35), rgba(77,143,255,0) 70%); }
.cta .container { position: relative; display: grid; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.cta h2 { color: #fff; }
.cta .lead { color: var(--on-night-muted); margin-top: 0.75rem; }
.cta ul { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.cta li { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--on-night); font-size: var(--t-sm); }
.cta li svg { width: 18px; height: 18px; color: var(--success); }
@media (min-width: 900px) { .cta .container { grid-template-columns: 1.3fr 1fr; } .cta .btn-row { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-muted); font-size: var(--t-sm); }
.footer a { color: var(--on-night-muted); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--accent-hi); }
.footer__about { max-width: 34ch; margin-top: 1rem; line-height: 1.6; }
.footer__contact { display: grid; gap: 0.35rem; margin-top: 1.25rem; }
.footer__contact a { color: #fff; font-weight: 500; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.55rem; }
.store { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; padding: 0.5rem 0.9rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.18); color: #fff; }
.store:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.store svg { width: 22px; height: 22px; }
.store small { display: block; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.store b { display: block; font-weight: 600; font-size: 0.9rem; line-height: 1.1; }
.footer__seals { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; justify-content: center; padding-block: 1.75rem; border-top: 1px solid var(--night-line); }
.footer__seals .seal b { color: #fff; } .footer__seals .seal small { color: var(--on-night-muted); }
.footer__seals .seal__ico { --seal-disc: rgba(255,255,255,0.06); --seal-ring: rgba(255,255,255,0.75); --seal-glyph: #fff; --seal-ink: var(--navy-2); --seal-paper: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; padding-block: 1.25rem 2rem; border-top: 1px solid var(--night-line); font-size: var(--t-xs); }
.footer__legal ul { display: flex; gap: 1.25rem; }

/* ---------- Inner page hero & sections ---------- */
.page-hero { background: linear-gradient(180deg, var(--paper), var(--glacier)); border-bottom: 1px solid var(--line-2); }
.page-hero .container { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.page-hero .lead { margin-top: 1rem; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero h1 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem); }
@media (min-width: 900px) { .page-hero--split .container { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }
.cards-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps { display: grid; gap: 0; counter-reset: s; max-width: 820px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--accent-line); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step h3 { padding-top: 0.75rem; }
.step p { margin-top: 0.35rem; color: var(--muted); max-width: 58ch; }
.step__tag { margin-left: 0.6rem; vertical-align: middle; }
.timeline-days { display: grid; gap: 0.75rem; }
.day { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; padding: 1rem 1.25rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-2); }
.day .when { font-family: var(--mono); font-size: var(--t-xs); color: var(--accent-ink); font-weight: 600; padding-top: 0.2rem; }
.day b { display: block; color: var(--ink); }
.day span { color: var(--muted); font-size: var(--t-sm); }
.claim-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.claim-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; }
.claim-list svg { width: 20px; height: 20px; color: var(--success-ink); margin-top: 0.1rem; }
.callout { padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--amber-wash); border: 1px solid #F3DFB0; color: var(--amber-ink); }
.callout b { color: inherit; }

/* Contact form */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.contact-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; align-items: start; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.contact-list .ico svg { width: 19px; height: 19px; }
.contact-list b { display: block; color: var(--ink); }
.contact-list span { color: var(--muted); font-size: var(--t-sm); }
.form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--paper); box-shadow: var(--sh); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.radio-cards { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.radio-card { position: relative; display: grid; gap: 0.2rem; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color var(--fast), background var(--fast), box-shadow var(--fast); }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card b { font-size: var(--t-sm); color: var(--ink); }
.radio-card small { color: var(--muted); font-size: var(--t-xs); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 3px rgba(0,95,252,0.12); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.form [hidden] { display: none !important; }
.form__ok { display: none; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--success-wash); color: var(--success-ink); font-weight: 500; }
.form__ok.is-on { display: flex; gap: 0.6rem; align-items: center; animation: fadeUp var(--dur) var(--ease) both; }
.form__ok svg { width: 20px; height: 20px; flex: none; }

/* Help centre */
.help-search { max-width: 640px; margin: 1.5rem auto 0; display: flex; gap: 0.5rem; }
.help-search .input { min-height: 54px; font-size: 1.05rem; }
.help-cats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.help-cat { padding: 1.4rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.help-cat:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--accent-line); }
.help-cat ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.help-cat li a { color: var(--body); font-size: var(--t-sm); }
.help-cat li a:hover { color: var(--accent-ink); }
.help-cat .count { color: var(--faint); font-size: var(--t-xs); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 80ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 240ms; }

/* ---------- Keyframes ---------- */
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }
@keyframes ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes flip { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes printOut { 0% { transform: scaleY(0.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float--receipt { animation: floatY 6s ease-in-out infinite; }
.float--inbox { animation: floatY 7s ease-in-out infinite reverse; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}



/* =============================================================================
   WordPress integration — additions to the preview design system
   ============================================================================= */

/* ---------- Brand: the real logo PNGs ---------- */
.brand { gap: 0; }
.brand__img { display: block; height: 36px; width: auto; }
.footer .brand__img { height: 30px; }
.app__bar .brand__img { height: 18px; }
.brand__img--invert { filter: brightness(0) invert(1); }
.brand__text { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--navy); }
.brand__text b { color: var(--accent); }
.footer .brand__text, .app__bar .brand__text { color: #fff; }
.footer .brand { display: block; width: fit-content; }
.footer__parent { display: block; width: fit-content; margin-top: 0.9rem; opacity: 0.85; transition: opacity var(--fast); }
.footer__parent:hover { opacity: 1; }
.footer__parent img { height: 22px; width: auto; }
@media (max-width: 480px) { .brand__img { height: 30px; } }

/* ---------- Skip link: hidden until focused ---------- */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 600; transition: top var(--fast); }
.skip-link:focus { top: 1rem; outline-offset: 2px; }

/* ---------- Logged-in admin bar ---------- */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
body.admin-bar .drawer { top: 32px; }
@media (max-width: 782px) { body.admin-bar .drawer { top: 46px; } }
main:focus { outline: none; }

/* ---------- Plan card extras ---------- */
.plan__note { display: inline-flex; align-items: center; gap: 0.4rem; margin: -0.35rem 0 0.9rem; color: var(--accent-ink); font-size: var(--t-xs); font-weight: 600; }
.plan__note svg { width: 15px; height: 15px; }
.plan__price .amt--text { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.01em; }
.plan--ent .plan__unl { background: rgba(255,255,255,0.08); border: 1px solid var(--night-line); }

/* ---------- Contact form states ---------- */
.form__error { display: flex; gap: 0.6rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--alert-wash); color: var(--alert-ink); font-weight: 500; }
.form__error svg { width: 20px; height: 20px; flex: none; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checker__result.is-warn .ico { background: var(--amber-wash); color: var(--amber-ink); }
.checker__result.is-error .ico { background: var(--alert-wash); color: var(--alert-ink); }

/* ---------- Help categories as links (404 page) ---------- */
a.help-cat { display: block; color: inherit; }
a.help-cat:hover { text-decoration: none; }
a.help-cat p { color: var(--muted); font-size: var(--t-sm); margin-top: 0.4rem; }

/* ---------- Editor content (page.php) ---------- */
.prose { color: var(--body); font-size: var(--t-base); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--t-2xl); }
.prose h3 { margin-top: 1.8em; }
.prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35em; }
.prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose blockquote { margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; border-left: 3px solid var(--accent-line); color: var(--muted); }
.prose img, .prose figure { border-radius: var(--r-lg); }
.prose figcaption { margin-top: 0.5em; font-size: var(--t-sm); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.prose thead th { background: var(--glacier); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.prose pre { padding: 1rem 1.25rem; border-radius: var(--r); background: var(--night); color: var(--on-night); font-family: var(--mono); font-size: 0.85rem; overflow-x: auto; }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--glacier-2); padding: 0.1em 0.35em; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.5em 0; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0.7rem 1.35rem; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.page-links { margin-top: 2rem; display: flex; gap: 0.5rem; align-items: center; font-size: var(--t-sm); color: var(--muted); }
.page-links a { padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.alignwide { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

.plan--ent li.plus { color: var(--on-night); }

/* ---------- Real app media (Customizer → FaxDirect app media) ---------- */
.app-shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--sh-lg); }
.app-shot img { display: block; width: 100%; height: auto; }
.app-frame--shot .toast { right: 1.25rem; bottom: 1.25rem; }
.demo-video { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--glacier-2); border: 1px solid var(--line-2); box-shadow: var(--sh); }
.demo-video__media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--glacier-2); }
.demo-video__cap { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.75rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); color: var(--ink); font-size: var(--t-xs); font-weight: 600; box-shadow: var(--sh-sm); pointer-events: none; }
.demo-video__cap svg { width: 15px; height: 15px; color: var(--accent-ink); }
video[controls] + .demo-video__cap { display: none; }
.app-video { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--sh-lg); }
.app-video__media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.app-video .demo-video__cap { left: 1.25rem; bottom: 1.25rem; }
@media (max-width: 720px) { .app-video .demo-video__cap { display: none; } } /* the pill would cover a third of the small frame; the heading already says what plays */

/* ---------- Number checker: help text below the row so the three controls share a baseline ---------- */
.checker__help { margin: 0.6rem 0 0; font-size: var(--t-xs); color: var(--muted); }

/* ---------- Footer legal menu (when a WP menu is assigned) ---------- */
.footer__legal .menu { display: flex; gap: 1.25rem; margin: 0; }

/* ---- Industry tiles with emblem artwork (home: Who it is for) ---- */
/* Compact horizontal tile: emblem on the left, copy on the right, arrow pinned to the bottom. */
.ind--tile {
	display: flex;
	flex-direction: column;
	padding: .95rem 1.05rem;
}
.ind--tile .ind__body {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	column-gap: .8rem;
	row-gap: .1rem;
	align-items: start;
}
.ind--tile .ind__logo {
	position: static;
	grid-row: 1 / span 3;
	width: 52px;
	height: 52px;
	margin: 0;
	object-fit: contain;
	border-radius: 10px;
	transition: transform var(--dur) var(--ease);
}
.ind--tile:hover .ind__logo { transform: scale(1.06); }
.ind--tile .ind__body h3 { font-size: 1rem; line-height: 1.25; }
.ind--tile .ind__body p { margin-top: 0; font-size: .875rem; line-height: 1.4; }
.ind--tile .ind__body .link-arrow { margin-top: .4rem; font-size: .8125rem; }
@media (min-width: 900px) {
	#industries .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
}

/* ---- Home: section headings without intro paragraphs sit closer to their content ---- */
.fdr-home main .section-head { margin-bottom: clamp(18px, 2.4vw, 30px); }

/* ---- Home: compact region cards (Data residency) ---- */
.fdr-home #residency .region {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: .7rem;
	align-items: center;
	padding: .9rem 1rem 1rem;
}
.fdr-home #residency .region__flag { width: 40px; height: 28px; margin: 0; border-radius: 5px; }
.fdr-home #residency .region h3 { margin: 0; font-size: 1rem; }
.fdr-home #residency .region p { grid-column: 1 / -1; margin-top: .45rem; font-size: .8125rem; line-height: 1.4; }
.fdr-home #residency .region .chips { grid-column: 1 / -1; margin-top: .55rem; gap: .3rem; }
.fdr-home #residency .region .chip { padding: .12rem .45rem; font-size: .72rem; }

/* ---- Home: compact plan cards (Pricing) — the full-size cards stay on the pricing page ---- */
.fdr-home #pricing .plan { padding: 1.1rem 1.1rem 1.2rem; }
.fdr-home #pricing .plan h3 { font-size: 1.1rem; }
.fdr-home #pricing .plan .chips { margin: .5rem 0 .6rem; min-height: 0; gap: .3rem; }
.fdr-home #pricing .plan .chip { padding: .12rem .45rem; font-size: .72rem; }
.fdr-home #pricing .plan__desc { min-height: 0; font-size: .8125rem; line-height: 1.4; }
.fdr-home #pricing .plan__price { margin-top: .75rem; }
.fdr-home #pricing .plan__price .cur { font-size: .9rem; }
.fdr-home #pricing .plan__price .amt { font-size: 2.2rem; }
.fdr-home #pricing .plan__price .amt--text { font-size: 1.3rem; }
.fdr-home #pricing .plan__price .per { font-size: .8125rem; }
.fdr-home #pricing .plan__alt { margin-top: .2rem; font-size: .75rem; min-height: 0; }
.fdr-home #pricing .plan__unl { margin: .75rem 0; padding: .5rem .7rem; gap: .6rem; }
.fdr-home #pricing .plan__unl b { font-size: .7rem; }
.fdr-home #pricing .plan__unl span { font-size: .75rem; }
.fdr-home #pricing .plan__unl svg { width: 16px; height: 16px; }
.fdr-home #pricing .plan__note { margin: -.2rem 0 .6rem; font-size: .75rem; }
.fdr-home #pricing .plan ul { gap: .3rem; margin-bottom: 1rem; }
.fdr-home #pricing .plan li { grid-template-columns: 16px 1fr; gap: .45rem; font-size: .8125rem; }
.fdr-home #pricing .plan li svg { width: 15px; height: 15px; margin-top: .1rem; }
.fdr-home #pricing .plan li.plus { grid-template-columns: 1fr; }
.fdr-home #pricing .plan .btn { padding: .55rem 1rem; font-size: .875rem; }

/* ---- Home: compact feature cards with bold gradient icons ---- */
.fdr-home .features { gap: .75rem; }
@media (min-width: 900px) {
	.fdr-home .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.fdr-home .feature {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	column-gap: .75rem;
	align-items: start;
	padding: .9rem 1rem;
	border-radius: var(--r);
}
.fdr-home .feature__ico {
	grid-row: 1 / span 2;
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, #0a55c4 0%, #2a8cf2 100%);
	color: #fff;
	box-shadow: 0 4px 10px rgba(10, 85, 196, .22);
}
.fdr-home .feature__ico svg { width: 21px; height: 21px; }
.fdr-home .feature h3 { margin: 0; font-size: .95rem; line-height: 1.25; }
.fdr-home .feature p { margin-top: .2rem; font-size: .8125rem; line-height: 1.4; }
/* Less air under the feature grid before the next band (top padding is set in Additional CSS). */
.fdr-home #features { padding-bottom: clamp(32px, 4vw, 48px); }

/* ---- Home: Features header with the front-desk photo beside the heading ---- */
.fdr-home #features .features-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
	gap: 2rem 3rem;
	align-items: center;
	margin-bottom: clamp(18px, 2.4vw, 30px);
	padding-right: clamp(12px, 2vw, 32px); /* pulls the photo in from the right edge */
}
.fdr-home #features .features-intro .section-head { margin-bottom: 0; }
.fdr-home #features .features-intro__photo {
	margin: 0;
	aspect-ratio: 9 / 5;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh);
	background: var(--glacier-2);
}
.fdr-home #features .features-intro__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
}
@media (max-width: 767px) {
	.fdr-home #features .features-intro { grid-template-columns: 1fr; }
	.fdr-home #features .features-intro__photo { display: none; }
}

/* ---- Pricing page: same tight rhythm as the home page ---- */
.fdr-pricing main .section {
	padding-top: clamp(32px, 4vw, 48px);
	padding-bottom: clamp(32px, 4vw, 48px);
}
.fdr-pricing main .section-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.fdr-pricing .page-hero .container { padding-block: clamp(28px, 3.5vw, 44px); }
.fdr-pricing .page-hero + .section { padding-top: clamp(24px, 3vw, 36px); }
.fdr-pricing .plan { padding: 1.4rem 1.25rem; }
.fdr-pricing .plan ul { gap: .4rem; margin-bottom: 1.25rem; }
.fdr-pricing .table th,
.fdr-pricing .table td { padding: .6rem .9rem; }

/* ---- Pricing page: compliance seals under the plan cards ---- */
.fdr-pricing .plans-seals {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 2.75rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-2);
}
.fdr-pricing .plans-seals .seal__ico,
.fdr-pricing .plans-seals .seal__ico svg { width: 48px; height: 48px; }
@media (max-width: 599px) {
	.fdr-pricing .plans-seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .75rem; justify-items: start; }
	.fdr-pricing .plans-seals .seal__ico,
	.fdr-pricing .plans-seals .seal__ico svg { width: 40px; height: 40px; }
}

/* ---- How it works page: tight rhythm + the seven steps in two columns ---- */
.fdr-how main .section {
	padding-top: clamp(32px, 4vw, 48px);
	padding-bottom: clamp(32px, 4vw, 48px);
}
.fdr-how main .section-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.fdr-how .page-hero .container { padding-block: clamp(28px, 3.5vw, 44px); }
.fdr-how .steps { max-width: none; gap: .5rem 2.5rem; }
@media (min-width: 900px) {
	.fdr-how .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fdr-how .step { grid-template-columns: 44px 1fr; gap: 1rem; padding-bottom: 1rem; }
.fdr-how .step::before { width: 44px; height: 44px; }
.fdr-how .step::after { display: none; }
.fdr-how .step h3 { padding-top: .45rem; font-size: 1.05rem; }
.fdr-how .step p { margin-top: .2rem; font-size: .9rem; }

/* ---- Footer brand column: cloud mark, NetLayers, divider, FaxDirect ---- */
.footer .footer__grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) {
	/* Lift the brand block so the cloud sits near the top edge; the link columns keep their position. */
	.footer .footer__grid > div:first-child { margin-top: -56px; }
}
.footer .footer__grid > div:first-child .footer__cloud { order: -3; width: 124px; height: auto; margin: 0 0 6px; }
.footer .footer__grid > div:first-child .footer__parent { order: -2; margin-top: 0; }
.footer .footer__grid > div:first-child .footer__divider { order: -1; width: 100%; max-width: 300px; height: 1px; margin: 6px 0 8px; background: var(--night-line); }
.footer .footer__grid > div:first-child a.brand { order: 0; margin-top: 0; } /* a.brand: outranks the older Additional-CSS margin rule */
.footer .footer__grid > div:first-child .footer__about { order: 1; }
.footer .footer__grid > div:first-child .footer__contact { order: 2; }
.footer .footer__grid > div:last-child .store--footer-right { margin-top: 2.5rem; }

/* ---- Home: "How a fax moves" band on the same tight rhythm as its neighbours ---- */
.fdr-home #how {
	padding-top: clamp(32px, 4vw, 48px);
	padding-bottom: clamp(32px, 4vw, 48px);
}
