@font-face {
    font-family: "Space Grotesk";
    src: url("/brand/fonts/space-grotesk-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("/brand/fonts/space-grotesk-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("/brand/fonts/space-grotesk-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --brand-deep: #071a2d;
    --brand-cyan: #00c8ff;
    --brand-blue: #2f63ff;
    --brand-violet: #6a50f5;
    --brand-ink: #101820;
    --brand-slate: #526274;
    --brand-mist: #e6edf4;
    --brand-cloud: #f5f8fc;
    --brand-white: #ffffff;
    --brand-gradient: linear-gradient(135deg, #00c8ff 0%, #2f63ff 56%, #6a50f5 100%);
    --success: #087f5b;
    --success-soft: #e6f8f1;
    --warning: #9a6700;
    --warning-soft: #fff5d9;
    --danger: #b4233d;
    --danger-soft: #ffeaee;
    --shadow-sm: 0 8px 28px rgba(7, 26, 45, .07);
    --shadow-md: 0 22px 64px rgba(7, 26, 45, .12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 78px;
    --bs-font-sans-serif: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--brand-ink);
    --bs-primary: var(--brand-deep);
    --bs-primary-rgb: 7, 26, 45;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--brand-white);
    color: var(--brand-ink);
    font-family: var(--bs-font-sans-serif);
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

::selection {
    background: var(--brand-cyan);
    color: var(--brand-deep);
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

h1, h2, h3, h4 {
    color: var(--brand-deep);
    font-weight: 700;
    letter-spacing: -.035em;
}

p {
    color: var(--brand-slate);
    line-height: 1.7;
}

a {
    color: var(--brand-blue);
    text-underline-offset: .2em;
}

img {
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
}

/*
 * FocusOnNavigate moves programmatic focus to the page heading so assistive
 * technology announces route changes. Keep that semantic focus, but only draw
 * a visible ring for controls a keyboard user can actually operate.
 */
:where(
    a[href],
    area[href],
    button,
    input:not([type="hidden"]),
    select,
    textarea,
    summary,
    [contenteditable="true"],
    [tabindex]:not([tabindex="-1"])
):focus-visible {
    outline: 3px solid var(--brand-cyan) !important;
    outline-offset: 3px;
}

/* FocusOnNavigate gives the route title tabindex="-1" at runtime. */
h1[tabindex="-1"]:focus {
    outline: none;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container-wide,
.container-narrow {
    width: min(calc(100% - 40px), 1220px);
    margin-inline: auto;
}

.container-narrow {
    max-width: 820px;
}

.section {
    padding: 104px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--brand-blue);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 3px;
    border-radius: 4px;
    background: var(--brand-cyan);
    content: "";
}

.eyebrow-on-dark {
    color: var(--brand-cyan);
}

.centered-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.centered-heading .eyebrow {
    justify-content: center;
}

.centered-heading h2,
.split-heading h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.08;
}

.centered-heading > p {
    margin: 0 auto;
    max-width: 660px;
    font-size: 1.08rem;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: end;
    gap: 72px;
    margin-bottom: 56px;
}

.split-heading > p {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1200;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--brand-cyan);
    color: var(--brand-deep);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(230, 237, 244, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 32px;
}

.brand-link {
    display: inline-flex;
    width: fit-content;
    padding: 8px;
    margin-left: -8px;
}

.brand-link img {
    width: 166px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.primary-nav a,
.header-login {
    position: relative;
    color: var(--brand-slate);
    font-size: .94rem;
    font-weight: 500;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active,
.header-login:hover {
    color: var(--brand-deep);
}

.primary-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-cyan);
    content: "";
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logout-form {
    margin: 0;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--brand-mist);
    border-radius: 10px;
    background: #fff;
    color: var(--brand-deep);
}

.icon-button:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.nav-toggle {
    display: none;
}

.nav-toggle-input,
.mobile-nav-actions {
    display: none;
}

.btn {
    --bs-btn-font-weight: 700;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 38px;
    padding: .5rem .9rem;
}

.btn-lg {
    min-height: 52px;
    padding: .82rem 1.22rem;
    font-size: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--brand-deep);
    --bs-btn-border-color: var(--brand-deep);
    --bs-btn-hover-bg: #0b2946;
    --bs-btn-hover-border-color: #0b2946;
    --bs-btn-active-bg: #04111e;
    --bs-btn-active-border-color: #04111e;
    --bs-btn-color: #fff;
    box-shadow: 0 10px 24px rgba(7, 26, 45, .15);
}

.btn-secondary {
    --bs-btn-bg: var(--brand-white);
    --bs-btn-border-color: var(--brand-mist);
    --bs-btn-color: var(--brand-deep);
    --bs-btn-hover-bg: var(--brand-cloud);
    --bs-btn-hover-border-color: #c7d5e3;
    --bs-btn-hover-color: var(--brand-deep);
}

.btn-accent {
    border-color: var(--brand-cyan);
    background: var(--brand-cyan);
    color: var(--brand-deep);
    box-shadow: 0 14px 34px rgba(0, 200, 255, .16);
}

.btn-accent:hover {
    border-color: #44d7ff;
    background: #44d7ff;
    color: var(--brand-deep);
}

.btn-ghost {
    border-color: var(--brand-mist);
    background: var(--brand-white);
    color: var(--brand-deep);
}

.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-color: var(--brand-deep);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--brand-deep);
    color: #fff;
}

.hero-home {
    min-height: 700px;
    display: grid;
    align-items: center;
}

