:root {
    --ebs-bg: #050816;
    --ebs-bg-soft: #0e1428;
    --ebs-surface: rgba(14, 20, 40, 0.78);
    --ebs-surface-strong: rgba(8, 13, 27, 0.92);
    --ebs-border: rgba(148, 163, 184, 0.18);
    --ebs-text: #eff6ff;
    --ebs-text-muted: #94a3b8;
    --ebs-cyan: #2563eb;
    --ebs-indigo: #1d4ed8;
    --ebs-violet: #102c63;
    --ebs-warm: #f97316;
    --ebs-shadow: 0 12px 36px rgba(2, 6, 23, 0.18);
    /* Tighter, more consistent radii for a modern, less 'pill-heavy' look */
    --ebs-radius-lg: 12px;
    --ebs-radius-md: 8px;
    --ebs-radius-sm: 6px;
    --ebs-max: 1440px;
    --ebs-shell-gap: clamp(0.85rem, 1.45vw, 1.1rem);
    --ebs-space-section: clamp(1.25rem, 2.2vw, 2.1rem);
    --ebs-space-card: clamp(1.1rem, 1.7vw, 1.35rem);
    --ebs-space-card-tight: clamp(0.95rem, 1.25vw, 1.1rem);
    /* Additional spacing & typography tokens for consistent scale */
    --ebs-space-xs: 0.4rem;
    --ebs-space-sm: 0.75rem;
    --ebs-space-md: var(--ebs-space-card);
    --ebs-space-lg: 1.75rem;
    --ebs-copy-size: 16px;
    --ebs-copy-leading: 1.6;
    --ebs-font-sm: 14px;
    --ebs-font-lg: 18px;
}

* {
    box-sizing: border-box;
    word-break: normal;
    overflow-wrap: break-word;
}

html {
    scroll-behavior: smooth;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    margin: 0;
    padding: 0.5rem;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(16, 44, 99, 0.16), transparent 28%),
        linear-gradient(180deg, #040711 0%, #081020 45%, #050816 100%);
    color: var(--ebs-text);
    /* Prefer a resource-friendly system font stack with a sensible fallback */
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, "Public Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: var(--ebs-copy-size);
    line-height: var(--ebs-copy-leading);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.ebs-shell {
    min-height: 100vh;
    display: grid;
    --ebs-sidebar-collapsed: 92px;
    --ebs-sidebar-expanded: 292px;
    grid-template-columns: var(--ebs-sidebar-collapsed) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: var(--ebs-shell-gap);
    /* Use the design token for maximum width so wide viewports remain readable */
    width: min(calc(100% - 1.5rem), var(--ebs-max));
    margin: 0 auto;
    align-items: start;
}

.ebs-topbar,
.ebs-main,
.ebs-footer {
    grid-column: 2;
    min-width: 0;
}

.ebs-header {
    grid-column: 1;
    grid-row: 1 / span 3;
    position: sticky;
    top: 0.85rem;
    z-index: 20;
    align-self: start;
    min-width: 0;
}

.ebs-header__inner {
    display: grid;
    gap: 0.9rem;
    align-content: start;
    background:
        radial-gradient(circle at top right, rgba(16, 44, 99, 0.22), transparent 24%),
        linear-gradient(90deg, rgba(5, 8, 22, 0.94), rgba(11, 19, 36, 0.92) 58%, rgba(14, 30, 68, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--ebs-radius-lg);
    padding: 1rem 0.7rem;
    min-height: calc(100vh - 1.7rem);
    box-shadow:
        var(--ebs-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ebs-topbar {
    grid-row: 1;
    position: sticky;
    top: 0.85rem;
    z-index: 30;
    padding-top: 0.85rem;
}

.ebs-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--ebs-radius-md);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 24%),
        linear-gradient(135deg, rgba(5, 8, 22, 0.96), rgba(10, 18, 34, 0.94));
    box-shadow:
        0 24px 58px rgba(2, 6, 23, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
}

.ebs-topbar__brand,
.ebs-topbar__actions,
.ebs-topbar__shell-controls {
    display: flex;
    align-items: center;
}

.ebs-topbar__brand {
    gap: 0.85rem;
    min-width: 0;
}

.ebs-topbar__actions {
    gap: 0.7rem;
    margin-left: auto;
}

.ebs-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.ebs-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.ebs-brand__logo--short {
    display: none;
}

.ebs-brand__logo--icon {
    width: 40px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    -webkit-mask-image: none;
    mask-image: none;
}

.ebs-brand__logo--long {
    width: clamp(152px, 17vw, 214px);
    opacity: 0.98;
}

.ebs-nav-toggle,
.ebs-nav-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--ebs-text);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.ebs-topbar__shell-controls {
    gap: 0.48rem;
}

.ebs-nav-toggle {
    flex-direction: column;
    width: 2.6rem;
    padding: 0;
}

.ebs-nav-pin {
    min-width: 4.2rem;
    padding: 0 0.82rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ebs-nav-toggle:hover,
.ebs-nav-toggle:focus,
.ebs-nav-pin:hover,
.ebs-nav-pin:focus,
.ebs-nav-pin[aria-pressed="true"] {
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.1);
    color: #dbeafe;
    transform: translateY(-1px);
}

.ebs-nav-toggle__line {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.ebs-shell[data-ebs-nav-state="expanded"] {
    grid-template-columns: var(--ebs-sidebar-expanded) minmax(0, 1fr);
}

.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-header__inner {
    padding: 1rem 0.52rem;
}

.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__group-label,
.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__label {
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.ebs-nav {
    min-width: 0;
}

.ebs-nav__groups {
    display: grid;
    gap: 0.7rem;
}

.ebs-nav__group {
    display: grid;
    gap: 0.4rem;
}

.ebs-nav__group-label {
    margin: 0;
    padding: 0 0.35rem;
    color: #7db7ff;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity 140ms ease;
}

.ebs-nav .menu,
.ebs-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.32rem;
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--ebs-radius-md);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(29, 78, 216, 0.08)),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ebs-nav .menu-item,
.ebs-nav__item {
    margin: 0;
}

.ebs-nav .menu-item > a,
.ebs-nav__item a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.72rem;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.7rem 0.88rem;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ebs-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ebs-nav__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: var(--ebs-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex: 0 0 auto;
}

.ebs-nav__label {
    position: relative;
    z-index: 1;
    /* allow labels to wrap to avoid abrupt truncation on medium widths */
    white-space: normal;
    overflow-wrap: anywhere;
    transition: opacity 140ms ease;
}

.ebs-nav .menu-item > a::before,
.ebs-nav__item a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(29, 78, 216, 0.12));
    opacity: 0;
    transition: opacity 160ms ease;
    pointer-events: none;
}

.ebs-nav .menu-item > a:hover,
.ebs-nav .menu-item > a:focus,
.ebs-nav__item a:hover,
.ebs-nav__item a:focus {
    border-color: rgba(37, 99, 235, 0.16);
    color: var(--ebs-text);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.22);
    transform: translateY(-1px);
}

.ebs-nav .menu-item > a:hover::before,
.ebs-nav .menu-item > a:focus::before,
.ebs-nav__item a:hover::before,
.ebs-nav__item a:focus::before {
    opacity: 1;
}

.ebs-nav .current-menu-item > a,
.ebs-nav .current-menu-ancestor > a {
    color: var(--ebs-text);
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(29, 78, 216, 0.18));
    box-shadow:
        0 12px 28px rgba(2, 6, 23, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav .menu-item > a,
.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__item a {
    justify-content: center;
    padding: 0.62rem 0.5rem;
}

.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav .menu,
.ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__list {
    padding: 0.3rem;
}

.ebs-header__actions {
    display: flex;
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
}

.ebs-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ebs-header__auth-links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ebs-language-switch {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--ebs-border);
    background: rgba(255, 255, 255, 0.03);
}

.ebs-language-switch a {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--ebs-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ebs-language-switch a.is-active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.14), rgba(16, 44, 99, 0.24));
    color: var(--ebs-text);
}

.ebs-main {
    grid-row: 2;
    padding: 1rem 0 3rem;
}

.ebs-footer {
    grid-row: 3;
    padding: 0 0 1.5rem;
}

.ebs-header__auth-links .ebs-button,
.ebs-header__auth-links .ebs-button--ghost {
    width: auto;
}

.ebs-hero,
.ebs-section,
.ebs-page {
    position: relative;
    overflow: hidden;
    margin-top: 1.6rem;
    background: var(--ebs-surface);
    border: 1px solid var(--ebs-border);
    border-radius: var(--ebs-radius-lg);
    box-shadow:
        var(--ebs-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ebs-section::before,
.ebs-page::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 26%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.06), transparent 20%);
    pointer-events: none;
}

