/* KEOR website. Colour tokens follow PMS/resources/css/app.css (brand-*, surface, ink, line). */

@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --brand-50: #eef6f9;
  --brand-100: #d4e8ef;
  --brand-200: #a9d0de;
  --brand-300: #74afc6;
  --brand-400: #4a92ae;
  --brand-500: #2f7391;
  --brand-600: #1f5d78;
  --brand-700: #174c63;
  --brand-800: #114054;
  --brand-900: #0c3040;
  --product: #3b7f99;

  --surface: #f6f7f8;
  --surface-raised: #ffffff;
  --surface-sunken: #eceef1;
  --ink: #16191d;
  --ink-muted: #5d6670;
  --ink-faint: #8b939c;
  --line: #dfe3e8;
  --danger: #b42318;
  --success: #067647;
  --warning: #b54708;

  --font-display: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(12, 48, 64, .06), 0 1px 3px rgba(12, 48, 64, .08);
  --shadow: 0 10px 30px -12px rgba(12, 48, 64, .22), 0 2px 6px rgba(12, 48, 64, .06);
  --shadow-lg: 0 30px 70px -25px rgba(12, 48, 64, .4), 0 8px 20px -10px rgba(12, 48, 64, .15);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font-sans);
  color: var(--ink);
  background: var(--surface-raised);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brand-900); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 680; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3, .h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-200); color: var(--brand-900); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
.muted { color: var(--ink-faint); }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

.eyebrow {
  font: 650 .78rem/1.2 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--product);
  margin: 0 0 14px;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-muted); line-height: 1.6; max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 600 .98rem/1 var(--font-sans);
  padding: 15px 22px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(31, 93, 120, .6); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-300); color: var(--brand-900); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-900); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu and collapse it. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 48, 64, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: block; flex: none; }