.hero-paths,
.guardian-paths,
.page-hero-paths {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-paths::before,
.hero-paths::after,
.guardian-paths::before,
.guardian-paths::after,
.page-hero-paths::before,
.page-hero-paths::after {
    position: absolute;
    width: 72%;
    height: 240px;
    content: "";
    transform: rotate(-45deg);
}

.hero-paths::before {
    top: 30%;
    left: 46%;
    background: linear-gradient(90deg, rgba(0, 200, 255, .04), rgba(47, 99, 255, .22), rgba(106, 80, 245, .1));
}

.hero-paths::after {
    top: -28%;
    left: 68%;
    border-left: 2px solid rgba(0, 200, 255, .28);
    background: rgba(47, 99, 255, .06);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .75fr);
    align-items: center;
    gap: 72px;
    padding-block: 94px;
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 28px;
    color: #fff;
    font-size: clamp(3.25rem, 6.5vw, 5.85rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.hero-copy h1 em {
    display: block;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-lead {
    max-width: 660px;
    margin-bottom: 34px;
    color: #c6d2de;
    font-size: 1.22rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
    color: #a8b8c7;
    font-size: .86rem;
}

.hero-proof i {
    margin-right: 6px;
    color: var(--brand-cyan);
}

.hero-visual {
    display: grid;
    place-items: center;
}

.convergence-card {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 99, 255, .18), rgba(7, 26, 45, 0) 64%);
}

.convergence-card > img {
    width: 124px;
    filter: drop-shadow(0 18px 44px rgba(0, 200, 255, .2));
}

.orbit {
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(0, 200, 255, .26);
    border-radius: 50%;
}

.orbit-one {
    transform: rotate(45deg) scaleY(.48);
}

.orbit-two {
    transform: rotate(-45deg) scaleY(.7);
    border-color: rgba(106, 80, 245, .32);
}

.signal-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    background: rgba(10, 36, 61, .9);
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.signal-card i {
    color: var(--brand-cyan);
}

.signal-top { top: 19%; right: 0; }
.signal-bottom { bottom: 18%; left: 0; }

.section-intro {
    background: var(--brand-cloud);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.capability-card {
    position: relative;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--brand-mist);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.capability-card.featured {
    border-color: transparent;
    background: var(--brand-deep);
}

.capability-card.featured::after {
    position: absolute;
    right: -35%;
    bottom: -35%;
    width: 90%;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 200, 255, .22);
    border-radius: 50%;
    content: "";
}

.capability-card.featured h3,
.capability-card.featured a { color: #fff; }
.capability-card.featured p { color: #aebdcb; }
.capability-card.featured .card-index { color: var(--brand-cyan); }

.card-index {
    position: absolute;
    top: 24px;
    right: 28px;
    color: #9babbc;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.icon-tile {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 56px;
    border-radius: 14px;
    background: var(--brand-cloud);
    color: var(--brand-blue);
    font-size: 1.5rem;
}

.featured .icon-tile {
    background: rgba(0, 200, 255, .12);
    color: var(--brand-cyan);
}

.capability-card h3 {
    margin-bottom: 14px;
    font-size: 1.45rem;
}

.capability-card p {
    margin-bottom: 28px;
}

.capability-card a {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--brand-deep);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.capability-card a i { margin-left: 7px; }

.product-spotlight {
    background: #fff;
}

.product-frame {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, .82fr) minmax(520px, 1.18fr);
    align-items: center;
    gap: 72px;
    padding: 68px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-deep);
    box-shadow: var(--shadow-md);
}

.product-frame::before {
    position: absolute;
    top: -50%;
    right: 18%;
    width: 120px;
    height: 180%;
    background: linear-gradient(180deg, transparent, rgba(47, 99, 255, .26), transparent);
    content: "";
    transform: rotate(45deg);
}

.product-copy {
    position: relative;
    z-index: 1;
}

.product-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 99px;
    color: #b7c5d2;
    font-size: .7rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.product-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-cyan);
    box-shadow: 0 0 0 5px rgba(0, 200, 255, .12);
}

.product-copy h2 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    line-height: 1.04;
}

.product-copy p {
    margin-bottom: 30px;
    color: #acbdcc;
    font-size: 1.04rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.text-link-on-dark {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.product-console {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    background: #f8fbfe;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
    transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.console-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--brand-mist);
    background: #fff;
}

.console-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-deep);
    font-size: .8rem;
    font-weight: 700;
}

.console-brand img { width: 23px; height: 23px; }

.status-pill {
    padding: 6px 9px;
    border-radius: 99px;
    background: var(--success-soft);
    color: var(--success);
    font-size: .68rem;
    font-weight: 700;
}

.status-pill i { font-size: .44rem; vertical-align: middle; }

.console-body {
    min-height: 370px;
    display: grid;
    grid-template-columns: 62px 1fr;
}

.console-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-right: 1px solid var(--brand-mist);
    background: #fff;
    color: #8292a3;
}

.console-sidebar i { padding: 7px; font-size: 1.05rem; }
.console-sidebar i.active { border-radius: 8px; background: #eaf1ff; color: var(--brand-blue); }

.console-content { padding: 32px; }
.console-kicker { margin-bottom: 8px; color: var(--brand-blue); font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.console-content h3 { max-width: 440px; margin-bottom: 26px; font-size: 1.55rem; }

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.module-grid > div {
    min-height: 104px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-content: center;
    padding: 15px;
    border: 1px solid var(--brand-mist);
    border-radius: 10px;
    background: #fff;
}

.module-grid i { grid-row: 1 / span 2; color: var(--brand-blue); font-size: 1.12rem; }
.module-grid span { color: var(--brand-deep); font-size: .76rem; font-weight: 700; }
.module-grid small { color: #78889a; font-size: .65rem; }

.platform-section {
    background: var(--brand-cloud);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--brand-mist);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.journey-grid article {
    position: relative;
    min-height: 265px;
    padding: 32px 26px;
    border-right: 1px solid var(--brand-mist);
}

.journey-grid article:last-child { border: 0; }
.journey-grid article > span { position: absolute; top: 22px; right: 24px; color: #9aabba; font-size: .68rem; font-weight: 700; }
.journey-grid article > i { display: block; margin: 34px 0 42px; color: var(--brand-blue); font-size: 1.65rem; }
.journey-grid h3 { margin-bottom: 10px; font-size: 1.18rem; }
.journey-grid p { margin: 0; font-size: .9rem; }

.principles-section { overflow: hidden; }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.principles-copy h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 4vw, 3.65rem); line-height: 1.04; }
.principles-copy p { margin-bottom: 30px; font-size: 1.05rem; }
.principle-list { border-top: 1px solid var(--brand-mist); }
.principle-list > div { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--brand-mist); }
.principle-list i { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-cloud); color: var(--brand-blue); font-size: 1.3rem; }
.principle-list span { color: var(--brand-slate); line-height: 1.5; }
.principle-list strong { display: block; margin-bottom: 3px; color: var(--brand-deep); font-size: 1.08rem; }

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
}