.ebs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
    gap: 1.65rem;
    align-items: start;
    padding: clamp(1.5rem, 2.7vw, 2.65rem);
    overflow: hidden;
    position: relative;
}

.ebs-hero__copy {
    max-width: 42rem;
}

.ebs-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
    pointer-events: none;
}

.ebs-eyebrow,
.ebs-page__eyebrow {
    margin: 0 0 1rem;
    color: var(--ebs-cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ebs-hero h1,
.ebs-page__header h1,
.ebs-section__intro h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    line-height: 1.04;
}

.ebs-hero h1 {
    max-width: 12.6ch;
    font-size: clamp(2.2rem, 4vw, 3.95rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.ebs-section__intro h2::before,
.ebs-page__content h2::before,
.ebs-wysiwyg h2::before {
    content: "";
    display: block;
    width: 3.6rem;
    height: 0.22rem;
    margin: 0 0 0.7rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ebs-cyan), var(--ebs-indigo), var(--ebs-violet));
}

.ebs-hero__lead,
.ebs-page__lead,
.ebs-section__intro p,
.ebs-pillar-card p,
.ebs-proof-card span,
.ebs-page__content,
.ebs-footer p {
    color: var(--ebs-text-muted);
    line-height: 1.62;
}

.ebs-hero__lead {
    max-width: 54ch;
    margin: 0.95rem 0 0;
    font-size: 0.93rem;
    line-height: 1.74;
}

.ebs-hero__market-note {
    display: inline-flex;
    max-width: 54ch;
    margin: 0.9rem 0 0;
    padding: 0.66rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.08);
    color: #d7e6ff;
    font-size: 0.79rem;
    line-height: 1.64;
    font-weight: 550;
}

.ebs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ebs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--ebs-radius-md);
    padding: var(--ebs-space-sm) var(--ebs-space-md);
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-indigo));
    color: #06111d;
    font-weight: 800;
    font-size: 0.89rem;
    cursor: pointer;
    opacity: 1;
}

.ebs-button--pill {
    border-radius: 999px;
}

.ebs-button--link {
    cursor: pointer;
}

.ebs-button--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ebs-text);
    border: 1px solid var(--ebs-border);
}

.ebs-hero__panel {
    position: relative;
    align-self: start;
}

.ebs-proof-grid {
    display: grid;
    gap: 0.78rem;
    align-content: start;
}

.ebs-proof-card,
.ebs-pillar-card,
.ebs-membership-card,
.ebs-access-card,
.ebs-access-state {
    background: linear-gradient(180deg, rgba(13, 23, 40, 0.9), rgba(10, 18, 31, 0.78));
    border: 1px solid rgba(157, 178, 200, 0.16);
    border-radius: var(--ebs-radius-md);
    padding: var(--ebs-space-card);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 36px rgba(2, 6, 23, 0.18);
}

.ebs-proof-card {
    min-height: 104px;
    display: grid;
    align-content: start;
    gap: 0.28rem;
}

.ebs-proof-card span {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.ebs-proof-card strong {
    margin-top: 0.14rem;
    font-size: 1.18rem;
    line-height: 1.22;
}

.ebs-proof-card strong,
.ebs-pillar-card h3,
.ebs-membership-card h3,
.ebs-access-card h3,
.ebs-access-state h4 {
    display: block;
    margin-top: 0.55rem;
    font-family: "Sora", sans-serif;
}

.ebs-pillar-card h3::before,
.ebs-step-card h3::before,
.ebs-include-card h3::before,
.ebs-membership-card h3::before,
.ebs-access-card h3::before,
.ebs-access-state h4::before,
.ebs-founder__detail h3::before,
.ebs-contact-card h3::before,
.ebs-page__content h3::before,
.ebs-wysiwyg h3::before {
    content: "";
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    margin-right: 0.5rem;
    border-radius: 0.26rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.9), rgba(79, 70, 229, 0.85));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(79, 70, 229, 0.2);
    vertical-align: -0.08rem;
}

.ebs-section,
.ebs-page {
    padding: var(--ebs-space-section);
}

.ebs-section__intro,
.ebs-page__header {
    max-width: 62rem;
    margin-bottom: 0.95rem;
    min-width: 0;
}
.ebs-page__layout--pricing {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: start;
}
.ebs-page__pricing-top {
    display: grid;
    gap: 1rem;
}
.ebs-page__layout--pricing .ebs-page__content {
    min-width: 0;
}
.ebs-pricing-page__sidebar {
    position: static;
    top: auto;
}
.ebs-pricing-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.82rem 0.95rem;
    border-radius: var(--ebs-radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 26%),
        linear-gradient(160deg, rgba(8, 14, 30, 0.98), rgba(11, 18, 37, 0.96));
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.24);
}
.ebs-pricing-toolbar__copy {
    display: grid;
    gap: 0.3rem;
}
.ebs-pricing-toolbar__eyebrow {
    margin: 0;
    color: var(--ebs-cyan);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ebs-pricing-toolbar__body {
    margin: 0;
    color: var(--ebs-text-muted);
    line-height: 1.54;
    font-size: 0.91rem;
}
.ebs-pricing-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.ebs-pricing-toolbar__control {
    display: grid;
    gap: 0.28rem;
}

.ebs-pricing-toolbar__control-label {
    color: var(--ebs-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-pricing-toolbar__select {
    min-height: 2.35rem;
    min-width: 12rem;
    padding: 0.54rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--ebs-text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
}

.ebs-pricing-toolbar__select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.ebs-pricing-page__nav {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--ebs-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.1), transparent 26%),
        linear-gradient(160deg, rgba(8, 14, 30, 0.98), rgba(11, 18, 37, 0.96));
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.24);
}
.ebs-pricing-page__nav summary {
    display: none;
    list-style: none;
}
.ebs-pricing-page__nav summary::-webkit-details-marker {
    display: none;
}
.ebs-pricing-page__nav-inner {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr) minmax(220px, 0.84fr);
    align-items: start;
    padding: 0.9rem 0.95rem;
}
.ebs-pricing-page__nav-inner h2,
.ebs-pricing-page__nav-inner strong {
    margin: 0;
    font-family: "Sora", sans-serif;
}
.ebs-pricing-page__nav-inner h2 {
    font-size: 1.15rem;
    line-height: 1.15;
}
.ebs-pricing-page__nav-inner p,
.ebs-pricing-page__link-card span,
.ebs-pricing-page__section-links a {
    color: var(--ebs-text-muted);
    line-height: 1.64;
}
.ebs-pricing-page__link-list,
.ebs-pricing-page__section-links {
    display: grid;
    gap: 0.6rem;
}
.ebs-pricing-page__link-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ebs-pricing-page__link-card {
    display: grid;
    gap: 0.3rem;
    padding: 0.78rem 0.82rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.ebs-pricing-page__link-card:hover,
.ebs-pricing-page__link-card:focus {
    border-color: rgba(34, 211, 238, 0.18);
    transform: translateY(-1px);
}
.ebs-pricing-page__link-card strong {
    font-size: 0.93rem;
}
.ebs-pricing-page__link-card.is-current {
    border-color: rgba(37, 99, 235, 0.26);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(29, 78, 216, 0.16));
}
.ebs-pricing-page__section-label {
    color: var(--ebs-cyan);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ebs-pricing-page__section-links {
    align-content: start;
    padding: 0.78rem 0.82rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}
.ebs-pricing-page__section-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding-left: 0.2rem;
}
.ebs-pricing-page__section-links a::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-violet));
}

.ebs-section__intro h2,
.ebs-page__header h1 {
    font-size: clamp(1.68rem, 2.7vw, 2.5rem);
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.ebs-pillars,
.ebs-membership-grid,
.ebs-access-grid,
.ebs-access-states {
    display: grid;
    gap: 0.85rem;
}

.ebs-steps,
.ebs-include-grid {
    display: grid;
    gap: 0.82rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebs-step-card,
.ebs-include-card {
    min-height: 0;
    background: var(--ebs-surface-strong);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--ebs-radius-md);
    padding: var(--ebs-space-card);
}

.ebs-step-card h3,
.ebs-include-card h3 {
    margin: 0 0 0.45rem;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    line-height: 1.3;
}

.ebs-pillars,
.ebs-membership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebs-membership-grid--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.ebs-membership-table-wrap {
    display: none;
    margin-top: 0.9rem;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--ebs-radius-md);
    background: linear-gradient(180deg, rgba(13, 23, 40, 0.92), rgba(10, 18, 31, 0.82));
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
}

.ebs-membership-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.ebs-membership-table th,
.ebs-membership-table td {
    padding: 0.82rem 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    vertical-align: top;
    font-size: 0.84rem;
    line-height: 1.52;
}

