/* ============================================================
   Comrido landing — layout, type and motion follow the Vantix "Clinical Obsidian" template.
   Palette is Comrido's: brand navy #10233A, brand magenta #D0006F.
   Magenta stays a stroke / dot / icon / highlight colour (never a filled button);
   --accent is a lighter magenta tint so small text on navy keeps AA contrast.
   ============================================================ */

/* ---------- Fonts (vendored) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-600.ttf") format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("fonts/bricolage-700.ttf") format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-800.ttf") format("truetype"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("fonts/intertight-400.ttf") format("truetype"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("fonts/intertight-500.ttf") format("truetype"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("fonts/intertight-600.ttf") format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrainsmono-400.ttf") format("truetype"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrainsmono-500.ttf") format("truetype"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --brand-navy: #10233a;          /* fixed brand colour, same in both themes */
  --obsidian: #0a1424;            /* page */
  --panel: #10233a;               /* section / card surfaces */
  --slate-surface: #172e4a;       /* raised cards */
  --btn-bg: #ffffff; --btn-fg: #0a1424; --btn-hover-bg: #ff5fa8; --btn-hover-fg: #0a1424;
  --btn-shadow: 0 18px 50px -16px rgba(255, 255, 255, 0.35);
  --pill-bg: #ffffff; --pill-fg: #0a1424;
  --nav-bg: rgba(10, 20, 36, 0.62); --nav-bg-scrolled: rgba(10, 20, 36, 0.86); --nav-inner: rgba(255, 255, 255, 0.04);
  --fade: 16, 35, 58;             /* hero image fade colour (rgb triplet) */
  --chip-bg: rgba(10, 20, 36, 0.72);
  --info-bg: rgba(23, 46, 74, 0.6);
  --alt-bg: #f4f6fb; --alt-ink: #10233a; --alt-muted: #4d5a6c; --alt-line: rgba(16, 35, 58, 0.14); --alt-accent: #d0006f;
  --alt-btn-bg: #10233a; --alt-btn-fg: #ffffff; --alt-btn-hover: #1b3552;
  --card-bg: #f4f6fb; --card-line: transparent; --field-bg: #ffffff;
  --scroll-thumb: #3a4d68;
  --popover-bg: #0f2038;
  --hairline: rgba(160, 178, 200, 0.16);
  --hairline-strong: rgba(160, 178, 200, 0.3);
  --magenta: #d0006f;             /* brand — strokes, dots, icons */
  --accent: #ff5fa8;              /* magenta tint for text/strokes on navy (AA) */
  --accent-deep: #d0006f;
  --ink: #f4f6fb;
  --muted: #aab6c8;
  --dim: #8795aa;
  --light: #f4f6fb;               /* the single light band */
  --light-ink: #10233a;
  --light-muted: #4d5a6c;

  --display: "Bricolage Grotesque", sans-serif;
  --body: "Inter Tight", sans-serif;
  --mono: "JetBrains Mono", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-full: 999px;

  --glow: 0 18px 50px -14px rgba(255, 95, 168, 0.35);
  --shadow-card: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --obsidian: #f6f8fb;
  --panel: #ffffff;
  --slate-surface: #eef2f7;
  --hairline: rgba(16, 35, 58, 0.12);
  --hairline-strong: rgba(16, 35, 58, 0.26);
  --accent: #b0005e;              /* darker magenta tint: AA on white */
  --ink: #10233a;
  --muted: #4d5a6c;
  --dim: #5f6e82;
  --btn-bg: #10233a; --btn-fg: #ffffff; --btn-hover-bg: #1b3552; --btn-hover-fg: #ffffff;
  --btn-shadow: 0 18px 40px -18px rgba(16, 35, 58, 0.55);
  --pill-bg: #10233a; --pill-fg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.7); --nav-bg-scrolled: rgba(255, 255, 255, 0.92); --nav-inner: rgba(16, 35, 58, 0.05);
  --fade: 255, 255, 255;
  --chip-bg: rgba(255, 255, 255, 0.85);
  --info-bg: rgba(255, 255, 255, 0.75);
  --alt-bg: #10233a; --alt-ink: #ffffff; --alt-muted: #c3ccd8; --alt-line: rgba(255, 255, 255, 0.16); --alt-accent: #ff5fa8;
  --alt-btn-bg: #ffffff; --alt-btn-fg: #10233a; --alt-btn-hover: #e8edf3;
  --card-bg: #ffffff; --card-line: rgba(16, 35, 58, 0.1); --field-bg: #f6f8fb;
  --scroll-thumb: #b9c4d3;
  --popover-bg: #ffffff;
  --glow: 0 18px 40px -18px rgba(176, 0, 94, 0.4);
  --shadow-card: 0 30px 60px -32px rgba(16, 35, 58, 0.4);
}
:root[data-theme="light"] .cap-card.invert { --ink: #ffffff; --muted: #c3ccd8; --accent: #ff5fa8; --hairline: rgba(255, 255, 255, 0.16); background: #10233a; border-color: #10233a; }
:root[data-theme="light"] .cap-card.invert:hover { border-color: rgba(255, 95, 168, 0.6); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--body); background: var(--obsidian); color: var(--ink); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.form-card :focus-visible { outline-color: var(--magenta); }
.band--light :focus-visible, .rapid :focus-visible { outline-color: var(--alt-accent); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 2px solid var(--obsidian); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: var(--accent); color: var(--obsidian); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--brand-navy); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Shared atoms */
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.band--light .eyebrow { color: var(--alt-accent); }
.band--light .eyebrow::before { background: var(--alt-accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 14px; border-radius: var(--r-full); border: none; cursor: pointer; padding: 16px 30px; transition: all 0.35s var(--ease); white-space: nowrap; }
.btn-accent { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--btn-shadow); }
.btn-accent:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-accent.is-active { box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px var(--accent), var(--glow); }
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-ghost-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink); transition: color 0.3s ease; }
.btn-ghost-link svg { transition: transform 0.3s ease; }
.btn-ghost-link:hover { color: var(--accent); }
.btn-ghost-link:hover svg { transform: translateX(5px); }

