:root {
    color-scheme: light;
    --bg: #f3f1eb;
    --panel: rgba(255, 255, 255, 0.88);
    --panel-strong: #ffffff;
    --panel-dark: #10141b;
    --text: #11161d;
    --muted: #586170;
    --border: rgba(17, 22, 29, 0.09);
    --accent: #0f78d1;
    --accent-soft: rgba(15, 120, 209, 0.12);
    --accent-strong: #0a4f9b;
    --teal: #0e8c78;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 120, 209, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(14, 140, 120, 0.1), transparent 26%),
        linear-gradient(180deg, #f8f6f1 0%, var(--bg) 42%, #efede8 100%);
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 20px 0;
}

.site-nav {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(16, 20, 27, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f7f8fa;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 120, 209, 0.9), rgba(14, 140, 120, 0.92));
    color: #fff;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-copy {
    min-width: 0;
}

.brand-name {
    display: block;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-tag {
    display: block;
    color: rgba(247, 248, 250, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: rgba(247, 248, 250, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
}

.page-shell,
.page-main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 30px 20px 90px;
}

.section-stack {
    display: grid;
    gap: 28px;
}

.hero-shell,
.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background:
        linear-gradient(135deg, rgba(12, 17, 24, 0.96), rgba(18, 31, 48, 0.84) 60%, rgba(15, 120, 209, 0.75)),
        #10141b;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.16);
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    padding: 42px;
}

.hero-shell::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -140px -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(14, 140, 120, 0.22);
    filter: blur(4px);
}

.hero-copy,
.page-hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-title,
.page-title,
.section-title,
.article-title {
    margin: 0;
    font-family: "Sora", "Segoe UI", sans-serif;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: #f7f8fa;
    max-width: 10ch;
}

.hero-description,
.page-intro,
.section-intro,
.lede {
    margin: 18px 0 0;
    color: rgba(247, 248, 250, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 62ch;
}

.hero-actions,
.hero-highlights,
.meta-row,
.chip-row,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 28px;
}

.cta-row {
    margin-top: 20px;
}

.btn,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #16a1ff, #0f78d1);
    color: #fff;
    box-shadow: 0 18px 35px rgba(15, 120, 209, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlights {
    margin-top: 28px;
}

.highlight-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(247, 248, 250, 0.85);
    font-size: 0.92rem;
}

.hero-media {
    display: grid;
    gap: 18px;
}