.ebs-membership-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(10, 18, 31, 0.94));
    color: var(--ebs-text);
    font-family: "Sora", sans-serif;
    font-size: 0.86rem;
}

.ebs-membership-table tbody th {
    color: #bcd4ff;
    font-weight: 700;
    white-space: nowrap;
}

.ebs-membership-table td {
    color: var(--ebs-text-muted);
}

.ebs-page--pricing[data-ebs-pricing-view="table"] .ebs-membership-grid,
.ebs-page--pricing[data-ebs-pricing-view="table"] .ebs-membership-grid--count-4 {
    display: none;
}

.ebs-page--pricing[data-ebs-pricing-view="table"] .ebs-membership-table-wrap {
    display: block;
}

.ebs-page--pricing[data-ebs-pricing-view="table"] .ebs-page__content > :first-child {
    margin-top: 0;
}

.ebs-membership-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: 3rem;
}

.ebs-membership-notice {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-radius: var(--ebs-radius-md);
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(29, 78, 216, 0.14)),
        rgba(8, 13, 27, 0.9);
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.28);
}

.ebs-membership-notice__eyebrow {
    color: #fdba74;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ebs-membership-notice p {
    margin: 0;
    color: var(--ebs-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ebs-plan-bridge {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.5fr) minmax(0, 0.95fr);
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--ebs-radius-lg);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 30%),
        linear-gradient(160deg, rgba(8, 14, 30, 0.98), rgba(11, 18, 37, 0.96));
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.28);
    align-items: stretch;
}

.ebs-plan-bridge__intro,
.ebs-plan-bridge__price-box,
.ebs-plan-bridge__rail {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.58rem;
    min-width: 0;
}

.ebs-plan-bridge__intro,
.ebs-plan-bridge__rail {
    padding: 0.2rem;
}

.ebs-plan-bridge__eyebrow,
.ebs-plan-bridge__chips-title,
.ebs-plan-bridge__price-label {
    color: var(--ebs-cyan);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ebs-plan-bridge h3,
.ebs-plan-bridge h4 {
    margin: 0;
    font-family: "Sora", sans-serif;
    line-height: 1.16;
}

.ebs-plan-bridge h3 {
    font-size: clamp(1.2rem, 2vw, 1.72rem);
}

.ebs-plan-bridge h4 {
    font-size: 0.91rem;
}

.ebs-plan-bridge p,
.ebs-plan-bridge li {
    color: var(--ebs-text-muted);
    line-height: 1.7;
}

.ebs-plan-bridge__price-box {
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(29, 78, 216, 0.12)),
        rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    justify-content: center;
}

.ebs-plan-bridge__price {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    line-height: 1;
}

.ebs-plan-bridge__price strong {
    font-size: clamp(2.45rem, 4.4vw, 3.45rem);
    letter-spacing: -0.04em;
    color: var(--ebs-text);
}

.ebs-plan-bridge__price span {
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: #fde68a;
    font-weight: 700;
}

.ebs-plan-bridge__price-box p {
    margin: 0;
    font-size: 0.84rem;
}

.ebs-plan-bridge__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
}

.ebs-plan-bridge__points li {
    position: relative;
    margin: 0;
    padding-left: 1.2rem;
}

.ebs-plan-bridge__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-violet));
}

.ebs-plan-bridge__chips-wrap {
    display: grid;
    gap: 0.65rem;
}

.ebs-plan-bridge__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ebs-plan-bridge__chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ebs-text);
    font-size: 0.8rem;
    font-weight: 700;
}

.ebs-plan-bridge__footnote {
    margin: 0;
    padding: 0.78rem 0.84rem;
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.14);
    background: rgba(249, 115, 22, 0.06);
    font-size: 0.8rem;
}

.ebs-plan-bridge__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.35rem;
}

.ebs-plan-bridge__actions .ebs-button,
.ebs-plan-bridge__actions .ebs-button--ghost {
    width: auto;
    min-width: 0;
}

.ebs-plan-bridge__actions .ebs-button--link:hover,
.ebs-plan-bridge__actions .ebs-button--link:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.24);
}

.ebs-service-catalog {
    display: grid;
    gap: 1.2rem;
}

.ebs-service-catalog__hero,
.ebs-service-catalog__section,
.ebs-service-catalog__footer {
    position: relative;
    overflow: hidden;
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--ebs-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.08), transparent 24%),
        linear-gradient(160deg, rgba(8, 14, 30, 0.98), rgba(11, 18, 37, 0.96));
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.24);
}

.ebs-service-catalog__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.7fr);
    gap: 1rem;
    align-items: start;
}

.ebs-service-catalog__hero-copy {
    display: grid;
    gap: 0.85rem;
}

.ebs-service-catalog__hero h2,
.ebs-service-catalog__section-intro h3,
.ebs-service-catalog__card h4 {
    margin: 0;
    font-family: "Sora", sans-serif;
    line-height: 1.08;
}

.ebs-service-catalog__hero h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    letter-spacing: -0.04em;
}

.ebs-service-catalog__lead,
.ebs-service-catalog__section-intro p,
.ebs-service-catalog__summary,
.ebs-service-catalog__points li,
.ebs-service-catalog__footer p {
    color: var(--ebs-text-muted);
    line-height: 1.72;
}

.ebs-service-catalog__lead {
    max-width: 60ch;
    margin: 0;
}

.ebs-service-catalog__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ebs-service-catalog__nav-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ebs-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.ebs-service-catalog__nav-chip:hover,
.ebs-service-catalog__nav-chip:focus {
    border-color: rgba(34, 211, 238, 0.32);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(79, 70, 229, 0.12));
}

.ebs-service-catalog__stats {
    display: grid;
    gap: 0.75rem;
}

.ebs-service-catalog__stat {
    display: grid;
    gap: 0.32rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.ebs-service-catalog__stat strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ebs-service-catalog__stat span {
    color: var(--ebs-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.ebs-service-catalog__section {
    display: grid;
    gap: 1rem;
    scroll-margin-top: 7rem;
}

.ebs-service-catalog__section-intro {
    max-width: 60rem;
}

.ebs-service-catalog__section-intro h3 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}

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

.ebs-service-catalog__card {
    position: relative;
    display: grid;
    gap: 0.85rem;
    padding: 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(13, 23, 40, 0.92), rgba(10, 18, 31, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 36px rgba(2, 6, 23, 0.22);
}

.ebs-service-catalog__card.is-shared {
    border-color: rgba(34, 211, 238, 0.18);
}

.ebs-service-catalog__card.is-review {
    border-color: rgba(249, 115, 22, 0.18);
}

.ebs-service-catalog__card.is-guided {
    border-color: rgba(96, 165, 250, 0.2);
}

.ebs-service-catalog__card.is-dedicated {
    border-color: rgba(168, 85, 247, 0.18);
}

.ebs-service-catalog__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.ebs-service-catalog__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(79, 70, 229, 0.16));
    color: var(--ebs-text);
}

.ebs-service-catalog__icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ebs-service-catalog__status {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ebs-text);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-service-catalog__card.is-shared .ebs-service-catalog__status {
    color: var(--ebs-cyan);
}

.ebs-service-catalog__card.is-review .ebs-service-catalog__status {
    color: #fdba74;
}

.ebs-service-catalog__card.is-guided .ebs-service-catalog__status {
    color: #93c5fd;
}

.ebs-service-catalog__card.is-dedicated .ebs-service-catalog__status {
    color: #d8b4fe;
}

.ebs-service-catalog__card h4 {
    font-size: 1.2rem;
}

.ebs-service-catalog__price {
    color: var(--ebs-text);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ebs-service-catalog__summary {
    margin: 0;
}

.ebs-service-catalog__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.ebs-service-catalog__points li {
    position: relative;
    margin: 0;
    padding-left: 1.15rem;
}

.ebs-service-catalog__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-violet));
}

.ebs-service-catalog__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.ebs-service-catalog__tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ebs-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.ebs-service-catalog__advice {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.25rem;
    padding: 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.ebs-service-catalog__advice-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    width: fit-content;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: #a5f3fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-service-catalog__advice-copy {
    margin: 0;
    color: var(--ebs-text-muted);
    line-height: 1.68;
}

.ebs-service-catalog__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(79, 70, 229, 0.12));
    color: #d9f8ff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.ebs-service-catalog__action:hover,
.ebs-service-catalog__action:focus {
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.32);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(79, 70, 229, 0.18));
}

.ebs-service-catalog__footer {
    display: grid;
    gap: 0.9rem;
}

.ebs-service-catalog__footer p {
    margin: 0;
    max-width: 58rem;
}

