/* =====================================================================
   VSL Landing — "Notion — warm paper notebook under afternoon sun"
   Built on DESIGN.md (Notion system). Warm off-white canvas (#f6f5f4),
   white card surfaces with 1px hairline borders (no shadows on content),
   ink text at varying alpha, a single Notion-blue CTA, and a rotating
   cast of accent hues used only as sparse decorative punctuation.
   Light theme — strictly flat fills, no gradients.
   ===================================================================== */

/* --- Tipografías alojadas localmente (subconjunto latino) — sin peticiones externas --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spacegrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spacegrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/spacegrotesk-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrainsmono-400.woff2') format('woff2'); }

:root {
	/* Colors — Notion (DESIGN.md tokens) */
	--canvas: #f6f5f4;          /* warm off-white page canvas */
	--white: #ffffff;           /* card surfaces */
	--ink: #000000;             /* text base — used at varying alpha */
	--ink-95: rgba(0, 0, 0, 0.95);
	--ink-60: rgba(0, 0, 0, 0.60);
	--ink-40: rgba(0, 0, 0, 0.40);
	--graphite: #615d59;        /* warm body text */
	--stone: #757575;           /* muted helper text */

	--blue: #0075de;            /* single primary CTA / accent */
	--blue-hover: #0068c4;
	--sky-tint: #e6f3fe;        /* ghost states */

	/* rotating accent cast — decorative touches only */
	--marigold: #ffb110;
	--coral: #f64932;
	--sky-wash: #62aef0;
	--midnight: #02093a;

	--hairline: rgba(0, 0, 0, 0.08);
	--hairline-strong: rgba(0, 0, 0, 0.14);

	--error: #d64027;
	--ok: #157a4e;

	/* Typography — Inter (NotionInter stand-in) + Space Grotesk display */
	--font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	/* Layout */
	--page-max: 1280px;

	/* Radius */
	--r-card: 12px;
	--r-input: 8px;
	--r-pill: 9999px;

	/* Elevation — shadows only on nav + video per DESIGN.md */
	--elev-nav: 0px 0.7px 1.462px 0px rgba(0, 0, 0, 0.015), 0px 3px 9px 0px rgba(0, 0, 0, 0.03);
	--elev-video: 0px 4px 12px rgba(0, 0, 0, 0.10);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: normal;
	color: var(--graphite);
	background: var(--canvas);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

/* ------------------------------------------------ Warm-paper backdrop */
.bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: var(--canvas);
}
/* Neutralize the dark abstract overlay set inline — light theme keeps a plain warm canvas */
/* Generated abstract, layered very subtly over the warm canvas (top-anchored) */
.bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--bg-image, none);
	background-size: cover;
	background-position: center top;
	opacity: 0.14;
	mix-blend-mode: multiply;
	-webkit-mask-image: radial-gradient(125% 95% at 50% 0%, #000 42%, transparent 100%);
	mask-image: radial-gradient(125% 95% at 50% 0%, #000 42%, transparent 100%);
}
/* Very faint dot grid — barely-there notebook ruling */
.bg__grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
	background-size: 26px 26px;
	background-position: -13px -13px;
	-webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 45%, transparent 92%);
	mask-image: radial-gradient(120% 100% at 50% 0%, #000 45%, transparent 92%);
}
/* Extremely faint warm tint near the top — replaces the old conic halo */
.bg__halo {
	position: absolute;
	top: 0;
	left: 50%;
	width: 900px;
	height: 420px;
	transform: translateX(-50%);
	background: radial-gradient(60% 100% at 50% 0%, rgba(255, 177, 16, 0.05), transparent 70%);
	opacity: 1;
}

/* --------------------------------------------------------- Top navigation */
.topbar {
	width: 100%;
	position: relative;
	z-index: 3;
	background: var(--white);
	box-shadow: var(--elev-nav);
	border-bottom: 1px solid var(--hairline);
}
.topbar__inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 14px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
}
.wordmark__logo { display: block; height: 32px; width: auto; }
.wordmark__text {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.011em;
	color: var(--ink);
}
/* Ghost pill button (sky-tint secondary) */
.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--sky-tint);
	color: var(--blue);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.pill:hover { background: #d6ecfd; }
.pill:active { transform: translateY(1px); }
.pill--solid {
	background: var(--blue);
	color: var(--white);
}
.pill--solid:hover { background: var(--blue-hover); }

/* ----------------------------------------------------------------- main */
.main {
	flex: 1;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 36px 32px 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Hero eyebrow + headline stack (compact, centered) */
.hero-head {
	text-align: center;
	max-width: 640px;
	margin: 4px auto 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-60);
	padding: 5px 14px;
	border-radius: var(--r-pill);
	background: var(--white);
	border: 1px solid var(--hairline);
}
.hero-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(34px, 6vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--ink);
}
.hero-sub {
	margin: 0;
	max-width: 540px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--graphite);
}

/* Split hero — vídeo (izquierda ~56%) + formulario (derecha ~44%) */
.split {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 56fr 44fr;
	align-items: start;
	gap: 20px;
}

