/*
 * CSS Modernizer
 *   Input:          6 rules
 *   Passes:         2 (converged)
 *   Max nest depth: 0
 *   Compacted:      2 single-declaration rules
 */

/* ==========================================================================
   Cybernetic Nordic - token layer
   ebg atmospheric ground + Creote kinetic craft, editorial tri-typeface.
   Line 1 declares the cascade order so the parent framework layer is pinned
   below every project layer before any rule is parsed.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted typefaces
   Every file below was verified for Greek coverage (U+0370-03FF) and, where
   the family ships it, Greek Extended (U+1F00-1FFF). See the specimen page
   cascade audit panel for the recorded coverage numbers.
   -------------------------------------------------------------------------- */

/* Literata - display (variable weight 200..900, optical size axis) */

/* Manrope - body and UI (variable weight 200..800) */

/* Noto Sans Mono - eyebrows, telemetry, metadata (400 / 600) */

@layer reset, wp-core, plugins, framework, theme-parent, theme, base, layout, components, utilities, overrides;

@layer theme {
	:root {
		/* --- typefaces ------------------------------------------------------ */
		/* Re-anchored to the reference on 2026-10-30: ebg headings are a bold
       grotesque, not a display serif. Literata stays declared for editorial
       accents (pull quotes) only and is not assigned to any heading role. */
		--font-display: "Manrope", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
		--font-sans: "Manrope", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
		--font-editorial: "Literata", "Noto Serif", Georgia, serif;
		--font-mono: "Noto Sans Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", monospace;

		/* --- proportional font scale (px -> rem @ 16px root, zero clamping) --- */
		--fs-10: 0.625rem;
		--fs-10h: 0.65625rem;
		--fs-11: 0.6875rem;
		--fs-11h: 0.71875rem;
		--fs-12: 0.75rem;
		--fs-12h: 0.78125rem;
		--fs-13: 0.8125rem;
		--fs-13h: 0.84375rem;
		--fs-14: 0.875rem;
		--fs-14h: 0.90625rem;
		--fs-15: 0.9375rem;
		--fs-15h: 0.96875rem;
		--fs-16: 1rem;
		--fs-16h: 1.03125rem;
		--fs-17: 1.0625rem;
		--fs-17h: 1.09375rem;
		--fs-18: 1.125rem;
		--fs-18h: 1.15625rem;
		--fs-19: 1.1875rem;
		--fs-19h: 1.21875rem;
		--fs-20: 1.25rem;
		--fs-20h: 1.28125rem;
		--fs-21: 1.3125rem;
		--fs-21h: 1.34375rem;
		--fs-22: 1.375rem;
		--fs-22h: 1.40625rem;
		--fs-23: 1.4375rem;
		--fs-23h: 1.46875rem;
		--fs-24: 1.5rem;
		--fs-24h: 1.53125rem;
		--fs-25: 1.5625rem;
		--fs-25h: 1.59375rem;
		--fs-26: 1.625rem;
		--fs-26h: 1.65625rem;
		--fs-27: 1.6875rem;
		--fs-27h: 1.71875rem;
		--fs-28: 1.75rem;
		--fs-28h: 1.78125rem;
		--fs-29: 1.8125rem;
		--fs-29h: 1.84375rem;
		--fs-30: 1.875rem;
		--fs-30h: 1.90625rem;
		--fs-31: 1.9375rem;
		--fs-31h: 1.96875rem;
		--fs-32: 2rem;
		--fs-34: 2.125rem;
		--fs-36: 2.25rem;
		--fs-38: 2.375rem;
		--fs-40: 2.5rem;
		--fs-44: 2.75rem;
		--fs-48: 3rem;
		--fs-52: 3.25rem;
		--fs-56: 3.5rem;
		--fs-60: 3.75rem;
		--fs-64: 4rem;
		--fs-72: 4.5rem;
		--fs-80: 5rem;
		--fs-96: 6rem;
		--fs-112: 7rem;
		--fs-128: 8rem;
		--fs-144: 9rem;
		--fs-160: 10rem;

		/* --- semantic type scale (zero clamp, accessible discrete rems) --- */
		--text-xs: var(--fs-12);
		--text-sm: var(--fs-14);
		--text-base: var(--fs-16);
		--text-lg: var(--fs-18);
		--text-xl: var(--fs-22);
		--text-2xl: var(--fs-26);
		--text-3xl: var(--fs-30);
		--text-display: var(--fs-32);
		--text-mega: var(--fs-48);
		--text-wordmark: var(--fs-64);

		/* --- vertical rhythm ------------------------------------------------- */
		--lh-display: 1.08;
		--lh-heading: 1.18;
		--lh-body: 1.62;
		--lh-tight: 1.3;
		--tr-display: -.025em;
		--tr-heading: -.018em;
		--tr-body: 0;
		--tr-eyebrow: .11em;

		/* --- spacing --------------------------------------------------------- */
		--space-3xs: .25rem;
		--space-2xs: .5rem;
		--space-xs: .75rem;
		--space-s: 1rem;
		--space-m: 1.5rem;
		--space-l: 2rem;
		--space-xl: 3rem;
		--space-2xl: 4rem;
		--space-3xl: 6rem;
		--space-4xl: 8rem;
		--space-5xl: 12rem;
		--section-py: clamp(4.5rem, 8vw, 9rem);
		--section-py-sm: clamp(3rem, 5vw, 5rem);

		/* --- radii: architectural, no bubbles above 12px except pills -------- */
		--radius-xs: 4px;
		--radius-sm: 8px;
		--radius-md: 12px;
		--radius-pill: 999px;

		/* --- motion ---------------------------------------------------------- */
		--ease-snap: cubic-bezier(.16, 1, .3, 1);
		--dur-fast: 160ms;
		--dur-base: 280ms;
		--dur-slow: 650ms;

		/* --- layout ---------------------------------------------------------- */
		--container: 1440px;
		--container-wide: 1440px;
		--measure: 68ch;
		--gutter: clamp(1.25rem, 4vw, 2.5rem);
		--grid-hero: minmax(0, 1.15fr) minmax(0, .85fr);
		--grid-faq: minmax(0, .9fr) minmax(0, 1.1fr);

		/* --- accent primitives (immutable channel triplets) ----------------- */
		--ebg-accent-rgb: 20, 110, 110; /* was 30, 138, 138 (4.15:1 under white text); 2026-11-11: 6.0:1 */
		--ebg-accent-bright-rgb: 0, 187, 166;
		--ebg-danger: #A32B2B;
		--ebg-danger-subtle: rgba(163, 43, 43, .1);
	}
	/* --- light mode palette (default) ----------------------------------- */
	:root,
	[data-theme="light"] {
		color-scheme: light;

		/* --- surfaces: sampled from the reference screenshots (v6 W1) -------- */
		--ebg-surface-0: #ECF0F0;
		--ebg-surface-1: #FFFFFF;
		--ebg-surface-2: #FFFFFF;
		--ebg-surface-3: #D8E5E5;
		--ebg-surface-anchor: #0C1E21;
		--ebg-surface-anchor-2: #14282C;
		--ebg-surface-anchor-rgb: 12, 30, 33;
		--ebg-surface-dark: #0C1E21;
		--ebg-on-dark-1: #FFFFFF;

		/* --- ink ------------------------------------------------------------ */
		--ebg-ink-rgb: 12, 30, 33;
		--ebg-ink: #0C1E21;
		--ebg-ink-2: #364E52;
		--ebg-ink-3: #67787A;
		--ebg-on-dark: #F2F7F7;
		--ebg-on-dark-2: #A9B8B8;
		--ebg-on-accent: #FFFFFF;
		--ebg-on-accent-2: rgba(255, 255, 255, .88);

		/* --- accent --------------------------------------------------------- */
		--ebg-accent: rgb(var(--ebg-accent-rgb));
		--ebg-accent-bright: rgb(var(--ebg-accent-bright-rgb));
		--ebg-accent-subtle: rgba(var(--ebg-accent-rgb), .08);
		--ebg-accent-ring: rgba(var(--ebg-accent-rgb), .28);

		/* --- borders -------------------------------------------------------- */
		--ebg-hairline: rgba(12, 30, 33, .08);
		--ebg-border-strong: rgba(12, 30, 33, .16);
		--ebg-rim: rgba(255, 255, 255, .15);
		--ebg-rim-highlight: rgba(255, 255, 255, .28);

		/* --- glass & overlays ----------------------------------------------- */
		--ebg-glass-fill: rgba(255, 255, 255, .08);
		--ebg-glass-fill-hover: rgba(255, 255, 255, .12);
		--ebg-glass-fill-subtle: rgba(255, 255, 255, .05);
		--ebg-glass-chip: rgba(255, 255, 255, .20);
		--ebg-backdrop-modal: rgba(12, 30, 33, 0.75);
		--ebg-backdrop-subtle: rgba(12, 30, 33, 0.40);
		--ebg-line-texture-dark: rgba(255, 255, 255, .035);
		--ebg-line-texture-light: rgba(12, 30, 33, .035);

		/* --- ambient blooms & glows ----------------------------------------- */
		--ebg-bloom-top: rgba(var(--ebg-accent-bright-rgb), .20);
		--ebg-bloom-bottom: rgba(var(--ebg-accent-rgb), .22);
		--ebg-footer-bloom-top: rgba(var(--ebg-accent-rgb), .18);
		--ebg-footer-bloom-bottom: rgba(var(--ebg-accent-bright-rgb), .12);
		--ebg-accent-border-glow: rgba(var(--ebg-accent-rgb), .40);
		--ebg-step-num-color: rgba(var(--ebg-accent-rgb), .50);
		--ebg-step-num-gradient: rgba(var(--ebg-accent-rgb), .75);

		/* --- shadows & light ------------------------------------------------- */
		--shadow-sm: 0 1px 2px rgba(12, 30, 33, .04);
		--shadow-md: 0 8px 24px rgba(12, 30, 33, .06);
		--shadow-lg: 0 24px 60px rgba(12, 30, 33, .10);
		--shadow-glow: 0 0 0 1px var(--ebg-accent-ring);

		/* aliases kept so surface-tier prose maps onto real tokens */
		--ebg-shadow-sm: var(--shadow-sm);
		--ebg-shadow-md: var(--shadow-md);
		--ebg-shadow-lg: var(--shadow-lg);
		--ebg-shadow-glow: var(--shadow-glow);

		/* --- semantic indirection -------------------------------------------
       WP global styles print elements.heading/body/link colours as
       unlayered rules. They resolve through these properties so a dark
       section can retarget them without touching the unlayered rule and
       without an importance flag. See inc/parent-cascade.php for the layer
       rationale. */
		--ebg-heading-ink: var(--ebg-ink);
		--ebg-body-ink: var(--ebg-ink-2);
		--ebg-link-ink: var(--ebg-accent);
		/* Only prose links read as underlined; navigation and logotypes opt out
       by inheriting none and re-enabling it locally. */
		--ebg-link-decoration: none;
		--ebg-meta-ink: var(--ebg-ink-3);
	}
	/* --- dark mode palette ----------------------------------------------- */
	[data-theme="dark"] {
		color-scheme: dark;

		/* surfaces: refined dark slate/charcoal step hierarchy */
		--ebg-surface-0: #0C1214;
		--ebg-surface-1: #141C1E;
		--ebg-surface-2: #1B2427;
		--ebg-surface-3: #101618;
		--ebg-surface-anchor: #070B0C;
		--ebg-surface-anchor-2: #0E1416;
		--ebg-surface-anchor-rgb: 7, 11, 12;
		--ebg-surface-dark: #070B0C;
		--ebg-on-dark-1: #FFFFFF;

		/* ink */
		--ebg-ink-rgb: 240, 245, 245;
		--ebg-ink: #F0F5F5;
		--ebg-ink-2: #B0C0C2;
		--ebg-ink-3: #758789;
		--ebg-on-dark: #F0F5F5;
		--ebg-on-dark-2: #B0C0C2;
		--ebg-on-accent: #FFFFFF;
		--ebg-on-accent-2: rgba(255, 255, 255, .88);

		/* accent on dark */
		--ebg-accent: rgb(var(--ebg-accent-bright-rgb));
		--ebg-accent-bright: rgb(var(--ebg-accent-bright-rgb));
		--ebg-accent-subtle: rgba(var(--ebg-accent-bright-rgb), .12);
		--ebg-accent-ring: rgba(var(--ebg-accent-bright-rgb), .35);

		/* borders & rims */
		--ebg-hairline: rgba(255, 255, 255, .08);
		--ebg-border-strong: rgba(255, 255, 255, .16);
		--ebg-rim: rgba(255, 255, 255, .18);
		--ebg-rim-highlight: rgba(255, 255, 255, .32);

		/* glass & overlays */
		--ebg-glass-fill: rgba(255, 255, 255, .06);
		--ebg-glass-fill-hover: rgba(255, 255, 255, .10);
		--ebg-glass-fill-subtle: rgba(255, 255, 255, .04);
		--ebg-glass-chip: rgba(255, 255, 255, .16);
		--ebg-backdrop-modal: rgba(4, 7, 8, 0.85);
		--ebg-backdrop-subtle: rgba(4, 7, 8, 0.55);
		--ebg-line-texture-dark: rgba(255, 255, 255, .035);
		--ebg-line-texture-light: rgba(255, 255, 255, .035);

		/* ambient blooms & glows */
		--ebg-bloom-top: rgba(var(--ebg-accent-bright-rgb), .18);
		--ebg-bloom-bottom: rgba(var(--ebg-accent-rgb), .20);
		--ebg-footer-bloom-top: rgba(var(--ebg-accent-rgb), .16);
		--ebg-footer-bloom-bottom: rgba(var(--ebg-accent-bright-rgb), .10);
		--ebg-accent-border-glow: rgba(var(--ebg-accent-bright-rgb), .45);
		--ebg-step-num-color: rgba(var(--ebg-accent-bright-rgb), .55);
		--ebg-step-num-gradient: rgba(var(--ebg-accent-bright-rgb), .80);

		/* shadows */
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
		--shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
		--shadow-glow: 0 0 0 1px var(--ebg-accent-ring);
		--ebg-shadow-sm: var(--shadow-sm);
		--ebg-shadow-md: var(--shadow-md);
		--ebg-shadow-lg: var(--shadow-lg);
		--ebg-shadow-glow: var(--shadow-glow);

		/* semantic indirection */
		--ebg-heading-ink: var(--ebg-ink);
		--ebg-body-ink: var(--ebg-ink-2);
		--ebg-link-ink: var(--ebg-accent-bright);
		--ebg-link-decoration: none;
		--ebg-meta-ink: var(--ebg-ink-3);
	}
	/* --- responsive type scaling via discrete media queries (zero clamping) --- */
	@media (min-width: 768px) {
		:root { --text-wordmark: var(--fs-96); }
	}
	@media (min-width: 992px) {
		:root {
			--text-3xl: var(--fs-36);
			--text-display: var(--fs-48);
			--text-mega: var(--fs-64);
			--text-wordmark: var(--fs-128);
		}
	}
	@media (min-width: 1400px) {
		:root { --text-wordmark: var(--fs-160); }
	}
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-normal-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-normal-greek.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-italic-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-italic-greek.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata/Literata-italic-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/Manrope-normal-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/Manrope-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope/Manrope-normal-greek.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: "Noto Sans Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-mono/noto-sans-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/noto-sans-mono/noto-sans-mono-600.woff2") format("woff2");
}