.ebs-service-catalog__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ebs-membership-card.is-featured {
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18) inset;
    transform: translateY(-10px);
    background: linear-gradient(180deg, rgba(17, 29, 55, 0.98), rgba(8, 13, 27, 0.98));
}

.ebs-membership-card__ribbon {
    position: absolute;
    top: 1rem;
    left: 50%;
    z-index: 2;
    max-width: calc(100% - 2rem);
    transform: translateX(-50%);
    display: inline-flex;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-warm), #fb7185);
    color: #fff7ed;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.3);
}

.ebs-membership-card__badge {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: #fdba74;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-membership-card__topline {
    color: var(--ebs-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.ebs-membership-card__price-note {
    margin-top: 0.85rem;
    color: #fdba74;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-membership-card__price {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    margin: 1rem 0;
}

.ebs-membership-card__price::after {
    content: "";
    position: absolute;
    inset: -0.15rem -0.35rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(34, 211, 238, 0.08));
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.ebs-membership-card__price strong {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    line-height: 1;
    filter: none;
    opacity: 1;
    letter-spacing: 0.02em;
}

.ebs-membership-card__price span {
    position: relative;
    z-index: 1;
    opacity: 0.92;
    filter: none;
}

.ebs-membership-card__price--blurred strong,
.ebs-membership-card__price--blurred span {
    filter: blur(2px);
    opacity: 0.62;
    user-select: none;
}

.ebs-membership-card__price--blurred::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.ebs-membership-card__meta {
    color: var(--ebs-text-muted);
    font-size: 0.92rem;
    min-height: 2.8rem;
}

.ebs-membership-card__facts {
    display: grid;
    gap: 0.75rem;
    margin: 1.1rem 0 0;
}

.ebs-membership-card__facts div {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ebs-membership-card__facts dt {
    margin: 0 0 0.35rem;
    color: var(--ebs-cyan);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-membership-card__facts dd {
    margin: 0;
    color: var(--ebs-text);
    font-size: 0.92rem;
    line-height: 1.45;
}

.ebs-membership-card ul,
.ebs-access-card ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.ebs-membership-card li,
.ebs-access-card li {
    position: relative;
    padding-left: 1.2rem;
    margin-top: 0.7rem;
    color: var(--ebs-text-muted);
}

.ebs-membership-card li::before,
.ebs-access-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-violet));
}

.ebs-membership-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.4rem;
    margin-top: auto;
    padding-top: 1.4rem;
    align-items: stretch;
}

.ebs-membership-card__actions .ebs-button,
.ebs-membership-card__actions .ebs-button--ghost {
    width: auto;
    min-width: 0;
    text-align: center;
}

.ebs-membership-card__actions .ebs-button:disabled,
.ebs-membership-card__actions .ebs-button--ghost:disabled {
    cursor: not-allowed;
    opacity: 1;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

.ebs-founder {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1.25rem;
    padding: clamp(1.2rem, 2vw, 1.7rem);
    border-radius: var(--ebs-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.18);
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 30%),
        linear-gradient(160deg, rgba(7, 12, 24, 0.98), rgba(10, 18, 36, 0.96));
    box-shadow:
        0 12px 36px rgba(2, 6, 23, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    overflow: hidden;
}

.ebs-founder::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(249, 115, 22, 0.28), rgba(16, 44, 99, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ebs-founder.is-compact {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
}

.ebs-founder__media {
    position: relative;
    display: block;
    align-self: start;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 340px;
    padding: 0.45rem;
    border-radius: var(--ebs-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        linear-gradient(150deg, rgba(29, 78, 216, 0.28), rgba(8, 13, 27, 0.95) 62%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 36px rgba(2, 6, 23, 0.18);
    isolation: isolate;
    overflow: hidden;
}

.ebs-founder.is-compact .ebs-founder__media {
    min-height: 0;
}

.ebs-founder__media::before {
    content: "";
    position: absolute;
    inset: 0.45rem;
    z-index: 1;
    border-radius: var(--ebs-radius-md);
    background:
        linear-gradient(180deg, rgba(5, 8, 22, 0.02) 0%, rgba(5, 8, 22, 0.18) 72%, rgba(5, 8, 22, 0.38) 100%),
        linear-gradient(90deg, rgba(5, 8, 22, 0.03) 0%, rgba(5, 8, 22, 0) 58%, rgba(5, 8, 22, 0.22) 100%);
    pointer-events: none;
}

.ebs-founder__media::after {
    content: "";
    position: absolute;
    inset: auto -10% -12% auto;
    width: 210px;
    height: 210px;
    z-index: 2;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 62%),
        radial-gradient(circle at 35% 35%, rgba(249, 115, 22, 0.12), transparent 48%);
    pointer-events: none;
}

.ebs-founder__portrait {
    position: absolute;
    inset: 0.45rem;
    z-index: 0;
    display: block;
    width: calc(100% - 0.9rem);
    height: calc(100% - 0.9rem);
    max-width: none;
    border-radius: var(--ebs-radius-md);
    object-fit: cover;
    object-position: center 14%;
    filter: contrast(1.05) saturate(0.9) brightness(0.97);
    transform: scale(1.02);
}

.ebs-founder__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    min-height: 320px;
    color: #ecfeff;
    font-family: "Sora", sans-serif;
    font-size: clamp(3.4rem, 7vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    background:
        radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.34), transparent 30%),
        radial-gradient(circle at 76% 74%, rgba(249, 115, 22, 0.28), transparent 28%),
        linear-gradient(160deg, rgba(7, 12, 24, 0.4), rgba(8, 13, 27, 0.2));
}

.ebs-founder.is-compact .ebs-founder__portrait {
    object-position: center 10%;
}

.ebs-founder__content {
    position: relative;
    z-index: 1;
}

.ebs-founder__content h2 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3rem);
    letter-spacing: -0.04em;
}

.ebs-founder__role {
    display: inline-flex;
    margin: 0.75rem 0 0;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    background: rgba(249, 115, 22, 0.12);
    color: #fdba74;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-founder__headline {
    margin: 1rem 0 0;
    max-width: 28ch;
    color: var(--ebs-text);
    font-family: "Sora", sans-serif;
    font-size: clamp(1.18rem, 2.1vw, 1.55rem);
    line-height: 1.4;
}

.ebs-founder__summary {
    margin: 1rem 0 0;
    max-width: 66ch;
    color: var(--ebs-text-muted);
    line-height: 1.8;
}

.ebs-founder__detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
    margin-top: 1.2rem;
}

.ebs-founder__detail {
    padding: 1rem 1rem 1.05rem;
    border-radius: var(--ebs-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
}

.ebs-founder__detail h3,
.ebs-contact-card h3 {
    margin: 0 0 0.55rem;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.ebs-founder__detail p,
.ebs-founder__detail li,
.ebs-contact-card__note {
    color: var(--ebs-text-muted);
    line-height: 1.7;
}

.ebs-founder__detail ul {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
}

.ebs-founder__detail li {
    position: relative;
    padding-left: 1rem;
    margin-top: 0.7rem;
}

.ebs-founder__detail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-warm));
}

.ebs-contact-card {
    position: relative;
    margin-top: 1.15rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: var(--ebs-radius-md);
    border: 1px solid rgba(34, 211, 238, 0.16);
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(249, 115, 22, 0.08)),
        rgba(4, 9, 21, 0.82);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.3);
}

.ebs-contact-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--ebs-warm), var(--ebs-cyan));
}

.ebs-contact-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.ebs-contact-list__item {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ebs-contact-list__item dt {
    color: var(--ebs-cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-contact-list__item dd {
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.ebs-contact-list__item a,
.ebs-contact-list__item span {
    color: var(--ebs-text);
    font-size: 1rem;
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: break-word;
}

.ebs-contact-list__item a:hover,
.ebs-contact-list__item a:focus {
    color: #c9f9ff;
}

.ebs-contact-list__aux {
    color: #fdba74;
    font-size: 0.88rem;
    font-weight: 700;
}

.ebs-contact-card .ebs-button {
    margin-top: 1rem;
}

.ebs-page__content > .ebs-contact-card {
    margin: 1.15rem 0 1.6rem;
}

.ebs-access-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.ebs-access-form {
    display: grid;
    gap: 0.9rem;
}

.ebs-access-form label {
    font-size: 0.88rem;
    color: var(--ebs-text-muted);
    font-weight: 700;
}

.ebs-access-form input {
    width: 100%;
    margin-top: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ebs-text-muted);
}

.ebs-access-form input[readonly] {
    cursor: text;
}

.ebs-access-form--status {
    margin-top: 1rem;
}

.ebs-access-states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ebs-access-state p,
.ebs-access-card p {
    color: var(--ebs-text-muted);
    margin-bottom: 0;
}

.ebs-family-showcase,
.ebs-family-builder {
    display: grid;
    gap: 1.2rem;
    margin: 1.4rem 0 2rem;
}

.ebs-family-showcase__hero,
.ebs-family-showcase__card,
.ebs-family-showcase__process,
.ebs-family-showcase__examples,
.ebs-family-builder__hero,
.ebs-family-builder__quote-rail,
.ebs-family-builder__step,
.ebs-family-builder__card,
.ebs-family-builder__example,
.ebs-family-builder__rates {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--ebs-radius-lg);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.09), transparent 24%),
        linear-gradient(160deg, rgba(8, 14, 30, 0.98), rgba(11, 18, 37, 0.96));
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.24);
}

