:root {
    color-scheme: dark;
    --background: #10141e;
    --surface: #171d29;
    --surface-hover: #1c2533;
    --text: #f3f6fc;
    --muted: #a0a9ba;
    --blue: #79baff;
    --blue-bright: #9acaff;
    --border: rgba(191, 212, 244, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(154, 202, 255, 0.5);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(121, 186, 255, 0.24), rgba(121, 186, 255, 0.05));
    color: var(--blue-bright);
    font-size: 17px;
}

.brand-accent {
    color: var(--blue);
}

.site-header nav a {
    color: #d3d9e5;
    font-size: 14px;
    transition: color 160ms ease;
}

.site-header nav a:hover,
.text-link:hover {
    color: var(--blue-bright);
}

.hero {
    position: relative;
    display: flex;
    min-height: 414px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 76px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background:
        linear-gradient(90deg, rgba(12, 17, 26, 0.95) 0%, rgba(12, 17, 26, 0.78) 49%, rgba(12, 17, 26, 0.3) 100%),
        linear-gradient(0deg, rgba(12, 17, 26, 0.2), rgba(12, 17, 26, 0.2)),
        url('/assets/welcome-background.png') center 53% / cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero-content,
.hero-card {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 570px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #88d9b4;
    box-shadow: 0 0 12px rgba(136, 217, 180, 0.8);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    margin: 21px 0 14px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -2.6px;
    line-height: 1.13;
}

.hero h1 span {
    color: var(--blue-bright);
}

.hero-content > p {
    max-width: 450px;
    margin-bottom: 26px;
    color: #d3d9e4;
    font-size: 15px;
    line-height: 1.75;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--blue);
    color: #101722;
}

.button-primary:hover {
    background: var(--blue-bright);
}

.hero-card {
    display: flex;
    width: 168px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 78px 2px 0 28px;
    padding: 18px;
    border: 1px solid rgba(219, 232, 250, 0.23);
    border-radius: 15px;
    background: rgba(18, 26, 39, 0.74);
    backdrop-filter: blur(12px);
}

.hero-card-icon,
.card-icon {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border: 1px solid rgba(121, 186, 255, 0.24);
    border-radius: 10px;
    background: rgba(121, 186, 255, 0.11);
    color: var(--blue-bright);
}

.hero-card-label,
.hero-card-caption {
    color: #c2ccda;
    font-size: 11px;
}

.hero-card strong {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 32px;
    line-height: 1;
}

.hero-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(189, 221, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-one {
    right: 128px;
    bottom: -180px;
}

.hero-orb-two {
    right: 40px;
    bottom: -145px;
    width: 285px;
    height: 285px;
}

.archive-section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 75px 0 86px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow-muted {
    color: #91a1b9;
    font-size: 10px;
}

.section-heading h2 {
    margin: 10px 0 7px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 29px;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.search-form {
    display: flex;
    width: min(320px, 100%);
    min-height: 43px;
    align-items: center;
    gap: 9px;
    padding: 4px 5px 4px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #151a25;
    color: #aab5c7;
}

.search-form > span {
    font-size: 23px;
    line-height: 1;
}

.search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 12px;
}

.search-form input::placeholder {
    color: #8792a4;
}

.search-form button {
    min-height: 32px;
    padding: 0 11px;
    border: 0;
    border-radius: 6px;
    background: #28374d;
    color: #c8e3ff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

.search-form button:hover {
    background: #344967;
}

.transcript-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.transcript-card {
    display: flex;
    min-height: 185px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.transcript-card:hover {
    transform: translateY(-3px);
    border-color: rgba(121, 186, 255, 0.48);
    background: var(--surface-hover);
}

.card-icon {
    width: 29px;
    height: 29px;
    margin-bottom: 14px;
    font-size: 13px;
}

.card-date {
    margin-bottom: 7px;
    color: #a7b2c4;
    font-size: 11px;
}

.transcript-card > strong {
    overflow-wrap: anywhere;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.card-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 19px;
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 600;
}

.archive-count {
    margin: 19px 0 0;
    color: #8792a4;
    font-size: 11px;
}

.empty-state,
.notice {
    padding: 34px 22px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    text-align: center;
}

.empty-icon {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: 22px;
}

.empty-state h3 {
    margin-bottom: 7px;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
}

.empty-state p,
.notice span {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.text-link {
    display: inline-block;
    margin-top: 17px;
    color: var(--blue);
    font-size: 12px;
}

.notice {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.notice strong {
    font-size: 14px;
}

.site-footer {
    min-height: 76px;
    border-top: 1px solid var(--border);
    color: #8994a6;
    font-size: 11px;
}

.brand-footer {
    color: #dfe6f2;
    font-size: 15px;
}

.brand-footer .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 800px) {
    .hero {
        min-height: 380px;
        padding: 48px;
    }

    .hero-card {
        width: 150px;
    }

    .transcript-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .site-header,
    .site-footer,
    .hero,
    .archive-section {
        width: calc(100% - 32px);
    }

    .site-header {
        height: 70px;
    }

    .hero {
        min-height: 430px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 31px 24px;
        background-position: 57% center;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1.8px;
    }

    .hero-content > p {
        max-width: 360px;
        font-size: 13px;
    }

    .hero-card {
        width: auto;
        min-width: 155px;
        margin: 24px 0 0;
        padding: 12px 14px;
    }

    .hero-card-icon {
        display: none;
    }

    .hero-card strong {
        font-size: 25px;
    }

    .archive-section {
        padding: 56px 0;
    }

    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .search-form {
        width: 100%;
    }

    .transcript-grid {
        grid-template-columns: 1fr;
    }

    .transcript-card {
        min-height: 170px;
    }

    .site-footer {
        min-height: 74px;
        gap: 12px;
    }

    .site-footer > span {
        max-width: 145px;
        text-align: right;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
