:root {
    --navy-950: #0b1b36;
    --navy-900: #132a52;
    --navy-800: #1d3b6b;
    --blue-700: #0d55c8;
    --blue-600: #1266e5;
    --blue-500: #2d7ff0;
    --blue-100: #dceaff;
    --blue-50: #f3f8ff;
    --green-700: #16754a;
    --green-600: #1d8f5a;
    --green-100: #daf5e7;
    --amber-700: #955a06;
    --amber-100: #fff1cd;
    --purple-700: #6d3fc0;
    --purple-100: #eee4ff;
    --red-700: #af2e35;
    --red-100: #ffe0e2;
    --ink: #17233a;
    --muted: #5f6f86;
    --soft: #8995a7;
    --line: #dfe6ef;
    --line-strong: #cbd6e4;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --surface-blue: #eff6ff;
    --shadow-sm: 0 4px 14px rgba(20, 42, 82, .07);
    --shadow-md: 0 16px 40px rgba(20, 42, 82, .12);
    --shadow-lg: 0 28px 70px rgba(20, 42, 82, .16);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --max: 1180px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
:focus-visible { outline: 3px solid rgba(18, 102, 229, .35); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--navy-950); line-height: 1.12; margin: 0 0 .75rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
small { color: var(--muted); }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--surface-soft); }
.section-blue { background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%); }
.section-dark { color: #eaf1fb; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c6d2e3; }
.section-header { max-width: 760px; margin-bottom: 38px; }
.section-header.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue-700); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stack { display: grid; gap: 18px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; transform: translateY(-150%); background: var(--navy-950); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.icon { flex: 0 0 auto; vertical-align: middle; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue-600); box-shadow: 0 9px 22px rgba(18, 102, 229, .2); }
.button-primary:hover { color: #fff; background: var(--blue-700); }
.button-secondary { color: var(--navy-950); background: #fff; border-color: var(--line-strong); }
.button-secondary:hover { background: var(--blue-50); border-color: var(--blue-500); }
.button-outline { color: var(--blue-700); background: #fff; border-color: #a9c7ee; }
.button-outline:hover { color: var(--blue-700); background: var(--blue-50); border-color: var(--blue-600); }
.button-ghost { color: var(--navy-900); background: transparent; }
.button-ghost:hover { color: var(--blue-700); background: var(--blue-50); }
.button-danger { color: var(--red-700); background: #fff; border-color: #efb6ba; }
.button-success { color: #fff; background: var(--green-600); }
.button-small { min-height: 38px; padding: 9px 13px; border-radius: 10px; font-size: .9rem; }
.button-wide { width: 100%; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.inline-form { display: inline-flex; margin: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.badge-primary { color: var(--blue-700); background: var(--blue-100); }
.badge-success { color: var(--green-700); background: var(--green-100); }
.badge-warning { color: var(--amber-700); background: var(--amber-100); }
.badge-purple { color: var(--purple-700); background: var(--purple-100); }
.badge-danger { color: var(--red-700); background: var(--red-100); }
.badge-muted { color: #536176; background: #e9edf3; }
.beta-pill { display: inline-flex; padding: 6px 10px; border: 1px solid #c8d9ef; border-radius: 999px; color: var(--blue-700); background: var(--blue-50); font-size: .75rem; font-weight: 800; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }
.card-lg { padding: 32px; border-radius: var(--radius-lg); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.card-header h2, .card-header h3 { margin-bottom: 4px; }
.card-subtle { background: var(--surface-soft); box-shadow: none; }
.card-blue { background: var(--surface-blue); border-color: #cee2fb; box-shadow: none; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(218,226,237,.9); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 206px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { position: relative; color: #42516a; font-size: .92rem; font-weight: 700; }
.site-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; background: var(--blue-600); transform: scaleX(0); transition: transform .15s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--navy-950); }
.site-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; color: var(--navy-900); background: transparent; border: 0; }

.flash { border-bottom: 1px solid var(--line); }
.flash-success { color: var(--green-700); background: #eaf9f1; }
.flash-warning { color: var(--amber-700); background: #fff7df; }
.flash-error { color: var(--red-700); background: #fff0f1; }
.flash-info { color: var(--blue-700); background: var(--blue-50); }
.flash-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; font-weight: 700; }
.flash-inner button { display: grid; place-items: center; padding: 6px; color: inherit; background: transparent; border: 0; }

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: radial-gradient(circle at 82% 12%, rgba(69,144,245,.18), transparent 33%), linear-gradient(180deg, #fff, #f5f9ff); }
.hero::before { position: absolute; top: 120px; right: -130px; width: 420px; height: 420px; content: ""; border: 1px solid rgba(18,102,229,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(18,102,229,.035), 0 0 0 110px rgba(18,102,229,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; }
.hero-copy h1 span { color: var(--blue-600); }
.hero-copy .lead { max-width: 650px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; max-width: 630px; padding: 13px 15px; color: #4b5c74; background: rgba(255,255,255,.75); border: 1px solid #d9e6f6; border-radius: 12px; font-size: .92rem; }
.hero-note strong { color: var(--navy-900); }
.hero-visual { position: relative; min-height: 520px; }
.hero-profile-card { position: absolute; top: 24px; left: 0; width: min(420px, 90%); padding: 25px; background: #fff; border: 1px solid #d7e2f0; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-access-card { position: absolute; right: 0; bottom: 20px; width: min(335px, 78%); padding: 22px; background: #fff; border: 1px solid #d7e2f0; border-radius: 20px; box-shadow: var(--shadow-md); }
.hero-lock-chip { position: absolute; top: 0; right: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--green-700); background: #edfbf4; border: 1px solid #bfe8d0; border-radius: 999px; font-size: .78rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.profile-anonymous { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 58px; height: 58px; color: var(--blue-700); background: linear-gradient(135deg, #d9e9ff, #eef5ff); border: 1px solid #c8ddfa; border-radius: 18px; font-weight: 850; }
.avatar.round { border-radius: 50%; }
.avatar-lg { width: 80px; height: 80px; border-radius: 24px; font-size: 1.35rem; }
.profile-anonymous h3 { margin: 0 0 4px; font-size: 1.06rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .86rem; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 22px 0; }
.proof-stat { padding: 12px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.proof-stat strong { display: block; color: var(--navy-900); font-size: 1.25rem; }
.proof-stat span { color: var(--muted); font-size: .72rem; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-pill { display: inline-flex; align-items: center; padding: 6px 10px; color: #405169; background: #f1f4f8; border: 1px solid #e1e7ef; border-radius: 999px; font-size: .77rem; font-weight: 700; }
.access-company { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.company-mark { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--navy-900); border-radius: 12px; font-size: .77rem; font-weight: 850; }
.request-list { display: grid; gap: 7px; margin: 14px 0 18px; color: var(--muted); font-size: .84rem; }
.request-list span { display: flex; align-items: center; gap: 7px; }

.manifesto-strip { color: #fff; background: var(--navy-950); }
.manifesto-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; min-height: 104px; }
.manifesto-icon { display: grid; place-items: center; width: 52px; height: 52px; color: #9fc5ff; background: rgba(255,255,255,.08); border-radius: 16px; }
.manifesto-inner strong { display: block; color: #fff; font-size: 1.08rem; }
.manifesto-inner span { color: #bdcbe0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; min-height: 265px; padding: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.step-number { position: absolute; top: 18px; right: 22px; color: #dce9fb; font-size: 4.2rem; font-weight: 900; line-height: 1; }
.step-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px; color: var(--blue-700); background: var(--blue-100); border-radius: 15px; }
.step-card h3 { font-size: 1.5rem; }
.step-card p { color: var(--muted); }

.architecture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.arch-card .arch-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; color: var(--blue-700); background: var(--blue-50); border-radius: 13px; }
.arch-card ul { display: grid; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; color: var(--muted); font-size: .9rem; }
.arch-card li { display: flex; align-items: flex-start; gap: 8px; }
.arch-card li .icon { margin-top: 2px; color: var(--green-600); }
.product-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 16px; color: var(--navy-900); background: #fff; border: 1px solid #cfe0f5; border-radius: 999px; font-weight: 800; }

.levels { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 28px 0 8px; }
.levels::before { position: absolute; top: 56px; right: 10%; left: 10%; height: 4px; content: ""; background: #dbe5f1; }
.level { position: relative; z-index: 1; text-align: center; }
.level-dot { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; color: var(--muted); background: #fff; border: 4px solid #dbe5f1; border-radius: 50%; font-weight: 900; }
.level.is-complete .level-dot { color: #fff; background: var(--green-600); border-color: #c8edda; }
.level.is-current .level-dot { color: #fff; background: var(--blue-600); border-color: #c9ddfb; box-shadow: 0 0 0 8px rgba(18,102,229,.08); }
.level strong { display: block; color: var(--navy-900); }
.level span { display: block; max-width: 180px; margin: 4px auto 0; color: var(--muted); font-size: .78rem; }

.company-mode-card { position: relative; padding: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.company-mode-card::after { position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; content: ""; background: radial-gradient(circle, rgba(18,102,229,.1), transparent 68%); }
.mode-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; color: var(--blue-700); background: var(--blue-100); border-radius: 16px; }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 18px 0 24px; list-style: none; color: var(--muted); }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; }
.feature-list .icon { margin-top: 3px; color: var(--green-600); }

.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.candidate-card { display: flex; flex-direction: column; min-height: 100%; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.candidate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.candidate-card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
.candidate-card h3 { margin: 0 0 4px; font-size: 1.04rem; }
.candidate-card .summary { min-height: 75px; color: var(--muted); font-size: .88rem; }
.candidate-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--line); }
.anonymous-code { color: var(--soft); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }

.comparison-table { width: 100%; overflow: hidden; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.comparison-table th, .comparison-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison-table th { color: var(--navy-900); background: #f5f8fc; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.comparison-table td:first-child { color: var(--muted); }
.comparison-table tr:last-child td { border-bottom: 0; }

.site-footer { padding: 58px 0 22px; color: #b7c4d8; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 42px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 330px; margin: 14px 0; color: #c8d2e2; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: .87rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a, .footer-link-button { display: block; margin: 9px 0; color: #b7c4d8; font-size: .9rem; }
.site-footer a:hover, .footer-link-button:hover { color: #fff; }
.footer-link-button { display: flex; align-items: center; gap: 7px; padding: 0; background: transparent; border: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

.consent-banner { position: fixed; z-index: 500; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 980px; padding: 18px 20px; margin: auto; background: #fff; border: 1px solid #cfdbea; border-radius: 16px; box-shadow: var(--shadow-lg); }
.consent-banner[hidden], .consent-dialog[hidden], .dialog-backdrop[hidden] { display: none !important; }
.consent-copy { display: grid; gap: 3px; }
.consent-copy span { color: var(--muted); font-size: .86rem; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.dialog-backdrop { position: fixed; z-index: 600; inset: 0; background: rgba(5, 17, 37, .58); backdrop-filter: blur(3px); }
.consent-dialog { position: fixed; z-index: 601; top: 50%; left: 50%; width: min(calc(100% - 28px), 660px); max-height: calc(100vh - 32px); padding: 26px; overflow: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%); }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; }
.dialog-header h2 { font-size: 1.8rem; }
.consent-category { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.consent-category > div { display: grid; gap: 3px; }
.consent-category span { color: var(--muted); font-size: .84rem; }
.consent-category.is-disabled { opacity: .72; }
.switch { padding: 6px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.switch-on { color: var(--green-700); background: var(--green-100); }
.switch-control { display: flex; align-items: center; gap: 8px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }

.page-hero { padding: 58px 0; background: linear-gradient(180deg, #f7fbff, #fff); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero-panel { padding: 26px; background: #fff; border: 1px solid #d5e3f4; border-radius: 20px; box-shadow: var(--shadow-md); }

.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 10px; padding: 16px; margin-bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.input-group { display: grid; gap: 7px; }
.input-group label { color: var(--navy-900); font-size: .8rem; font-weight: 800; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; }
textarea.input { min-height: 120px; resize: vertical; }
.input-with-icon { position: relative; }
.input-with-icon .icon { position: absolute; top: 50%; left: 13px; color: var(--soft); transform: translateY(-50%); }
.input-with-icon .input { padding-left: 42px; }
.form-card { max-width: 760px; padding: 30px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-grid .full { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }
.form-help { color: var(--muted); font-size: .78rem; }
.error-list { padding: 14px 16px 14px 36px; color: var(--red-700); background: var(--red-100); border: 1px solid #f0b9bd; border-radius: 12px; }

.profile-page { padding: 48px 0 80px; background: var(--surface-soft); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 24px; }
.profile-hero-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.profile-head { display: flex; align-items: flex-start; gap: 20px; }
.profile-head-content { flex: 1; }
.profile-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.profile-demo-notice { display: flex; align-items: center; gap: 9px; padding: 11px 14px; margin-bottom: 18px; color: var(--blue-700); background: var(--blue-50); border: 1px solid #cce0fa; border-radius: 12px; font-size: .85rem; }
.profile-section { padding: 26px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.project-list { display: grid; gap: 16px; }
.project-card { padding: 21px; border: 1px solid var(--line); border-radius: 15px; }
.project-card-top { display: flex; justify-content: space-between; gap: 16px; }
.project-card h3 { margin-bottom: 5px; }
.project-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 17px 0; }
.project-meta { padding: 13px; background: var(--surface-soft); border-radius: 11px; }
.project-meta strong { display: block; margin-bottom: 3px; color: var(--navy-900); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.project-meta span { color: var(--muted); font-size: .87rem; }
.profile-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.locked-asset { padding: 22px; text-align: center; background: linear-gradient(180deg, #f4f8ff, #fff); border: 1px solid #cfe0f4; border-radius: 18px; }
.locked-asset .lock-orb { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; color: var(--blue-700); background: var(--blue-100); border-radius: 18px; }
.permission-list { display: grid; gap: 11px; padding: 0; margin: 16px 0; list-style: none; }
.permission-list li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .86rem; }
.permission-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.permission-list strong { color: var(--navy-900); text-align: right; }

.app-body { background: #f4f7fb; }
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 22px 16px; background: #fff; border-right: 1px solid var(--line); }
.app-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 22px; color: var(--navy-950); font-weight: 850; }
.app-sidebar nav { display: grid; gap: 5px; }
.app-nav-link { display: flex; align-items: center; gap: 11px; padding: 11px 12px; color: #4f6079; border-radius: 11px; font-size: .9rem; font-weight: 700; }
.app-nav-link:hover { color: var(--blue-700); background: var(--blue-50); }
.app-nav-link.is-active { color: var(--blue-700); background: var(--blue-100); }
.sidebar-trust-card { display: grid; gap: 8px; padding: 16px; margin: auto 0 18px; color: #c9d8eb; background: var(--navy-950); border-radius: 15px; }
.sidebar-trust-card .icon { color: #86b5fb; }
.sidebar-trust-card strong { color: #fff; }
.sidebar-trust-card span { font-size: .78rem; }
.sidebar-trust-card a { display: flex; align-items: center; gap: 5px; color: #9bc2fa; font-size: .78rem; font-weight: 800; }
.app-main { min-width: 0; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 0 30px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.app-topbar h1 { margin: 0; font-size: 1.35rem; }
.app-topbar-actions { display: flex; align-items: center; gap: 9px; }
.app-content { width: min(calc(100% - 44px), 1380px); padding: 30px 0 70px; margin-inline: auto; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 22px; }
.app-card { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 3px 10px rgba(20,42,82,.045); }
.app-card + .app-card { margin-top: 18px; }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.app-stat { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.app-stat .stat-label { color: var(--muted); font-size: .77rem; font-weight: 750; }
.app-stat strong { display: block; margin: 5px 0 2px; color: var(--navy-950); font-size: 1.7rem; }
.app-stat small { font-size: .75rem; }
.level-progress { padding: 24px; background: linear-gradient(135deg, var(--navy-950), #1c4d8d); border-radius: 18px; color: #d5e2f3; }
.level-progress h2 { color: #fff; font-size: 1.45rem; }
.level-progress .levels { padding-top: 16px; }
.level-progress .levels::before { top: 44px; background: rgba(255,255,255,.15); }
.level-progress .level-dot { width: 44px; height: 44px; color: #adc1dc; background: #17365f; border-color: rgba(255,255,255,.14); }
.level-progress .level.is-complete .level-dot { background: var(--green-600); }
.level-progress .level.is-current .level-dot { background: var(--blue-500); }
.level-progress .level strong { color: #fff; font-size: .8rem; }
.level-progress .level span { color: #adc1dc; font-size: .67rem; }
.next-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px; margin-top: 18px; color: var(--navy-950); background: #fff; border-radius: 13px; }
.next-action p { margin: 3px 0 0; color: var(--muted); font-size: .84rem; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.data-table th { color: var(--soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table td { font-size: .87rem; }
.data-table tr:last-child td { border-bottom: 0; }
.request-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.request-card + .request-card { margin-top: 14px; }
.request-head { display: flex; justify-content: space-between; gap: 16px; }
.request-company { display: flex; align-items: center; gap: 12px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.permission-checks { display: grid; gap: 9px; margin: 15px 0; }
.permission-check { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; }
.permission-check input { width: 18px; height: 18px; }
.privacy-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.privacy-toggle-row:last-child { border-bottom: 0; }
.privacy-toggle-copy { display: grid; gap: 3px; }
.privacy-toggle-copy span { color: var(--muted); font-size: .82rem; }
.toggle { position: relative; display: inline-flex; width: 48px; height: 28px; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 100%; background: #cfd7e2; border-radius: 999px; transition: background .15s ease; }
.toggle span::after { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; content: ""; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.16); transition: transform .15s ease; }
.toggle input:checked + span { background: var(--blue-600); }
.toggle input:checked + span::after { transform: translateX(20px); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.trust-card .icon-wrap { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; color: var(--blue-700); background: var(--blue-100); border-radius: 14px; }
.policy-copy { max-width: 850px; }
.policy-copy h2 { margin-top: 38px; font-size: 1.7rem; }
.policy-copy h3 { margin-top: 24px; font-size: 1.2rem; }
.policy-copy ul, .policy-copy ol { color: var(--muted); }
.policy-callout { padding: 18px 20px; margin: 24px 0; color: var(--navy-900); background: var(--blue-50); border: 1px solid #cbe0fb; border-left: 5px solid var(--blue-600); border-radius: 12px; }

@media (max-width: 1080px) {
    .site-nav { position: fixed; top: 76px; right: 16px; left: 16px; display: none; align-items: stretch; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 10px; }
    .site-nav a::after { display: none; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .header-actions { margin-left: auto; }
    .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 800px; }
    .hero-visual { width: min(100%, 620px); margin-inline: auto; }
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .filters { grid-template-columns: repeat(2, 1fr); }
    .filters .input-group:first-child { grid-column: 1 / -1; }
    .app-shell { grid-template-columns: 84px minmax(0, 1fr); }
    .app-sidebar { padding-inline: 10px; }
    .app-brand span, .app-nav-link span, .sidebar-trust-card { display: none; }
    .app-brand, .app-nav-link { justify-content: center; }
    .app-grid { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-side { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .section { padding: 66px 0; }
    .header-inner { min-height: 68px; }
    .brand img { width: 174px; }
    .site-nav { top: 68px; }
    .header-actions .button-ghost { display: none; }
    .hero { padding-top: 58px; }
    .hero-visual { min-height: 600px; }
    .hero-profile-card { width: 94%; }
    .hero-access-card { width: 88%; }
    .steps-grid, .architecture-grid, .grid-3, .grid-4, .trust-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .levels { grid-template-columns: 1fr; gap: 18px; padding: 8px 0; }
    .levels::before { display: none; }
    .level { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; text-align: left; }
    .level-dot { width: 46px; height: 46px; margin: 0; }
    .level span { max-width: none; margin: 2px 0 0; }
    .profile-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .consent-banner { align-items: stretch; flex-direction: column; }
    .consent-actions { justify-content: flex-end; }
    .filters { grid-template-columns: 1fr; }
    .filters .input-group:first-child { grid-column: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .project-meta-grid { grid-template-columns: 1fr; }
    .profile-head { flex-direction: column; }
    .profile-side { grid-template-columns: 1fr; }
    .app-shell { display: block; }
    .app-sidebar { position: static; display: flex; flex-direction: row; height: auto; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .app-sidebar nav { display: flex; gap: 4px; }
    .app-brand, .app-sidebar > .app-nav-link { display: none; }
    .app-nav-link { min-width: 48px; padding: 10px; }
    .app-topbar { padding: 0 16px; }
    .app-content { width: min(calc(100% - 24px), 1380px); padding-top: 18px; }
    .app-stats { grid-template-columns: repeat(2, 1fr); }
    .level-progress .levels { display: grid; grid-template-columns: repeat(4, 1fr); }
    .level-progress .level { display: block; text-align: center; }
    .level-progress .level-dot { margin-inline: auto; }
    .level-progress .level span { display: none; }
    .next-action { align-items: stretch; flex-direction: column; }
}

@media (max-width: 500px) {
    .container { width: min(calc(100% - 22px), var(--max)); }
    h1 { font-size: 2.45rem; }
    .header-actions .button-primary { display: none; }
    .hero-actions .button { width: 100%; }
    .hero-visual { min-height: 650px; }
    .hero-profile-card { left: 0; width: 100%; }
    .hero-access-card { right: 0; width: 94%; }
    .proof-stats { grid-template-columns: 1fr; }
    .manifesto-inner { grid-template-columns: 1fr; padding: 20px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .consent-actions, .dialog-actions { flex-direction: column; }
    .consent-actions .button, .dialog-actions .button { width: 100%; }
    .app-stats { grid-template-columns: 1fr; }
    .app-topbar h1 { font-size: 1.05rem; }
    .app-topbar-actions .button span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Utility spacing and page-specific helpers */
.h3-space { margin-top: 12px; }
.block-space { margin-top: 20px; }
.block-space-lg { margin-top: 30px; }
.block-space-small { margin-top: 10px; }
.field-space { margin-top: 14px; }
.profile-summary { margin-top: 16px; }
.project-description { margin-top: 14px; }
.profile-grid-spaced { margin-top: 24px; }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.eyebrow-light { color: #9cc4ff; }
.auth-grid { align-items: start; max-width: 1050px; }
.auth-card { max-width: none; width: 100%; }
.auth-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.demo-login-card { min-height: 100%; }
.compact-grid { align-items: end; }
.compact-grid .request-actions { margin-top: 0; }
.app-sidebar-logout { margin: 0; }
.app-nav-button { width: 100%; border: 0; background: transparent; text-align: left; }
.app-flash-inner { width: min(calc(100% - 44px), 1380px); margin-inline: auto; }
.app-card h2 { font-size: 1.35rem; letter-spacing: -.015em; }
.app-card h3 { font-size: 1.05rem; }
.profile-side h2, .locked-asset h2 { font-size: 1.25rem; }
.app-main .company-mode-card h2 { font-size: 1.45rem; }
.voice-shell { max-width: 940px; min-height: 680px; padding: clamp(28px, 6vw, 66px); margin-inline: auto; text-align: center; background: radial-gradient(circle at 50% 10%, rgba(18,102,229,.12), transparent 38%), #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-md); }
.voice-screen { display: none; max-width: 760px; margin-inline: auto; }
.voice-screen.is-active { display: block; }
.voice-screen[hidden] { display: none !important; }
.voice-screen h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.voice-screen h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.voice-hero-icon { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 24px; color: var(--blue-700); background: var(--blue-100); border-radius: 27px; }
.voice-hero-icon > span { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--green-700); background: var(--green-100); border: 4px solid #fff; border-radius: 13px; }
.voice-hero-icon.is-success { color: var(--green-700); background: var(--green-100); }
.voice-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 30px 0; text-align: left; }
.voice-rules > div { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 14px; }
.voice-rules .icon { color: var(--blue-700); }
.voice-rules span { display: grid; }
.voice-rules small { font-size: .75rem; }
.voice-callout { text-align: left; }
.voice-actions { justify-content: center; margin-top: 24px; }
.voice-status { padding: 14px 16px; margin: 22px 0; color: var(--navy-900); background: var(--blue-50); border: 1px solid #cbe0fb; border-radius: 12px; font-weight: 750; }
.voice-status.is-success { color: var(--green-700); background: var(--green-100); border-color: #b8e7cf; }
.voice-status.is-error { color: var(--red-700); background: var(--red-100); border-color: #efb8bc; }
.voice-question { max-width: 790px; margin: 30px auto; font-size: clamp(1.8rem, 4vw, 3.15rem) !important; }
.voice-question-small { max-width: 680px; margin: 0 auto 18px; color: var(--muted); }
.voice-timer { display: grid; place-items: center; width: 150px; height: 150px; margin: 28px auto; color: var(--blue-700); background: #fff; border: 10px solid var(--blue-100); border-radius: 50%; box-shadow: var(--shadow-sm); }
.voice-timer span { font-size: 3.1rem; font-weight: 900; line-height: 1; }
.voice-timer small { max-width: 90px; color: var(--muted); font-size: .72rem; line-height: 1.2; }
.voice-timer.is-recording { color: #c73743; border-color: #ffd8db; }
.recording-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: #a82934; background: #ffe9eb; border-radius: 999px; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.recording-pill > span { width: 9px; height: 9px; background: #d43b48; border-radius: 50%; box-shadow: 0 0 0 5px rgba(212,59,72,.12); }
.voice-wave { width: min(100%, 720px); height: 120px; margin: 14px auto; background: #f8fbff; border: 1px solid #dbe7f6; border-radius: 18px; }
.voice-player { width: min(100%, 620px); margin: 26px auto 10px; }
.voice-text-form { display: grid; gap: 18px; margin-top: 28px; text-align: left; }
@media (max-width: 680px) { .voice-shell { min-height: 0; padding: 28px 18px; border-radius: 20px; } .voice-rules { grid-template-columns: 1fr; } .voice-actions .button { width: 100%; } }

/* Installer preflight */
.requirement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 20px 0 26px; }
.requirement-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; }