.ebs-family-showcase__hero,
.ebs-family-builder__hero,
.ebs-family-builder__rates {
    padding: 1.25rem;
}

.ebs-family-showcase__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    gap: 1rem;
}

.ebs-family-showcase__hero-copy,
.ebs-family-builder__hero {
    display: grid;
    gap: 0.85rem;
}

.ebs-family-showcase__hero h2,
.ebs-family-builder__hero h2,
.ebs-family-showcase__card h3,
.ebs-family-showcase__process h3,
.ebs-family-showcase__examples h3,
.ebs-family-showcase__panel h4,
.ebs-family-builder__step h3,
.ebs-family-builder__quote-rail h3,
.ebs-family-builder__addons h3,
.ebs-family-builder__examples h3,
.ebs-family-builder__rates h3,
.ebs-family-builder__card h4,
.ebs-family-builder__example h4 {
    margin: 0;
    font-family: "Sora", sans-serif;
    line-height: 1.08;
}

.ebs-family-showcase__hero h2,
.ebs-family-builder__hero h2 {
    font-size: clamp(1.95rem, 3vw, 2.85rem);
    letter-spacing: -0.04em;
}

.ebs-family-showcase__lead,
.ebs-family-showcase__notice,
.ebs-family-showcase__summary,
.ebs-family-showcase__fit,
.ebs-family-showcase__list li,
.ebs-family-showcase__method-card p,
.ebs-family-showcase__example p,
.ebs-family-builder__lead,
.ebs-family-builder__step p,
.ebs-family-builder__summary,
.ebs-family-builder__resource,
.ebs-family-builder__quote-rail p,
.ebs-family-builder__rates li,
.ebs-family-builder__note,
.ebs-family-builder__example p {
    color: var(--ebs-text-muted);
    line-height: 1.72;
}

.ebs-family-showcase__notice {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: rgba(249, 115, 22, 0.08);
}

.ebs-family-showcase__stats {
    display: grid;
    gap: 0.8rem;
}

.ebs-family-showcase__stat {
    display: grid;
    gap: 0.28rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.ebs-family-showcase__stat strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ebs-family-showcase__stat span {
    color: var(--ebs-text-muted);
    font-size: 0.84rem;
}

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

/* Pricing layout additions */
.ebs-pricing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    align-items: start;
}
.ebs-pricing-side {
    position: sticky;
    top: 6rem;
}
.ebs-pricing-main {
    display: grid;
    gap: 1rem;
}
.ebs-pricing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ebs-pricing-card {
    padding: var(--ebs-space-md);
    border-radius: var(--ebs-radius-md);
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(13,23,40,0.92), rgba(10,18,31,0.88));
    box-shadow: 0 12px 36px rgba(2,6,23,0.16);
}
.ebs-pricing-card__badge {
    display: inline-flex;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ebs-cyan), var(--ebs-indigo));
    color: #06111d;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
}
.ebs-pricing-card__title {
    margin: 0 0 0.45rem;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
}
.ebs-pricing-card__price {
    margin: 0 0 0.9rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ebs-text);
}
.ebs-pricing-card__features {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    color: var(--ebs-text-muted);
}
.ebs-pricing-card__features li {
    padding-left: 0;
    margin-top: 0.6rem;
}
.ebs-pricing-card__cta .ebs-button--primary {
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-indigo));
    color: #06111d;
}
.ebs-pricing-quick-actions {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}
.ebs-pricing-quick-actions__link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    color: var(--ebs-text-muted);
    font-weight: 700;
}
.ebs-pricing-compare table {
    width: 100%;
    border-collapse: collapse;
}
.ebs-pricing-compare th,
.ebs-pricing-compare td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
}

@media (max-width: 980px) {
    .ebs-pricing-layout { grid-template-columns: 1fr; }
    .ebs-pricing-grid { grid-template-columns: repeat(1, minmax(0,1fr)); }
}

.ebs-family-showcase__card,
.ebs-family-builder__card,
.ebs-family-builder__example {
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem;
}

.ebs-family-showcase__card.is-core {
    border-color: rgba(34, 211, 238, 0.22);
}

.ebs-family-showcase__card.is-plus {
    border-color: rgba(249, 115, 22, 0.22);
}

.ebs-family-showcase__card.is-media {
    border-color: rgba(168, 85, 247, 0.22);
}

.ebs-family-showcase__card-top,
.ebs-family-builder__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.ebs-family-showcase__icon,
.ebs-family-builder__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(79, 70, 229, 0.16));
    color: var(--ebs-text);
}

.ebs-family-showcase__icon svg,
.ebs-family-builder__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ebs-family-showcase__badge,
.ebs-family-showcase__tier,
.ebs-family-showcase__example-lane,
.ebs-family-builder__lane {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ebs-text);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebs-family-showcase__price {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    line-height: 1;
}

.ebs-family-showcase__price strong {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.ebs-family-showcase__price span,
.ebs-family-builder__price,
.ebs-family-builder__example-price,
.ebs-family-showcase__example-price {
    color: #fde68a;
    font-weight: 800;
}

.ebs-family-showcase__price-note {
    margin: -0.15rem 0 0;
    color: var(--ebs-cyan);
    font-size: 0.86rem;
    font-weight: 700;
}

.ebs-family-showcase__fit {
    margin: 0;
}

.ebs-family-showcase__metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ebs-family-showcase__metrics li {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ebs-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.ebs-family-showcase__panel {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ebs-family-showcase__blueprint-grid,
.ebs-family-builder__reference-grid {
    display: grid;
    gap: 0.7rem;
}

.ebs-family-showcase__blueprint-card,
.ebs-family-builder__reference-card {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 211, 238, 0.12);
    background: rgba(6, 12, 26, 0.72);
}

.ebs-blueprint-ref__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.ebs-blueprint-ref__top strong {
    font-family: "Sora", sans-serif;
    font-size: 0.96rem;
}

.ebs-blueprint-ref__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.34rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #c9f9ff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ebs-family-showcase__blueprint-card p,
.ebs-family-builder__reference-card p {
    margin: 0;
    color: var(--ebs-text-muted);
    line-height: 1.62;
}

.ebs-blueprint-ref__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.1rem;
}

.ebs-family-builder__card .ebs-blueprint-ref__actions {
    margin-top: auto;
}

.ebs-blueprint-ref__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.5rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(79, 70, 229, 0.14));
    color: #d9f8ff;
    font-size: 0.79rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.ebs-blueprint-ref__link:hover,
.ebs-blueprint-ref__link:focus {
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.32);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(79, 70, 229, 0.2));
}

.ebs-blueprint-ref__link.is-secondary {
    border-color: rgba(249, 115, 22, 0.18);
    background: rgba(249, 115, 22, 0.08);
    color: #fed7aa;
}

.ebs-blueprint-ref__link.is-secondary:hover,
.ebs-blueprint-ref__link.is-secondary:focus {
    border-color: rgba(249, 115, 22, 0.32);
    background: rgba(249, 115, 22, 0.14);
    color: #fff3dd;
}

.ebs-family-showcase__list,
.ebs-family-builder__rates ul,
.ebs-family-builder__quote-rail ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.ebs-family-showcase__list li,
.ebs-family-builder__rates li,
.ebs-family-builder__quote-rail li {
    position: relative;
    margin: 0;
    padding-left: 1.1rem;
}

.ebs-family-showcase__list li::before,
.ebs-family-builder__rates li::before,
.ebs-family-builder__quote-rail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ebs-cyan), var(--ebs-violet));
}

