/* CoreLayer Personnel - layout from Figma frame 13:500 */

/* ---------- Fonts (Plus Jakarta Sans, SIL OFL 1.1, self-hosted) ---------- */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@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'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
    --bg: #050e21;
    --bg-deep: #030814;
    --sky: #38bdf8;
    --sky-soft: #7dd3fc;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --text: #ffffff;
    --text-soft: #dbeafe;
    --text-muted: #bfdbfe;
    --text-faint: #93c5fd;
    --text-pale: #e0f2fe;
    --line: rgba(56, 189, 248, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image: linear-gradient(180deg, #050e21 0%, #081836 26%, #0c234d 52%, #081733 78%, #040b1a 100%);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
img { display: block; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sky { padding: 11px 22px; border: 1px solid rgba(186, 230, 253, 0.35); border-radius: 10px; background: linear-gradient(134deg, #38bdf8 0%, #2563eb 100%); color: #fff; font-size: 14px; line-height: 21px; font-weight: 700; }
.btn-white { padding: 16px 32px; border-radius: 12px; background: #fff; color: #061329; font-size: 16px; line-height: 24px; font-weight: 800; box-shadow: 0 12px 12px rgba(6, 19, 41, 0.25); }

/* ---------- Top bar ---------- */
.top-bar { background: rgba(4, 11, 26, 0.85); border-bottom: 1px solid var(--line); padding: 8px 0; }
.top-bar-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text-faint); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 14, 33, 0.75); border-bottom: 1px solid rgba(56, 189, 248, 0.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-name { display: block; font-size: 20px; line-height: 22px; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; }
.logo-name span { font-weight: 600; color: var(--sky); }
.logo-tagline { display: block; padding-top: 1px; font-size: 11px; line-height: 16.5px; font-weight: 600; letter-spacing: 0.55px; text-transform: uppercase; color: var(--sky-soft); }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a { font-size: 14px; line-height: 21px; font-weight: 600; color: var(--text-soft); transition: color .15s ease; }
.header-nav a:hover { color: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 8px; background: rgba(56, 189, 248, 0.12); }
.lang-switch button { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--sky-soft); font-size: 12px; line-height: 18px; font-weight: 700; cursor: pointer; }
.lang-switch button.active { background: rgba(56, 189, 248, 0.28); color: #fff; }
.menu-btn { display: none; position: relative; width: 40px; height: 40px; border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 10px; background: rgba(56, 189, 248, 0.12); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span { top: 50%; margin-top: -1px; }
.menu-btn span::before, .menu-btn span::after { content: ''; left: 0; margin-left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn.active span { background: transparent; }
.menu-btn.active span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn.active span::after { transform: translateY(-6px) rotate(-45deg); }
.mob-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 92px; background-image: radial-gradient(circle 817px at 15% 25%, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0) 100%), radial-gradient(circle 758px at 85% 35%, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-badge { display: inline-flex; align-items: center; padding: 7px 16px; border: 1px solid rgba(56, 189, 248, 0.45); border-radius: 999px; background: rgba(37, 99, 235, 0.28); color: var(--text-pale); font-size: 13px; line-height: 19.5px; font-weight: 700; }
.hero h1 { font-size: 46px; line-height: 51.52px; font-weight: 800; letter-spacing: -1.38px; }
.accent { color: var(--sky); }
.hero-lead { font-size: 17px; line-height: 28px; color: var(--text-muted); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; padding-top: 12px; }
.hero-fact { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid rgba(56, 189, 248, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.hero-fact strong { font-size: 22px; line-height: 33px; font-weight: 800; color: var(--sky); }
.hero-fact span { font-size: 13px; line-height: 19.5px; font-weight: 500; color: var(--text-soft); }

/* ---------- Quote form (hero) ---------- */
.quote-card { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 34px; border: 1px solid rgba(56, 189, 248, 0.38); border-radius: 22px; background: linear-gradient(158deg, rgba(14, 39, 84, 0.92) 0%, rgba(7, 21, 48, 0.96) 100%); box-shadow: 0 28px 55px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(186, 230, 253, 0.2); scroll-margin-top: 110px; }
.quote-card h3 { font-size: 21px; line-height: 31.5px; font-weight: 800; }
.quote-text { font-size: 14px; line-height: 23.1px; color: var(--text-faint); }
.quote-form { display: flex; flex-direction: column; gap: 12px; padding-top: 15px; }
.quote-form input { width: 100%; padding: 13px 15px; border: 1px solid rgba(147, 197, 253, 0.25); border-radius: 10px; background: rgba(4, 11, 26, 0.75); color: #fff; font-size: 14px; outline: none; transition: border-color .15s ease; }
.quote-form input::placeholder { color: #757575; }
.quote-form input:focus { border-color: var(--sky); }
.btn-submit { width: 100%; margin-top: 6px; padding: 15px 20px; border: 0; border-radius: 10px; background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%); color: #040d1e; font-size: 14.6px; font-weight: 800; cursor: pointer; transition: opacity .15s ease; }
.btn-submit:hover { opacity: .92; }
.quote-consent { padding-top: 8px; font-size: 11px; line-height: 16px; font-weight: 800; text-align: center; color: #7e8fa6; }
.quote-consent a { color: #b8c7dc; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 6px; background: rgba(56, 189, 248, 0.14); color: var(--sky-soft); font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.section-head h2 { padding-top: 2px; font-size: 36px; line-height: 54px; font-weight: 800; letter-spacing: -0.9px; }
.section-head p { font-size: 16px; line-height: 24px; color: var(--text-muted); }
.models, .regions, .process { scroll-margin-top: 84px; }

/* ---------- Models ---------- */
.models { background-image: radial-gradient(ellipse 1027px 1026px at 50% 50%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 65%); }
.models-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.model-card { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 40px; border: 1px solid rgba(96, 165, 250, 0.3); border-radius: 22px; background: linear-gradient(160deg, rgba(13, 35, 76, 0.85) 0%, rgba(7, 20, 46, 0.92) 100%); box-shadow: 0 20px 45px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.model-card-featured { border-color: rgba(56, 189, 248, 0.55); background: linear-gradient(155deg, rgba(29, 78, 216, 0.72) 0%, rgba(3, 105, 161, 0.82) 100%); }
.model-tag { padding: 6px 12px; border: 1px solid rgba(125, 211, 252, 0.3); border-radius: 8px; background: rgba(56, 189, 248, 0.18); color: var(--text-pale); font-size: 12px; line-height: 18px; font-weight: 700; }
.model-card h3 { padding-top: 6px; font-size: 25px; line-height: 37.5px; font-weight: 800; }
.model-text { font-size: 15px; line-height: 22.5px; color: var(--text-soft); }
.model-list { display: flex; flex-direction: column; gap: 12px; padding-top: 13px; }
.model-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 21px; font-weight: 600; }
.check { display: inline-flex; flex: 0 0 22px; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: var(--sky); color: #050e21; font-size: 13px; font-weight: 800; }

/* ---------- Regions ---------- */
.regions { background-image: radial-gradient(circle 813px at 25% 50%, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 100%); }
.regions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.region-card { display: flex; flex-direction: column; gap: 15px; padding: 36px; border: 1px solid rgba(147, 197, 253, 0.22); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%); box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.region-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(147, 197, 253, 0.15); }
.region-head h3 { font-size: 23px; line-height: 34.5px; font-weight: 800; }
.region-pill { padding: 6px 12px; border: 1px solid rgba(96, 165, 250, 0.45); border-radius: 8px; background: rgba(37, 99, 235, 0.45); color: var(--text-pale); font-size: 12px; line-height: 18px; font-weight: 700; white-space: nowrap; }
.region-text { font-size: 15px; line-height: 22.5px; color: var(--text-muted); }
.region-tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 5px; }
.region-tags span { padding: 7px 14px 8.5px; border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 8px; background: rgba(56, 189, 248, 0.12); color: var(--text-pale); font-size: 13px; line-height: 19.5px; font-weight: 600; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 24px; border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 18px; background: linear-gradient(180deg, rgba(14, 39, 84, 0.72) 0%, rgba(8, 22, 50, 0.88) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.step-num { font-size: 28px; line-height: 42px; font-weight: 800; color: var(--sky); }
.step-card h4 { padding-top: 4px; font-size: 18px; line-height: 27px; font-weight: 700; }
.step-card p { font-size: 14px; line-height: 22.4px; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 84px; }
.cta-banner { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 56px 40px; border: 1px solid rgba(125, 211, 252, 0.45); border-radius: 24px; background: linear-gradient(135deg, rgba(29, 78, 216, 0.85) 0%, rgba(2, 132, 199, 0.85) 100%); box-shadow: 0 28px 60px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); text-align: center; }
.cta-banner h2 { font-size: 36px; line-height: 54px; font-weight: 800; }
.cta-banner p { max-width: 640px; padding-bottom: 15px; font-size: 17px; line-height: 25.5px; color: var(--text-pale); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 7px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; font-weight: 700; }
.footer-reg { font-size: 13px; line-height: 19.5px; color: var(--text-faint); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-contact a:first-child { font-size: 13px; line-height: 19.5px; font-weight: 700; }
.footer-back { font-size: 12px; line-height: 18px; color: var(--sky); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; line-height: 19.5px; color: var(--blue-light); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.footer-links a:hover, .footer-back:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.content { padding: 96px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header-nav { display: none; }
    .menu-btn { display: inline-block; }
    .header-actions .btn-sky { display: none; }
    .mob-menu { position: absolute; top: 85px; left: 0; right: 0; display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; background: rgba(5, 14, 33, 0.97); border-bottom: 1px solid rgba(56, 189, 248, 0.14); }
    .mob-menu.active { display: flex; }
    .mob-menu a { padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--text-soft); }
    .mob-menu .btn-sky { margin-top: 8px; color: #fff; }
    .hero-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .top-bar-wrap { flex-direction: column; align-items: flex-start; gap: 2px; }
    .hero { padding: 56px 0 64px; }
    .hero h1 { font-size: 34px; line-height: 40px; }
    .hero-facts { grid-template-columns: 1fr; }
    .quote-card { padding: 24px; }
    .section { padding: 64px 0; }
    .section-head h2, .cta-banner h2 { font-size: 28px; line-height: 38px; }
    .models-grid, .regions-grid, .process-grid { grid-template-columns: 1fr; }
    .model-card { padding: 28px; }
    .region-card { padding: 24px; }
    .region-head { flex-direction: column; align-items: flex-start; }
    .cta-banner { padding: 40px 24px; }
    .btn-white { white-space: normal; }
    .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-contact { align-items: flex-start; text-align: left; }
    .logo-tagline { display: none; }
}

/* Form status line */
.form-status { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--text-pale); }
.btn-submit:disabled { opacity: .6; cursor: default; }

/* Loading screen shown until Blazor renders (markup in index.html; copied from CoreLayer.Site). */
#mud-loader { position: fixed; inset: 0; background-color: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.mud-loader-content { text-align: center; color: #ffffff; font-family: inherit; }
.mud-spinner { width: 56px; height: 56px; border: 5px solid rgba(255, 255, 255, 0.15); border-top-color: var(--sky); border-radius: 50%; animation: mud-spin 1s linear infinite; margin: 0 auto 16px; }
.mud-loader-text { font-size: 15px; opacity: .8; }
@keyframes mud-spin { to { transform: rotate(360deg); } }
