:root {
    --shell-bg: #f3f0eb;
    --shell-surface: #ffffff;
    --shell-surface-alt: #f7f4ef;
    --shell-surface-dark: #10162f;
    --shell-border: rgba(16, 22, 47, 0.055);
    --shell-border-strong: rgba(93, 95, 239, 0.24);
    --shell-text: #11162f;
    --shell-text-soft: #5f677a;
    --shell-text-inverse: #f5f7fb;
    --shell-primary: #5658e7;
    --shell-primary-dark: #4547c7;
    --shell-primary-soft: rgba(86, 88, 231, 0.1);
    --shell-cyan: #0aa7c6;
    --shell-cyan-soft: rgba(10, 167, 198, 0.12);
    --shell-green: #0f9f74;
    --shell-green-soft: rgba(15, 159, 116, 0.12);
    --shell-orange: #f36b37;
    --shell-orange-soft: rgba(243, 107, 55, 0.12);
    --shell-shadow-sm: 0 10px 25px rgba(16, 22, 47, 0.06);
    --shell-shadow-md: 0 24px 48px rgba(16, 22, 47, 0.08);
    --shell-shadow-lg: 0 32px 80px rgba(16, 22, 47, 0.12);
    --shell-radius-sm: 12px;
    --shell-radius-md: 18px;
    --shell-radius-lg: 28px;
    --shell-radius-xl: 40px;
    --shell-max-width: 1342px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.shell-body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #fcfbf8 0%, var(--shell-bg) 56%, #ffffff 100%);
    color: var(--shell-text);
    line-height: 1.72;
}

body.shell-body.no-shell-gradient {
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

main.shell-main {
    padding-top: 4.55rem;
}

.shell-container {
    width: min(var(--shell-max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.shell-section {
    padding: 6rem 0;
}

.shell-section.tight {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
}

.shell-surface {
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-lg);
    box-shadow: 0 14px 34px rgba(16, 22, 47, 0.05);
}

.shell-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shell-title {
    margin: 0;
    font-size: clamp(1.95rem, 3.2vw, 3rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.028em;
    max-width: min(100%, 28rem);
    text-wrap: balance;
}

.shell-title .accent {
    color: #4f52c4;
}

.shell-page-title {
    margin: 1rem 0 1rem;
    font-size: clamp(1.85rem, 3.1vw, 2.85rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    /* Wider than old 15ch so phrases are not forced onto tiny last lines; balance evens line lengths */
    max-width: min(100%, 48ch);
    text-wrap: balance;
}

.shell-page-title.wide {
    max-width: min(100%, 64ch);
    text-wrap: balance;
}

.shell-subtitle,
.shell-copy,
.shell-intro,
.shell-meta,
.shell-legal p,
.shell-table td,
.shell-table th,
.shell-list,
.shell-card p,
.shell-stacked-card p,
.shell-form-note,
.shell-footnote,
.shell-cta-copy,
.shell-faq details p,
.shell-faq details li,
.shell-copy p,
.shell-copy li {
    color: var(--shell-text-soft);
}

.shell-subtitle {
    font-size: 1.02rem;
    line-height: 1.78;
    max-width: 38rem;
    margin: 1rem 0 0;
}

.shell-intro {
    max-width: 39rem;
    margin: 0 auto;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Reduce short orphan lines in hero/section blurbs (Chromium 117+, Safari 17.5+) */
@supports (text-wrap: pretty) {
    .shell-subtitle,
    .shell-intro {
        text-wrap: pretty;
    }
}

.shell-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(252, 251, 248, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(16, 22, 47, 0.05);
}

.shell-nav {
    width: min(var(--shell-max-width), calc(100% - 2rem));
    margin: 0 auto;
    min-height: 4.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.shell-brand img {
    height: 40px;
    width: auto;
    display: block;
}

/* Legacy: wordmark next to logo (removed from header; logo-only brand in HTML) */
.shell-brand-wordmark {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--shell-text);
}

/* Legacy: stacked subtitle next to logo (still used in some older blocks) */
.shell-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.shell-brand-copy strong {
    font-size: 0.96rem;
    letter-spacing: -0.02em;
}

.shell-brand-copy span {
    font-size: 0.74rem;
    color: var(--shell-text-soft);
}

.shell-header .shell-brand-copy > span {
    display: none;
}

.shell-header .shell-brand-copy strong {
    font-size: 1.02rem;
}

.shell-nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.shell-nav-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.05rem;
    flex: 1;
    min-width: 0;
}

.shell-nav-primary > a,
.shell-nav-trigger {
    border: 0;
    background: transparent;
    color: var(--shell-text-soft);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    padding: 0.2rem 0 0.48rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.shell-nav-primary > a,
.shell-nav-trigger {
    position: relative;
}

.shell-nav-primary > a::before,
.shell-nav-trigger::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05rem;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(17, 22, 47, 0.72);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.shell-nav-primary > a:hover,
.shell-nav-primary > a.is-active,
.shell-nav-trigger:hover,
.shell-nav-trigger.is-active,
.shell-nav-group.is-open .shell-nav-trigger {
    color: var(--shell-text);
}

.shell-nav-primary > a:hover::before,
.shell-nav-primary > a.is-active::before,
.shell-nav-trigger:hover::before,
.shell-nav-trigger.is-active::before,
.shell-nav-group.is-open .shell-nav-trigger::before {
    transform: scaleX(1);
}

.shell-nav-group {
    position: relative;
    display: flex;
}

.shell-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    appearance: none;
}

.shell-nav-caret {
    width: 0.48rem;
    height: 0.48rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.shell-nav-group.is-open .shell-nav-caret {
    transform: rotate(225deg) translateY(1px);
}

.shell-nav-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 50%;
    z-index: 120;
    width: min(42rem, calc(100vw - 2rem));
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 54px rgba(16, 22, 47, 0.11);
    backdrop-filter: blur(18px);
}

.shell-nav-panel[hidden] {
    display: none !important;
}

.shell-nav-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.shell-nav-panel-column {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.shell-nav-panel-label {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shell-text-soft);
}

.shell-nav-card {
    display: grid;
    gap: 0.22rem;
    padding: 0.82rem 0.92rem;
    border-radius: 16px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.92));
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shell-nav-card:hover,
.shell-nav-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(86, 88, 231, 0.22);
    box-shadow: 0 16px 32px rgba(16, 22, 47, 0.08);
    background: #ffffff;
    outline: none;
}

.shell-nav-card strong {
    color: var(--shell-text);
    font-size: 0.93rem;
}

.shell-nav-card span {
    color: var(--shell-text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.shell-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.shell-auth-cluster {
    padding: 0.16rem 0.28rem 0.16rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    background: rgba(255, 255, 255, 0.55);
    gap: 0.2rem;
}

.shell-nav-actions .shell-login-link {
    color: var(--shell-text-soft);
    font-weight: 400;
    text-decoration: none;
    padding: 0.32rem 0.4rem;
    font-size: 0.84rem;
}

.shell-button.shell-button-nav {
    min-height: 2rem;
    padding: 0.38rem 0.85rem;
    font-size: 0.83rem;
    box-shadow: none;
}

.shell-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--shell-border);
    background: var(--shell-surface);
    color: var(--shell-text);
    cursor: pointer;
}

/* Legacy pill switcher (older pages) */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.22rem;
    background: var(--shell-surface-alt);
    border: 1px solid var(--shell-border);
    border-radius: 999px;
}

.language-dropdown {
    position: relative;
    flex-shrink: 0;
}

.language-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 2rem;
    padding: 0.2rem 0.55rem 0.2rem 0.48rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: rgba(255, 255, 255, 0.75);
    color: var(--shell-text);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.language-dropdown-toggle:hover,
.language-dropdown.is-open .language-dropdown-toggle {
    border-color: rgba(86, 88, 231, 0.35);
    background: #ffffff;
}

.language-dropdown-icon {
    flex-shrink: 0;
    color: var(--shell-text-soft);
}

.language-dropdown-code {
    min-width: 1.75rem;
    text-align: left;
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 120;
    min-width: 13.5rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-sm);
    box-shadow: var(--shell-shadow-md);
}

.language-dropdown-menu[hidden] {
    display: none !important;
}

.language-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--shell-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.language-dropdown-menu a:hover,
.language-dropdown-menu a:focus-visible,
.language-dropdown-menu a.is-active {
    background: rgba(86, 88, 231, 0.08);
    outline: none;
}

.language-dropdown-menu .lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.language-dropdown-menu .lang-code {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--shell-text-soft);
}

.language-link,
.language-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2rem;
    padding: 0 0.65rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--shell-text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.language-link.active,
.language-link:hover,
.language-more-toggle:hover,
.language-more.is-open .language-more-toggle {
    background: var(--shell-primary);
    color: #ffffff;
}

