@font-face {
    font-family: Graphik;
    src: url("/static/fonts/Roboto-Regular.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

    :root {
        --discovery-ink: #000650;
        --discovery-ink-soft: #505784;
        --discovery-accent: #000db5;
        --discovery-accent-deep: #000650;
        --discovery-powder: #a9cafb;
        --discovery-surface: #ffffff;
        --discovery-surface-soft: #f7f9ff;
        --discovery-line: rgba(0, 6, 80, 0.14);
        --discovery-shadow: 0 28px 70px rgba(0, 6, 80, 0.10);
        --discovery-ease: cubic-bezier(.2, .76, .24, 1);
    }

    body,
    #content {
        background: #ffffff;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
    }

    #content,
    #content.active {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        min-height: 0;
        padding: 0;
        transition: none;
    }

    #sidebar,
    #sidebar.active {
        position: relative;
        inset: auto;
        order: 2;
        z-index: 1;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        overflow: visible;
        color: var(--discovery-ink);
        background:
            radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .62), transparent 28%),
            linear-gradient(135deg, #dfeaff 0%, var(--discovery-powder) 100%);
        box-shadow: none;
        transition: none;
    }

    #sidebar .mCustomScrollBox,
    #sidebar .mCSB_container {
        width: 100%;
        height: auto;
        margin: 0;
        overflow: visible;
    }

    #sidebar .mCSB_scrollTools {
        display: none !important;
    }

    #sidebar .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(calc(100% - 96px), 1440px);
        margin: auto;
        padding: 54px 0 26px;
        background: transparent;
    }

    #sidebar .sidebar-header::after {
        content: "Explore CryoNet";
        color: var(--discovery-ink);
        font: 400 clamp(28px, 3vw, 44px)/1.1 Graphik, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
        letter-spacing: 0;
    }

    #sidebar .sidebar-header h3 {
        margin: 0;
    }

    #sidebar .sidebar-header a {
        display: inline-flex;
        color: var(--discovery-ink);
        text-decoration: none;
    }

    #sidebar .sidebar-header a::after {
        content: "CryoNet";
        font: 520 26px/1 Graphik, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
        letter-spacing: 0;
    }

    #sidebar .sidebar-header img {
        display: none;
    }

    #sidebar ul.components {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 10px;
        width: min(calc(100% - 96px), 1440px);
        margin: auto;
        padding: 18px 0 46px;
        text-align: center;
    }

    #sidebar ul.components li {
        min-width: 0;
    }

    #sidebar ul.components li a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        padding: 10px 12px;
        border: 1px solid rgba(0, 6, 80, .16);
        border-radius: 999px;
        color: var(--discovery-ink);
        background: rgba(255, 255, 255, .58);
        font: 430 15px/1.25 Graphik, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
        letter-spacing: 0;
        text-decoration: none;
        transition: color .2s, background .2s, transform .2s;
    }

    #sidebar ul.components li a:hover,
    #sidebar ul.components li a:focus-visible {
        color: var(--discovery-ink);
        background: #ffffff;
        transform: translateY(-2px);
    }

    #sidebar ul.components li a[href="/discovery/"] {
        border-color: var(--discovery-accent);
        color: #ffffff;
        background: var(--discovery-accent);
        transform: none;
    }

    #sidebar #footer {
        position: static;
        width: min(calc(100% - 96px), 1440px);
        margin: auto;
        padding: 0 0 38px;
        text-align: right;
    }

    #sidebar #footer p {
        margin: 0;
    }

    #sidebar #footer img {
        width: 100px;
        filter: none;
        opacity: .72;
    }

    .discovery-topbar,
    .discovery-topbar * ,
    .discovery-page,
    .discovery-page * {
        box-sizing: border-box;
        font-family: Graphik, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
        font-synthesis: none;
        text-rendering: geometricPrecision;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    #content > .discovery-topbar {
        position: sticky;
        z-index: 1030;
        top: 0;
        display: block;
        height: 92px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: var(--discovery-ink);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 1px 0 rgba(0, 6, 80, 0.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .discovery-topbar-inner {
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        align-items: center;
        gap: 24px;
        width: min(calc(100% - 56px), 1440px);
        height: 100%;
        margin: auto;
    }

    .discovery-menu {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(0, 6, 80, 0.22);
        border-radius: 50%;
        color: var(--discovery-ink);
        background: #ffffff;
        transition: color .2s, background .2s, transform .25s var(--discovery-ease);
    }

    .discovery-menu:hover {
        color: #ffffff;
        background: var(--discovery-accent);
        transform: scale(1.04);
    }

    .discovery-menu::before {
        content: "";
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
    }

    .discovery-menu i {
        display: none;
    }

    .discovery-brand {
        color: var(--discovery-ink) !important;
        font-size: 19px;
        font-weight: 560;
        letter-spacing: 0;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .discovery-toplinks {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(22px, 3vw, 44px);
    }

    .discovery-toplinks a {
        position: relative;
        color: var(--discovery-ink) !important;
        font-size: 15px;
        font-weight: 430;
        letter-spacing: 0;
        text-decoration: none !important;
    }

    .discovery-toplinks a::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -12px;
        left: 0;
        height: 1px;
        background: var(--discovery-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s var(--discovery-ease);
    }

    .discovery-toplinks a:hover::after,
    .discovery-toplinks a:focus-visible::after {
        transform: scaleX(1);
    }

    .discovery-nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .discovery-nav-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: 0 24px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 520;
        letter-spacing: 0;
        text-decoration: none !important;
    }

    .discovery-nav-secondary {
        color: var(--discovery-ink) !important;
        background: #ececec;
    }

    .discovery-nav-primary {
        color: #ffffff !important;
        background: var(--discovery-accent);
    }

    .discovery-page {
        padding: 0 0 56px;
        color: var(--discovery-ink);
        background: #ffffff;
    }

    .discovery-hero {
        position: relative;
        min-height: 760px;
        margin: 0 0 1px;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }

    .discovery-hero::before,
    .discovery-hero::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(0, 13, 181, .08);
        border-radius: 50%;
        background: transparent;
        pointer-events: none;
    }

    .discovery-hero::before {
        inset: 60px -330px auto auto;
        width: 650px;
        height: 650px;
        mask-image: none;
    }

    .discovery-hero::after {
        right: 36%;
        bottom: -390px;
        width: 440px;
        height: 440px;
    }

    .discovery-hero-inner {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(480px, 1fr) minmax(520px, 1fr);
        align-items: center;
        gap: clamp(52px, 6vw, 96px);
        width: min(calc(100% - 72px), 1440px);
        min-height: 690px;
        margin: auto;
        padding: 88px 0 70px;
    }

    .discovery-hero-copy {
        max-width: 720px;
    }

    .discovery-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        padding: 0;
        border-radius: 0;
        color: var(--discovery-accent);
        background: transparent;
        font-size: 11px;
        font-weight: 400;
        letter-spacing: .13em;
        text-transform: uppercase;
    }

    .discovery-eyebrow::before {
        content: "";
        width: 36px;
        height: 1px;
        background: currentColor;
    }

    .discovery-hero h1 {
        max-width: 720px;
        margin: 42px 0 34px;
        color: var(--discovery-ink);
        font-family: Graphik, "Helvetica Neue", Arial, sans-serif;
        font-size: 64px;
        font-weight: 390;
        letter-spacing: 0;
        line-height: 1.075;
    }

    .discovery-live-line {
        margin: 0 0 22px;
        color: var(--discovery-ink);
        font-size: 29px;
        font-weight: 390;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .discovery-live-copy {
        position: relative;
        display: inline-block;
        color: #3557ff;
        transition: opacity .28s, transform .28s var(--discovery-ease);
    }

    .discovery-live-copy::after {
        content: "";
        position: absolute;
        z-index: -1;
        right: -4px;
        bottom: 0;
        left: -4px;
        height: 8px;
        background: rgba(169, 202, 251, .48);
    }

    .discovery-live-copy.is-switching {
        opacity: 0;
        transform: translateY(12px);
    }

    .discovery-caret {
        display: inline-block;
        width: 2px;
        height: .9em;
        margin-left: 5px;
        vertical-align: -.06em;
        background: #3557ff;
        animation: discovery-caret .9s steps(1, end) infinite;
    }

    @keyframes discovery-caret {
        50% { opacity: 0; }
    }

    .discovery-lead {
        max-width: 610px;
        margin-bottom: 34px;
        color: var(--discovery-ink-soft);
        font-size: 17px;
        font-weight: 390;
        line-height: 1.68;
        letter-spacing: 0;
    }

    .discovery-actions {
        gap: 12px;
        margin: 0;
    }

    .discovery-btn {
        min-height: 54px;
        padding: 0 24px;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 520;
        letter-spacing: 0;
        transition: color .2s, background .2s, border-color .2s, transform .25s var(--discovery-ease);
    }

    .discovery-btn-primary {
        color: #ffffff !important;
        background: var(--discovery-accent);
    }

    .discovery-btn-primary::after {
        content: "↗";
        margin-left: 10px;
    }

    .discovery-btn-secondary {
        border: 1px solid rgba(0, 6, 80, .28);
        color: var(--discovery-ink) !important;
        background: #ffffff;
    }

    .discovery-btn-secondary::after {
        content: "↓";
        margin-left: 10px;
    }

    .discovery-hero-visual {
        min-width: 0;
    }

    .discovery-preview {
        position: relative;
        padding: 30px;
        overflow: hidden;
        border-radius: 30px;
        background: linear-gradient(145deg, #eef4ff 0%, #dce9ff 48%, #a9cafb 100%);
        box-shadow: var(--discovery-shadow);
    }

    .discovery-preview::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(0, 6, 80, .10);
        border-radius: inherit;
        pointer-events: none;
    }

    .discovery-preview-window {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 6, 80, .14);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 16px 38px rgba(0, 6, 80, .08);
    }

    .discovery-preview-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 62px;
        padding: 0 22px;
        border-bottom: 1px solid rgba(0, 6, 80, .11);
    }

    .discovery-preview-title {
        font-size: 15px;
        font-weight: 500;
    }

    .discovery-live-state {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--discovery-ink-soft);
        font-size: 11px;
    }

    .discovery-live-state::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #38a76b;
        box-shadow: 0 0 0 5px rgba(56, 167, 107, .12);
    }

    .discovery-preview-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 18px;
        border-bottom: 1px solid rgba(0, 6, 80, .10);
    }

    .discovery-preview-tab {
        position: relative;
        min-height: 52px;
        border: 0;
        color: var(--discovery-ink-soft);
        background: transparent;
        font-size: 12px;
        cursor: pointer;
    }

    .discovery-preview-tab[aria-selected="true"] {
        color: var(--discovery-accent);
    }

    .discovery-preview-tab[aria-selected="true"]::after {
        content: "";
        position: absolute;
        right: 12px;
        bottom: -1px;
        left: 12px;
        height: 2px;
        background: var(--discovery-accent);
    }

    .discovery-preview-stage {
        position: relative;
        min-height: 360px;
    }

    .discovery-preview-panel {
        position: absolute;
        inset: 0;
        display: grid;
        align-content: center;
        gap: 20px;
        padding: 34px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(24px) scale(.99);
        transition: opacity .48s var(--discovery-ease), transform .58s var(--discovery-ease), visibility .48s;
    }

    .discovery-preview-panel.is-active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .discovery-preview-label {
        color: var(--discovery-accent);
        font-size: 10px;
        letter-spacing: .10em;
        text-transform: uppercase;
    }

    .discovery-preview-panel h3 {
        margin: 0;
        color: var(--discovery-ink);
        font-size: 25px;
        font-weight: 400;
        letter-spacing: 0;
    }

    .discovery-upload-card,
    .discovery-search-card,
    .discovery-candidate-row {
        border: 1px solid rgba(0, 6, 80, .13);
        background: #ffffff;
    }

    .discovery-upload-card {
        display: grid;
        grid-template-columns: 46px 1fr auto;
        align-items: center;
        gap: 14px;
        padding: 18px;
    }

    .discovery-file-icon {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        color: #ffffff;
        background: var(--discovery-accent);
        font-size: 11px;
        font-weight: 600;
    }

    .discovery-upload-card strong,
    .discovery-candidate-row strong {
        display: block;
        color: var(--discovery-ink);
        font-size: 14px;
    }

    .discovery-upload-card small,
    .discovery-candidate-row small {
        color: var(--discovery-ink-soft);
        font-size: 11px;
    }

    .discovery-ready-pill {
        padding: 6px 9px;
        border-radius: 999px;
        color: #23744a;
        background: #e8f7ee;
        font-size: 10px;
        text-transform: uppercase;
    }

    .discovery-database-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .discovery-database-row span {
        padding: 7px 10px;
        border: 1px solid rgba(0, 6, 80, .13);
        color: var(--discovery-ink-soft);
        background: #f7f9ff;
        font-size: 11px;
    }

    .discovery-database-row span.is-current {
        border-color: var(--discovery-accent);
        color: var(--discovery-accent);
        background: #ffffff;
    }

    .discovery-search-card {
        padding: 20px;
    }

    .discovery-search-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 13px;
        color: var(--discovery-ink-soft);
        font-size: 11px;
    }

    .discovery-search-track {
        height: 8px;
        overflow: hidden;
        background: #e9edfa;
    }

    .discovery-search-track span {
        display: block;
        width: 72%;
        height: 100%;
        background: var(--discovery-accent);
        animation: discovery-search 4.5s var(--discovery-ease) infinite;
        transform-origin: left;
    }

    @keyframes discovery-search {
        0% { transform: scaleX(.18); }
        70%, 100% { transform: scaleX(1); }
    }

    .discovery-candidate-list {
        display: grid;
        gap: 8px;
    }

    .discovery-candidate-row {
        display: grid;
        grid-template-columns: 30px 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 13px 15px;
    }

    .discovery-candidate-rank {
        color: var(--discovery-accent);
        font-size: 11px;
    }

    .discovery-candidate-score {
        color: var(--discovery-ink-soft);
        font-size: 11px;
        text-align: right;
    }

    .discovery-preview-foot {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 18px 22px;
        border-top: 1px solid rgba(0, 6, 80, .10);
    }

    .discovery-preview-dot {
        width: 52px;
        height: 3px;
        border: 0;
        background: rgba(0, 6, 80, .14);
    }

    .discovery-preview-dot.is-active {
        background: var(--discovery-accent);
    }

    .discovery-preview-count {
        margin-left: auto;
        color: var(--discovery-ink-soft);
        font-size: 10px;
        letter-spacing: .10em;
        text-transform: uppercase;
    }

    .discovery-flow {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 96px;
        padding: 22px 30px;
        border-top: 1px solid rgba(0, 6, 80, .07);
        border-bottom: 1px solid rgba(0, 6, 80, .07);
        color: var(--discovery-ink);
        background: #edf2ff;
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .discovery-flow span {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 0 18px;
        white-space: nowrap;
    }

    .discovery-flow span:not(:last-child)::after {
        content: "";
        width: 34px;
        height: 1px;
        margin-left: 14px;
        background: rgba(0, 6, 80, .38);
    }

    .discovery-feature-grid,
    .discovery-form-shell,
    .discovery-bottom-grid {
        width: min(calc(100% - 64px), 1440px);
        margin-right: auto;
        margin-left: auto;
    }

    .discovery-feature-grid {
        margin-top: 72px;
        margin-bottom: 28px;
    }

    .discovery-feature,
    .discovery-form-shell,
    .discovery-card {
        border-color: var(--discovery-line);
        background: #ffffff;
        box-shadow: 0 16px 38px rgba(0, 6, 80, .07);
        transition: transform .45s var(--discovery-ease), box-shadow .45s var(--discovery-ease);
    }

    .discovery-feature:hover,
    .discovery-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 24px 54px rgba(0, 6, 80, .11);
    }

    .discovery-preview {
        transition: transform .5s var(--discovery-ease), box-shadow .5s var(--discovery-ease);
    }

    .discovery-preview:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 70px rgba(0, 6, 80, .13);
    }

    .discovery-flow span::before {
        content: "";
        width: 6px;
        height: 6px;
        flex: 0 0 auto;
        border-radius: 50%;
        background: var(--discovery-accent);
        box-shadow: 0 0 0 0 rgba(0, 13, 181, .25);
        animation: discovery-flow-pulse 2.8s ease-out infinite;
    }

    .discovery-flow span:nth-child(2)::before { animation-delay: .35s; }
    .discovery-flow span:nth-child(3)::before { animation-delay: .7s; }
    .discovery-flow span:nth-child(4)::before { animation-delay: 1.05s; }
    .discovery-flow span:nth-child(5)::before { animation-delay: 1.4s; }

    @keyframes discovery-flow-pulse {
        0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(0, 13, 181, .24); }
        75% { box-shadow: 0 0 0 7px rgba(0, 13, 181, 0); }
    }

    .discovery-reveal {
        opacity: 0;
        transform: translateY(34px);
        transition:
            opacity .8s var(--discovery-ease) var(--discovery-reveal-delay, 0ms),
            transform .8s var(--discovery-ease) var(--discovery-reveal-delay, 0ms);
        will-change: opacity, transform;
    }

    .discovery-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .discovery-feature h3,
    .discovery-form-head h2,
    .discovery-card-header h3,
    .discovery-step strong,
    .discovery-form-grid label {
        color: var(--discovery-ink);
        font-family: Graphik, "Helvetica Neue", Arial, sans-serif;
    }

    .discovery-feature p,
    .discovery-form-head p,
    .discovery-step span,
    .discovery-card-body {
        color: var(--discovery-ink-soft);
    }

    .discovery-form-grid .choose_file,
    .discovery-submit-wrap #submit_66,
    .discovery-step-index {
        background: var(--discovery-accent);
        box-shadow: none;
    }

    @media (max-width: 1160px) {
        .discovery-topbar-inner {
            grid-template-columns: auto 1fr auto;
        }

        .discovery-toplinks {
            display: none;
        }

        .discovery-hero {
            min-height: 0;
        }

        .discovery-hero-inner {
            grid-template-columns: 1fr;
            min-height: 0;
            padding-top: 76px;
        }

        .discovery-hero-copy {
            max-width: 760px;
        }

        .discovery-hero-visual {
            width: min(100%, 760px);
        }
    }

    @media (max-width: 720px) {
        #sidebar .sidebar-header {
            width: calc(100% - 40px);
            padding: 40px 0 20px;
        }

        #sidebar .sidebar-header::after {
            font-size: 28px;
        }

        #sidebar .sidebar-header a::after {
            font-size: 23px;
        }

        #sidebar ul.components {
            display: flex;
            width: 100%;
            gap: 9px;
            padding: 12px 20px 34px;
            overflow-x: auto;
            scroll-snap-type: x proximity;
            scrollbar-width: none;
        }

        #sidebar ul.components::-webkit-scrollbar {
            display: none;
        }

        #sidebar ul.components li {
            flex: 0 0 auto;
            scroll-snap-align: start;
        }

        #sidebar ul.components li a {
            min-width: 132px;
            min-height: 52px;
        }

        #sidebar #footer {
            width: calc(100% - 40px);
            padding-bottom: 28px;
            text-align: left;
        }

        #content > .discovery-topbar {
            height: 68px;
        }

        .discovery-topbar-inner {
            gap: 12px;
            width: calc(100% - 28px);
        }

        .discovery-menu {
            width: 38px;
            height: 38px;
        }

        .discovery-brand {
            font-size: 15px;
        }

        .discovery-nav-secondary {
            display: none !important;
        }

        .discovery-nav-actions a {
            min-height: 40px;
            padding: 0 15px;
            font-size: 12px;
        }

        .discovery-test-callout {
            width: 100%;
        }

        .discovery-guide-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .discovery-upload-controls {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .discovery-upload-controls #mapfilename_66 {
            margin-left: 0;
            text-align: left;
        }

        .discovery-hero-inner {
            width: calc(100% - 40px);
            padding: 62px 0 48px;
        }

        .discovery-hero h1 {
            margin: 30px 0 28px;
            font-size: 44px;
        }

        .discovery-actions {
            display: grid;
        }

        .discovery-btn {
            width: 100%;
        }

        .discovery-preview {
            padding: 15px;
            border-radius: 20px;
        }

        .discovery-preview-panel {
            padding: 22px 18px;
        }

        .discovery-preview-stage {
            min-height: 390px;
        }

        .discovery-flow {
            justify-content: flex-start;
            overflow-x: auto;
        }

        .discovery-flow span {
            padding: 0 8px;
        }

        .discovery-feature-grid,
        .discovery-form-shell,
        .discovery-bottom-grid {
            width: calc(100% - 40px);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .discovery-caret,
        .discovery-search-track span,
        .discovery-flow span::before {
            animation: none !important;
        }

        .discovery-live-copy,
        .discovery-preview-panel,
        .discovery-reveal {
            transition: none !important;
        }

        .discovery-reveal {
            opacity: 1 !important;
            transform: none !important;
        }
    }

/* The shared base header remains in the DOM, but this page owns its navigation. */
#content > .navbar {
    display: none;
}

#discovery-overview,
#discovery-workflow,
#discovery-form,
#discovery-reference {
    scroll-margin-top: 112px;
}

@media (max-width: 720px) {
    #discovery-overview,
    #discovery-workflow,
    #discovery-form,
    #discovery-reference {
        scroll-margin-top: 84px;
    }
}

.discovery-topbar *,
.discovery-page *,
#sidebar .sidebar-header::after,
#sidebar .sidebar-header a::after,
#sidebar ul.components li a {
    letter-spacing: 0 !important;
}

@media (max-width: 1160px) {
    .discovery-hero h1 {
        font-size: 52px;
    }

    .discovery-live-line {
        font-size: 24px;
    }
}

@media (max-width: 720px) {
    #sidebar .sidebar-header::after {
        font-size: 28px;
    }

    .discovery-hero h1 {
        font-size: 44px;
    }

    .discovery-live-line {
        font-size: 22px;
    }
}