.page-hero-dark {
    background: var(--brand-deep);
}

.page-hero-light {
    background: var(--brand-cloud);
}

.page-hero-paths::before { top: -160px; right: -5%; background: rgba(47, 99, 255, .16); }
.page-hero-paths::after { bottom: -180px; right: 16%; border-left: 2px solid rgba(0, 200, 255, .35); }
.page-hero-content { position: relative; z-index: 1; max-width: 980px; }
.page-hero h1 { max-width: 920px; margin-bottom: 26px; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; }
.page-hero p { max-width: 730px; margin-bottom: 0; font-size: 1.22rem; }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark p { color: #b5c3cf; }

.service-list { border-top: 1px solid var(--brand-mist); }
.service-list article { display: grid; grid-template-columns: 54px 70px minmax(260px, 1fr) minmax(220px, .65fr); align-items: start; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--brand-mist); }
.service-number { color: #8da0b2; font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-cloud); color: var(--brand-blue); font-size: 1.35rem; }
.service-list h2 { margin-bottom: 10px; font-size: 1.65rem; }
.service-list p { margin: 0; }
.service-list ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.service-list li { padding: 7px 10px; border: 1px solid var(--brand-mist); border-radius: 99px; color: var(--brand-slate); font-size: .76rem; }

.process-band { position: relative; overflow: hidden; background: var(--brand-deep); }
.process-band::after { position: absolute; right: -12%; bottom: -70%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(0, 200, 255, .18); border-radius: 50%; content: ""; }
.split-heading-light h2 { color: #fff; }
.split-heading-light > p { color: #adbdca; }
.process-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.process-steps li { min-height: 240px; padding: 26px; border-top: 1px solid rgba(255, 255, 255, .16); border-right: 1px solid rgba(255, 255, 255, .12); }
.process-steps li:last-child { border-right: 0; }
.process-steps span { display: block; margin-bottom: 58px; color: var(--brand-cyan); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.process-steps strong { display: block; margin-bottom: 10px; color: #fff; font-size: 1.18rem; }
.process-steps p { margin: 0; color: #9fb1c0; font-size: .88rem; }

.compact-cta { padding: 72px 0; }
.compact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 46px; border: 1px solid var(--brand-mist); border-radius: var(--radius-md); background: var(--brand-cloud); }
.compact-cta h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.story-mark { min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-deep); }
.story-mark::before { position: absolute; width: 180px; height: 700px; background: linear-gradient(180deg, transparent, rgba(47, 99, 255, .28), transparent); content: ""; transform: rotate(45deg); }
.story-mark { position: relative; }
.story-mark img { position: relative; width: 126px; }
.story-mark span { position: relative; color: #9eb3c5; font-size: .66rem; font-weight: 700; letter-spacing: .2em; }
.story-copy h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 4vw, 3.65rem); line-height: 1.06; }
.story-copy p { font-size: 1.05rem; }

.values-section { background: var(--brand-cloud); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-grid article { min-height: 300px; padding: 28px; border: 1px solid var(--brand-mist); border-radius: var(--radius-md); background: #fff; }
.value-grid article > div { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 58px; border-radius: 12px; background: #edf3ff; color: var(--brand-blue); font-size: 1.25rem; }
.value-grid h3 { margin-bottom: 12px; font-size: 1.15rem; }
.value-grid p { margin: 0; font-size: .9rem; }

.team-placeholder { background: #fff; }
.team-placeholder-inner { min-height: 390px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 50px; padding: 58px 68px; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-deep); }
.team-placeholder-inner h2 { margin-bottom: 20px; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.team-placeholder-inner p { max-width: 620px; margin: 0; color: #aebdca; }
.team-orbits { position: relative; height: 270px; }
.team-orbits span { position: absolute; inset: 10%; border: 1px solid rgba(0, 200, 255, .22); border-radius: 50%; transform: rotate(45deg) scaleY(.4); }
.team-orbits span:nth-child(2) { inset: 22%; border-color: rgba(47, 99, 255, .5); transform: rotate(-45deg) scaleY(.65); }
.team-orbits span:nth-child(3) { inset: 34%; background: var(--brand-gradient); border: 0; opacity: .75; transform: rotate(45deg) scaleY(.35); }

.guardian-hero { position: relative; min-height: 660px; display: grid; align-items: center; overflow: hidden; background: var(--brand-deep); }
.guardian-paths::before { top: 25%; left: 48%; background: linear-gradient(90deg, rgba(0,200,255,.13), rgba(47,99,255,.28), rgba(106,80,245,.16)); }
.guardian-paths::after { top: -30%; left: 66%; border-left: 2px solid rgba(0,200,255,.3); }
.guardian-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 80px; padding-block: 90px; }
.product-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; color: #a8b9c8; font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.product-label img { width: 26px; }
.guardian-hero h1 { margin-bottom: 26px; color: #fff; font-size: clamp(4.2rem, 9vw, 7.8rem); line-height: .9; letter-spacing: -.07em; }
.guardian-hero h1 span { background: var(--brand-gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.guardian-hero p { max-width: 650px; margin-bottom: 32px; color: #b5c5d2; font-size: 1.16rem; }
.guardian-core { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.guardian-core > div { position: relative; z-index: 2; width: 154px; height: 154px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(7,26,45,.75); box-shadow: 0 0 80px rgba(47,99,255,.28); }
.guardian-core i { color: var(--brand-cyan); font-size: 3.3rem; }
.guardian-core small { color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .14em; }
.core-ring { position: absolute; inset: 12%; border: 1px solid rgba(0,200,255,.25); border-radius: 50%; transform: rotate(45deg) scaleY(.48); }
.ring-b { inset: 24%; border-color: rgba(47,99,255,.5); transform: rotate(-45deg) scaleY(.72); }
.ring-c { inset: 34%; border-color: rgba(106,80,245,.54); transform: rotate(15deg) scaleY(.52); }

.guardian-intro { background: var(--brand-cloud); }
.placeholder-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.placeholder-feature-grid article { position: relative; min-height: 310px; padding: 30px; border: 1px dashed #b9c9d8; border-radius: var(--radius-md); background: rgba(255,255,255,.72); }
.placeholder-feature-grid article > span { position: absolute; top: 25px; right: 27px; color: #99aabb; font-size: .7rem; font-weight: 700; }
.placeholder-feature-grid i { display: block; margin: 30px 0 56px; color: var(--brand-blue); font-size: 1.55rem; }
.placeholder-feature-grid h3 { margin-bottom: 12px; font-size: 1.18rem; }
.placeholder-feature-grid p { margin: 0; font-size: .9rem; }

.portal-preview-section { background: #fff; }
.portal-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal-modules article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px; border: 1px solid var(--brand-mist); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(7,26,45,.04); }
.portal-modules i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-cloud); color: var(--brand-blue); font-size: 1.12rem; }
.portal-modules h3 { margin-bottom: 5px; font-size: 1rem; }
.portal-modules p { margin: 0; font-size: .8rem; line-height: 1.5; }

.legal-hero { padding: 88px 0 54px; border-bottom: 1px solid var(--brand-mist); background: var(--brand-cloud); }
.legal-hero h1 { margin-bottom: 16px; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.legal-hero p { margin: 0; }
.legal-document { padding-block: 66px 100px; }
.legal-document h2 { margin: 46px 0 14px; font-size: 1.42rem; letter-spacing: -.02em; }
.legal-document p { font-size: 1rem; }
.legal-notice { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 18px; border: 1px solid #bdd7ef; border-radius: 12px; background: #eef7ff; color: #244764; line-height: 1.55; }
.legal-notice i { color: var(--brand-blue); font-size: 1.12rem; }

.simple-page { min-height: 68vh; display: grid; align-items: center; padding: 100px 0; text-align: center; }
.simple-page h1 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4rem); }
.simple-page p { max-width: 650px; margin: 0 auto 28px; font-size: 1.07rem; }
.status-hero-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 26px; border-radius: 50%; background: #e9f9ff; color: var(--brand-blue); font-size: 1.8rem; }
.status-placeholder { max-width: 520px; margin: 36px auto; padding: 22px; border: 1px solid var(--brand-mist); border-radius: 12px; background: var(--brand-cloud); }
.status-placeholder span { color: var(--warning); font-weight: 700; }
.status-placeholder span i { font-size: .55rem; }
.status-placeholder p { margin: 7px 0 0; font-size: .9rem; }

.portal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--brand-cloud);
}

.portal-frame {
    flex: 1;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
    padding-block: 36px 72px;
}

.portal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 28px);
    padding: 18px;
    border: 1px solid var(--brand-mist);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.portal-sidebar__heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px 20px;
}

.portal-sidebar__heading span {
    color: var(--brand-blue);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.portal-sidebar__heading strong {
    color: var(--brand-deep);
    font-size: 1.22rem;
}

.portal-sidebar nav {
    display: grid;
    gap: 4px;
}

.portal-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 11px;
    border-radius: 9px;
    color: var(--brand-slate);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
}

.portal-sidebar nav a i {
    width: 20px;
    color: var(--brand-blue);
    font-size: 1rem;
}

.portal-sidebar nav a:hover {
    background: var(--brand-cloud);
    color: var(--brand-deep);
}

.portal-sidebar nav a.active {
    background: linear-gradient(90deg, rgba(0,200,255,.12), rgba(47,99,255,.08));
    color: var(--brand-deep);
    box-shadow: inset 3px 0 var(--brand-cyan);
}

.portal-sidebar__divider {
    height: 1px;
    margin: 14px 8px;
    background: var(--brand-mist);
}

.portal-support {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: var(--brand-deep);
    color: #fff;
    text-decoration: none;
}

.portal-support > i { color: var(--brand-cyan); }
.portal-support span { display: flex; flex-direction: column; }
.portal-support strong { color: #fff; font-size: .78rem; }
.portal-support small { color: #9fb1c0; font-size: .68rem; }

.portal-content {
    min-width: 0;
}

.portal-page-header,
.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.portal-page-header h1,
.admin-page-header h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.portal-page-header p,
.admin-page-header p { margin: 0; }

.portal-footer {
    padding: 18px 0;
    border-top: 1px solid var(--brand-mist);
    background: #fff;
    color: #7c8d9d;
    font-size: .74rem;
}

.portal-footer > div { display: flex; justify-content: space-between; gap: 20px; }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.metric-card {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--brand-mist);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(7,26,45,.04);
}

.metric-card__top { display: flex; align-items: center; justify-content: space-between; }
.metric-card__top > span { color: var(--brand-slate); font-size: .76rem; font-weight: 500; }
.metric-card__top i { color: var(--brand-blue); }
.metric-card strong { margin-top: auto; color: var(--brand-deep); font-size: 1.9rem; letter-spacing: -.04em; }
.metric-card small { margin-top: 4px; color: #8a9aab; font-size: .7rem; }

.portal-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
}

.panel-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--brand-mist);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 8px 26px rgba(7,26,45,.045);
}

.panel-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.panel-card__header h2 { margin: 0; font-size: 1.22rem; }
.panel-card__header a { font-size: .8rem; font-weight: 700; text-decoration: none; }

.empty-state {
    padding: 34px 20px;
    border: 1px dashed #bac8d6;
    border-radius: 11px;
    background: var(--brand-cloud);
    text-align: center;
}

.empty-state i { display: block; margin-bottom: 13px; color: var(--brand-blue); font-size: 1.55rem; }
.empty-state h3 { margin-bottom: 7px; font-size: 1rem; }
.empty-state p { max-width: 420px; margin: 0 auto 17px; font-size: .82rem; }

.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 12px; border-bottom: 1px solid var(--brand-mist); text-align: left; vertical-align: middle; white-space: nowrap; }
.data-table th { color: #758697; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.data-table td { color: var(--brand-slate); font-size: .82rem; }
.data-table td strong { color: var(--brand-deep); }
.data-table tr:last-child td { border-bottom: 0; }

.state-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 99px;
    background: var(--brand-cloud);
    color: var(--brand-slate);
    font-size: .68rem;
    font-weight: 700;
}

.state-badge::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.state-badge.is-active, .state-badge.is-paid, .state-badge.is-succeeded { background: var(--success-soft); color: var(--success); }
.state-badge.is-warning, .state-badge.is-past-due, .state-badge.is-processing { background: var(--warning-soft); color: var(--warning); }
.state-badge.is-danger, .state-badge.is-failed, .state-badge.is-canceled { background: var(--danger-soft); color: var(--danger); }

.quick-links { display: grid; gap: 9px; }
.quick-links a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--brand-mist); border-radius: 10px; color: var(--brand-deep); text-decoration: none; }
.quick-links a > i:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-cloud); color: var(--brand-blue); }
.quick-links a > i:last-child { color: #9aabba; }
.quick-links strong { display: block; font-size: .84rem; }
.quick-links small { display: block; margin-top: 2px; color: var(--brand-slate); font-size: .7rem; }

.license-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--brand-mist); border-radius: 12px; background: #fff; }
.license-card + .license-card { margin-top: 12px; }
.license-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-deep); color: var(--brand-cyan); font-size: 1.25rem; }
.license-card h3 { margin-bottom: 4px; font-size: 1rem; }
.license-card p { margin: 0; font-size: .78rem; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource-card { min-height: 200px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--brand-mist); border-radius: 13px; background: #fff; }
.resource-card i { margin-bottom: 34px; color: var(--brand-blue); font-size: 1.4rem; }
.resource-card h3 { margin-bottom: 7px; font-size: 1rem; }
.resource-card p { margin: 0; font-size: .8rem; }
.resource-card span { margin-top: auto; padding-top: 18px; color: #8a9aab; font-size: .7rem; }

.notification-list { display: grid; gap: 10px; }
.notification-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: start; gap: 13px; padding: 18px; border: 1px solid var(--brand-mist); border-radius: 11px; background: #fff; }
.notification-item > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-cloud); color: var(--brand-blue); }
.notification-item h3 { margin: 0 0 5px; font-size: .92rem; }
.notification-item p { margin: 0; font-size: .78rem; }
.notification-item time { color: #8b9bac; font-size: .68rem; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--brand-cloud); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 18px; overflow-y: auto; background: #041424; color: #fff; }
.admin-brand { display: inline-flex; padding: 4px 10px 26px; }
.admin-brand img { width: 155px; height: auto; }
.admin-context { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-context span { color: var(--brand-cyan); font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.admin-context strong { font-size: 1.05rem; }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 12px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; color: #9fb1c0; font-size: .84rem; text-decoration: none; }
.admin-sidebar nav a i { width: 19px; color: #b5c5d2; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar nav a.active { background: rgba(0,200,255,.12); color: #fff; box-shadow: inset 3px 0 var(--brand-cyan); }
.admin-sidebar nav a.active i { color: var(--brand-cyan); }
.admin-sidebar__bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar__bottom a, .admin-sidebar__bottom button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #8fa2b3; font-size: .8rem; text-decoration: none; }
.admin-sidebar__bottom button:hover, .admin-sidebar__bottom a:hover { background: rgba(255,255,255,.05); color: #fff; }
.admin-main { min-width: 0; }
.admin-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--brand-mist); background: #fff; }
.admin-topbar > div { display: flex; align-items: center; gap: 9px; color: var(--brand-slate); font-size: .76rem; }
.admin-topbar__signal { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(8,127,91,.1); }
.admin-topbar a { color: var(--brand-slate); font-size: .76rem; text-decoration: none; }
.admin-content { padding: 38px; }
.admin-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-bottom: 20px; padding: 20px 22px; border: 1px solid #bcdcee; border-radius: 12px; background: #eef9ff; }
.admin-banner h3 { margin-bottom: 4px; font-size: .95rem; }
.admin-banner p { margin: 0; font-size: .78rem; }

.checkout-shell { padding: 72px 0 100px; background: var(--brand-cloud); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr); align-items: start; gap: 28px; }
.checkout-panel, .checkout-summary { padding: 30px; border: 1px solid var(--brand-mist); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.checkout-panel h1 { margin-bottom: 12px; font-size: 2.2rem; }
.checkout-panel > p { margin-bottom: 28px; }
.checkout-summary { position: sticky; top: calc(var(--header-height) + 24px); }
.checkout-summary h2 { margin-bottom: 20px; font-size: 1.15rem; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--brand-mist); color: var(--brand-slate); font-size: .84rem; }
.summary-row strong { color: var(--brand-deep); }
.summary-total { padding-top: 18px; border: 0; font-size: 1rem; }
.summary-total strong { font-size: 1.35rem; }
.payment-element { min-height: 160px; margin: 22px 0; }
.secure-note { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; color: var(--brand-slate); font-size: .75rem; }
.secure-note i { color: var(--success); }
.checkout-step { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--brand-blue); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.checkout-step span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #eaf1ff; }
.checkout-selection { display: grid; gap: 18px; }
.quantity-control { width: 164px; display: grid; grid-template-columns: 44px 1fr 44px; overflow: hidden; border: 1px solid #cbd7e2; border-radius: 10px; background: #fff; }
.quantity-control button { border: 0; background: var(--brand-cloud); color: var(--brand-deep); }
.quantity-control button:disabled { color: #a5b2bf; cursor: not-allowed; }
.quantity-control input { width: 100%; min-height: 44px; border: 0; border-inline: 1px solid #dbe4ec; color: var(--brand-deep); text-align: center; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { appearance: none; }
.checkout-terms { align-items: flex-start; padding: 16px; border: 1px solid var(--brand-mist); border-radius: 10px; background: var(--brand-cloud); font-size: .79rem; line-height: 1.55; }
.checkout-terms .form-check-input { flex: 0 0 auto; margin-top: .2rem; }
.summary-product { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; margin-bottom: 18px; padding: 16px; border-radius: 11px; background: var(--brand-cloud); }
.summary-product__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-deep); color: var(--brand-cyan); }
.summary-product span { display: block; margin-top: 3px; color: var(--brand-slate); font-size: .74rem; }
.summary-renewal { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0; font-size: .73rem; line-height: 1.5; }
.summary-renewal i { margin-top: 2px; color: var(--brand-blue); }
.summary-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--brand-slate); font-size: .76rem; text-decoration: none; }

.subscription-list { display: grid; gap: 12px; }
.subscription-card { padding: 22px; border: 1px solid var(--brand-mist); border-radius: 12px; background: #fff; }
.subscription-card__main { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; }
.subscription-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-deep); color: var(--brand-cyan); }
.subscription-card__title { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.subscription-card__title h3 { margin: 0; font-size: 1rem; }
.subscription-card__main p { margin: 5px 0 0; font-size: .78rem; }
.subscription-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; padding: 16px 0; border-block: 1px solid var(--brand-mist); }
.subscription-details div { display: flex; flex-direction: column; gap: 4px; }
.subscription-details dt { color: #8192a2; font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.subscription-details dd { margin: 0; color: var(--brand-deep); font-size: .79rem; font-weight: 500; }
.subscription-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.payment-method-summary { display: grid; grid-template-columns: 48px 1fr; gap: 14px; margin-bottom: 20px; }
.payment-method-summary > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-cloud); color: var(--brand-blue); font-size: 1.15rem; }
.payment-method-summary strong { color: var(--brand-deep); font-size: .88rem; }
.payment-method-summary p { margin: 4px 0 0; font-size: .77rem; }