.language-more {
    position: relative;
}

.language-more-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 11rem;
    padding: 0.45rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-sm);
    box-shadow: var(--shell-shadow-sm);
    display: none;
}

.language-more.is-open .language-more-dropdown {
    display: block;
}

.language-more-option {
    justify-content: flex-start;
    min-width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

.shell-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.78rem 1.24rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shell-button:hover {
    transform: translateY(-1px);
}

.shell-button:focus-visible,
.shell-feature-tab:focus-visible,
.shell-flow-switcher-tab:focus-visible,
.shell-faq summary:focus-visible,
.language-dropdown-toggle:focus-visible,
.shell-mobile-toggle:focus-visible {
    outline: 2px solid rgba(86, 88, 231, 0.42);
    outline-offset: 3px;
}

.shell-button.primary {
    background: #131725;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 22, 47, 0.12);
}

.shell-button.primary.security-trust-button {
    background: linear-gradient(135deg, var(--shell-primary), #4a8dff);
    box-shadow: 0 14px 30px rgba(86, 88, 231, 0.24);
}

.shell-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(17, 22, 47, 0.12);
    color: var(--shell-text);
}

.shell-button.ghost {
    background: transparent;
    border-color: rgba(17, 22, 47, 0.12);
    color: var(--shell-text);
}

.shell-hero {
    padding: 4.5rem 0 5rem;
}

/* Centered homepage hero (Langdock-style): one column, calm typography */
.shell-hero.shell-hero--centered {
    padding: 4.35rem 0 4rem;
}

.shell-hero--centered .shell-hero-inner {
    max-width: 57rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shell-hero--centered .shell-kicker {
    margin-bottom: 1.1rem;
    padding: 0.32rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(86, 88, 231, 0.07);
}

.shell-hero--centered .shell-title {
    max-width: min(37.5rem, 92vw);
}

.shell-hero--centered .shell-subtitle {
    margin: 1.2rem auto 0;
    text-align: center;
    max-width: 35rem;
    font-size: 0.97rem;
    line-height: 1.62;
}

.shell-hero--centered .shell-hero-actions {
    justify-content: center;
    margin-top: 1.65rem;
}

.shell-hero--centered .shell-hero-inline-link {
    margin-top: 0.95rem;
}

.shell-hero--centered .shell-hero-inline-link a {
    font-weight: 500;
}

/* Hero trust ribbon: single calm line below CTAs */
.shell-hero--centered .shell-trust-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.55rem;
    margin-top: 1.65rem;
    width: 100%;
    max-width: 57rem;
    padding: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 22, 47, 0.07);
    box-shadow: 0 14px 36px rgba(16, 22, 47, 0.05);
    font-size: 0.86rem;
    color: var(--shell-text-soft);
    line-height: 1.45;
}

.shell-trust-ribbon-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.44rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 22, 47, 0.05);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.shell-trust-ribbon-item strong {
    color: var(--shell-text);
    font-weight: 600;
    margin-inline-end: 0.35em;
}

.shell-trust-ribbon-sep {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(17, 22, 47, 0.16);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .shell-hero--centered .shell-trust-ribbon {
        flex-direction: column;
        border-radius: var(--shell-radius-md);
        text-align: center;
        padding: 0.7rem;
    }

    .shell-trust-ribbon-item {
        width: 100%;
    }

    .shell-trust-ribbon-sep {
        display: none;
    }
}

.shell-hero-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    margin: 2.2rem auto 0;
    border-radius: 32px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 244, 239, 0.9) 48%, rgba(244, 244, 255, 0.88) 100%);
    box-shadow: 0 28px 65px rgba(16, 22, 47, 0.08);
    padding: 1.2rem;
    overflow: hidden;
}

.shell-hero-visual::before,
.shell-hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    z-index: -1;
    opacity: 0.6;
}

.shell-hero-visual::before {
    width: 14rem;
    height: 14rem;
    top: -4rem;
    left: -2rem;
    background: radial-gradient(circle, rgba(86, 88, 231, 0.22) 0%, rgba(86, 88, 231, 0) 70%);
}

.shell-hero-visual::after {
    width: 16rem;
    height: 16rem;
    right: -3rem;
    bottom: -6rem;
    background: radial-gradient(circle, rgba(10, 167, 198, 0.2) 0%, rgba(10, 167, 198, 0) 70%);
}

.shell-hero-preview {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(268px, 0.95fr);
    gap: 1.35rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.shell-hero-preview-window,
.shell-hero-preview-card {
    border-radius: 20px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    box-shadow: 0 16px 34px rgba(16, 22, 47, 0.06);
    backdrop-filter: blur(20px);
}

.shell-hero-preview-window {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9fb 100%);
    border-radius: 24px;
    border: 1px solid rgba(17, 22, 47, 0.05);
    box-shadow: 0 20px 40px rgba(16, 22, 47, 0.04);
}

.shell-hero-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shell-hero-preview-pill {
    width: fit-content;
    max-width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #edf2ff;
    color: #4f46e5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shell-hero-preview-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.shell-hero-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 500;
}

.shell-hero-preview-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.shell-hero-preview-node {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    text-align: center;
}

.shell-hero-preview-node.highlight {
    background: #e0e7ff;
    border-color: #c7d2fe;
}

.shell-hero-preview-node span {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.shell-hero-preview-node.highlight span {
    color: #4f46e5;
}

.shell-hero-preview-node strong {
    font-size: 0.9rem;
    color: #111827;
    font-weight: 600;
}

.shell-hero-preview-route-line {
    display: block;
    height: 2px;
    min-width: 1.25rem;
    border-radius: 999px;
    background: #c7d2fe;
}

.shell-hero-preview-console {
    position: relative;
    min-height: 12rem;
    padding: 1.25rem;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 50%, #f0f9ff 100%);
    overflow: hidden;
}

.shell-hero-preview-console-orb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -1rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(255,255,255,0) 70%);
    filter: blur(20px);
}

.shell-hero-preview-lines {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    align-content: start;
    margin-top: 3.5rem;
}

.shell-hero-preview-line {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #e0e7ff, transparent);
}

.shell-hero-preview-line.long {
    width: 80%;
}

.shell-hero-preview-line.medium {
    width: 60%;
}

.shell-hero-preview-line.short {
    width: 40%;
}

.shell-hero-preview-chip-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.shell-hero-preview-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    color: #111827;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.shell-hero-preview-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.shell-hero-preview-stat {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 16px;
    background: #f3f4f6;
    text-align: center;
}

.shell-hero-preview-stat strong {
    color: #111827;
    font-size: 0.85rem;
    font-weight: 600;
}

.shell-hero-preview-stat span {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.4;
}

.shell-hero-preview-stack {
    display: grid;
    gap: 0.85rem;
}

.shell-hero-preview-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.25rem;
    display: grid;
    gap: 0.35rem;
    align-content: center;
    border-radius: 22px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.shell-hero-preview-card.accent-indigo {
    background: #7f85f5;
}

.shell-hero-preview-card.accent-cyan {
    background: #00bcd4;
}

.shell-hero-preview-card.accent-orange {
    background: #ff8a3d;
}

.shell-hero-preview-card.accent-indigo,
.shell-hero-preview-card.accent-cyan,
.shell-hero-preview-card.accent-orange {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.shell-hero-preview-card-label {
    color: rgba(0, 0, 0, 0.45);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-hero-preview-card.accent-indigo .shell-hero-preview-card-label,
.shell-hero-preview-card.accent-cyan .shell-hero-preview-card-label,
.shell-hero-preview-card.accent-orange .shell-hero-preview-card-label {
    color: rgba(255, 255, 255, 0.78);
}

.shell-hero-preview-card strong {
    color: rgba(0, 0, 0, 0.85);
    font-size: 1.05rem;
    font-weight: 700;
}

.shell-hero-preview-card.accent-indigo strong,
.shell-hero-preview-card.accent-cyan strong,
.shell-hero-preview-card.accent-orange strong {
    color: #ffffff;
}

.shell-hero-preview-card > span:not(.shell-hero-preview-card-label) {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
}

.shell-hero-preview-card.accent-indigo > span:not(.shell-hero-preview-card-label),
.shell-hero-preview-card.accent-cyan > span:not(.shell-hero-preview-card-label),
.shell-hero-preview-card.accent-orange > span:not(.shell-hero-preview-card-label) {
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
    .shell-hero-preview {
        grid-template-columns: 1fr;
    }

    .shell-hero-preview-stack {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 720px) {
    .shell-hero-preview-route {
        grid-template-columns: 1fr;
    }

    .shell-hero-preview-route-line {
        display: none;
    }

    .shell-hero-preview-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shell-hero-visual {
        padding: 0.95rem;
        border-radius: 26px;
    }

    .shell-hero-preview {
        grid-template-columns: 1fr;
    }

    .shell-hero-preview-window,
    .shell-hero-preview-card,
    .shell-hero-preview-console {
        border-radius: 20px;
    }

    .shell-hero-preview-stack {
        grid-template-columns: 1fr;
    }

    .shell-hero-preview-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shell-hero-preview-badges {
        justify-content: flex-start;
    }

    .shell-hero-preview-console {
        min-height: 11rem;
    }

    .shell-hero-preview-lines {
        margin-top: 3.7rem;
    }
}

.shell-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: 2.5rem;
    align-items: stretch;
}

.shell-hero-copy {
    padding: 1.35rem 0;
}

.shell-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.shell-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.85rem;
}

.shell-stat-row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shell-hero-inline-link {
    margin: 1rem 0 0;
    font-size: 0.92rem;
}

.shell-hero-inline-link a {
    color: var(--shell-primary);
    font-weight: 600;
    text-decoration: none;
}

.shell-hero-inline-link a:hover {
    text-decoration: underline;
}

.shell-stat {
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    box-shadow: 0 10px 22px rgba(16, 22, 47, 0.04);
}

.shell-stat strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: var(--shell-text);
}

