/* fundament.team
 *
 * One stylesheet, written by hand, no preprocessor and no framework.
 *
 * The look is ported from the Fundament product's own "Atrium" design
 * language (Cornerstone frontend: theme/tokens.css, theme/glass.css): a pale
 * blue/grey gradient backdrop with drifting orbs, frosted glass panels, PT
 * Serif headings and a Jost body. The design tokens below are copied from
 * that source so the marketing page and the app read as one product.
 *
 * Fonts are self hosted under /assets/fonts/ as latin woff2 subsets. They are
 * served from this origin, so `font-src 'self'` in the CSP already covers
 * them and nothing needs widening.
 *
 * When you change this file, bump the ?v= number on every <link> that points
 * at it. Assets are cached for a year and there is no content hashing, so a
 * change without a bump will not reach anyone who has already visited.
 */

/* ==== Self hosted fonts (latin subset) ==== */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/jost-300-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jost-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/jost-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-400-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pt-serif-700-latin.woff2") format("woff2");
}

/* ==== Atrium design tokens (from the product) ==== */
:root {
  --stmt-blue: #4a6e94;
  --stmt-blue-deep: #355278;
  --stmt-dark: #071133;
  --stmt-light: #e4edf8;
  --stmt-ink: #0a1530;
  --stmt-ink-soft: #3a4868;
  --stmt-ink-mute: #6e7b96;
  --fundament-blue: #345bdb;

  --ok: #5a8a6e;

  --font-serif: "PT Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --glass-stroke: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(7, 17, 51, 0.04) inset, 0 0 0 1px rgba(7, 17, 51, 0.025),
    0 22px 48px -28px rgba(7, 17, 51, 0.22),
    0 6px 18px -10px rgba(7, 17, 51, 0.08);

  --rule: rgba(7, 17, 51, 0.08);
  --radius: 22px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip, not hidden: `overflow-x: hidden` on an ancestor silently breaks
   * position: sticky on descendants (it establishes a scroll container).
   * `clip` contains the fixed .atrium-bg orbs just as well without that. */
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #dce3ec;
  color: var(--stmt-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
.skip-link:focus,
.btn:focus-visible {
  outline: 3px solid var(--stmt-blue);
  outline-offset: 2px;
}

/* ==== Ambient Atrium backdrop ==== */
.atrium-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--stmt-dark);
  overflow: hidden;
}
.atrium-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(
      60% 50% at 12% 18%,
      rgba(180, 200, 225, 0.55) 0%,
      transparent 60%
    ),
    radial-gradient(48% 42% at 88% 8%, rgba(210, 220, 235, 0.4) 0%, transparent 60%),
    radial-gradient(70% 55% at 75% 95%, rgba(170, 190, 215, 0.5) 0%, transparent 65%),
    radial-gradient(45% 40% at 30% 80%, rgba(190, 200, 220, 0.35) 0%, transparent 65%),
    linear-gradient(180deg, #f2f5f9 0%, #e8edf3 50%, #dce3ec 100%);
  filter: saturate(0.92);
}
.atrium-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(7, 17, 51, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(7, 17, 51, 0.025) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 3px;
  opacity: 0.5;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}
.orb.o1 {
  width: 560px;
  height: 560px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, #a5bad0 0%, transparent 65%);
  animation: drift1 28s ease-in-out infinite;
}
.orb.o2 {
  width: 680px;
  height: 680px;
  right: -200px;
  bottom: -180px;
  background: radial-gradient(circle, #b7c7dc 0%, transparent 65%);
  animation: drift2 36s ease-in-out infinite;
}
.orb.o3 {
  width: 420px;
  height: 420px;
  left: 40%;
  top: 28%;
  background: radial-gradient(circle, rgba(155, 175, 200, 0.55) 0%, transparent 70%);
  animation: drift3 42s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -40px) scale(1.05); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  * { transition: none !important; }
}