.ebs-family-showcase__subgrid,
.ebs-family-builder__top {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.ebs-family-showcase__process,
.ebs-family-showcase__examples,
.ebs-family-builder__quote-rail {
    padding: 1.15rem;
}

.ebs-family-showcase__method-grid,
.ebs-family-builder__steps,
.ebs-family-builder__grid,
.ebs-family-builder__example-grid,
.ebs-family-showcase__example-strip {
    display: grid;
    gap: 1rem;
}

.ebs-family-showcase__method-grid,
.ebs-family-builder__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ebs-family-showcase__method-card,
.ebs-family-builder__step {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ebs-family-showcase__example-strip,
.ebs-family-builder__example-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebs-family-showcase__example,
.ebs-family-builder__example {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(13, 23, 40, 0.92), rgba(10, 18, 31, 0.82));
}

.ebs-family-showcase__example-formula,
.ebs-family-builder__resource {
    margin: 0;
    color: var(--ebs-cyan);
    font-size: 0.88rem;
    font-weight: 700;
}

.ebs-family-builder__resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.68rem;
}
.ebs-family-builder__resource-list li {
    display: grid;
    gap: 0.28rem;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}
.ebs-family-builder__resource-list strong {
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
}
.ebs-family-builder__resource-list span {
    color: var(--ebs-text-muted);
    line-height: 1.56;
}

