/* ==========================================================================
   eSIM DVK – brand tokens + self-hosted fonts
   Mirrors the DVK Design System (tokens/colors.css, spacing.css, typography.css)
   under the edv- prefix. Loaded on every page. Single source of truth.
   ========================================================================== */

:root {
	/* Brand (from the brief) */
	--edv-red: #d6272b;
	--edv-orange: #f0791e;
	--edv-gold: #fdb913;
	--edv-dark: #1c1410;
	--edv-gradient: linear-gradient(90deg, #d6272b 0%, #f0791e 55%, #fdb913 100%);
	--edv-gradient-soft: linear-gradient(135deg, #fbdcd6, #fef0cf);
	--edv-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--edv-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Palette scale (design system) */
	--edv-red-50: #fdf1ef;
	--edv-red-100: #fbdcd6;
	--edv-red-600: #b81f28;
	--edv-red-700: #941a24;
	--edv-orange-100: #fde3cc;
	--edv-orange-300: #f6a768;
	--edv-orange-600: #d3620f;
	--edv-gold-100: #fef0cf;
	--edv-gold-300: #fdd27f;
	--edv-gold-600: #e0a000;
	--edv-blue-100: #dbe9fb;
	--edv-blue-500: #2e7dd1;
	--edv-blue-600: #215fa8;
	--edv-green-100: #dcf3e6;
	--edv-green-500: #16a34a;
	--edv-green-600: #0f7d38;
	--edv-ink-950: #1c1410;
	--edv-ink-900: #241a15;
	--edv-ink-700: #4a3a32;
	--edv-ink-500: #7a6a60;
	--edv-ink-300: #b3a49a;
	--edv-sand-50: #fdfaf6;
	--edv-sand-100: #faf3ea;
	--edv-sand-200: #f3e7d8;
	--edv-sand-300: #e8d5bf;

	/* Semantic */
	--edv-bg: var(--edv-sand-50);
	--edv-surface: #ffffff;
	--edv-surface-sunken: var(--edv-sand-100);
	--edv-surface-warm: var(--edv-sand-200);
	--edv-border: var(--edv-sand-300);
	--edv-border-strong: var(--edv-ink-300);
	--edv-text: var(--edv-ink-950);
	--edv-text-2: var(--edv-ink-700);
	--edv-text-muted: var(--edv-ink-500);
	--edv-primary: var(--edv-orange);
	--edv-primary-hover: var(--edv-orange-600);
	--edv-primary-active: var(--edv-red-600);
	--edv-accent: var(--edv-blue-500);
	--edv-accent-hover: var(--edv-blue-600);
	--edv-success: var(--edv-green-500);
	--edv-success-bg: var(--edv-green-100);
	--edv-warning: var(--edv-gold-600);
	--edv-warning-bg: var(--edv-gold-100);
	--edv-error: var(--edv-red-600);
	--edv-error-bg: var(--edv-red-50);
	--edv-whatsapp: #25d366;
	--edv-whatsapp-dark: #1da851;

	/* Layout */
	--edv-container: 1180px;
	--edv-gutter: 16px;
	--edv-section-y: 64px;

	/* Radii */
	--edv-radius-sm: 8px;
	--edv-radius-md: 12px;
	--edv-radius-lg: 16px;
	--edv-radius-xl: 24px;
	--edv-radius-2xl: 32px;
	--edv-radius-pill: 999px;

	/* Shadows (warm ink, never pure black) */
	--edv-shadow-color: 28, 20, 16;
	--edv-shadow-xs: 0 1px 2px rgba(var(--edv-shadow-color), 0.06);
	--edv-shadow-sm: 0 2px 8px rgba(var(--edv-shadow-color), 0.08);
	--edv-shadow-md: 0 8px 24px rgba(var(--edv-shadow-color), 0.1);
	--edv-shadow-lg: 0 16px 48px rgba(var(--edv-shadow-color), 0.14);
	--edv-shadow-brand: 0 12px 32px -8px rgba(224, 90, 20, 0.35);

	/* Motion */
	--edv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--edv-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--edv-dur-fast: 120ms;
	--edv-dur-normal: 200ms;
	--edv-dur-slow: 340ms;
}

@media (min-width: 768px) {
	:root {
		--edv-gutter: 24px;
		--edv-section-y: 80px;
	}
}

@media (min-width: 1280px) {
	:root {
		--edv-gutter: 32px;
		--edv-section-y: 96px;
	}
}

/* Fonts: self-hosted, only the weights actually used. Files from Fontsource (OFL). */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
}