.shell-stat span {
    display: block;
    font-size: 0.88rem;
    color: var(--shell-text-soft);
}

.shell-hero-panel {
    padding: 1.55rem;
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 239, 0.95));
}

.shell-panel-card {
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 22, 47, 0.06);
    border-radius: var(--shell-radius-md);
}

.shell-panel-card h3,
.shell-card h3,
.shell-stacked-card h3,
.shell-mini-card h3,
.shell-table caption {
    margin: 0 0 0.55rem;
    font-size: 1.08rem;
    color: var(--shell-text);
}

.shell-panel-list,
.shell-list,
.shell-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shell-panel-list li,
.shell-check-list li,
.shell-dot-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.shell-check-list li + li,
.shell-panel-list li + li,
.shell-dot-list li + li {
    margin-top: 0.6rem;
}

.shell-icon-chip {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
}

.shell-icon-chip.cyan {
    background: var(--shell-cyan-soft);
    color: var(--shell-cyan);
}

.shell-icon-chip.green {
    background: var(--shell-green-soft);
    color: var(--shell-green);
}

.shell-icon-chip.orange {
    background: var(--shell-orange-soft);
    color: var(--shell-orange);
}

/* Inline icons from img/shell-icons.svg (<use href="…#icon-id">) */
.shell-icon {
    display: block;
    flex-shrink: 0;
    color: inherit;
}

.shell-icon--sm {
    width: 1rem;
    height: 1rem;
}

.shell-icon--md {
    width: 1.2rem;
    height: 1.2rem;
}

.shell-icon--ribbon {
    width: 0.92rem;
    height: 0.92rem;
    color: var(--shell-primary);
}

.shell-icon--resource {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--shell-primary);
    opacity: 0.92;
}

.shell-resource-link-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shell-pricing-features .shell-pricing-check {
    margin-top: 0.2rem;
    color: var(--shell-green);
}

.shell-pricing-card.dark .shell-pricing-features .shell-pricing-check {
    color: rgba(186, 230, 200, 0.95);
}

.shell-shinrai-arch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shell-primary);
}

.shell-shinrai-arch-icon .shell-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.shell-shinrai-arch-heading {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    width: 100%;
}

.shell-page-hero-panel--icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.shell-page-hero-panel--icon .shell-page-hero-panel-icon {
    flex-shrink: 0;
    color: var(--shell-primary);
    margin-top: 0.12rem;
}

.shell-inline-banner--icon {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.shell-inline-banner--icon .shell-inline-banner-icon {
    flex-shrink: 0;
    color: var(--shell-primary);
    margin-top: 0.08rem;
}

.shell-doc-card-icon,
.shell-blog-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 14px;
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
    margin-bottom: 0.5rem;
}

.shell-doc-card-icon .shell-icon,
.shell-blog-card-icon .shell-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.shell-section-header {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.35rem;
}

.shell-section-header.centered {
    text-align: center;
    justify-items: center;
}

.shell-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.shell-card-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shell-card-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Homepage: combined stack + explore as tabbed panels */
.shell-feature-tabs {
    display: grid;
    gap: 0.7rem;
    margin: 0.5rem auto 0;
    max-width: 48rem;
}

.shell-feature-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.shell-feature-tab {
    appearance: none;
    border: 1px solid var(--shell-border);
    background: rgba(255, 255, 255, 0.65);
    color: var(--shell-text-soft);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shell-feature-tab:hover {
    color: var(--shell-text);
    border-color: rgba(86, 88, 231, 0.28);
    background: #ffffff;
}

.shell-feature-tab[aria-selected="true"] {
    color: var(--shell-text);
    border-color: rgba(86, 88, 231, 0.45);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 22, 47, 0.06);
}

.shell-feature-panels {
    border-radius: var(--shell-radius-lg);
    border: 1px solid var(--shell-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 240, 0.96));
    box-shadow: 0 18px 38px rgba(16, 22, 47, 0.05);
    overflow: hidden;
    min-height: 0;
}

.shell-feature-panel {
    padding: 1.05rem 1.15rem;
}

.shell-feature-panel[hidden] {
    display: none !important;
}

.shell-feature-panel-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem 1rem;
    align-items: center;
    max-width: none;
    margin: 0 auto;
}

.shell-feature-panel-copy {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    text-align: left;
}

.shell-feature-panel-copy > p {
    margin: 0;
    color: var(--shell-text-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.shell-feature-panel-lead {
    color: var(--shell-text) !important;
    font-size: 0.98rem !important;
    font-weight: 500;
    line-height: 1.5 !important;
}

.shell-feature-panel-meta {
    font-size: 0.84rem !important;
    opacity: 0.9;
}

.shell-feature-panel .shell-button {
    min-height: 2.55rem;
    padding: 0.62rem 0.95rem;
}

.shell-feature-panel-cta {
    justify-self: end;
    white-space: nowrap;
    margin-left: 0.25rem;
}

@media (max-width: 560px) {
    .shell-feature-panel-inner {
        grid-template-columns: auto 1fr;
        align-items: start;
    }

    .shell-feature-panel-cta {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 0;
    }
}

/* Scroll reveal: only hide when JS is explicitly active */
.shell-reveal {
    opacity: 1;
    transform: none;
}

.shell-js .shell-reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.shell-js .shell-reveal.shell-reveal-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .shell-js .shell-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

.shell-card,
.shell-stacked-card,
.shell-mini-card {
    padding: 1.7rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    box-shadow: 0 14px 34px rgba(16, 22, 47, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.shell-card:hover,
.shell-stacked-card:hover,
.shell-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(16, 22, 47, 0.07);
    border-color: rgba(86, 88, 231, 0.12);
}

.shell-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.shell-card-head h3 {
    margin: 0;
}

.shell-card-head .shell-icon-chip {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 16px;
}

.shell-panel-list li > div,
.shell-check-list li > div {
    display: grid;
    gap: 0.2rem;
}

.shell-card .shell-tag-row,
.shell-pricing-card .shell-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.shell-pill,
.shell-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.shell-pill {
    background: var(--shell-surface-alt);
    border: 1px solid var(--shell-border);
    color: var(--shell-text-soft);
}

.shell-pill.primary,
.shell-badge.primary {
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
}

.shell-pill.cyan,
.shell-badge.cyan {
    background: var(--shell-cyan-soft);
    color: var(--shell-cyan);
}

.shell-pill.green,
.shell-badge.green {
    background: var(--shell-green-soft);
    color: var(--shell-green);
}

.shell-pill.orange,
.shell-badge.orange {
    background: var(--shell-orange-soft);
    color: var(--shell-orange);
}

.shell-callout {
    padding: 1.55rem;
    border: 1px solid rgba(17, 22, 47, 0.1);
    border-radius: var(--shell-radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.96));
    box-shadow: 0 12px 24px rgba(16, 22, 47, 0.04);
}

.shell-callout strong,
.shell-card strong,
.shell-stacked-card strong,
.shell-copy strong {
    color: var(--shell-text);
}

.shell-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.35rem;
    align-items: start;
    min-width: 0;
}

/* Let scroll wrappers shrink inside grid; fr tracks need min-width 0 for overflow to work when side-by-side */
.shell-split > * {
    min-width: 0;
}

/*
 * Copy + table: fit the table in its column with wrapping (overrides global min-width:720px on .shell-table).
 * Desktop: narrow copy rail + table column gets remaining width — side-by-side without inner scroll.
 */
.shell-split:has(> .shell-table-wrap) .shell-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}

.shell-split:has(> .shell-table-wrap) .shell-table th,
.shell-split:has(> .shell-table-wrap) .shell-table td {
    overflow-wrap: anywhere;
    hyphens: auto;
}