/* Photography stays in full colour in both themes; only a gentle zoom on hover where it applies */
.photo { transition: transform 0.9s var(--ease); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Header: floating capsule, always on top ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 20px 0; pointer-events: none; transition: padding 0.5s var(--ease); }
.nav { pointer-events: auto; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 10px 12px 10px 20px; border-radius: var(--r-full); background: var(--nav-bg); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--hairline); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, padding 0.5s var(--ease); }
.header.scrolled { padding-top: 10px; }
.header.scrolled .nav { background: var(--nav-bg-scrolled); border-color: var(--hairline-strong); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9); padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; justify-self: start; }
.logo--on-light { display: none; }
:root[data-theme="light"] .logo--on-dark { display: none; }
:root[data-theme="light"] .logo--on-light { display: block; }

.nav-links { justify-self: center; position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-full); background: var(--nav-inner); border: 1px solid var(--hairline); }
.nav-links a { position: relative; z-index: 1; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: var(--r-full); transition: color 0.3s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--pill-fg); }
.nav-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--r-full); background: var(--pill-bg); box-shadow: 0 8px 22px -10px rgba(120, 130, 150, 0.5); opacity: 0; transform: translateX(0); transition: transform 0.55s var(--ease), width 0.55s var(--ease), opacity 0.3s ease; }
.nav-pill.on { opacity: 1; }
.nav-links:not(.ready) .nav-pill { transition: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: var(--r-full); color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; transition: color 0.25s, border-color 0.25s, background 0.25s; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--ink); border-color: var(--hairline-strong); background: var(--nav-inner); }
.lang-chev { transition: transform 0.35s var(--ease); }
.lang-menu[open] .lang-chev { transform: rotate(180deg); }
.lang-menu .lang-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 188px; padding: 6px; background: var(--popover-bg); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); box-shadow: var(--shadow-card); animation: pop-in 0.3s var(--ease); transform-origin: top right; z-index: 5; }
.lang-list { display: flex; flex-direction: column; gap: 2px; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--muted); transition: background 0.2s, color 0.2s; }
.lang-list a:hover { background: var(--nav-inner); color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--ink); }
.lang-check { color: var(--accent); }
.theme-toggle { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline); background: transparent; color: var(--muted); cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.5s var(--ease); }
.theme-toggle:hover { color: var(--ink); border-color: var(--hairline-strong); background: var(--nav-inner); }
.theme-toggle:active { transform: rotate(25deg) scale(0.94); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.rapid-pill { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(255, 95, 168, 0.4); border-radius: var(--r-full); padding: 9px 14px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.blip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.8s infinite; }
.burger { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }

/* Mobile overlay */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--obsidian); padding: 20px 24px 28px; display: none; flex-direction: column; }
.mobile-menu.open { display: flex; animation: menu-in 0.5s var(--ease); }
.mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.icon-btn { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.mobile-links { display: flex; flex-direction: column; gap: 24px; }
.mobile-links a { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
.mobile-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--hairline); display: grid; gap: 18px; }
.mobile-foot .btn { width: 100%; }
.m-lang .m-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 8px; }
.lang-list--open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lang-list--open a { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 12px 16px; }
.lang-list--open a[aria-current="true"] { background: var(--nav-inner); border-color: var(--hairline-strong); }
.m-theme { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 104px 24px 56px; }
.hero-panel { position: relative; max-width: var(--maxw); margin: 0 auto; min-height: 640px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); background: var(--panel); display: flex; align-items: stretch; }
.hero-media { position: absolute; inset: 0; background: var(--panel); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(var(--fade), 0.97) 0%, rgba(var(--fade), 0.92) 30%, rgba(var(--fade), 0.55) 52%, rgba(var(--fade), 0) 75%), linear-gradient(to top, rgba(var(--fade), 0.45), transparent 35%); pointer-events: none; }
.tele-chip { position: absolute; right: 18px; bottom: 18px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--chip-bg); backdrop-filter: blur(6px); border: 1px solid var(--hairline-strong); border-radius: var(--r-full); padding: 8px 13px; display: inline-flex; align-items: center; gap: 8px; }
.tele-chip .blip { background: var(--accent); animation-duration: 1.6s; }
.hero-content { position: relative; z-index: 1; width: min(100%, 640px); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 500px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 4px; }
.metrics { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--hairline); }
.metric .num { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; color: var(--ink); display: block; }
.metric .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }

