@font-face {
    font-family: "D-DIN";
    src: url("/assets/fonts/D-DIN.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN";
    src: url("/assets/fonts/D-DIN-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN Condensed";
    src: url("/assets/fonts/D-DINCondensed-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #030303;
    --text: #fff;
    --muted: rgba(255, 255, 255, 0.66);
    --faint: rgba(255, 255, 255, 0.42);
    --glass: rgba(255, 255, 255, 0.09);
    --glass-strong: rgba(255, 255, 255, 0.15);
    --line: rgba(255, 255, 255, 0.22);
    --line-soft: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
    --focus: #fff;
    --sans: "D-DIN", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --display: "D-DIN Condensed", "D-DIN", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100svh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.35;
}

body::before {
    display: none;
    content: none;
}

body::after {
    display: none;
    content: none;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button {
    color: inherit;
}

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

.page-shell {
    display: grid;
    align-content: start;
    grid-template-rows: auto auto auto 1fr auto;
    width: min(100% - 28px, 760px);
    min-height: 100svh;
    margin: 0 auto;
    padding: 28px 0 44px;
}

.page-shell.has-results {
    padding-bottom: 28px;
}

.page-shell:not(.has-results) {
    align-content: stretch;
    grid-template-rows: 1fr auto auto 1fr auto;
    padding-bottom: 28px;
}

.site-header {
    display: flex;
    grid-row: 1;
    justify-content: center;
    padding: 0 0 22px;
}

.page-shell:not(.has-results) .site-header {
    grid-row: 2;
    padding-bottom: 28px;
}

.has-results .site-header {
    display: none;
}

html.is-loading .page-shell {
    align-content: stretch;
    grid-template-rows: 1fr auto auto 1fr auto;
    padding-bottom: 28px;
}

html.is-loading .site-header,
.page-shell.legal-shell .site-header {
    display: flex;
}

html.is-loading .site-header {
    grid-row: 2;
    padding-bottom: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--sans);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: lowercase;
}

.brand-word {
    display: inline-block;
}

.search-section {
    grid-row: 2;
    width: 100%;
}

.page-shell:not(.has-results) .search-section {
    grid-row: 3;
}

html.is-loading .search-section {
    grid-row: 3;
}

.unibar {
    display: grid;
    gap: 0;
    position: relative;
    min-height: 62px;
}

.unibar-line {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    max-height: 70px;
    min-height: 62px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    transition: opacity 160ms ease, visibility 160ms ease, max-height 160ms ease, min-height 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.unibar-line input[type="search"] {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    min-height: 60px;
    padding: 0 64px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 400;
    text-align: center;
    appearance: none;
}

.unibar-line input[type="search"]::-webkit-search-cancel-button {
    display: none;
    appearance: none;
    -webkit-appearance: none;
}

.unibar-line input[type="search"]::placeholder {
    color: var(--faint);
}

.unibar-line input[type="search"]:focus::placeholder {
    color: transparent;
}

.icon-button {
    min-width: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.search-button {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    width: 52px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.84);
}

.search-button:hover {
    color: #fff;
}

.is-loading .unibar-line {
    max-height: 70px;
    min-height: 62px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
    visibility: hidden;
}

.icon-button:focus-visible,
.result-link:focus-visible,
.share-link:focus-visible,
.footer-action:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.loading-progress {
    --progress: 0%;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    background: transparent;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 160ms ease, height 160ms ease, background 160ms ease;
}

.loading-progress span {
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.38);
    transition: width 180ms cubic-bezier(.3, 0, .2, 1);
}

.is-loading .loading-progress {
    height: 2px;
    min-height: 2px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.is-loading .results-section,
.is-loading .share-link {
    display: none;
}

.results-section {
    grid-row: 3;
    margin-top: 24px;
}

.result-list {
    --result-cols: 2;
    display: grid;
    grid-template-columns: repeat(var(--result-cols), minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.result-list[data-result-count="1"] {
    --result-cols: 1;
    width: min(100%, 184px);
}

.result-list[data-result-count="2"] {
    width: min(100%, 384px);
}

.result-list > li {
    min-width: 0;
}

.result-link {
    display: grid;
    align-items: center;
    justify-items: center;
    align-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 80px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 16px 42px rgba(0, 0, 0, 0.36);
    text-decoration: none;
    text-align: center;
}

.result-link:hover {
    cursor: pointer;
}

.service-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.service-icon::before {
    position: absolute;
    inset: 0;
    display: block;
    background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.68%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.25%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%226.25%22/%3E%3Cpath%20d%3D%22M1.75%208h12.5M8%201.75c1.55%201.7%202.35%203.78%202.35%206.25S9.55%2012.55%208%2014.25M8%201.75C6.45%203.45%205.65%205.53%205.65%208s.8%204.55%202.35%206.25%22/%3E%3C/g%3E%3C/svg%3E");
    content: "";
    transition: opacity 120ms ease;
}

.service-icon.has-loaded::before {
    opacity: 0;
}

.service-icon img {
    position: absolute;
    inset: 0;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: inherit;
    opacity: 0;
    object-fit: contain;
    transition: opacity 120ms ease;
}

.service-icon img.is-loaded {
    opacity: 1;
}

.service-icon img[hidden] {
    display: none;
}

.result-link strong {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.share-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 7px;
    margin-top: 16px;
    padding: 10px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: center;
}

.share-url-row,
.share-url-row strong {
    min-width: 0;
}

.share-url-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    line-height: 1.25;
}

.share-url-row strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 1.04rem;
    font-weight: 700;
}

.share-url-row svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    vertical-align: -0.25em;
}

.copy-message {
    min-height: 1.2em;
    width: 100%;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.legal-footer {
    display: flex;
    flex-wrap: wrap;
    grid-row: 5;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
}

.legal-footer a {
    text-decoration: none;
}

.footer-action {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
}

.legal-footer a:hover,
.footer-action:hover {
    color: #fff;
}

.browser-search-message {
    flex-basis: 100%;
    min-height: 1.2em;
    color: var(--muted);
    font-size: 0.76rem;
}

.browser-search-message:empty {
    display: none;
}

.page-shell.legal-shell {
    grid-template-rows: auto auto 1fr auto;
    width: min(100% - 28px, 430px);
}

.page-shell.legal-shell .site-header {
    grid-row: 1;
}

.page-shell.legal-shell .legal-page {
    grid-row: 2;
}

.page-shell.legal-shell .legal-footer {
    grid-row: 4;
}

.legal-page {
    display: grid;
    justify-items: center;
    gap: 28px;
    padding-top: 8px;
    text-align: center;
}

.legal-eyebrow {
    margin: 0 0 -20px;
    color: var(--faint);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page h1,
.legal-page h2,
.legal-page p {
    margin: 0;
}

.legal-page h1 {
    font-size: 2.1rem;
    line-height: 1;
}

.legal-block {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-block h2 {
    font-size: 1rem;
    line-height: 1.2;
}

.legal-block p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.96rem;
}

.legal-block a {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

@media (min-width: 680px) {
    .page-shell {
        padding-top: 36px;
    }

    .page-shell.has-results {
        padding-top: 34px;
    }

    html.is-loading .page-shell {
        padding-top: 36px;
    }

    .unibar-line input[type="search"] {
        min-height: 64px;
        padding-right: 70px;
        padding-left: 70px;
    }

    .search-button {
        width: 56px;
    }

    .results-section {
        margin-top: 22px;
    }

    .result-link {
        min-height: 82px;
        padding: 14px 10px;
    }

    .result-list {
        gap: 10px;
    }

    .result-list[data-result-count="4"],
    .result-list[data-result-count="8"] {
        --result-cols: 4;
    }

    .result-list[data-result-count="6"],
    .result-list[data-result-count="12"] {
        --result-cols: 6;
    }

    .result-list[data-result-count="10"] {
        --result-cols: 5;
    }
}

@media (max-width: 430px) {
    .page-shell {
        width: min(100% - 28px, 760px);
        padding-top: 22px;
    }

    .page-shell:not(.has-results) {
        padding-bottom: 20px;
    }

    html.is-loading .page-shell {
        padding-bottom: 20px;
    }

    .site-header {
        padding-bottom: 17px;
    }

    .page-shell:not(.has-results) .site-header {
        padding-bottom: 24px;
    }

    html.is-loading .site-header {
        padding-bottom: 24px;
    }

    .unibar-line {
        min-height: 58px;
    }

    .unibar,
    .is-loading .unibar-line {
        min-height: 58px;
    }

    .unibar-line input[type="search"] {
        min-height: 56px;
        padding-right: 56px;
        padding-left: 56px;
        font-size: 1rem;
    }

    .search-button {
        width: 48px;
    }

    .icon-button svg {
        width: 18px;
        height: 18px;
    }

    .result-link {
        min-height: 72px;
        padding: 10px 8px;
    }

    .share-link {
        margin-top: 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .result-link strong {
        font-size: 0.9rem;
    }

    .share-url-row strong {
        font-size: 0.98rem;
    }

    .legal-page {
        gap: 24px;
    }

    .legal-page h1 {
        font-size: 1.8rem;
    }

    .legal-block p {
        font-size: 0.92rem;
    }
}