.pricing-hero { padding: 96px 0 62px; background: var(--brand-cloud); text-align: center; }
.pricing-hero h1 { margin-bottom: 20px; font-size: clamp(3rem, 6vw, 5rem); }
.pricing-hero p { max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; min-height: 470px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--brand-mist); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--brand-blue); box-shadow: 0 24px 64px rgba(47,99,255,.14); }
.price-card__badge { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 99px; background: #eaf1ff; color: var(--brand-blue); font-size: .65rem; font-weight: 700; }
.price-card > i { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 36px; border-radius: 12px; background: var(--brand-cloud); color: var(--brand-blue); font-size: 1.25rem; }
.price-card h2 { margin-bottom: 8px; font-size: 1.25rem; }
.price-card > p { min-height: 50px; font-size: .86rem; }
.price-amount { margin: 20px 0; color: var(--brand-deep); }
.price-amount strong { font-size: 2.35rem; letter-spacing: -.05em; }
.price-amount span { color: var(--brand-slate); font-size: .8rem; }
.price-card ul { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.price-card li { color: var(--brand-slate); font-size: .82rem; }
.price-card li i { margin-right: 8px; color: var(--success); }
.price-card .btn { width: 100%; margin-top: auto; }
.test-catalog-note { display: flex; align-items: flex-start; gap: 11px; margin: 0 auto 34px; padding: 14px 16px; max-width: 760px; border: 1px solid #ead394; border-radius: 10px; background: var(--warning-soft); color: #735000; font-size: .8rem; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 90px; }
.contact-copy h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
.contact-copy > p { font-size: 1.04rem; }
.contact-methods { display: grid; gap: 12px; margin-top: 40px; }
.contact-methods > div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 13px; padding: 15px 0; border-top: 1px solid var(--brand-mist); }
.contact-methods > div > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-cloud); color: var(--brand-blue); }
.contact-methods span { min-width: 0; display: flex; flex-direction: column; }
.contact-methods strong { color: var(--brand-deep); font-size: .86rem; }
.contact-methods small { overflow-wrap: anywhere; color: var(--brand-slate); font-size: .75rem; }
.contact-form-card { padding: 34px; border: 1px solid var(--brand-mist); border-radius: var(--radius-md); background: var(--brand-cloud); box-shadow: var(--shadow-sm); }
.contact-form-card .form-floating > label span { color: #8999a9; font-size: .75rem; }
.contact-textarea { min-height: 150px !important; resize: vertical; }
.contact-consent { align-items: flex-start; margin: 4px 0 10px; font-size: .8rem; line-height: 1.55; }
.contact-consent .form-check-input { flex: 0 0 auto; margin-top: .2rem; }
.contact-success { padding: 60px 24px; text-align: center; }
.contact-success > i { display: block; margin-bottom: 20px; color: var(--success); font-size: 3rem; }
.contact-success h2 { margin-bottom: 10px; font-size: 2rem; }
.contact-success p { margin-bottom: 24px; }

.footer-cta { padding: 72px 0; overflow: hidden; background: linear-gradient(125deg, #0a243d, var(--brand-deep)); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 52px; }
.footer-cta h2 { max-width: 690px; margin-bottom: 10px; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.footer-cta p { margin: 0; color: #aebfcd; font-size: 1.04rem; }

.site-footer { padding: 72px 0 28px; background: #04111e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 52px; padding-bottom: 56px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 310px; color: #91a4b5; font-size: .9rem; }
.footer-grid h3 { margin-bottom: 20px; color: #fff; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a { color: #aab9c6; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--brand-cyan); }
.footer-social { display: flex; gap: 9px; margin-top: 24px; }
.footer-social a, .footer-social span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; color: #fff; }
.footer-social span { color: #72879a; cursor: not-allowed; }
.footer-social a:hover { border-color: var(--brand-cyan); background: rgba(0,200,255,.1); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: #72879a; font-size: .75rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { color: #8fa2b3; font-size: .75rem; text-decoration: none; }

.inotrex-modal-backdrop { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: rgba(7,26,45,.72); backdrop-filter: blur(8px); }
.inotrex-modal { position: relative; width: min(100%, 520px); padding: 34px; border: 1px solid var(--brand-mist); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(7,26,45,.28); }
.inotrex-modal h2 { margin: 0 44px 10px 0; color: var(--brand-deep); font-size: clamp(1.45rem, 3vw, 1.9rem); }
.inotrex-modal p { color: var(--brand-slate); }
.inotrex-modal__close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 9px; color: var(--brand-slate); background: var(--brand-cloud); }
.inotrex-modal__close:hover { color: var(--brand-deep); background: var(--brand-mist); }
.inotrex-modal__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; color: var(--brand-blue); background: rgba(47,99,255,.1); font-size: 1.3rem; }
.inotrex-modal__icon.is-warning { color: #a15c00; background: #fff3df; }
.inotrex-modal__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-danger { border-color: #b4233d; color: #fff; background: #b4233d; }
.btn-danger:hover { border-color: #8d1930; color: #fff; background: #8d1930; }

.form-control,
.form-select {
    min-height: 48px;
    border-color: #cbd7e2;
    border-radius: 10px;
    color: var(--brand-ink);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 .24rem rgba(47, 99, 255, .12);
}

.form-floating > label {
    color: var(--brand-slate);
}

.form-check-input:checked {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
}

.validation-message,
.text-danger {
    color: var(--danger) !important;
    font-size: .84rem;
}

.valid.modified:not([type=checkbox]) { border-color: var(--success); }
.invalid:not([type=checkbox]) { border-color: var(--danger); }

.alert {
    border: 0;
    border-radius: 10px;
}

.alert-success { background: var(--success-soft); color: #075d43; }
.alert-warning { background: var(--warning-soft); color: #6f4d00; }
.alert-danger { background: var(--danger-soft); color: #8d1c32; }
.alert-info { background: #e9f7ff; color: #174b69; }

.blazor-error-boundary {
    padding: 1rem 1rem 1rem 3.7rem;
    background: var(--danger);
    color: white;
}

.blazor-error-boundary::after { content: "Ocurrió un error inesperado."; }

.darker-border-checkbox.form-check-input { border-color: #7c8c9c; }
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder { color: var(--bs-secondary-color); text-align: end; }
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder { text-align: start; }

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-up { animation: reveal-up .7s ease both; }

@media (max-width: 1050px) {
    .hero-grid { grid-template-columns: 1fr .65fr; gap: 38px; }
    .product-frame { grid-template-columns: 1fr; padding: 54px; }
    .product-copy { max-width: 680px; }
    .product-console { transform: none; }
    .value-grid, .placeholder-feature-grid, .portal-modules { grid-template-columns: repeat(2, 1fr); }
    .journey-grid { grid-template-columns: repeat(2, 1fr); }
    .journey-grid article:nth-child(2) { border-right: 0; }
    .journey-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--brand-mist); }
    .footer-grid { grid-template-columns: 1.6fr repeat(3, .8fr); gap: 30px; }
}

@media (max-width: 880px) {
    :root { --header-height: 70px; }
    .section { padding: 80px 0; }
    .header-inner { grid-template-columns: 1fr auto; }
    .nav-toggle-input { position: absolute; z-index: 3; right: 0; width: 42px; height: 42px; display: block; margin: 0; cursor: pointer; opacity: 0; }
    .nav-toggle { width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--brand-mist); border-radius: 10px; color: var(--brand-deep); font-size: 1.45rem; }
    .nav-toggle-input:focus-visible + .nav-toggle { outline: 3px solid rgba(0, 200, 255, .36); outline-offset: 3px; }
    .primary-nav, .header-actions { display: none; }
    .nav-toggle-input:checked ~ .primary-nav { position: absolute; top: var(--header-height); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px; border-top: 1px solid var(--brand-mist); border-bottom: 1px solid var(--brand-mist); background: #fff; box-shadow: var(--shadow-md); }
    .nav-toggle-input:checked ~ .primary-nav a { padding: 13px 8px; }
    .mobile-nav-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 8px 4px; border-top: 1px solid var(--brand-mist); }
    .mobile-nav-actions .logout-form, .mobile-nav-actions .btn { width: 100%; }
    .mobile-nav-actions .btn { padding: 10px 12px; }
    .mobile-nav-actions .btn-primary, .mobile-nav-actions .btn-primary:hover { color: #fff; }
    .primary-nav a.active::after { display: none; }
    .hero-home { min-height: auto; }
    .hero-grid, .guardian-hero-grid { grid-template-columns: 1fr; padding-block: 76px; }
    .hero-visual { display: none; }
    .guardian-core { max-width: 420px; width: 100%; margin: 0 auto; }
    .split-heading, .principles-grid, .story-grid { grid-template-columns: 1fr; gap: 34px; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: 320px; }
    .service-list article { grid-template-columns: 44px 58px 1fr; }
    .service-list ul { grid-column: 3; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps li:nth-child(2) { border-right: 0; }
    .principles-grid { gap: 56px; }
    .footer-cta-inner, .compact-cta-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-grid > div:last-child { grid-column: 2; }
    .team-placeholder-inner { grid-template-columns: 1fr; padding: 48px; }
    .team-orbits { display: none; }
}

@media (max-width: 620px) {
    .container-wide, .container-narrow { width: min(calc(100% - 28px), 1220px); }
    .section { padding: 64px 0; }
    .brand-link img { width: 146px; }
    .hero-grid { padding-block: 64px; }
    .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
    .hero-lead { font-size: 1.05rem; }
    .hero-actions .btn { width: 100%; }
    .hero-proof { align-items: flex-start; flex-direction: column; gap: 10px; }
    .split-heading { margin-bottom: 38px; }
    .capability-card { padding: 26px; }
    .product-frame { width: min(calc(100% - 28px), 1220px); padding: 34px 24px; }
    .console-body { grid-template-columns: 48px 1fr; }
    .console-content { padding: 22px 16px; }
    .module-grid { grid-template-columns: 1fr; }
    .module-grid > div { min-height: 80px; }
    .journey-grid, .value-grid, .placeholder-feature-grid, .portal-modules { grid-template-columns: 1fr; }
    .journey-grid article { border-right: 0; border-bottom: 1px solid var(--brand-mist); }
    .journey-grid article:last-child { border-bottom: 0; }
    .page-hero { padding: 76px 0; }
    .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .service-list article { grid-template-columns: 38px 1fr; gap: 20px; }
    .service-icon { grid-column: 2; grid-row: 1; margin-left: auto; }
    .service-list article > div:nth-child(3), .service-list ul { grid-column: 1 / -1; }
    .process-steps { grid-template-columns: 1fr; }
    .process-steps li { border-right: 0; }
    .process-steps span { margin-bottom: 35px; }
    .compact-cta-inner { padding: 30px 24px; }
    .story-mark { min-height: 360px; }
    .team-placeholder-inner { padding: 36px 28px; }
    .guardian-hero { min-height: auto; }
    .guardian-hero h1 { font-size: clamp(4rem, 22vw, 6.3rem); }
    .portal-modules article { grid-template-columns: 42px 1fr; }
    .legal-hero { padding: 66px 0 42px; }
    .legal-document { padding-block: 44px 72px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
    .portal-frame { grid-template-columns: 1fr; }
    .portal-sidebar { position: static; }
    .portal-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .portal-support { display: none; }
    .portal-grid, .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .admin-shell { grid-template-columns: 78px minmax(0, 1fr); }
    .admin-sidebar { padding-inline: 10px; }
    .admin-brand { padding-inline: 8px; }
    .admin-brand img { width: 46px; height: 46px; object-fit: cover; object-position: left; }
    .admin-context, .admin-sidebar nav a { justify-content: center; }
    .admin-context span, .admin-context strong, .admin-sidebar nav a:not(.active) { font-size: 0; }
    .admin-sidebar nav a i, .admin-sidebar nav a.active i { width: auto; font-size: 1.15rem; }
    .admin-sidebar nav a.active { font-size: 0; }
    .admin-sidebar__bottom a, .admin-sidebar__bottom button { justify-content: center; font-size: 0; }
    .admin-sidebar__bottom i { font-size: 1.1rem; }
    .admin-content { padding: 28px 22px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 620px) {
    .portal-frame { padding-block: 20px 48px; }
    .portal-sidebar { padding: 12px; overflow-x: auto; }
    .portal-sidebar__heading, .portal-sidebar__divider, .portal-sidebar nav:nth-of-type(2) { display: none; }
    .portal-sidebar nav { width: max-content; display: flex; }
    .portal-sidebar nav a { min-width: 92px; flex-direction: column; gap: 5px; padding: 9px; font-size: .68rem; }
    .portal-page-header, .admin-page-header { align-items: flex-start; flex-direction: column; }
    .metric-grid, .resource-grid, .pricing-grid { grid-template-columns: 1fr; }
    .license-card { grid-template-columns: 46px 1fr; }
    .license-card > :last-child { grid-column: 2; }
    .notification-item { grid-template-columns: 38px 1fr; }
    .notification-item time { grid-column: 2; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; width: 100%; height: auto; display: block; padding: 12px; }
    .admin-brand, .admin-context, .admin-sidebar__bottom { display: none; }
    .admin-sidebar nav { display: flex; overflow-x: auto; margin: 0; }
    .admin-sidebar nav a, .admin-sidebar nav a.active { min-width: 66px; justify-content: center; font-size: 0; box-shadow: none; }
    .admin-sidebar nav a i, .admin-sidebar nav a.active i { font-size: 1.1rem; }
    .admin-topbar { height: 56px; padding-inline: 18px; }
    .admin-content { padding: 24px 14px; }
    .admin-banner { align-items: flex-start; flex-direction: column; }
    .checkout-shell { padding: 44px 0 72px; }
    .checkout-panel, .checkout-summary { padding: 22px; }
    .contact-form-card { padding: 22px; }
    .subscription-details { grid-template-columns: 1fr; }
    .subscription-actions { justify-content: stretch; }
    .subscription-actions .btn { width: 100%; }
}