.ebs-family-showcase__example-price,
.ebs-family-builder__example-price {
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.ebs-family-builder__quote-rail {
    display: grid;
    gap: 0.65rem;
}

.ebs-family-builder__addons,
.ebs-family-builder__examples {
    display: grid;
    gap: 0.85rem;
}

.ebs-family-builder__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebs-family-builder__card.is-shared {
    border-color: rgba(34, 211, 238, 0.18);
}

.ebs-family-builder__card.is-review {
    border-color: rgba(249, 115, 22, 0.18);
}

.ebs-family-builder__card.is-guided {
    border-color: rgba(96, 165, 250, 0.2);
}

.ebs-family-builder__rates ul {
    margin-top: 0.2rem;
}

.ebs-family-builder__note {
    margin: 0;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    background: rgba(34, 211, 238, 0.06);
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-page__pricing-top,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder {
    gap: 0.72rem;
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-pricing-toolbar,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-pricing-page__nav-inner,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__hero,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__process,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__examples,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__hero,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__quote-rail,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__step,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__card,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__example,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__rates,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__card,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-card,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-notice,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-plan-bridge {
    padding: 0.82rem;
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-pricing-page__nav-inner,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__hero,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__subgrid,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__top,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-plan-bridge {
    grid-template-columns: 1fr;
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-pricing-page__link-list,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__grid,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__grid,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__example-grid,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__example-strip,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-grid,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-grid--count-4,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-steps,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-include-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.65rem;
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__hero h2,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-builder__hero h2,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-page__header h1 {
    font-size: clamp(1.55rem, 2.25vw, 2.12rem);
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-family-showcase__price strong,
.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-card__price strong {
    font-size: clamp(1.78rem, 2.7vw, 2.35rem);
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-membership-card__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebs-page--pricing[data-ebs-pricing-view="one-pager"] .ebs-page__content > :first-child {
    margin-top: 0;
}

@media (max-width: 760px) {
    .ebs-membership-card__actions {
        grid-template-columns: 1fr;
    }
}


/* Consistent layout & typography corrections
   - Align left header and right main content top edges
   - Improve text readability across controls and content blocks
   - Preserve responsive behavior; keep changes conservative
*/
.ebs-shell {
    align-items: start;
}

.ebs-header {
    /* Use the same design token for vertical offsets so both panes align */
    top: calc(var(--ebs-shell-gap));
}

.ebs-main {
    /* Ensure main content starts the same distance from the top as the header */
    padding-top: calc(var(--ebs-shell-gap));
}

.ebs-header__inner {
    /* make the sidebar use the full viewport height for a consistent visual column */
    min-height: 100vh;
    padding-top: calc(var(--ebs-space-sm));
    padding-bottom: calc(var(--ebs-space-sm));
}

/* Slightly larger, more readable nav labels */
.ebs-nav .menu-item > a,
.ebs-nav__item a {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--ebs-text-muted);
}

/* Content typography improvements */
.ebs-main,
.ebs-main p,
.entry-content p {
    color: var(--ebs-text);
    font-size: var(--ebs-copy-size);
    line-height: var(--ebs-copy-leading);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ebs-main h1,
.ebs-main h2,
.entry-content h1,
.entry-content h2 {
    color: #f8fbff;
    line-height: 1.15;
}

.ebs-button {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--ebs-text);
}

.ebs-page,
.ebs-section {
    padding: clamp(1rem, 1.5vw, 1.5rem);
}

@media (max-width: 1080px) {
    .ebs-header { top: 0.4rem; }
    .ebs-main { padding-top: 0.4rem; }
}

@media (max-width: 720px) {
    .ebs-shell { grid-template-columns: 72px 1fr; }
    .ebs-brand__logo--long { display: none; }
}
@media (max-width: 1080px) {
    .ebs-shell {
        display: block;
        width: auto;
        margin: 0;
    }

    .ebs-header,
    .ebs-main,
    .ebs-footer {
        width: min(calc(100% - 1.5rem), var(--ebs-max));
        margin: 0 auto;
    }

    .ebs-header {
        min-height: 0;
        padding: 0.85rem 0;
    }

    .ebs-header__inner {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
        align-items: center;
        gap: 0.75rem;
    }

    .ebs-header__masthead {
        grid-area: brand;
    }

    .ebs-nav {
        grid-area: nav;
    }

    .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav {
        display: none;
    }

    .ebs-shell[data-ebs-nav-state="expanded"] .ebs-nav {
        display: block;
    }

    .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-header__actions {
        display: none;
    }

    .ebs-shell[data-ebs-nav-state="expanded"] .ebs-header__actions {
        display: flex;
    }

    .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-header__masthead {
        flex-direction: row;
    }

    .ebs-nav .menu,
    .ebs-nav__list {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        border-radius: 999px;
        padding: 0.28rem;
    }

    .ebs-nav .menu-item > a,
    .ebs-nav__item a {
        width: auto;
        min-height: 2.3rem;
        border-radius: 999px;
        white-space: nowrap;
        font-size: 0.84rem;
    }

    .ebs-header__actions {
        grid-area: actions;
        margin-top: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
    }

    .ebs-header__auth-links {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .ebs-page__content {
        margin-top: 1.35rem;
    }

    .ebs-header__auth-links .ebs-button,
    .ebs-header__auth-links .ebs-button--ghost {
        width: auto;
    }

    .ebs-brand__logo--long {
        display: none;
    }

    .ebs-brand__logo--short {
        display: block;
        width: min(110px, 28vw);
    }
}

.ebs-page__content {
    margin-top: 1.55rem;
    min-width: 0;
}

.ebs-page,
.ebs-wysiwyg,
.ebs-page__content > *,
.ebs-wysiwyg > * {
    min-width: 0;
    max-width: 100%;
}

.ebs-page__content h2,
.ebs-wysiwyg h2,
.ebs-page__content h3,
.ebs-wysiwyg h3 {
    color: var(--ebs-text);
    font-family: "Sora", sans-serif;
    line-height: 1.14;
}

.ebs-page__content h2,
.ebs-wysiwyg h2 {
    font-size: clamp(1.42rem, 2.45vw, 1.95rem);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.ebs-page__content h3,
.ebs-wysiwyg h3 {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.ebs-page__content p,
.ebs-page__content li,
.ebs-wysiwyg p,
.ebs-wysiwyg li {
    overflow-wrap: anywhere;
}

.ebs-page__content a,
.ebs-wysiwyg a {
    color: #67e8f9;
    font-weight: 700;
}

.ebs-page__content a:hover,
.ebs-page__content a:focus,
.ebs-wysiwyg a:hover,
.ebs-wysiwyg a:focus {
    color: #c9f9ff;
}

.ebs-plan-stage,
.ebs-access-stage {
    margin-top: 1.5rem;
}

.ebs-section__intro--compact {
    margin-bottom: 1rem;
}

.ebs-step-card p,
.ebs-include-card p,
.ebs-wysiwyg p,
.ebs-wysiwyg li {
    color: var(--ebs-text-muted);
    font-size: 0.96em;
    line-height: 1.66;
}

.ebs-cta-band {
    display: grid;
    grid-template-columns: 1.1fr auto;
    gap: 0.95rem;
    align-items: center;
}

.ebs-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ebs-footer {
    padding: 0 0 1.5rem;
}

.ebs-footer__inner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--ebs-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
}

.ebs-footer__brand {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    text-align: center;
}

.ebs-footer__brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.ebs-footer__icon {
    width: 54px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
}

.ebs-footer__logo {
    height: auto;
    opacity: 0.98;
}

.ebs-footer__logo--long {
    display: block;
    width: min(198px, 38vw);
}

.ebs-footer__logo--short {
    display: none;
    width: min(108px, 28vw);
}

.ebs-footer__brand p {
    margin: 0;
    max-width: 56ch;
}

@media (max-width: 1280px) {
    .ebs-shell {
        --ebs-sidebar-expanded: 264px;
        width: min(calc(100% - 1.25rem), 1420px);
    }

    .ebs-header__inner {
        padding: 0.92rem;
    }

    .ebs-topbar__inner {
        padding: 0.76rem 0.88rem;
    }

    .ebs-hero h1 {
        font-size: clamp(2.1rem, 3.8vw, 3.65rem);
    }

    .ebs-pricing-page__nav-inner {
        grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.24fr) minmax(200px, 0.78fr);
    }
}

@media (max-width: 1080px) {
    .ebs-hero {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .ebs-hero h1 {
        max-width: 14ch;
        font-size: clamp(2.15rem, 5.3vw, 3.7rem);
    }

    .ebs-hero__lead,
    .ebs-hero__market-note {
        max-width: 50ch;
    }

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

    .ebs-hero__actions .ebs-button,
    .ebs-hero__actions .ebs-button--ghost {
        flex: 1 1 220px;
    }
}

@media (max-width: 980px) {
    .ebs-access-grid,
    .ebs-page__layout--pricing {
        grid-template-columns: 1fr;
    }

    .ebs-section,
    .ebs-page {
        padding: 0.98rem;
    }

    .ebs-page__pricing-top,
    .ebs-pricing-toolbar,
    .ebs-pricing-page__nav-inner {
        grid-template-columns: 1fr;
    }
    .ebs-pricing-page__link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ebs-pricing-page__nav summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.88rem 0.96rem;
        cursor: pointer;
        color: var(--ebs-text);
        font-family: "Sora", sans-serif;
        font-size: 0.94rem;
            .ebs-topbar,
    .ebs-pricing-page__nav summary::after {
        content: "+";
        font-size: 1.25rem;
        color: var(--ebs-cyan);
    }
    .ebs-pricing-page__nav[open] summary {
    .ebs-topbar {
        display: none !important;
    }
    .ebs-nav-pin {
        display: none !important;
    }
    .ebs-header__brand-controls {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    .ebs-header__brand-controls .ebs-nav-toggle {
        margin-right: 0.35rem;
    }
    .ebs-nav__controls {
        margin-top: 1rem;
        padding: 0.6rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .ebs-nav__controls .ebs-language-switch {
        justify-content: flex-start;
    }
    .ebs-nav__controls .ebs-header__auth-links {
        justify-content: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
    .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-brand__logo--long {
        display: none;
    }
    @media (max-width: 880px) {
        .ebs-shell {
            grid-template-columns: 72px minmax(0, 1fr);
        }
    }
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                position: fixed;
                top: 0.85rem;
                left: 0.75rem;
                width: min(320px, calc(100vw - 1.5rem));
                transform: translateX(calc(-100% - 0.75rem));
                opacity: 0;
                pointer-events: none;
                transition: transform 180ms ease, opacity 180ms ease;
                z-index: 40;
        content: "−";
    }
            .ebs-shell::after {
                content: "";
                position: fixed;
                inset: 0;
                background: rgba(2, 6, 23, 0.48);
                opacity: 0;
                pointer-events: none;
                transition: opacity 180ms ease;
                z-index: 35;
    }

            .ebs-shell[data-ebs-nav-state="expanded"]::after {
                opacity: 1;
    .ebs-family-builder__top {
        grid-template-columns: 1fr;
            .ebs-shell[data-ebs-nav-state="expanded"] .ebs-header {
                transform: translateX(0);
                opacity: 1;
                pointer-events: auto;
    .ebs-service-catalog__hero,
    .ebs-service-catalog__grid {
            .ebs-topbar {
                padding-top: 0.85rem;

    .ebs-family-showcase__grid,
            .ebs-header__inner {
                min-height: 0;
                max-height: calc(100vh - 1.7rem);
                overflow-y: auto;
    .ebs-family-showcase__example-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__group-label,
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__label {
                width: auto;
                opacity: 1;
                overflow: visible;
                pointer-events: auto;

    .ebs-brand__logo--long {
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav .menu-item > a,
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__item a {
                justify-content: flex-start;
                padding: 0.7rem 0.88rem;

    .ebs-brand__logo--short {
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav .menu,
            .ebs-shell[data-ebs-nav-state="collapsed"] .ebs-nav__list {
                padding: 0.35rem;

    .ebs-nav__list {
            .ebs-topbar__inner {
                gap: 0.75rem;
    .ebs-founder.is-compact {
        grid-template-columns: 1fr;
            .ebs-topbar__actions {
                justify-content: flex-end;
                flex-wrap: wrap;

    .ebs-steps,
            .ebs-nav-pin {
                display: none;
    .ebs-membership-card__actions {
        grid-template-columns: 1fr;
    }

    .ebs-membership-card.is-featured {
        transform: none;
    }
}

@media (max-width: 720px) {
    .ebs-topbar,
    .ebs-main,
    .ebs-footer {
        width: min(calc(100% - 1rem), var(--ebs-max));
    }

    .ebs-header {
        top: 0.65rem;
        left: 0.5rem;
        width: min(300px, calc(100vw - 1rem));
    }

    .ebs-topbar__inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .ebs-topbar__brand,
    .ebs-topbar__actions {
        width: 100%;
    }

    .ebs-topbar__actions {
        justify-content: space-between;
    }

    .ebs-footer__logo--long {
        display: none;
    }

    .ebs-footer__logo--short {
        display: block;
    }

    .ebs-nav__groups {
        gap: 0.45rem;
    }

    .ebs-header__auth-links {
        width: 100%;
        justify-content: stretch;
    }

    .ebs-header__auth-links .ebs-button,
    .ebs-header__auth-links .ebs-button--ghost {
        flex: 1 1 160px;
    }

    .ebs-founder {
        padding: 0.88rem;
    }

    .ebs-founder__placeholder {
        min-height: 260px;
    }

    .ebs-founder__media,
    .ebs-founder.is-compact .ebs-founder__media {
        aspect-ratio: 4 / 5;
        min-height: 280px;
    }

    .ebs-founder__detail-grid {
        grid-template-columns: 1fr;
    }

    .ebs-family-showcase__grid,
    .ebs-family-builder__grid,
    .ebs-family-builder__example-grid,
    .ebs-family-showcase__example-strip {
        grid-template-columns: 1fr;
    }

    .ebs-steps,
    .ebs-include-grid,
    .ebs-membership-grid,
    .ebs-membership-grid--count-4 {
        grid-template-columns: 1fr;
    }

    .ebs-proof-grid {
        grid-template-columns: 1fr;
    }

    .ebs-hero h1 {
        font-size: clamp(1.82rem, 9vw, 2.9rem);
        max-width: 13.1ch;
    }

    .ebs-hero__lead {
        font-size: 0.89rem;
        line-height: 1.68;
    }

    .ebs-page__content {
        margin-top: 1.15rem;
    }

    .ebs-hero__actions .ebs-button,
    .ebs-hero__actions .ebs-button--ghost,
    .ebs-membership-card__actions .ebs-button,
    .ebs-membership-card__actions .ebs-button--ghost {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .ebs-hero,
    .ebs-section,
    .ebs-page {
        border-radius: 22px;
    }

    .ebs-section,
    .ebs-page {
        padding: 0.9rem;
    }

    .ebs-hero {
        padding: 0.98rem 0.9rem 1.02rem;
    }

    .ebs-hero h1 {
        font-size: clamp(1.7rem, 9.8vw, 2.45rem);
        max-width: 13.2ch;
    }

    .ebs-hero__market-note {
        padding: 0.65rem 0.8rem;
        font-size: 0.78rem;
    }

    .ebs-membership-card {
        padding-top: 3.25rem;
    }

    .ebs-membership-card__ribbon {
        top: 0.85rem;
        max-width: calc(100% - 1.4rem);
        padding: 0.44rem 0.72rem;
        font-size: 0.66rem;
        letter-spacing: 0.06em;
    }

    .ebs-membership-card__price {
        align-items: baseline;
        flex-wrap: wrap;
    }

    .ebs-membership-card__price strong {
        font-size: 2.1rem;
    }

    .ebs-membership-card__facts div {
        padding: 0.72rem 0.78rem;
    }

    .ebs-footer__inner {
        padding: 1rem 0.92rem;
    }

    .ebs-footer__brand-mark {
        gap: 0.7rem;
    }
}

@media (max-width: 560px) {
    .ebs-brand__logo--short {
        display: none;
    }

    .ebs-brand__logo--icon {
        display: block;
        width: 42px;
    }
}

@media (min-width: 1440px) {
    .ebs-header,
    .ebs-main,
    .ebs-footer {
        width: min(calc(100% - 3rem), 1380px);
    }

    .ebs-hero {
        grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.74fr);
        gap: 1.8rem;
        padding: 2rem 2.1rem 2.15rem;
    }

    .ebs-hero h1 {
        max-width: 13ch;
        font-size: clamp(2.65rem, 4vw, 4.4rem);
    }

    .ebs-hero__lead {
        max-width: 60ch;
    }

    .ebs-proof-grid {
        gap: 1rem;
    }

    .ebs-membership-grid--count-4 {
        gap: 1.05rem;
    }
}

/* --- EB Solutions: Global Layout Consistency Pass (2026-04-08) --- */

/* 1. Centralize all card/section padding and margin */
.ebs-section,
.ebs-page,
.ebs-proof-card,
.ebs-pillar-card,
.ebs-membership-card,
.ebs-access-card,
.ebs-access-state,
.ebs-service-catalog__card,
.ebs-family-showcase__card,
.ebs-family-builder__card,
.ebs-family-builder__example {
  padding: var(--ebs-space-card) !important;
  margin-bottom: var(--ebs-space-section);
}

/* 2. Unify grid layouts for cards/sections */
.ebs-proof-grid,
.ebs-pillars,
.ebs-membership-grid,
.ebs-access-grid,
.ebs-access-states,
.ebs-service-catalog__grid,
.ebs-steps,
.ebs-include-grid {
  display: grid;
  gap: var(--ebs-space-section);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* 3. Responsive breakpoints for grid and padding */
@media (max-width: 1024px) {
  .ebs-proof-grid,
  .ebs-pillars,
  .ebs-membership-grid,
  .ebs-access-grid,
  .ebs-access-states,
  .ebs-service-catalog__grid,
  .ebs-steps,
  .ebs-include-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .ebs-section,
  .ebs-page,
  .ebs-proof-card,
  .ebs-pillar-card,
  .ebs-membership-card,
  .ebs-access-card,
  .ebs-access-state,
  .ebs-service-catalog__card {
    padding: var(--ebs-space-card-tight) !important;
  }
}
@media (max-width: 600px) {
  .ebs-proof-grid,
  .ebs-pillars,
  .ebs-membership-grid,
  .ebs-access-grid,
  .ebs-access-states,
  .ebs-service-catalog__grid,
  .ebs-steps,
  .ebs-include-grid {
    grid-template-columns: 1fr;
  }
  .ebs-section,
  .ebs-page,
  .ebs-proof-card,
  .ebs-pillar-card,
  .ebs-membership-card,
  .ebs-access-card,
  .ebs-access-state,
  .ebs-service-catalog__card {
    padding: 0.7rem !important;
  }
}

/* 4. Ensure text wrapping and min-width everywhere */
.ebs-section *,
.ebs-page *,
.ebs-proof-card *,
.ebs-pillar-card *,
.ebs-membership-card *,
.ebs-access-card *,
.ebs-access-state *,
.ebs-service-catalog__card * {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 5. Shell container width and padding normalization */
.ebs-shell,
.ebs-topbar,
.ebs-header,
.ebs-footer {
  max-width: var(--ebs-max);
  margin: 0 auto;
  padding-left: var(--ebs-shell-gap);
  padding-right: var(--ebs-shell-gap);
}

/* --- End Global Layout Consistency Pass --- */

/* --- Left-Sidebar Migration Overrides (pilot) --- */
/* Hide the topbar to enforce left-sidebar-only layout */
.ebs-topbar,
.ebs-topbar__inner,
.ebs-topbar__brand {
    display: none !important;
}

/* Ensure header acts as left sidebar and stays visible */
.ebs-header {
    grid-column: 1;
    grid-row: 1 / span 3;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--ebs-sidebar-expanded);
    max-width: 360px;
    z-index: 60;
    padding: 1.1rem 0.6rem;
}

.ebs-shell {
    grid-template-columns: var(--ebs-sidebar-expanded) minmax(0, 1fr) !important;
    margin-left: 0 !important;
    width: 100%;
    max-width: none;
}

/* Logo + left navigation styling */
.ebs-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.4rem;
}

.ebs-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.45rem 0;
}

.ebs-logo {
    max-width: 64%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(37,99,235,0.09)) saturate(1.05);
    transition: max-width 160ms ease, transform 160ms ease;
}

@media (max-width: 900px) {
    .ebs-header { width: var(--ebs-sidebar-collapsed); }
    .ebs-shell { grid-template-columns: var(--ebs-sidebar-collapsed) minmax(0, 1fr) !important; }
    .ebs-logo { max-width: 74%; }
}

@media (max-width: 600px) {
    .ebs-header { position: sticky; height: auto; width: 56px; }
    .ebs-logo { max-width: 80%; }
}

/* Prevent any legacy top banner or header fragments from occupying space */
header[role="banner"], .site-header, .top-banner {
    display: none !important;
}

/* Keep content from underlapping the fixed sidebar */
.ebs-main,
.ebs-footer {
    margin-left: var(--ebs-sidebar-expanded);
}

/* Make sure the grid children respect min-width to avoid overflow */
.ebs-main * {
    min-width: 0;
}

/* --- End Left-Sidebar Migration Overrides --- */

/* --- EB Solutions: Badge/Highlight Consistency Fix (2026-04-08) --- */

/* 1. Contain and align highlight badges within cards */
.ebs-plan-bridge__badge,
.ebs-pricing-badge,
.ebs-card-badge,
.ebs-highlight-badge {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.38em 1.1em;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 60%, #fbbf24 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.13);
  border: 2.5px solid #fff2;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

/* 2. Ensure parent card is position:relative for badge containment */
.ebs-plan-bridge,
.ebs-pricing-card,
.ebs-membership-card,
.ebs-service-catalog__card {
  position: relative;
  overflow: visible;
}

/* 3. Responsive badge margin for mobile */
@media (max-width: 600px) {
  .ebs-plan-bridge__badge,
  .ebs-pricing-badge,
  .ebs-card-badge,
  .ebs-highlight-badge {
    top: 0.5rem;
    font-size: 0.82rem;
    padding: 0.32em 0.7em;
  }
}

/* --- End Badge/Highlight Consistency Fix --- */

/* --- Fix: Prevent uncontrolled narrow columns for pricing/membership blocks --- */
/* Ensure block-columns used for pricing get a stable grid and sensible min-width */
.wp-block-columns.ebs-pricing-grid,
.ebs-pricing-grid,
.ebs-membership-grid {
    display: grid !important;
    gap: var(--ebs-space-card) !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    align-items: start;
}

/* Ensure individual columns/cards cannot shrink to a single-character width */
.wp-block-column,
.ebs-membership-card,
.ebs-pricing-card,
.ebs-family-builder__example,
.ebs-family-showcase__card {
    min-width: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Make sure content containers allow children to shrink properly without collapsing layout */
.ebs-main,
.ebs-page__content,
.ebs-shell,
.ebs-header__inner {
    min-width: 0;
}

/* Small viewport fallback: stack into single column */
@media (max-width: 980px) {
    .wp-block-columns.ebs-pricing-grid,
    .ebs-pricing-grid,
    .ebs-membership-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- End Fix --- */

/* --- Visual Tone Normalization (quick polish) --- */
/* Softer global shadow and standardized panel radii for a cleaner corporate look */
:root {
    --ebs-shadow: 0 12px 36px rgba(2, 6, 23, 0.18);
}

/* Soften heavy shadows on main panels and unify large panel radii */
.ebs-pricing-toolbar,
.ebs-pricing-page__nav,
.ebs-plan-bridge,
.ebs-service-catalog__hero,
.ebs-service-catalog__section,
.ebs-service-catalog__footer,
.ebs-founder,
.ebs-membership-notice,
.ebs-membership-table-wrap {
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.16) !important;
    border-radius: var(--ebs-radius-lg) !important;
}

/* Make portraits and media slightly less rounded for a modern look */
.ebs-founder__media,
.ebs-founder__portrait,
.ebs-founder__media::before,
.ebs-member-photo,
img.ebs-portrait {
    border-radius: var(--ebs-radius-md) !important;
}

/* Reserve pill radius for inline chips only; keep badges as pills */
.ebs-plan-bridge__badge,
.ebs-pricing-badge,
.ebs-card-badge,
.ebs-highlight-badge {
    border-radius: 999px;
}

/* Slightly tone down gradients on founders and hero panels for readability */
.ebs-founder,
.ebs-service-catalog__hero {
    background-image: linear-gradient(160deg, rgba(8, 14, 30, 0.96), rgba(11, 18, 37, 0.95));
}

/* End visual normalization */