/* ---------- Beta strip (the template's rapid-response band, as the one light band edge) ---------- */
.rapid { background: var(--alt-bg); color: var(--alt-ink); }
.rapid .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; padding-top: 24px; padding-bottom: 24px; }
.rapid-left { display: flex; align-items: center; gap: 18px; max-width: 78ch; }
.ring { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: color-mix(in srgb, var(--alt-accent) 16%, transparent); color: var(--alt-accent); display: grid; place-items: center; position: relative; }
.ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--alt-accent); animation: ring-pulse 2.2s ease-out infinite; }
.rapid-left small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--alt-muted); display: block; margin-bottom: 2px; }
.rapid-left strong { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3; display: block; }
.pill-dark { background: var(--alt-btn-bg); color: var(--alt-btn-fg); border-radius: var(--r-full); padding: 14px 26px; font-weight: 600; font-size: 14px; transition: all 0.3s var(--ease); white-space: nowrap; }
.pill-dark:hover { background: var(--alt-btn-hover); transform: translateY(-2px); }

/* ---------- Sections ---------- */
section.band { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
h2 .it { font-style: italic; font-weight: 600; color: var(--accent); }
.sec-head h2 { max-width: 640px; }
.sec-head p { color: var(--muted); max-width: 360px; font-size: 15px; }
.sec-head .eyebrow, .eyebrow + h2, .eyebrow + .plat-h2 { margin-bottom: 18px; }
.eyebrow + h2 { margin-top: 18px; }
.sec-head .eyebrow { margin-bottom: 0; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 54ch; margin-top: 20px; }

/* Explainer film: the player scales itself to a 16:10 frame (picture + control bar). */
.film-embed { display: block; width: 90%; margin-inline: auto; aspect-ratio: 16 / 10; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.film .wrap { container-type: inline-size; }
/* At 700px or less the player wraps its control strip under the picture and reserves 120px for it; below 778px (700 / 0.9) the frame goes full width so it never lands there in a 16:10 box. */
@container (max-width: 778px) { .film-embed { width: 100%; aspect-ratio: auto; height: calc(100cqi * 1000 / 1640 + 124px); border-radius: var(--r-md); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap-card { color: var(--ink); background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 32px; transition: all 0.5s var(--ease); display: flex; flex-direction: column; }
.cap-card.invert { background: var(--obsidian); border-color: rgba(255, 95, 168, 0.28); }
.cap-card:hover { transform: translateY(-6px); border-color: rgba(255, 95, 168, 0.55); box-shadow: var(--shadow-card); }
.cap-top { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.cap-idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.cap-top .tick { flex: 1; height: 1px; background: var(--hairline-strong); }
.cap-arrow { color: var(--accent); transition: transform 0.4s; }
.cap-card:hover .cap-arrow { transform: rotate(45deg); }
.cap-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.cap-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; flex: 1; }
/* Step illustrations are 5:4 with empty margins above and below the art. A 3:2 frame trims only those margins,
   so every figure, phone and skyline stays whole at any card width. The art never moves: the card's lift is the hover. */
.cap-card .thumb { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3 / 2; background: #eef2f7; }
.cap-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

/* Platform */
.platform { background: var(--panel); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.plat-h2 { margin-top: 18px; }
.feat-list { display: flex; flex-direction: column; gap: 30px; margin-top: 36px; }
.feat { display: flex; gap: 22px; align-items: flex-start; }
.fi { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--accent); flex: none; min-width: 36px; }
.feat h4 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; }
.platform-img { position: relative; }
.platform-img .halo { position: absolute; inset: -40px; background: radial-gradient(circle at 50% 40%, rgba(255, 95, 168, 0.2), transparent 65%); filter: blur(40px); }
.platform-img .frame { position: relative; z-index: 1; border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.platform-img .frame img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 40%; }
.phone-float { position: absolute; z-index: 2; left: -36px; bottom: -28px; width: 168px; aspect-ratio: 640 / 1388; border-radius: 26px; border: 6px solid #07101d; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.8); transition: transform 0.7s var(--ease); }
.platform-img:hover .phone-float { transform: translateY(-8px) rotate(-1.5deg); }
.phone-float img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* People */
.specialists { background: var(--obsidian); }
.spec-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.spec-head .eyebrow { justify-content: center; }
.spec-head p { color: var(--muted); margin: 18px auto 0; font-size: 15px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.spec-card .pf { position: relative; height: 380px; border-radius: var(--r-md); overflow: hidden; background: var(--panel); margin-bottom: 18px; border: 1px solid var(--hairline); }
.spec-card .pf img { width: 100%; height: 100%; object-fit: cover; }
.spec-card:hover .pf img { transform: scale(1.08); }
.spec-card .ex { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; background: var(--chip-bg); border: 1px solid var(--hairline-strong); border-radius: var(--r-full); padding: 5px 10px; color: var(--ink); }
.spec-card h4 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.spec-card .role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-top: 5px; }

/* Privacy — the template's single light band */
.band--light { background: var(--alt-bg); color: var(--alt-ink); }
.band--light .lead { color: var(--alt-muted); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.art--privacy { margin-top: 40px; max-width: 520px; width: 100%; }
.privacy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 30px 0; border-top: 1px solid var(--alt-line); }
.privacy-list li:first-child { padding-top: 0; border-top: 0; }
.band--light .fi { color: var(--alt-accent); }
.privacy-list h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.privacy-list p { color: var(--alt-muted); font-size: 15px; }

/* Employers */
.employers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.employers-grid .btn { margin-top: 32px; }
.employers-side { display: grid; gap: 32px; }
.emp-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-card); }
.emp-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.checks li { position: relative; padding: 20px 0 20px 40px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 15px; }
.checks li:first-child { border-top: 0; padding-top: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border: 1.5px solid var(--accent); border-radius: 50%; background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5FA8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.checks li:first-child::before { top: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; transition: color 0.3s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 60ch; font-size: 15px; }

/* Join / consult */
.consult { background: var(--obsidian); position: relative; overflow: hidden; }
.consult::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255, 95, 168, 0.12), transparent 45%), radial-gradient(circle at 90% 90%, rgba(120, 150, 200, 0.12), transparent 50%); }
.consult .wrap { position: relative; z-index: 1; }
.consult-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 64px; align-items: stretch; }
.consult-left { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.consult-left .eyebrow { align-self: flex-start; }
.consult-left h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.05; }
.consult-left p { color: var(--muted); max-width: 420px; font-size: 16px; }
.info-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 12px; }
.info-tile { background: var(--info-bg); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 22px; }
.info-tile small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.info-tile strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.info-tile a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.form-card { background: var(--card-bg); border: 1px solid var(--card-line); color: var(--brand-navy); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-card); }
.form-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #566275; display: block; margin-bottom: 8px; font-weight: 500; }
.field input, .field select { width: 100%; background: var(--field-bg); border: 1px solid rgba(16, 35, 58, 0.14); border-radius: var(--r-sm); padding: 13px 15px; font-size: 15px; color: var(--brand-navy); transition: border-color 0.25s, box-shadow 0.25s; }
.field input:hover, .field select:hover { border-color: rgba(16, 35, 58, 0.3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(208, 0, 111, 0.14); }
.field input[aria-invalid="true"] { border-color: #b42318; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13px; color: #4d5a6c; margin: 4px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand-navy); }
.consent a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--magenta); }
.submit-btn { width: 100%; padding: 17px; background: var(--brand-navy); color: #fff; border: none; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.3s, transform 0.3s var(--ease); }
.submit-btn:hover { background: #1f4468; transform: translateY(-2px); }
.submit-btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.4em; margin-top: 14px; font-size: 14px; font-weight: 500; }
.form-status.ok { color: #197b48; }
.form-status.err { color: #b42318; }
.form-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #566275; text-align: center; margin-top: 8px; }

/* Footer */
.footer { background: var(--obsidian); border-top: 1px solid var(--hairline); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 64px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; max-width: 280px; margin-top: 12px; }
.foot-brand .foot-tag { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1rem; margin-top: 18px; }
.foot-col h2 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; line-height: 1.4; }
.foot-col ul { display: flex; flex-direction: column; gap: 14px; }
.foot-col a, .foot-col li { color: var(--muted); font-size: 13.5px; transition: color 0.25s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { padding-top: 28px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot-bottom span, .foot-bottom a { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.foot-bottom a:hover { color: var(--accent); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 24px 96px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin: 4px 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal .todo { background: var(--panel); border: 1px solid var(--hairline-strong); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; margin-bottom: 28px; color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 28px; font-weight: 600; }
.legal mark { background: rgba(255, 95, 168, 0.2); color: var(--ink); padding: 0 4px; border-radius: 3px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.scale { transform: scale(0.95); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes ring-pulse { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

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

/* ---------- Responsive ---------- */
/* The bar's "Public beta" pill pushed the call-to-action out of the bar in German and French (the nav is capped at --maxw);
   the hero chip and the beta strip already say it. */
.nav .rapid-pill { display: none; }
/* Five section links plus the longer German and French labels need about 1280px; below that the bar collapses into the menu. */
@media (max-width: 1279px) {
  .nav { grid-template-columns: 1fr auto; padding-left: 16px; }
  .nav-links, .nav-actions .lang-menu, .nav-actions .theme-toggle { display: none; }
  .burger { display: block; }
}
@media (max-width: 1023px) {
  .hero { padding-top: 92px; }
  .hero-panel { flex-direction: column; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 400px; }
  .hero-media::after { background: linear-gradient(to top, rgba(var(--fade), 1), transparent 60%); }
  .hero-media img { object-position: 85% 40%; }
  .tele-chip { right: auto; left: 18px; }
  .hero-content { width: 100%; }
  .platform-grid, .privacy-grid, .employers-grid, .faq-grid, .consult-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .platform-img .frame img { height: 460px; }
  .phone-float { left: 12px; bottom: -22px; }
}
@media (max-width: 639px) {
  .wrap { padding: 0 20px; }
  .header { padding: 10px 12px 0; }
  .nav-actions .btn { display: none; }
  .hero { padding: 80px 12px 40px; }
  .hero-media { height: 250px; }
  .eyebrow { letter-spacing: 0.16em; }
  .cards { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .spec-card .pf { height: 220px; }
  .form-row, .info-tiles { grid-template-columns: 1fr; }
  .metrics { gap: 22px; }
  .metric { min-width: 40%; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-ctas .btn { width: 100%; }
  .rapid .pill-dark { width: 100%; text-align: center; }
  .platform-img .frame img { height: 400px; }
  .phone-float { width: 132px; left: 8px; }
}

/* Gentle cross-fade when the theme is switched */
body, .hero-panel, .platform, .specialists, .band--light, .rapid, .consult, .footer, .form-card, .info-tile { transition-property: background-color, color, border-color; transition-duration: 0.4s; }

/* Header logo: 40% larger (34px -> 48px mark, 22px -> 31px wordmark) */
.header .brand, .mobile-top .brand { font-size: 31px; gap: 12px; }
.header .brand img, .mobile-top .brand img { width: 48px; height: 48px; }
@media (max-width: 639px) {
  .header .brand { font-size: 28px; }
  .header .brand img { width: 44px; height: 44px; }
}


/* Honeypot: invisible to people, filled in by form bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