@media (min-width: 1101px) {
    .shell-split:has(> .shell-table-wrap) {
        grid-template-columns: minmax(0, min(26rem, 42%)) minmax(0, 1fr);
    }

    .shell-split:has(> .shell-table-wrap) > .shell-table-wrap {
        overflow-x: visible;
    }
}

.shell-copy {
    display: grid;
    gap: 1rem;
}

.shell-copy p,
.shell-copy ul,
.shell-copy ol {
    margin: 0;
}

.shell-copy ul,
.shell-copy ol {
    padding-left: 1.25rem;
}

.shell-table-wrap {
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface);
    box-shadow: 0 16px 36px rgba(16, 22, 47, 0.05);
}

.shell-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.shell-table caption {
    padding: 1.2rem 1.2rem 0;
    text-align: left;
}

.shell-table th,
.shell-table td {
    padding: 1.08rem 1.15rem;
    border-bottom: 1px solid rgba(16, 22, 47, 0.08);
    text-align: left;
    vertical-align: top;
}

.shell-table th {
    color: var(--shell-text);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(247, 244, 239, 0.8);
}

.shell-table tbody tr:hover {
    background: rgba(247, 244, 239, 0.58);
}

.shell-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.shell-pricing-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.65rem 1.45rem;
    border-radius: var(--shell-radius-lg);
    border: 1px solid var(--shell-border);
    background: var(--shell-surface);
    box-shadow: 0 18px 40px rgba(16, 22, 47, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shell-pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 52px rgba(16, 22, 47, 0.09);
    border-color: rgba(86, 88, 231, 0.18);
}

.shell-pricing-card.dark:hover {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.35);
}

.shell-pricing-card.featured {
    border-color: rgba(17, 22, 47, 0.12);
    box-shadow: 0 28px 60px rgba(17, 22, 47, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 244, 239, 0.94));
}

.shell-pricing-card.dark {
    background: linear-gradient(180deg, #121834, #0c1228);
    color: var(--shell-text-inverse);
    border-color: rgba(255, 255, 255, 0.08);
}

.shell-pricing-card.dark h3,
.shell-pricing-card.dark .shell-price,
.shell-pricing-card.dark strong,
.shell-pricing-card.dark .shell-tagline {
    color: #ffffff;
}

.shell-pricing-card.dark .shell-price span {
    color: rgba(245, 247, 251, 0.72);
}

.shell-pricing-card.dark p,
.shell-pricing-card.dark li,
.shell-pricing-card.dark .shell-meta,
.shell-pricing-card.dark .shell-price-note {
    color: rgba(245, 247, 251, 0.78);
}

.shell-pricing-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.shell-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shell-text-soft);
}

.shell-pricing-card .shell-card-head {
    gap: 0.75rem;
    margin-bottom: 0.1rem;
}

.shell-pricing-card .shell-card-head .shell-icon-chip {
    width: 2rem;
    height: 2rem;
    border-radius: 14px;
}

.shell-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0;
    color: var(--shell-text);
}

.shell-price strong {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.shell-price span {
    color: var(--shell-text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.shell-price-note {
    margin: 0;
    font-size: 0.92rem;
    color: var(--shell-text-soft);
}

.shell-pricing-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shell-pricing-card li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--shell-text-soft);
    font-size: 0.94rem;
    line-height: 1.5;
}

.shell-pricing-card li + li {
    margin-top: 0.65rem;
}

.shell-pricing-card > .shell-button {
    margin-top: auto;
    min-height: 2.7rem;
    padding: 0.68rem 1rem;
}

.shell-pricing-note {
    margin: 1.4rem auto 0;
    padding: 1.3rem 1.45rem;
    border-radius: var(--shell-radius-md);
    background: rgba(247, 244, 239, 0.86);
    border: 1px solid var(--shell-border);
    max-width: 48rem;
    text-align: center;
}

.shell-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.shell-model-browser .shell-section-header {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.shell-model-browser .shell-intro {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.shell-model-browser-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    max-width: 66rem;
    margin: 1.5rem auto 0;
    padding: 1.08rem 1.18rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: rgba(247, 244, 239, 0.86);
    color: var(--shell-text-soft);
    box-shadow: 0 16px 34px rgba(16, 22, 47, 0.05);
}

.shell-model-browser-note svg {
    flex-shrink: 0;
    color: var(--shell-primary);
    margin-top: 0.08rem;
}

.shell-model-browser-note p {
    margin: 0;
    line-height: 1.65;
}

.shell-model-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 1.7rem;
}

.shell-model-provider-card {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 1.38rem 1.35rem 1.28rem;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.94));
    box-shadow: 0 18px 40px rgba(16, 22, 47, 0.06);
}

.shell-model-provider-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(86, 88, 231, 0.92), rgba(10, 167, 198, 0.72), rgba(255, 170, 76, 0.68));
}

.shell-model-provider-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.2rem;
    row-gap: 1rem;
}

.shell-model-provider-card--wide .shell-model-provider-head,
.shell-model-provider-card--wide .shell-model-footnote {
    grid-column: 1 / -1;
}

.shell-model-provider-head,
.shell-media-provider-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.shell-model-provider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 22px rgba(16, 22, 47, 0.08);
}

.shell-model-provider-icon svg {
    display: block;
    width: 1.18rem;
    height: 1.18rem;
}

.shell-model-provider-meta {
    display: grid;
    gap: 0.25rem;
}

.shell-model-provider-meta h3,
.shell-media-category-card h3 {
    margin: 0;
}

.shell-model-provider-meta h3 {
    font-size: 1.08rem;
    line-height: 1.2;
}

.shell-model-provider-meta p {
    margin: 0;
    color: var(--shell-text-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.brand-openai .shell-model-provider-icon {
    color: #0e8d70;
    background: rgba(16, 185, 129, 0.1);
}

.brand-google .shell-model-provider-icon {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.brand-anthropic .shell-model-provider-icon {
    color: #111827;
    background: rgba(17, 24, 39, 0.08);
}

.brand-xai .shell-model-provider-icon {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.brand-deepseek .shell-model-provider-icon {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

.brand-perplexity .shell-model-provider-icon {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
}

.brand-local .shell-model-provider-icon {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.08);
}

.shell-model-provider-block {
    display: grid;
    gap: 0.55rem;
}

.shell-model-provider-label {
    color: var(--shell-text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-model-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.shell-model-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.54rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 22, 47, 0.08);
    background: rgba(255, 255, 255, 0.95);
    color: var(--shell-text);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 10px 18px rgba(16, 22, 47, 0.05);
}

.shell-model-chip.featured {
    color: var(--shell-primary);
    border-color: rgba(86, 88, 231, 0.2);
    background: rgba(86, 88, 231, 0.08);
}

.shell-model-footnote {
    margin: 0;
    color: var(--shell-text-soft);
    font-size: 0.84rem;
    line-height: 1.6;
}

.shell-media-browser-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.35rem;
    align-items: start;
}

.shell-media-category-card {
    position: relative;
    display: grid;
    gap: 0.9rem;
    min-height: 0;
    align-content: start;
    padding: 1.45rem 1.35rem;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #121935, #0d132b);
    box-shadow: 0 24px 54px rgba(16, 22, 47, 0.18);
}

.shell-media-category-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(86, 88, 231, 0.96), rgba(10, 167, 198, 0.74), rgba(255, 170, 76, 0.7));
}

.shell-media-category-card header {
    display: grid;
    gap: 0.65rem;
    position: relative;
    padding: 0.2rem 0.05rem 0.35rem;
}

.shell-media-category-card header::before {
    content: "";
    position: absolute;
    top: -0.35rem;
    left: -0.15rem;
    width: min(16rem, 82%);
    height: 3.8rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 50%, rgba(96, 115, 255, 0.22), rgba(96, 115, 255, 0.1) 52%, transparent 76%);
    pointer-events: none;
    z-index: 0;
}

.shell-media-category-card header > * {
    position: relative;
    z-index: 1;
}

.shell-media-category-card .shell-kicker {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.34rem 0.74rem;
}

.shell-media-category-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.25;
}

.shell-media-category-card header p {
    margin: 0;
    color: rgba(245, 247, 251, 0.76);
    font-size: 0.9rem;
    line-height: 1.6;
}

.shell-media-category-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.65rem;
}

.shell-media-category-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem 0.55rem;
    align-items: start;
    padding: 0.8rem 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.shell-media-category-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.1rem;
    color: rgba(186, 230, 253, 0.85);
}

.shell-media-category-stat-icon .shell-icon {
    width: 1rem;
    height: 1rem;
}