/* Video Plate — vertical (4:5) VSL video (shadow allowed here) */
.video {
	position: relative;
	width: 100%;
	max-height: 78vh;
	aspect-ratio: 4 / 5;
	background: #000;
	border-radius: var(--r-card);
	box-shadow: var(--elev-video);
	overflow: hidden;
}
.video::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.20);
	pointer-events: none;
	z-index: 7;
}
.video__el {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: #000;
}
/* video is black → a dark scrim is allowed on the overlay */
.video__overlay {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.42);
	transition: opacity 0.3s ease, visibility 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}
.video__overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video__play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
}
.video__overlay:hover .video__play { transform: scale(1.06); background: var(--blue-hover); }
.video__play svg { fill: #fff; margin-left: 3px; }
.video__hint { color: #fff; text-align: center; }
.video__hint b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.011em; }
.video__hint span { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

/* Caption — beneath the split, centered */
.caption {
	margin: 24px auto 0;
	max-width: 620px;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink-60);
}

/* ----------------------------------------------------------------- form */
.form-card {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin: 0;
	background: var(--white);
	border: 1px solid var(--hairline);
	border-radius: var(--r-card);
	padding: 28px;
}
/* In the split, the form fills its column */
.split .form-card { max-width: none; }
.form-card__title {
	text-align: left;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
	color: var(--ink);
}
.form-card__sub {
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: var(--graphite);
	margin: 0 0 26px;
}

/* Distintivo informativo bajo el título del formulario (peachy pill) */
.form-badge {
	display: block;
	width: fit-content;
	margin: 10px 0 22px;
	padding: 5px 14px;
	border-radius: var(--r-pill);
	background: var(--marigold);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink);
}

.field { margin-bottom: 18px; }
.field__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: normal;
	color: var(--ink-95);
	margin: 0 0 8px;
}
.field__input {
	width: 100%;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--hairline-strong);
	border-radius: var(--r-input);
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field__input::placeholder { color: var(--ink-40); }
.field__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 117, 222, 0.16); }

/* Grupo de teléfono con prefijo +34 */
.phone-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-radius: var(--r-input);
	background: var(--white);
	border: 1px solid var(--hairline-strong);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.phone-group:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 117, 222, 0.16); }
.phone-prefix {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 13px;
	border-right: 1px solid var(--hairline);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--ink-95);
	background: var(--canvas);
}
.phone-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; display: block; }
.phone-group .field__input { background: transparent; border: 0; border-radius: 0; flex: 1; min-width: 0; }
.phone-group .field__input:focus { box-shadow: none; }

/* Mensajes de validación */
.field__msg {
	display: none;
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--error);
}
.field.has-error .field__msg { display: block; }
.field.has-error .field__input,
.field.has-error .phone-group { border-color: var(--error); box-shadow: none; }
.field.is-valid .field__input,
.field.is-valid .phone-group { border-color: rgba(21, 122, 78, 0.55); }

/* Submit — the single filled blue CTA */
.btn-submit {
	width: 100%;
	height: 50px;
	margin-top: 8px;
	border: 0;
	border-radius: var(--r-input);
	background: var(--blue);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}
.btn-submit:hover { background: var(--blue-hover); }
.btn-submit:active { transform: translateY(1px); }

/* Casilla de consentimiento (RGPD) */
.consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	margin: 4px 0 18px;
	cursor: pointer;
}
.consent__box {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--blue);
	cursor: pointer;
}
.consent__text {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--graphite);
}
.consent__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0, 117, 222, 0.4); }
.consent__msg { grid-column: 1 / -1; margin: 0; }
.consent.has-error .consent__msg { display: block; }
.consent.has-error .consent__box { outline: 2px solid var(--error); outline-offset: 1px; border-radius: 3px; }

.disclaimer {
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ink-60);
	margin: 18px 0 0;
}

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* --------------------------------------------------- Trust — slim inline row */
.trust {
	width: 100%;
	max-width: 1040px;
	margin: 22px auto 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 28px;
}
.trust__item {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	padding: 0;
	text-align: left;
	background: transparent;
	border: 0;
}
.trust__icon {
	width: 28px; height: 28px;
	flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 9999px;
	background: var(--sky-tint);
	color: var(--blue);
}
.trust__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust__label { font-size: 13px; font-weight: 500; color: var(--ink-60); line-height: 1.3; }

/* ------------------------------------------- pantalla de agradecimiento */
.thanks-card {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin: 64px auto 0;
	padding: 40px 32px;
	background: var(--white);
	border: 1px solid var(--hairline);
	border-radius: var(--r-card);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.thanks-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 9999px;
	background: var(--sky-tint);
	color: var(--blue);
}
.thanks-card__icon svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card__title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	color: var(--ink);
}
.thanks-card__text { font-size: 16px; line-height: 1.56; color: var(--graphite); margin: 0; }
.thanks-card__hint { font-size: 14px; line-height: 1.5; color: var(--ink-60); margin: 0; }
.thanks-card .pill { margin-top: 8px; }