.brand svg { height: 30px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font: 500 .98rem/1 var(--font-sans); color: var(--ink); text-decoration: none;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand-700); background: var(--brand-50); }
.sub-toggle .icon { transition: transform .2s; }
.has-sub { position: relative; }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub-link { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub-link:hover, .sub-link.is-active { background: var(--brand-50); color: var(--ink); }
.sub-link strong { display: block; font-family: var(--font-display); font-weight: 650; color: var(--brand-900); font-size: .98rem; }
.sub-link small { display: block; color: var(--ink-muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.sub-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font: 600 .84rem/1 var(--font-sans); color: var(--ink-muted); letter-spacing: .04em;
}
.lang-btn:hover { color: var(--brand-700); border-color: var(--brand-200); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: .16s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang-menu a:hover { background: var(--brand-50); }
.lang-menu a[aria-current] { color: var(--brand-700); font-weight: 600; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--brand-900); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* Sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--brand-900); color: #d9e6ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: var(--brand-200); }
.section-dark .eyebrow { color: var(--brand-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center .lead { margin-left: auto; margin-right: auto; }

/* Home hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(116, 175, 198, .28), transparent 60%),
    radial-gradient(700px 420px at 0% 10%, rgba(212, 232, 239, .7), transparent 60%),
    linear-gradient(#fff, var(--surface));
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17, 64, 84, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero h1 { max-width: 17ch; margin: 0 auto .4em; }
.hero h1 em { font-style: normal; color: var(--product); }
.hero .lead { margin: 0 auto 32px; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 28px 0 0; color: var(--ink-muted); font-size: .93rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .icon { width: 18px; height: 18px; color: var(--success); }
.hero-shot { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1120px; }
.hero-shot .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: -1px; }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 16px; font-size: .9rem; text-align: left; line-height: 1.3; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.hero-float strong { display: block; font-family: var(--font-display); color: var(--brand-900); font-size: .95rem; }
.hero-float small { color: var(--ink-muted); }
.hero-float .float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.hero-float.f1 { left: -36px; top: 22%; }
.hero-float.f2 { right: -30px; top: 52%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(116, 175, 198, .25), transparent 60%),
    linear-gradient(#fff, var(--surface));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { display: grid; gap: 48px; align-items: center; }
.page-hero.has-shot .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.hero-logo svg { height: 40px; width: auto; margin-bottom: 26px; }
.hero-logo.is-stacked svg { height: 56px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-shot .shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* Screenshot frames */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(12, 48, 64, .1); }
.shot img { width: 100%; }
.shot-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--surface-sunken); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5dc; }
.shot-phone { max-width: 320px; margin: 0 auto; border: 10px solid #0f1418; border-radius: 40px; box-shadow: var(--shadow-lg); }
.shot-plain { box-shadow: var(--shadow); }
.shot-tablet { max-width: 440px; margin: 0 auto; border: 14px solid #0f1418; border-radius: 30px; box-shadow: var(--shadow-lg); }
.shot-tablet.is-landscape { max-width: 100%; border-width: 12px; border-radius: 24px; }
.page-hero-shot.frame-tablet .shot, .page-hero-shot.frame-phone .shot { transform: none; }

/* Product family */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.products:has(> :nth-child(6)) { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.product {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); color: var(--ink); }
.product-logo { display: flex; align-items: center; gap: 10px; height: 34px; }
.product-logo svg { height: 28px; width: auto; }
.product-logo.is-stacked svg { height: 34px; }
.product p { color: var(--ink-muted); margin: 0; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-600); font-size: .95rem; }
.product:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform .2s; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section-alt .feature { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 16px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--ink-muted); margin: 0; font-size: .97rem; }
.section-dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .feature p { color: var(--brand-200); }
.section-dark .feature-icon { background: rgba(116, 175, 198, .15); color: var(--brand-200); }

/* Split rows */
.splits { display: grid; gap: clamp(64px, 9vw, 120px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.is-flipped .split-text { order: 2; }
.split-text p { color: var(--ink-muted); }
.split-text .checks { margin-top: 18px; }

.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.icon-check { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-500); stroke-width: 2.4; }
.checks.two-col { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.section-dark .icon-check { color: var(--brand-300); }

/* Stats / proof strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.strip > div { background: #fff; padding: 24px; }
.strip strong { display: block; font: 700 1.6rem/1.1 var(--font-display); color: var(--brand-800); margin-bottom: 6px; }
.strip span { color: var(--ink-muted); font-size: .93rem; }

/* Integrations */
.int-groups { display: grid; gap: 22px; }
.int-group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.int-group-head { min-width: 0; }
.int-group-head .feature-icon { margin-bottom: 14px; }
.int-group-head .h3 { font-size: 1.25rem; margin-bottom: .45em; overflow-wrap: break-word; hyphens: auto; }
.int-group-head p { color: var(--ink-muted); font-size: .95rem; margin: 0; }
.int-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-content: start; min-width: 0; }
.int-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.int-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.int-item strong { font-family: var(--font-display); color: var(--brand-900); font-weight: 650; line-height: 1.3; }
.int-item .status { margin-bottom: 4px; }
.int-item p { margin: 0; color: var(--ink-muted); font-size: .9rem; line-height: 1.5; }
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--font-sans); letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--success); background: #e7f5ee; }
.status-soon { color: var(--brand-600); background: var(--brand-50); }
.status-request { color: var(--ink-muted); background: #eef1f3; }
.status-progress { color: var(--warning); background: #fdf1e6; }

.hub { display: grid; place-items: center; }
.hub svg { width: 100%; max-width: 560px; height: auto; }
.hub .hub-line { stroke: var(--brand-200); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.hub .hub-node rect { fill: #fff; stroke: var(--line); }
.hub .hub-node text { font: 600 13px var(--font-sans); fill: var(--brand-900); }
.hub .hub-core circle { fill: var(--brand-800); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.price-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.price-card.is-featured { border-color: var(--brand-300); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.35rem; }
.price-card .price { font: 700 1.1rem var(--font-display); color: var(--product); margin-bottom: 18px; }
.price-card .checks { margin-bottom: 26px; flex: 1; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 0; font: 650 1.03rem/1.4 var(--font-display); color: var(--brand-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-500); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); margin: 0 0 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-aside .checks { margin: 22px 0 32px; }
.contact-card { padding: 22px; background: var(--surface); border-radius: var(--radius); }
.contact-card p { margin: 0 0 6px; }
.form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--brand-900); }
.field label small { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(74, 146, 174, .18); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--ink-faint); font-size: .88rem; margin: 14px 0 0; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: #e7f5ee; color: var(--success); }
.alert-err { background: #fdecea; color: var(--danger); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-900), var(--brand-700)); color: #d9e6ec; padding: clamp(56px, 7vw, 88px) 0; }
.cta-k { position: absolute; right: -40px; top: 50%; width: 360px; transform: translateY(-50%); opacity: .07; pointer-events: none; }
.cta-k svg { width: 100%; height: auto; }
.cta-k path { fill: #fff; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: var(--brand-200); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--brand-900); color: var(--brand-200); padding-top: 64px; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { color: #e2eef3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand-footer svg { height: 28px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 650 .8rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-list { font-style: normal; display: grid; gap: 8px; line-height: 1.6; }
.site-footer .muted { color: var(--brand-300); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .88rem; }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bar p { margin: 0; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a[aria-current] { color: #fff; font-weight: 600; }
.site-footer.is-acc, .site-footer.is-acc .footer-bar { background: #b42318; color: #ffe1dd; }

/* 404 */
.notfound { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.notfound .lead { margin: 0 auto 28px; }

/* Reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .features .reveal:nth-child(3n+2), .js-reveal .products .reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal .features .reveal:nth-child(3n), .js-reveal .products .reveal:nth-child(3) { transition-delay: .16s; }
.js-reveal .products .reveal:nth-child(4) { transition-delay: .24s; }

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

/* Responsive */
@media (max-width: 1100px) {
  .hero-float { display: none; }
  .page-hero-shot .shot { transform: none; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 74px 0 0 auto; width: min(400px, 100%);
    background: #fff; border-left: 1px solid var(--line); padding: 20px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .sub { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .has-sub.is-open .sub { display: block; transform: none; }
  .sub-grid { grid-template-columns: 1fr; }
  .nav-cta { display: block; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }
  .header-actions { margin-left: auto; }
  .page-hero.has-shot .page-hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.is-flipped .split-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .int-group { grid-template-columns: 1fr; gap: 20px; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .form-row, .checks.two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .strip { grid-template-columns: 1fr; }
  .brand svg { height: 26px; }
}

/* Legal text (app privacy) */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal ul { list-style: disc; }
.legal h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.legal li { margin-bottom: .5em; }
.legal .contact-card { margin-top: 2.5em; }
.legal-doc p { margin: 0 0 .9em; }
.legal-doc hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.legal-toc { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 2.4em; }
.legal-toc ul { margin: 0; padding: 0; list-style: none; columns: 2 260px; column-gap: 32px; }
.legal-toc li { margin-bottom: .35em; break-inside: avoid; }
.legal-table { overflow-x: auto; margin: 1em 0 1.6em; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .92em; }
.legal-table th, .legal-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { font-weight: 600; color: var(--brand-900); border-bottom-width: 2px; }

/* Printing (and the PDFs of the legal pages, see tools/legal-pdf.mjs): only the content. */
@media print {
  .site-header, .site-footer, .cta-band, .skip, .legal-pdf-link { display: none !important; }
  body { font-size: 10.5pt; background: #fff; }
  .page-hero { padding: 0 0 6mm; background: none; border: 0; }
  .page-hero h1 { font-size: 22pt; }
  .section { padding: 0; }
  .wrap, .legal { max-width: none; padding: 0; }
  .legal-toc { background: none; border: 1px solid var(--line); padding: 4mm 5mm; }
  .legal h2 { break-after: avoid; }
  .legal-table tr, .legal p, .legal li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