.shell-media-category-stat-body {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.shell-media-category-stat-body strong {
    color: #ffffff;
    font-size: 0.83rem;
    line-height: 1.35;
}

.shell-media-category-stat-body > span {
    color: rgba(245, 247, 251, 0.62);
    font-size: 0.74rem;
    line-height: 1.5;
}

.shell-media-provider-list {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    align-self: start;
}

.shell-media-provider {
    display: grid;
    gap: 0.65rem;
    padding: 0.98rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.shell-media-provider-head {
    align-items: center;
    color: #ffffff;
}

.shell-media-provider .shell-model-chip-list {
    gap: 0.48rem;
}

.shell-media-provider-head strong {
    font-size: 0.94rem;
    line-height: 1.3;
}

.shell-media-provider .shell-model-provider-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.shell-media-provider .shell-model-provider-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.shell-media-provider .shell-model-chip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.94);
    box-shadow: none;
    font-weight: 500;
}

.shell-media-provider .shell-model-chip.featured {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.shell-provider-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.accent-cyan {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.accent-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.accent-violet {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.accent-pink {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.accent-indigo {
    background: linear-gradient(135deg, #4f46e5, #818cf8);
}

.accent-teal {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.accent-slate {
    background: linear-gradient(135deg, #475569, #64748b);
}

.accent-purple {
    background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.accent-red {
    background: linear-gradient(135deg, #dc2626, #fb7185);
}

.accent-coral {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.shell-model-browser-summary {
    max-width: 66rem;
    margin: 1.35rem auto 0;
    color: var(--shell-text-soft);
    text-align: center;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .shell-model-provider-grid,
    .shell-media-browser-grid {
        grid-template-columns: 1fr;
    }

    .shell-model-provider-card--wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .shell-model-browser-note,
    .shell-model-provider-card,
    .shell-media-category-card {
        padding: 1.08rem 1rem;
    }

    .shell-media-provider {
        padding: 0.9rem;
    }

    .shell-model-provider-head,
    .shell-media-provider-head {
        gap: 0.72rem;
    }

    .shell-media-category-summary {
        grid-template-columns: 1fr;
    }
}

.shell-cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.7rem;
    border-radius: var(--shell-radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.94));
    border: 1px solid rgba(17, 22, 47, 0.08);
    box-shadow: 0 18px 38px rgba(16, 22, 47, 0.05);
}

.shell-cta-copy h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
}

.shell-timeline {
    display: grid;
    gap: 1rem;
}

.shell-timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface);
}

.shell-timeline-step .step-index {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.shell-faq {
    display: grid;
    gap: 0.8rem;
}

.shell-faq details,
.shell-faq .shell-faq-item {
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface);
    box-shadow: var(--shell-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shell-faq details[open],
.shell-faq .shell-faq-item[open] {
    border-color: rgba(86, 88, 231, 0.2);
    box-shadow: 0 12px 28px rgba(16, 22, 47, 0.07);
}

.shell-faq details summary,
.shell-faq .shell-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0;
    font-size: 1.08rem;
    color: var(--shell-text);
}

.shell-faq details summary::-webkit-details-marker,
.shell-faq .shell-faq-item summary::-webkit-details-marker {
    display: none;
}

.shell-faq details summary::after,
.shell-faq .shell-faq-item summary::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--shell-primary);
    border-bottom: 2px solid var(--shell-primary);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.shell-faq details[open] summary::after,
.shell-faq .shell-faq-item[open] summary::after {
    transform: rotate(225deg);
}

.shell-faq .shell-faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s ease;
}

.shell-faq details[open] .shell-faq-body,
.shell-faq .shell-faq-item[open] .shell-faq-body {
    grid-template-rows: 1fr;
}

.shell-faq .shell-faq-body > * {
    min-height: 0;
    overflow: hidden;
}

.shell-faq .shell-faq-item .shell-faq-body p,
.shell-faq .shell-faq-item .shell-faq-body ul {
    margin: 0.9rem 0 0;
}

.shell-faq details:not(.shell-faq-item) > p,
.shell-faq details:not(.shell-faq-item) > ul {
    margin: 0.9rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .shell-faq .shell-faq-body {
        transition: none;
    }

    .shell-faq details summary::after,
    .shell-faq .shell-faq-item summary::after {
        transition: none;
    }
}

.shell-form {
    display: grid;
    gap: 1rem;
}

.shell-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shell-form-group {
    display: grid;
    gap: 0.45rem;
}

.shell-form-group.full {
    grid-column: 1 / -1;
}

.shell-form label {
    color: var(--shell-text);
    font-weight: 700;
    font-size: 0.93rem;
}

.shell-input,
.shell-textarea,
.shell-select {
    width: 100%;
    min-height: 3rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 22, 47, 0.12);
    background: #ffffff;
    padding: 0.85rem 1rem;
    font: inherit;
    color: var(--shell-text);
}

.shell-textarea {
    min-height: 9rem;
    resize: vertical;
}

.shell-inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.shell-inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: var(--shell-surface-alt);
    border: 1px solid var(--shell-border);
    color: var(--shell-text);
    font-size: 0.9rem;
}

.shell-form-note,
.shell-footnote {
    font-size: 0.9rem;
}

.shell-page-hero {
    padding: 4rem 0 2.2rem;
}

.shell-page-hero .shell-container {
    display: grid;
    gap: 1.2rem;
    /* Default grid stretch makes kickers/panels read as full-width bars; align to content width */
    justify-items: start;
}

.shell-page-hero .shell-kicker {
    width: fit-content;
    max-width: 100%;
}

.shell-page-hero-panel {
    width: min(100%, 57rem);
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.2rem 1.3rem;
    background: linear-gradient(135deg, rgba(86, 88, 231, 0.06), rgba(10, 167, 198, 0.06));
    border: 1px solid rgba(86, 88, 231, 0.14);
    border-radius: var(--shell-radius-md);
}

.shell-page-hero--pricing .shell-page-title {
    max-width: min(100%, 22ch);
}

.shell-page-hero--pricing .shell-subtitle {
    max-width: 34rem;
}

.shell-page-hero--pricing .shell-page-hero-panel {
    width: min(100%, 44rem);
}

/* Trust strip should still span the hero row for balanced pill layout */
.shell-page-hero .shell-trust-strip {
    width: 100%;
}

.shell-legal {
    display: grid;
    gap: 1.4rem;
}

.shell-legal section,
.shell-legal .shell-surface {
    padding: 1.6rem;
}

.shell-legal h2,
.shell-legal h3 {
    margin: 0 0 0.7rem;
    color: var(--shell-text);
}

.shell-legal ul,
.shell-legal ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--shell-text-soft);
}

.shell-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.shell-resource-link {
    display: grid;
    gap: 0.55rem;
    padding: 1.2rem;
    text-decoration: none;
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface);
    box-shadow: var(--shell-shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.shell-resource-link:hover {
    transform: translateY(-2px);
    border-color: rgba(86, 88, 231, 0.2);
    box-shadow: 0 14px 32px rgba(16, 22, 47, 0.08);
}

.shell-resource-link strong {
    color: var(--shell-text);
}

.shell-home-feature-zone {
    position: relative;
    isolation: isolate;
}

.shell-home-feature-zone::before,
.shell-home-feature-zone::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(34px);
    z-index: -1;
    opacity: 0.65;
    pointer-events: none;
}

.shell-home-feature-zone::before {
    width: 16rem;
    height: 16rem;
    top: 7rem;
    left: -6rem;
    background: radial-gradient(circle, rgba(86, 88, 231, 0.16) 0%, rgba(86, 88, 231, 0) 72%);
}

.shell-home-feature-zone::after {
    width: 18rem;
    height: 18rem;
    right: -7rem;
    top: 15rem;
    background: radial-gradient(circle, rgba(10, 167, 198, 0.16) 0%, rgba(10, 167, 198, 0) 72%);
}

.shell-home-feature-zone .shell-section-header {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.9rem;
}

.shell-home-feature-zone .shell-intro {
    max-width: 39rem;
}

.shell-home-feature-grid {
    position: relative;
    z-index: 1;
    align-items: stretch;
    gap: 1rem;
}

.shell-home-feature-zone .shell-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 15rem;
    padding: 1.35rem 1.35rem 1.2rem;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 242, 0.9) 100%);
    box-shadow: 0 18px 42px rgba(16, 22, 47, 0.06);
}

.shell-home-feature-zone .shell-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(86, 88, 231, 0.46), rgba(10, 167, 198, 0.18));
}

.shell-home-feature-zone .shell-card::after {
    content: "";
    position: absolute;
    top: -1.4rem;
    right: -1.4rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(86, 88, 231, 0.08) 0%, rgba(86, 88, 231, 0) 72%);
    pointer-events: none;
}

.shell-home-feature-zone .shell-card:hover {
    transform: translateY(-4px);
    border-color: rgba(86, 88, 231, 0.16);
    box-shadow: 0 26px 54px rgba(16, 22, 47, 0.08);
}