/* --------------------------------------------------------------- footer */
.footer {
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 2;
	background: var(--white);
	border-top: 1px solid var(--hairline);
}
.footer__inner {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 56px 32px 32px;
}
/* Top row — 3 tidy columns: brand / legal nav / company data */
.footer__top {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr 1.4fr;
	align-items: start;
	gap: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--hairline);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer__col-title {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-40);
}
.footer__brand { max-width: 34ch; }
.footer__brand-head { display: inline-flex; align-items: center; gap: 10px; }
.footer__brand-logo { height: 30px; width: auto; }
.footer__brand-name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.011em;
	line-height: 1.1;
	color: var(--ink);
}
.footer__brand-tagline { margin: 0; font-size: 14px; font-weight: 400; color: var(--graphite); line-height: 1.55; }
.footer__nav ul { list-style: none; display: flex; flex-direction: column; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.footer__nav a {
	color: var(--ink-60);
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	transition: color 0.18s ease;
}
.footer__nav a:hover { color: var(--ink); }

.company {
	position: relative;
	padding: 0;
	background: transparent;
	border: 0;
	text-align: left;
	align-self: start;
}
.company__name {
	display: block;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.011em;
	line-height: 1.25;
	color: var(--ink);
	margin: 0 0 4px;
}
.company__grid { margin: 0; display: grid; gap: 10px; }
.company__row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; }
.company__row dt {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-60);
}
.company__row dd { margin: 0; font-size: 15px; font-weight: 400; color: var(--ink-95); word-break: break-word; }
.company__row dd a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(0, 117, 222, 0.35); transition: color 0.18s ease; }
.company__row dd a:hover { color: var(--blue-hover); }

.footer__notes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	align-content: start;
	padding: 28px 0 0;
}
.note {
	padding: 20px;
	border-radius: var(--r-card);
	background: var(--canvas);
	border: 1px solid var(--hairline);
	text-align: left;
}
.note__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.011em;
	color: var(--ink);
	margin-bottom: 8px;
}
.note__text { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--graphite); }
.footer__cnmv-link {
	display: inline-flex;
	align-items: center;
	margin-top: 14px;
	padding: 8px 16px;
	border-radius: var(--r-pill);
	background: var(--sky-tint);
	color: var(--blue);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.18s ease;
}
.footer__cnmv-link:hover { background: #d6ecfd; }

.footer__risk {
	margin: 28px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--hairline);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ink-60);
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	padding-top: 28px;
}
.footer__bottom .copyright { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink-95); }
.footer__rights { margin: 0; font-size: 14px; font-weight: 400; color: var(--ink-60); }

/* ------------------------------------------------- aviso de cookies */
.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: none;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 18px 20px;
	background: var(--white);
	border: 1px solid var(--hairline);
	border-radius: var(--r-card);
	box-shadow: var(--elev-nav);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text { flex: 1 1 320px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--graphite); }
.cookie-banner__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0, 117, 222, 0.4); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	color: var(--white);
	background: var(--blue);
	border: 0;
	padding: 11px 22px;
	border-radius: var(--r-input);
	cursor: pointer;
	transition: background 0.18s ease;
}
.cookie-btn:hover { background: var(--blue-hover); }
.cookie-btn--ghost { color: var(--ink-95); background: transparent; border: 1px solid var(--hairline-strong); }
.cookie-btn--ghost:hover { background: var(--canvas); }
@media screen and (max-width: 640px) {
	.cookie-banner__actions { flex: 1 1 100%; }
	.cookie-btn { flex: 1; }
}

/* ------------------------------------------------- modal de contacto */
.modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.42);
	-webkit-tap-highlight-color: transparent;
}
.modal.is-open { display: flex; }
.modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; margin: 0; }
.modal__dialog .form-card { padding-top: 48px; box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.12); }
.modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--hairline);
	border-radius: 50%;
	background: var(--white);
	color: var(--ink-60);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}
.modal__close:hover { background: var(--canvas); color: var(--ink); }

/* ----------------------------------------------------------- responsive */
/* Stack the split (video first, form second) + collapse footer to 2 cols */
@media (max-width: 860px) {
	.split {
		grid-template-columns: 1fr;
		max-width: 520px;
		gap: 20px;
	}
	.video { max-height: 74vh; }
	.form-card { max-width: none; }
	.footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer__brand { grid-column: 1 / -1; max-width: none; }
	.footer__notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.topbar__inner { padding: 12px 16px; }
	.main { padding: 20px 16px 80px; }
	.hero-head { margin-bottom: 24px; }
	.form-card { padding: 24px 20px; }
	.trust { gap: 12px 20px; margin-top: 20px; }
	.footer__inner { padding: 40px 16px 28px; }
	.footer__top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
	.footer__brand { grid-column: auto; }
	.company__row { grid-template-columns: 90px 1fr; }
	.note { padding: 18px; }
}