/* ==== Glass primitive ==== */
.glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.32) 100%
  );
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  position: relative;
  isolation: isolate;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(27, 88, 168, 0.1) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ==== Layout ==== */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stmt-blue);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ==== Buttons ==== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--stmt-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--stmt-blue-deep);
}
.btn-ghost {
  border-color: rgba(7, 17, 51, 0.2);
  color: var(--stmt-ink);
  background: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  border-color: var(--stmt-blue);
  color: var(--stmt-blue);
}
.btn-light {
  background: #fff;
  color: var(--stmt-ink);
}
.btn-light:hover {
  background: var(--stmt-light);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.75);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--stmt-ink);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 248, 253, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-symbol {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand-text {
  color: var(--fundament-blue);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stmt-ink-soft);
}
.nav-links a:hover {
  color: var(--stmt-blue);
}
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-cta .login {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 6px;
  color: var(--stmt-ink-soft);
}
.nav-cta .login:hover {
  color: var(--stmt-blue);
}
.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  /* Drop the secondary ghost demo button on small screens so the bar stays to
   * Log in + the primary CTA; the hero still carries the demo button. */
  .nav-cta .btn-ghost { display: none; }
  .nav { height: 60px; gap: 10px; }
  .nav-cta { gap: 6px; }
  .nav-cta .login { white-space: nowrap; padding: 8px 6px; }
  .nav-cta .btn { padding: 9px 15px; font-size: 0.86rem; white-space: nowrap; }
  .brand-text { font-size: 1.1rem; }
}

/* ==== Hero ==== */
.hero {
  padding-block: 84px 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--stmt-blue);
}
.lead {
  font-size: 1.16rem;
  color: var(--stmt-ink-soft);
  max-width: 34rem;
  margin-bottom: 32px;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--stmt-ink-mute);
  margin: 0;
}
.hero-visual {
  display: grid;
  gap: 16px;
}
@media (max-width: 900px) {
  .hero { padding-block: 56px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Screenshot framing */
.shot {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px -30px rgba(7, 17, 51, 0.45);
}
.shot-pad {
  display: block;
  padding: 8px;
}
.hero-visual .shot-pad {
  padding: 6px;
}
/* Module label sits inline with the "New" badge, so no bottom margin. */
.mod-tag .eyebrow {
  margin: 0;
}
/* Muted note under the integration badges */
.int-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--stmt-ink-mute);
  max-width: 30rem;
}
figure.shot-fig {
  margin: 0;
}
figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--stmt-ink-mute);
  text-align: center;
}

/* ==== Trust strip ==== */
.strip {
  padding-block: 22px;
}
.strip .wrap {
  display: flex;
  gap: 14px 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--stmt-ink-soft);
}
.strip p {
  margin: 0;
}
.strip b {
  color: var(--stmt-ink);
  font-weight: 600;
}

/* ==== Sections ==== */
.block {
  padding-block: 72px;
}
.center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.center h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.center .lead-c {
  color: var(--stmt-ink-soft);
  font-size: 1.08rem;
  font-weight: 300;
  margin: 0;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature {
  padding: 28px 26px;
}
.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
}
.feature p {
  color: var(--stmt-ink-soft);
  font-size: 0.94rem;
  font-weight: 300;
  margin: 0;
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
}

/* Split module rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split + .split {
  margin-top: 72px;
}
.split h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}
.split .body {
  color: var(--stmt-ink-soft);
  margin-bottom: 16px;
  font-size: 1.02rem;
  font-weight: 300;
}
ul.checks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.checks li {
  padding: 9px 0 9px 30px;
  position: relative;
  font-size: 0.97rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--stmt-light);
  border: 5px solid var(--stmt-blue);
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .media { order: -1; }
}

/* Module number tag + New badge */
.mod-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.badge-new {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--stmt-dark);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Integration badges - equal-size pills; per-logo heights tuned so the three
 * marks read at a similar optical weight (a wordmark and a square icon at the
 * same pixel height look very different). */