.shell-home-feature-zone .shell-card-head {
    gap: 0.8rem;
    margin-bottom: 0.95rem;
}

.shell-home-feature-zone .shell-card-head > div {
    display: grid;
    gap: 0.24rem;
}

.shell-home-feature-zone .shell-card-head h3 {
    font-size: 1.08rem;
    line-height: 1.35;
}

.shell-home-feature-zone .shell-card-head .shell-icon-chip {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.shell-feature-card-kicker {
    color: var(--shell-text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-home-feature-zone .shell-card > p {
    margin: 0;
    color: var(--shell-text-soft);
    line-height: 1.72;
}

.shell-feature-card-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(17, 22, 47, 0.06);
    color: var(--shell-text-soft);
    font-size: 0.78rem;
    line-height: 1.5;
}

.shell-feature-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(86, 88, 231, 0.14);
    background: rgba(86, 88, 231, 0.07);
    color: var(--shell-text);
    font-size: 0.72rem;
    font-weight: 700;
}

.shell-home-resource-grid {
    margin-top: 1rem;
    gap: 0.95rem;
}

.shell-home-feature-zone .shell-resource-link {
    position: relative;
    overflow: hidden;
    min-height: 9.8rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 247, 243, 0.88) 100%);
    box-shadow: 0 16px 36px rgba(16, 22, 47, 0.06);
}

.shell-home-feature-zone .shell-resource-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(86, 88, 231, 0.42), rgba(10, 167, 198, 0.16));
}

.shell-home-feature-zone .shell-home-resource-grid .shell-resource-link:nth-child(2)::before {
    background: linear-gradient(90deg, rgba(10, 167, 198, 0.48), rgba(86, 88, 231, 0.16));
}

.shell-home-feature-zone .shell-home-resource-grid .shell-resource-link:nth-child(3)::before {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.4), rgba(249, 115, 22, 0.14));
}

.shell-resource-link-label {
    color: var(--shell-text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-home-feature-zone .shell-resource-link strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    line-height: 1.35;
}

.shell-home-feature-zone .shell-resource-link strong::after {
    content: "→";
    color: var(--shell-primary);
    font-size: 1rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.shell-home-feature-zone .shell-resource-link:hover strong::after {
    transform: translateX(3px);
}

.shell-home-feature-zone .shell-resource-link > span:not(.shell-resource-link-label) {
    color: var(--shell-text-soft);
    line-height: 1.68;
}

@media (max-width: 900px) {
    .shell-home-feature-zone .shell-card {
        min-height: auto;
    }

    .shell-home-feature-zone .shell-resource-link {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .shell-feature-card-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

#integrations .shell-section-header {
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.05rem;
}

#integrations .shell-intro {
    max-width: 40rem;
}

#integrations .shell-integrations-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.7rem;
    align-items: stretch;
}

#integrations .shell-integrations-copy {
    gap: 1.05rem;
    padding: 0.4rem 0;
}

#integrations .shell-integrations-list {
    gap: 0.65rem;
    padding-left: 0;
    list-style: none;
}

#integrations .shell-integrations-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

#integrations .shell-integrations-list .shell-icon--sm {
    color: var(--shell-primary);
    margin-top: 0.18rem;
}

#integrations .shell-integrations-callout {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
}

#integrations .shell-integrations-callout p {
    margin: 0;
    color: var(--shell-text-soft);
    line-height: 1.65;
}

#integrations .shell-chip-list {
    gap: 0.55rem;
}

#integrations .shell-form-actions {
    margin-top: 0.15rem;
}

#integrations .shell-integrations-accent {
    display: grid;
    gap: 1rem;
    align-content: start;
    min-height: 100%;
    padding: 1.8rem;
    border-radius: 30px;
    box-shadow: 0 24px 54px rgba(16, 22, 47, 0.13);
}

#integrations .shell-integrations-accent .shell-kicker {
    margin-bottom: 0;
}

#integrations .shell-integrations-accent h3 {
    margin: 0;
    max-width: 24rem;
    line-height: 1.35;
}

#integrations .shell-integrations-accent .shell-code-window {
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
}

#integrations .shell-integrations-accent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

#integrations .shell-integrations-accent-item {
    display: grid;
    gap: 0.28rem;
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#integrations .shell-integrations-accent-item span {
    color: rgba(245, 247, 251, 0.78);
    line-height: 1.58;
    font-size: 0.84rem;
}

#integrations .shell-hero-note {
    margin: 0;
    color: rgba(245, 247, 251, 0.8);
}

#integrations .shell-integrations-card-grid {
    margin-top: 1.1rem;
    gap: 1rem;
    align-items: stretch;
}

#integrations .shell-integrations-card-grid .shell-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.3rem 1.3rem 1.2rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17, 22, 47, 0.07);
    box-shadow: 0 16px 34px rgba(16, 22, 47, 0.06);
}

#integrations .shell-integrations-card-grid .shell-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(86, 88, 231, 0.44), rgba(10, 167, 198, 0.16));
}

#integrations .shell-integrations-card-grid .shell-card:nth-child(2)::before {
    background: linear-gradient(90deg, rgba(10, 167, 198, 0.46), rgba(86, 88, 231, 0.14));
}

#integrations .shell-integrations-card-grid .shell-card:nth-child(3)::before {
    background: linear-gradient(90deg, rgba(59, 173, 110, 0.4), rgba(59, 173, 110, 0.12));
}

#integrations .shell-integrations-card-grid .shell-card-head {
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

#integrations .shell-integrations-card-grid .shell-card-head > div {
    display: grid;
    gap: 0.24rem;
}

#integrations .shell-integrations-card-grid .shell-card-head h3 {
    font-size: 1.05rem;
    line-height: 1.36;
}

#integrations .shell-integrations-card-grid .shell-card p {
    margin: 0;
    color: var(--shell-text-soft);
    line-height: 1.72;
}

@media (max-width: 900px) {
    #integrations .shell-integrations-layout {
        gap: 1.25rem;
    }

    #integrations .shell-integrations-accent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #integrations .shell-integrations-copy {
        gap: 0.95rem;
        padding: 0;
    }

    #integrations .shell-integrations-accent {
        padding: 1.35rem;
        border-radius: 24px;
    }
}

.shell-flow-stack {
    display: grid;
    gap: 1.35rem;
}

.shell-flow-switcher {
    display: grid;
    gap: 0.8rem;
    max-width: 72rem;
    margin: 0 auto;
}

.shell-flow-switcher-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.shell-flow-switcher-tab {
    appearance: none;
    border: 1px solid rgba(17, 22, 47, 0.09);
    background: rgba(255, 255, 255, 0.7);
    color: var(--shell-text-soft);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.68rem 1.05rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shell-flow-switcher-tab:hover {
    color: var(--shell-text);
    border-color: rgba(86, 88, 231, 0.22);
    background: #ffffff;
}

.shell-flow-switcher-tab[aria-selected="true"] {
    color: var(--shell-text);
    border-color: rgba(86, 88, 231, 0.38);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 22, 47, 0.05);
}

.shell-flow-switcher-shell {
    border-radius: 30px;
    border: 1px solid var(--shell-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 245, 240, 0.96));
    box-shadow: 0 18px 42px rgba(16, 22, 47, 0.055);
    overflow: hidden;
}

.shell-flow-switcher-panel {
    padding: 1.4rem;
}

.shell-flow-switcher-panel[hidden] {
    display: none !important;
}

.shell-flow-switcher-panel .shell-flow-header {
    margin-bottom: 0.85rem;
}

.shell-flow-switcher-panel .shell-flow-header h3 {
    margin-top: 0.55rem;
    font-size: 1.24rem;
}

.shell-flow-switcher-panel .shell-flow-side {
    background: rgba(247, 244, 239, 0.82);
}

.shell-flow-steps-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.72rem;
}

.shell-flow-switcher-panel .shell-flow-step {
    min-height: 0;
    padding: 0.95rem 1rem;
}

.shell-flow-switcher-panel .shell-flow-step::after {
    display: none;
}

.shell-flow-switcher-panel .shell-flow-step h3 {
    margin-top: 0.62rem;
    font-size: 0.94rem;
}

.shell-flow-switcher-panel .shell-flow-index {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.82rem;
}

.shell-flow-notes-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
    margin-top: 0.8rem;
}

.shell-flow-notes-compact .shell-proof-note {
    padding: 0.92rem 0.95rem;
}

.shell-flow-card {
    padding: 1.7rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-lg);
    box-shadow: 0 16px 38px rgba(16, 22, 47, 0.05);
}

.shell-flow-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.shell-flow-header h3 {
    margin: 0.6rem 0 0.5rem;
    font-size: 1.32rem;
    color: var(--shell-text);
}

