* {
    box-sizing: border-box;
}

:root {
    --background: #f7f8fa;
    --surface: #ffffff;
    --text: #15171a;
    --muted: #667085;
    --border: #e1e5ea;
    --border-strong: #cbd1d8;
    --accent: #2563eb;
    --accent-soft: #eff6ff;
    --radius: 14px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
}

.brand {
    font-size: 19px;
    font-weight: 750;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.home {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    padding: 92px 0 70px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 620px;
    margin: 24px 0 38px;
    color: var(--muted);
    font-size: 18px;
}

.finder {
    max-width: 680px;
}

.finder > label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 650;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius) var(--radius) 0 0;
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.search-box:focus-within {
    position: relative;
    z-index: 2;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-icon {
    padding-left: 17px;
    color: var(--muted);
    font-size: 22px;
}

#device-search {
    width: 100%;
    padding: 17px 17px 17px 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.device-results {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

.device-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: background 100ms ease;
}

.device-result:first-child {
    border-top: 0;
}

.device-result:hover {
    background: var(--accent-soft);
}

.device-result strong,
.device-result small {
    display: block;
}

.device-result strong {
    font-size: 15px;
}

.device-result small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.chevron {
    color: var(--muted);
    font-size: 25px;
}

.no-results {
    padding: 18px;
    color: var(--muted);
}

.supported {
    padding: 58px 0 90px;
    border-top: 1px solid var(--border);
}

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 0 0 6px;
    font-size: 27px;
    letter-spacing: -0.025em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.device-card {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition:
        transform 120ms ease,
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.device-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.device-card small {
    color: var(--muted);
    font-size: 12px;
}

.device-card strong {
    margin-top: 7px;
    font-size: 17px;
}

.device-card span {
    margin-top: auto;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.site-footer {
    padding: 30px 20px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
    .site-header {
        padding: 0 20px;
    }

    .home {
        width: min(100% - 30px, 920px);
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-description {
        font-size: 16px;
    }

    .device-grid {
        grid-template-columns: 1fr;
    }
}

.device-page {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 90px;
}

.breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    padding-top: 30px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.device-hero {
    padding: 70px 0 42px;
}

.device-hero h1 {
    font-size: clamp(40px, 6vw, 64px);
}

.device-intro {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.answer-panel {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.answer-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.answer-check {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    background: #ecfdf3;
    color: #067647;
    border-radius: 50%;
    font-weight: 800;
}

.answer-label {
    margin: 1px 0 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.answer-heading h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.requirement {
    padding: 16px;
    background: var(--background);
    border-radius: 11px;
}

.requirement-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
}

.requirement strong {
    font-size: 14px;
}

.device-section {
    padding-top: 68px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.recommendation-card {
    min-height: 175px;
    padding: 19px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.recommendation-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.card-capacity {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
}

.recommendation-card h3 {
    margin: 0;
    font-size: 15px;
}

.compatible-badge {
    padding: 4px 7px;
    background: #ecfdf3;
    color: #067647;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
}

.card-specs span {
    padding: 4px 7px;
    background: var(--background);
    color: var(--muted);
    border-radius: 6px;
    font-size: 11px;
}

.recommendation-note {
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
}

.usage-list {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.usage-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    border-top: 1px solid var(--border);
}

.usage-row:first-child {
    border-top: 0;
}

.usage-row strong {
    color: var(--accent);
}

.technical-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.technical-details summary:focus {
    outline: none;
}

.technical-details summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 8px;
}

.technical-details summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 650;
	list-style-position: inside;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 20px 20px;
}

.technical-slot {
    padding: 18px;
    background: var(--background);
    border-radius: 10px;
}

.technical-slot h3 {
    margin-top: 0;
}

.technical-slot dl {
    margin-bottom: 0;
}

.technical-slot dt {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.technical-slot dd {
    margin: 2px 0 0;
}

.source-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.source-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.source-list a {
    font-weight: 600;
    text-decoration: none;
}

.source-list a:hover {
    color: var(--accent);
}

.source-list span {
    color: var(--muted);
}

.empty-state {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted);
}

@media (max-width: 700px) {
    .device-page {
        width: min(100% - 30px, 920px);
    }

    .device-hero {
        padding: 50px 0 32px;
    }

    .requirement-grid,
    .recommendation-grid,
    .technical-grid {
        grid-template-columns: 1fr;
    }

    .usage-row,
    .source-list li {
        flex-direction: column;
        gap: 5px;
    }
}