.hero-image-card {
    overflow: hidden;
    min-height: 100%;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.metric-grid,
.card-grid,
.article-grid,
.collection-grid,
.spotlight-grid,
.sidebar-cards,
.stats-grid,
.team-grid,
.journey-grid {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
}

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

.metric-card {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.metric-card strong {
    display: block;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
}

.metric-card span {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    color: rgba(247, 248, 250, 0.72);
}

.section-card,
.surface-card,
.article-card,
.collection-card,
.sidebar-card,
.callout-card,
.feature-card {
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.section-card {
    padding: 30px;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text);
}

.section-intro {
    color: var(--muted);
    margin-top: 10px;
}

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

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.podcast-card {
    display: grid;
    grid-template-rows: auto minmax(0, auto);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.podcast-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.podcast-card h3 {
    margin: 0;
}

.podcast-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

    overflow: hidden;
}

.feature-card,
.article-card {
    display: grid;
    min-height: 100%;
}

.feature-card-image,
.article-card-image,
.spotlight-image,
.media-embed {
    position: relative;
    overflow: hidden;
}

.feature-card-image img,
.article-card-image img,
.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.media-embed {
    aspect-ratio: 16 / 9;
    background: #0e1117;
}

.media-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.feature-card:hover .feature-card-image img,
.article-card:hover .article-card-image img,
.surface-card:hover .spotlight-image img {
    transform: scale(1.04);
}

.feature-card-body,
.article-card-body,
.collection-card-body,
.surface-card-body,
.callout-card,
.sidebar-card {
    padding: 22px;
}

.label,
.meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.feature-card h3,
.article-card h3,
.collection-card h3,
.surface-card h3,
.callout-card h3,
.sidebar-card h3 {
    margin: 14px 0 10px;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.feature-card p,
.article-card p,
.collection-card p,
.surface-card p,
.callout-card p,
.sidebar-card p,
.prose p,
.prose li {
    color: var(--muted);
    line-height: 1.72;
}

.feature-card a,
.article-card a,
.collection-card a,
.surface-card a,
.prose a,
.sidebar-card a,
.footer-links a {
    color: var(--accent-strong);
    text-decoration: none;
}

.text-link {
    min-height: unset;
    padding: 0;
    color: var(--accent-strong);
}

.feature-card-body > .text-link,
.article-card-body > .text-link,
.collection-card-body > .text-link,
.surface-card-body > .text-link,
.callout-card > .text-link,
.prose > .text-link {
    margin-top: 14px;
    align-self: flex-start;
}

.spotlight-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: stretch;
}

.surface-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.surface-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

.article-card-image {
    aspect-ratio: 16 / 10;
    background: #dfe6ef;
}

.meta-row,
.chip-row {
    margin-top: 18px;
}

.meta-row {
    color: var(--muted);
    font-size: 0.92rem;
}

.meta-row span,
.chip-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-hero {
    padding: 40px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    color: #fff;
    max-width: 12ch;
}

.page-intro {
    max-width: 70ch;
}

.page-main {
    display: grid;
    gap: 28px;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.content-panel {
    padding: 32px;
}

.prose h2,
.prose h3 {
    font-family: "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.03em;
    color: var(--text);
}

.prose h2 {
    margin: 34px 0 14px;
    font-size: 1.7rem;
}

.prose h3 {
    margin: 28px 0 10px;
    font-size: 1.25rem;
}

.prose ul,
.prose ol {
    margin: 18px 0;
    padding-left: 1.2rem;
}

.prose li + li {
    margin-top: 10px;
}

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

.lede {
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0;
}

.callout-card {
    background:
        linear-gradient(135deg, rgba(15, 120, 209, 0.08), rgba(14, 140, 120, 0.1)),
        var(--panel-strong);
}

.callout-list,
.sidebar-links,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.callout-list li,
.sidebar-links li,
.footer-links li {
    border-bottom: 1px solid rgba(17, 22, 29, 0.08);
}

.callout-list li:last-child,
.sidebar-links li:last-child,
.footer-links li:last-child {
    border-bottom: 0;
}

.callout-list a,
.sidebar-links a,
.footer-links a {
    display: block;
    padding: 12px 0;
}

.sidebar-card {
    position: sticky;
    top: 110px;
}

.sidebar-card p {
    margin-top: 0;
}

.footer {
    padding: 0 20px 30px;
}

.footer-panel {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 26px 28px;
    border-radius: 26px;
    background: #10141b;
    color: rgba(247, 248, 250, 0.84);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.footer-panel strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Sora", "Segoe UI", sans-serif;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    padding: 0;
    color: rgba(247, 248, 250, 0.74);
}

.logo-panel {
    background:
        linear-gradient(135deg, rgba(16, 20, 27, 0.95), rgba(24, 39, 63, 0.86)),
        #10141b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.logo-panel img {
    width: 100%;
    border-radius: 20px;
}

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

.team-card {
    overflow: hidden;
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.team-card-body {
    padding: 22px;
}

.team-card-body .label {
    margin-bottom: 12px;
}

.team-card-body h3 {
    margin: 0 0 10px;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.team-card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.journey-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
}

.journey-header {
    display: grid;
    gap: 16px;
    align-items: start;
}

.journey-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}

.journey-card h3 {
    margin: 0 0 10px;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.35rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 16ch;
}

.journey-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.cta-panel {
    text-align: center;
    background:
        linear-gradient(135deg, rgba(16, 20, 27, 0.95), rgba(15, 120, 209, 0.82)),
        #10141b;
    color: #fff;
}

.cta-panel h2,
.cta-panel p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta-panel h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.cta-panel p {
    margin-top: 0;
    margin-bottom: 22px;
    color: rgba(247, 248, 250, 0.82);
    line-height: 1.75;
}

.muted {
    color: var(--muted);
}

/* Homepage-specific composition */
.section-eyebrow {
    margin-bottom: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.home-hero .hero-title {
    max-width: 12ch;
}

.home-hero-image {
    position: relative;
    isolation: isolate;
}

.home-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(8, 15, 23, 0.86) 100%);
    pointer-events: none;
}

.image-caption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 1;
    color: #fff;
}

.image-caption span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.image-caption strong {
    display: block;
    max-width: 20ch;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.home-introduction .section-header {
    max-width: 760px;
}

.home-autobiz .section-header {
    align-items: start;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-top: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(14, 140, 120, 0.22);
    border-radius: 999px;
    color: var(--teal);
    background: rgba(14, 140, 120, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-chip span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25b795;
    box-shadow: 0 0 0 4px rgba(37, 183, 149, 0.14);
}

.home-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-latest-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-latest-card .section-title {
    max-width: 14ch;
}

.home-latest-card .btn {
    margin-top: auto;
}

.home-latest-dark {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 20, 27, 0.97), rgba(15, 120, 209, 0.82)),
        #10141b;
}

.home-latest-dark .section-title {
    color: #fff;
}

.home-latest-dark .section-intro,
.home-latest-dark p {
    color: rgba(247, 248, 250, 0.78);
}

@media (max-width: 1080px) {
    .hero-shell,
    .surface-card,
    .layout-with-sidebar,
    .spotlight-grid {
        grid-template-columns: 1fr;
    }

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

    .article-grid,
    .collection-grid,
    .team-grid,
    .journey-grid,
    .home-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .site-header {
        padding-top: 14px;
    }

    .site-nav,
    .footer-panel {
        border-radius: 28px;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .hero-shell,
    .page-hero,
    .section-card,
    .content-panel {
        padding: 24px;
    }

    .metric-grid,
    .card-grid,
    .podcast-grid,
    .article-grid,
    .collection-grid,
    .stats-grid,
    .team-grid,
    .journey-grid,
    .home-latest-grid {
        grid-template-columns: 1fr;
    }

    .home-autobiz .section-header {
        display: block;
    }

    .status-chip {
        margin-top: 0;
    }

    .hero-title,
    .page-title {
        max-width: none;
    }

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

@media (max-width: 560px) {
    .page-shell,
    .page-main,
    .footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-tag {
        display: none;
    }

    .nav-links a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.88rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .page-title,
    .section-title {
        font-size: 2.2rem;
    }

    .hero-image-card img {
        min-height: 280px;
    }
}