.shell-flow-side {
    padding: 1rem 1.1rem;
    border-radius: var(--shell-radius-md);
    border: 1px solid rgba(17, 22, 47, 0.1);
    background: rgba(247, 244, 239, 0.9);
}

.shell-flow-side strong,
.shell-proof-note strong,
.shell-flow-step h3 {
    color: var(--shell-text);
}

.shell-flow-side p,
.shell-proof-note p,
.shell-flow-step p {
    margin: 0.35rem 0 0;
    color: var(--shell-text-soft);
}

.shell-flow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.shell-flow-step {
    position: relative;
    min-height: 100%;
    padding: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.92));
    border: 1px solid rgba(17, 22, 47, 0.09);
    border-radius: var(--shell-radius-md);
}

.shell-flow-step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.55rem;
    width: 1.1rem;
    height: 2px;
    background: rgba(86, 88, 231, 0.24);
    transform: translateY(-50%);
}

.shell-flow-step:last-child::after {
    display: none;
}

.shell-flow-step h3 {
    margin: 0.7rem 0 0.45rem;
    font-size: 0.98rem;
}

.shell-flow-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--shell-primary-soft);
    color: var(--shell-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.shell-flow-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.shell-proof-note {
    padding: 1rem 1.05rem;
    border-radius: var(--shell-radius-md);
    background: rgba(247, 244, 239, 0.72);
    border: 1px solid rgba(17, 22, 47, 0.08);
}

.shell-footer {
    margin-top: 4.5rem;
    padding: 2.8rem 0 2rem;
    background: #0c1228;
    color: rgba(245, 247, 251, 0.78);
}

.shell-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.shell-footer h3,
.shell-footer h4 {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.shell-footer p,
.shell-footer li,
.shell-footer a {
    color: inherit;
    text-decoration: none;
}

.shell-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.shell-footer a:hover {
    color: #ffffff;
}

.shell-footer-bottom {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.shell-note {
    font-size: 0.88rem;
    color: var(--shell-text-soft);
}

.shell-footer-bottom .shell-note {
    color: rgba(245, 247, 251, 0.62);
}

.shell-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.shell-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--shell-border);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--shell-text);
}

.shell-hero-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--shell-text-soft);
}

.shell-empty-state {
    padding: 2rem;
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface-alt);
    border: 1px dashed rgba(86, 88, 231, 0.3);
    text-align: center;
}

.shell-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
}

.shell-blog-card {
    display: grid;
    gap: 0.65rem;
    padding: 1.35rem 1.4rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    box-shadow: var(--shell-shadow-sm);
}

.shell-blog-card h3 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--shell-text);
    line-height: 1.35;
}

.shell-blog-card p {
    margin: 0;
    color: var(--shell-text-soft);
    font-size: 0.94rem;
    line-height: 1.55;
}

.shell-blog-card a:last-child {
    font-weight: 600;
    color: var(--shell-primary);
    text-decoration: none;
}

.shell-blog-card a:last-child:hover {
    text-decoration: underline;
}

.shell-card-pill-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.shell-card-pill-row .shell-icon {
    width: 1rem;
    height: 1rem;
    color: var(--shell-primary);
}

.shell-post-list {
    display: grid;
    gap: 1rem;
}

.shell-post-card {
    padding: 1.35rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    box-shadow: var(--shell-shadow-sm);
}

.shell-post-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: var(--shell-text-soft);
}

.shell-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.shell-doc-card {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    padding: 1.45rem;
    background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    box-shadow: 0 14px 32px rgba(16, 22, 47, 0.05);
    text-decoration: none;
}

.shell-doc-card h3,
.shell-post-card h2 {
    margin: 0 0 0.55rem;
    color: var(--shell-text);
}

.shell-doc-card p,
.shell-post-card p {
    margin: 0;
}

.shell-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.shell-radio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.shell-radio-card {
    padding: 1rem;
    border: 1px solid var(--shell-border);
    border-radius: var(--shell-radius-md);
    background: var(--shell-surface);
}

.shell-radio-card label {
    display: grid;
    gap: 0.45rem;
    cursor: pointer;
}

.shell-radio-card input {
    accent-color: var(--shell-primary);
}

.shell-inline-banner {
    padding: 1rem 1.1rem;
    border-radius: var(--shell-radius-md);
    border: 1px solid rgba(10, 167, 198, 0.2);
    background: rgba(10, 167, 198, 0.08);
}

/* Team Members: cards and rollout banner are in separate shell-containers; tighten vertical rhythm */
#team-members .shell-split {
    margin-bottom: 0;
}

#team-members > .shell-container + .shell-container {
    margin-top: 0.85rem;
}

#team-members .shell-inline-banner {
    padding: 1.25rem 1.4rem;
    line-height: 1.58;
    font-size: 0.95rem;
}

/* Security page: ShinrAI architecture strip (aligned with Innovius shinrai “Transparent Semantic Encryption”) */
.shell-shinrai-showcase {
    max-width: 54rem;
    margin: 0.35rem auto 0;
}

.shell-shinrai-lead {
    margin: 0 0 1.65rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--shell-text-soft);
    text-align: center;
}

.shell-shinrai-arch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(17, 22, 47, 0.1);
    border-radius: var(--shell-radius-md);
    overflow: hidden;
    background: var(--shell-surface);
    box-shadow: 0 14px 36px rgba(16, 22, 47, 0.06);
}

.shell-shinrai-arch-layer {
    padding: 1.55rem 1.2rem;
    border-right: 1px solid rgba(17, 22, 47, 0.08);
    text-align: center;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    align-content: start;
}

.shell-shinrai-arch-layer:last-child {
    border-right: none;
}

.shell-shinrai-arch-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--shell-primary), #4a8dff);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.shell-shinrai-arch-heading h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--shell-text);
}

.shell-shinrai-arch-layer p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.52;
    color: var(--shell-text-soft);
}

.shell-shinrai-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.65rem;
}

@media (max-width: 720px) {
    .shell-shinrai-arch {
        grid-template-columns: 1fr;
    }

    .shell-shinrai-arch-layer {
        border-right: none;
        border-bottom: 1px solid rgba(17, 22, 47, 0.08);
    }

    .shell-shinrai-arch-layer:last-child {
        border-bottom: none;
    }
}

.shell-muted-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shell-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shell-accent-card {
    padding: 1.6rem;
    border-radius: var(--shell-radius-lg);
    background: linear-gradient(135deg, rgba(16, 22, 47, 0.96), rgba(20, 31, 68, 0.92));
    color: rgba(245, 247, 251, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shell-shadow-md);
}

.shell-accent-card h3,
.shell-accent-card strong {
    color: #ffffff;
}

.shell-accent-card p,
.shell-accent-card li {
    color: rgba(245, 247, 251, 0.78);
}

.shell-list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.5rem;
    color: var(--shell-text-soft);
}

.shell-list strong {
    color: var(--shell-text);
}

.shell-code-window {
    margin: 0;
    padding: 1.1rem 1.2rem;
    border-radius: var(--shell-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 25, 0.72);
    color: rgba(245, 247, 251, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.7;
}

.shell-code-window code {
    white-space: pre;
}

.shell-anchor-offset {
    scroll-margin-top: 5.25rem;
}

/* Homepage security boundary: calmer than default card wall */
#privacy.shell-section.tight {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
}

#privacy .shell-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    max-width: 57rem;
    margin: 0 auto;
}

#privacy .shell-card {
    padding: 1.35rem 1.4rem;
    box-shadow: 0 6px 20px rgba(16, 22, 47, 0.035);
    border-color: rgba(17, 22, 47, 0.07);
}

#privacy .shell-resource-grid {
    margin-top: 1.75rem;
    gap: 1.15rem;
}

#privacy .shell-resource-link {
    padding: 1rem 1.05rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(17, 22, 47, 0.07);
}

#modules .shell-inline-banner {
    margin-top: 0.15rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    padding: 0.9rem 1.05rem;
    background: rgba(10, 167, 198, 0.06);
    border-color: rgba(10, 167, 198, 0.16);
}

@media (min-width: 901px) {
    .shell-feature-panels {
        max-width: 57rem;
        margin: 0 auto;
    }
}