.integrations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  max-width: 520px;
}
.int-badge {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(7, 17, 51, 0.1);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--stmt-ink);
  text-align: center;
}
.int-logo {
  width: auto;
  flex-shrink: 0;
}
.int-logo--tripletex {
  height: 24px;
}
.int-logo--poweroffice {
  height: 24px;
}
.int-logo--visma {
  height: 16px;
}
.int-name {
  white-space: nowrap;
  line-height: 1.15;
  text-align: left;
}
@media (max-width: 520px) {
  .integrations {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

/* Placeholder mock panels (Atrium styled, swapped for real screenshots later) */
.mock {
  padding: 20px;
}
.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.mock-top .name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}
.mock-top .tag {
  font-size: 0.7rem;
  background: var(--stmt-light);
  color: var(--stmt-blue);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.mrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  padding: 9px 2px;
  border-top: 1px solid var(--rule);
  color: var(--stmt-ink-soft);
}
.mrow:first-of-type {
  border-top: none;
}
.mrow b {
  color: var(--stmt-ink);
  font-weight: 500;
}
.mrow .ok {
  color: var(--ok);
  font-weight: 600;
  font-size: 0.76rem;
  white-space: nowrap;
}
.mrow .num {
  font-variant-numeric: tabular-nums;
}
.callcard {
  background: var(--stmt-dark);
  color: #fff;
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.callcard .t {
  font-size: 0.78rem;
  opacity: 0.72;
}
.callcard .a {
  font-weight: 600;
  font-size: 0.98rem;
}
.callcard .pill {
  background: var(--stmt-blue);
  color: #fff;
  font-size: 0.72rem;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==== Role model ==== */
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.role {
  border-radius: var(--radius);
  padding: 26px 24px;
}
.role.mgr {
  background: var(--stmt-dark);
  color: #fff;
}
.role.mgr .rl {
  color: rgba(255, 255, 255, 0.6);
}
.role.inv {
  border: 1px solid var(--glass-stroke);
  background: rgba(255, 255, 255, 0.5);
}
.role .rl {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stmt-ink-mute);
  font-weight: 600;
  margin: 0 0 10px;
}
.role h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
}
.role ul {
  list-style: none;
  font-size: 0.89rem;
  margin: 0;
  padding: 0;
}
.role li {
  padding: 6px 0;
  border-top: 1px solid rgba(127, 140, 170, 0.22);
}
@media (max-width: 640px) {
  .roles { grid-template-columns: 1fr; }
}

/* ==== Audience ==== */
.aud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.aud .card {
  padding: 30px 26px;
}
.aud .card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.aud .card p {
  color: var(--stmt-ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}
.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--stmt-blue);
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(74, 110, 148, 0.35);
}
.card-link:hover {
  border-bottom-color: var(--stmt-blue);
}
@media (max-width: 900px) {
  .aud { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .aud { grid-template-columns: 1fr; }
}

/* ==== Security ==== */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.sec {
  padding: 24px 22px;
  border-top: 3px solid var(--stmt-blue);
}
.sec h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.sec p {
  color: var(--stmt-ink-soft);
  font-size: 0.89rem;
  font-weight: 300;
  margin: 0;
}
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sec-grid { grid-template-columns: 1fr; }
}

/* ==== CTA band ==== */
.cta-band {
  margin-block: 72px;
}
.cta-inner {
  background: linear-gradient(160deg, #0e1b47 0%, #071133 100%);
  color: #fff;
  border-radius: 28px;
  padding: 72px 32px;
  text-align: center;
  box-shadow: 0 40px 90px -40px rgba(7, 17, 51, 0.6);
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
  font-weight: 300;
  max-width: 40rem;
  margin: 0 auto;
}
.cta-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 42rem;
  margin: 14px auto 0;
}
.cta-inner .eyebrow {
  color: #8fb4e3;
}
.cta-inner .hero-cta {
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 0;
}

/* ==== Footer ==== */
.site-footer {
  border-top: 1px solid var(--rule);
  background: rgba(244, 248, 253, 0.6);
  padding-block: 52px 36px;
  font-size: 0.92rem;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.foot .brand {
  margin-bottom: 10px;
}
.powered {
  color: var(--stmt-ink-mute);
  font-size: 0.85rem;
  margin: 0;
}
/* "Powered by Statement" - the one place Statement is named, set in the
 * Statement brand font (Segoe UI) and Statement Blue per statement.no
 * brand guidelines. */
.stmt-link {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: #1b58a8;
  font-weight: 600;
  border-bottom: 1px solid rgba(27, 88, 168, 0.35);
}
.stmt-link:hover {
  border-bottom-color: #1b58a8;
}
.foot h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stmt-ink-mute);
  margin: 0 0 14px;
  font-weight: 600;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot li {
  margin-bottom: 9px;
  color: var(--stmt-ink-soft);
}
.foot li a:hover {
  color: var(--stmt-blue);
}
.legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--stmt-ink-mute);
  font-size: 0.82rem;
}
.legal p {
  margin: 0;
}
.legal a:hover {
  color: var(--stmt-blue);
}
@media (max-width: 840px) {
  .foot { grid-template-columns: 1fr 1fr; }
}