@media (max-width: 1100px) {
    .shell-nav-primary {
        gap: 0.85rem;
    }

    .shell-hero-grid,
    .shell-split,
    .shell-blog-grid,
    .shell-flow-header {
        grid-template-columns: 1fr;
    }

    .shell-stat-row,
    .shell-card-grid,
    .shell-card-grid.three-up,
    .shell-card-grid.two-up,
    .shell-pricing-grid,
    .shell-doc-grid,
    .shell-resource-grid,
    .shell-radio-grid,
    .shell-muted-grid,
    .shell-flow-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shell-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shell-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shell-flow-step::after {
        display: none;
    }

    .shell-flow-notes-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.trust-center-hero {
    padding-top: 3.2rem;
}

.trust-hero-surface {
    position: relative;
    overflow: hidden;
    padding: 2.25rem;
    border-radius: 38px;
    background:
        radial-gradient(circle at 18% 22%, rgba(144, 211, 255, 0.38), transparent 28%),
        linear-gradient(132deg, #0a2256 0%, #0f4aa8 42%, #2d79e6 74%, #8ab8ff 100%);
    box-shadow: 0 34px 90px rgba(22, 52, 118, 0.28);
}

.trust-hero-surface::before,
.trust-hero-surface::after {
    content: "";
    position: absolute;
    inset: -12% auto -12% auto;
    width: 18rem;
    transform: rotate(15deg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.03) 36%, rgba(255, 255, 255, 0.14) 74%, transparent 100%);
    filter: blur(0.5px);
    pointer-events: none;
    opacity: 0.7;
}

.trust-hero-surface::before {
    right: 12%;
}

.trust-hero-surface::after {
    right: -4%;
    width: 11rem;
    opacity: 0.38;
}

.trust-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.92fr);
    gap: 1.45rem;
    align-items: end;
}

.trust-hero-copy {
    display: grid;
    gap: 1rem;
}

.trust-center-hero .shell-kicker {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-center-hero .shell-page-title,
.trust-center-hero .shell-subtitle {
    color: #ffffff;
}

.trust-center-hero .shell-subtitle {
    max-width: 44rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.trust-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem 1.25rem;
    margin-top: 0.35rem;
}

.trust-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.trust-contact-link:hover {
    color: #ffffff;
}

.trust-hero-status {
    display: grid;
    gap: 0.95rem;
    padding: 1.38rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 18, 56, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.trust-hero-review {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.42rem 0.76rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(118, 136, 255, 0.34), rgba(118, 215, 255, 0.18));
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-hero-status h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.trust-hero-status > p,
.trust-hero-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.trust-hero-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.trust-hero-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem 0.65rem;
    align-items: start;
    padding: 0.8rem 0.84rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.trust-hero-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.06rem;
    color: rgba(186, 230, 253, 0.95);
}

.trust-hero-highlight-icon .shell-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.trust-hero-highlight-body {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.trust-hero-highlight-body strong {
    color: #ffffff;
    font-size: 0.96rem;
}

.trust-hero-highlight-body span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.45;
}

.trust-anchor-nav-wrap {
    padding-top: 1.25rem;
    padding-bottom: 0.4rem;
}

.trust-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--shell-border);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(31, 41, 84, 0.08);
}

.trust-anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1.05rem;
    border-radius: 999px;
    color: var(--shell-text);
    background: rgba(247, 244, 239, 0.84);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.trust-anchor-nav a:hover {
    color: var(--shell-primary);
    background: rgba(86, 88, 231, 0.1);
    transform: translateY(-1px);
}

#overview,
#controls,
#assume-breach,
#resources,
#faq,
#updates {
    scroll-margin-top: 7rem;
}

.trust-status-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.trust-status-card,
.trust-control-card,
.trust-update-item {
    display: grid;
    gap: 0.8rem;
    padding: 1.3rem;
    border-radius: 28px;
    border: 1px solid var(--shell-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(31, 41, 84, 0.08);
}

.trust-status-card--assurance {
    background:
        radial-gradient(circle at top left, rgba(86, 88, 231, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.94);
}

.trust-status-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.3rem 0.62rem;
    border-radius: 999px;
    background: rgba(86, 88, 231, 0.1);
    color: var(--shell-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-status-card h3,
.trust-control-card h3,
.trust-update-item h3 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.trust-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.trust-card-note,
.trust-update-meta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(19, 33, 68, 0.06);
    color: var(--shell-text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.trust-controls-grid,
.trust-update-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.trust-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.trust-resource-grid .shell-resource-link {
    min-height: 100%;
}

.trust-resource-note {
    margin-top: 1rem;
}

.trust-update-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.trust-check-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--shell-text-soft);
    line-height: 1.55;
}

.trust-check-list li::before {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--shell-primary), var(--shell-cyan));
    box-shadow: 0 0 0 0.2rem rgba(86, 88, 231, 0.1);
}

.trust-update-item p {
    margin: 0;
    color: var(--shell-text-soft);
}

@media (max-width: 1120px) {
    .trust-hero-grid {
        grid-template-columns: 1fr;
    }

    .trust-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-status-card--assurance {
        grid-column: 1 / -1;
    }

    .trust-resource-grid,
    .trust-update-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .trust-hero-surface {
        padding: 1.35rem 1.05rem;
        border-radius: 30px;
    }

    .trust-hero-highlight-grid,
    .trust-status-grid,
    .trust-controls-grid,
    .trust-resource-grid,
    .trust-update-list {
        grid-template-columns: 1fr;
    }

    .trust-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .trust-anchor-nav {
        border-radius: 28px;
    }

    .trust-anchor-nav a {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .trust-card-head {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 900px) {
    .shell-nav {
        min-height: 4rem;
    }

    .shell-mobile-toggle {
        display: inline-flex;
    }

    .shell-nav-links {
        position: fixed;
        top: 4.45rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--shell-border);
        box-shadow: var(--shell-shadow-md);
        flex-direction: column;
        align-items: stretch;
        display: none;
        max-height: calc(100vh - 6rem);
        overflow: auto;
    }

    .shell-nav-primary {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .shell-nav-primary > a::before,
    .shell-nav-trigger::before {
        display: none;
    }

    .shell-nav-links.is-open {
        display: flex;
    }

    .shell-nav-actions {
        display: none;
    }

    .shell-nav-links .shell-nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        width: 100%;
        padding-top: 0.7rem;
        border-top: 1px solid var(--shell-border);
    }

    .shell-nav-links .shell-button,
    .shell-nav-links .shell-login-link {
        width: 100%;
        justify-content: center;
    }

    .shell-nav-primary > a,
    .shell-nav-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.4rem 0;
    }

    .shell-nav-group {
        width: 100%;
        flex-direction: column;
    }

    .shell-nav-panel {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 0.2rem;
        padding: 0.7rem;
        border-radius: 18px;
        box-shadow: none;
        background: rgba(247, 244, 239, 0.78);
    }

    .shell-nav-panel-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .shell-nav-card {
        padding: 0.78rem 0.82rem;
    }

    .language-switcher {
        justify-content: center;
        width: 100%;
    }

    .shell-nav-links .language-dropdown {
        width: 100%;
    }

    .shell-nav-links .language-dropdown-menu {
        right: 0;
        left: 0;
    }

    .shell-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .shell-section {
        padding: 4.2rem 0;
    }

    .shell-hero {
        padding-top: 3.6rem;
    }

    .shell-page-hero {
        padding-top: 3rem;
    }

    .shell-stat-row,
    .shell-card-grid,
    .shell-card-grid.three-up,
    .shell-card-grid.two-up,
    .shell-pricing-grid,
    .shell-doc-grid,
    .shell-resource-grid,
    .shell-flow-steps,
    .shell-flow-notes,
    .shell-form-grid,
    .shell-radio-grid,
    .shell-muted-grid,
    .shell-footer-grid {
        grid-template-columns: 1fr;
    }

    .shell-cta-banner {
        grid-template-columns: 1fr;
    }

    .shell-flow-step::after {
        display: none;
    }

    .shell-flow-switcher-tab {
        flex: 1 1 100%;
    }

    .shell-flow-switcher-panel {
        padding: 1.05rem;
    }

    .shell-button {
        width: 100%;
    }

    .shell-hero-actions,
    .shell-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .shell-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .shell-feature-tabs {
        max-width: 100%;
    }

    .shell-feature-panel {
        padding: 1.15rem 1.05rem;
    }

    .shell-feature-panel-inner {
        max-width: 100%;
        gap: 0.85rem;
        align-items: flex-start;
    }

    #privacy .shell-card-grid {
        grid-template-columns: 1fr;
    }

    .shell-feature-panels {
        min-height: 0;
    }

    #modules .shell-inline-banner {
        margin-top: 0.4rem;
    }

    .shell-table {
        min-width: 620px;
    }
}

html[dir="rtl"] .shell-nav,
html[dir="rtl"] .shell-footer-bottom,
html[dir="rtl"] .shell-split,
html[dir="rtl"] .shell-blog-grid,
html[dir="rtl"] .shell-hero-grid,
html[dir="rtl"] .shell-cta-banner,
html[dir="rtl"] .shell-timeline-step {
    direction: rtl;
}

html[dir="rtl"] .language-more-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .language-dropdown-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .shell-table th,
html[dir="rtl"] .shell-table td,
html[dir="rtl"] .shell-copy,
html[dir="rtl"] .shell-legal section,
html[dir="rtl"] .shell-legal .shell-surface {
    text-align: right;
}