/* ==== Comparison table ==== */
.compare-scroll {
  margin-top: 44px;
  overflow-x: auto;
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
}
.compare th,
.compare td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.compare thead th {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--stmt-ink);
  background: rgba(255, 255, 255, 0.55);
  position: sticky;
  top: 0;
}
.compare thead th.col-fundament {
  color: var(--fundament-blue);
}
.compare tbody th {
  font-family: var(--font-sans);
  font-weight: 500;
  text-align: left;
  color: var(--stmt-ink);
  /* Solid (not translucent) so the vendor columns do not show through when the
   * table is scrolled sideways on mobile. */
  background: #eef3f9;
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 220px;
  border-right: 1px solid var(--rule);
  box-shadow: 3px 0 6px -4px rgba(7, 17, 51, 0.22);
}
.compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #e7eef7;
  border-right: 1px solid var(--rule);
}
.compare .col-fundament {
  background: rgba(52, 91, 219, 0.06);
}
.compare tbody tr:last-child td {
  border-bottom: none;
}
.compare .mark {
  font-size: 1.05rem;
  line-height: 1;
}
.mark.yes {
  color: var(--ok);
}
.mark.partial {
  color: var(--warn);
}
.mark.no {
  color: #c43d3d;
}
.compare tr.price th,
.compare tr.price td {
  font-weight: 700;
  border-top: 2px solid var(--rule);
}
.compare-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--stmt-ink-mute);
}
[title] {
  cursor: help;
}

/* ==== FAQ ==== */
.faq {
  max-width: 46rem;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}
/* Two columns on desktop so eleven questions do not form one tall strip. Grid
 * (row-major) keeps each question whole - it never splits across a column. */
@media (min-width: 820px) {
  .faq {
    max-width: 64rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 12px 20px;
  }
}
.faq details {
  border: 1px solid var(--glass-stroke);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 500;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--stmt-blue);
  transition: transform 0.18s ease;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p {
  margin: 0 0 16px;
  color: var(--stmt-ink-soft);
  font-weight: 300;
}

/* Section scroll-snap was tried and removed: CSS-only snap did not feel right,
 * and true "one screen at a time" scrollytelling needs JavaScript, which is
 * deferred until the gateway CSP allows scripts (Azure DevOps task 2299).
 * Scrolling is plain/normal; `scroll-margin-top` below just keeps anchor jumps
 * clear of the sticky header. */
main > section {
  scroll-margin-top: 76px;
}

/* ==== Motion: scroll-driven (option 2), no JS ====
 * Cards lift on hover; content reveals as it scrolls into view, with modules
 * sliding in from alternating sides and the hero visuals easing up on scroll.
 * All CSS scroll-driven animation (animation-timeline: scroll()/view()) - no
 * JavaScript, no CSP change. Browsers without support (Safari, Firefox today)
 * show everything statically, and reduced-motion disables it entirely. */
.glass.feature,
.aud .card,
.sec,
.shot {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
@media (hover: hover) {
  .glass.feature:hover,
  .aud .card:hover,
  .sec:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .center,
    .features .feature,
    .aud .card,
    .sec-grid .sec,
    .faq details,
    .compare-scroll {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 26%;
    }
    /* Modules slide in from the side the text sits on. */
    .modules .split:not(.flip) > div:first-child,
    .modules .split.flip > div:last-child {
      animation: reveal-left linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
    .modules .split:not(.flip) .media,
    .modules .split.flip .media {
      animation: reveal-right linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes reveal-left {
      from { opacity: 0; transform: translateX(-26px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes reveal-right {
      from { opacity: 0; transform: translateX(26px); }
      to { opacity: 1; transform: none; }
    }
  }
  /* Gentle parallax lift on the hero screenshots as the page scrolls. */
  @supports (animation-timeline: scroll()) {
    .hero-visual .glass {
      animation: hero-float linear both;
      animation-timeline: scroll(root);
      animation-range: 0 460px;
    }
    .hero-visual .glass:nth-child(2) {
      animation-range: 0 620px;
    }
    @keyframes hero-float {
      from { transform: translateY(0); }
      to { transform: translateY(-26px); }
    }
  }
}

/* ==== 404 ==== */
.plain {
  padding-block: clamp(3rem, 10vw, 6rem);
}
.plain .wrap {
  max-width: 38rem;
}
.plain h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  margin-bottom: 1.25rem;
}
.plain p {
  color: var(--stmt-ink-soft);
}
.plain a {
  color: var(--stmt-blue);
  text-decoration: underline;
}
