@font-face {
    font-family: Geist;
    src: url("./geist.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #fff;
    --wash: #f4f6f8;
    --studio: #eaf0f7;
    --ink: #171b22;
    --muted: #525c6b;
    --quiet: #647082;
    --line: #d9dfe7;
    --accent: #075cc7;
    --accent-hover: #064ea8;
    --selection: #cce3ff;
    --radius: 16px;
    --page-width: 1196px;
    --gutter: clamp(19px, 4vw, 62px);
    --gap: clamp(13px, 2vw, 24px);
    --display: Geist, "Segoe UI", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .75, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 77px; scrollbar-color: #aab4c3 #f5f7fa; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--display); text-rendering: optimizeLegibility; }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: var(--ink); background: var(--selection); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
img { max-width: 100%; display: block; height: auto; }
input, button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
main:focus-visible { outline: none; }
.wrap { width: min(var(--page-width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.03; letter-spacing: -.038em; text-wrap: balance; }
h1 { font-size: clamp(43px, 5.8vw, 82px); }
h2 { font-size: clamp(31px, 4.3vw, 58px); }
h3 { font-size: clamp(20px, 2.3vw, 34px); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip:focus { z-index: 30; position: fixed; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: var(--accent); border-radius: 4px; }

/* Global navigation */
.topbar { z-index: 20; position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid #e8edf2; }
.nav-shell { min-height: 59px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; column-gap: 22px; }
.brand { width: fit-content; display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 127px; height: auto; }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: clamp(18px, 3.3vw, 51px); font-size: 13px; font-weight: 500; color: #495362; }
.nav-links a { padding-block: 11px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.nav-actions { justify-content: end; gap: 3px; }
.icon-button { display: inline-grid; width: 42px; min-width: 42px; height: 42px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.icon-button svg { width: 21px; height: 21px; }
.icon-button:hover { background: #edf1f5; }
.menu-toggle, .show-when-open, .menu-toggle[aria-expanded="true"] .show-when-closed { display: none; }
.menu-toggle[aria-expanded="true"] .show-when-open { display: grid; }

/* Shared actions */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; font-weight: 580; font-size: 14px; text-align: center; transition: color .18s, background-color .18s, border-color .18s; }
.button.primary { color: var(--paper); background: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { color: var(--accent); background: transparent; border-color: var(--accent); }
.button.secondary:hover { background: #deeaff; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 550; font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.text-link svg, .collection-cta svg, .card-link-label svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* Image-led landing page */
.home-hero { position: relative; isolation: isolate; min-height: clamp(650px, 54vw, 766px); overflow: clip; background: var(--studio) url("./studio.webp") center 57% / cover no-repeat; }
.home-hero::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(247,250,254,.94) 0%, rgba(242,247,252,.89) 32%, rgba(234,241,249,.39) 68%, rgba(225,235,248,.13) 100%); content: ""; }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(51px, 6vw, 85px); text-align: center; }
.hero-copy h1 { font-size: clamp(48px, 6.35vw, 91px); }
.hero-copy p { max-width: 37ch; margin: 15px auto 0; font-size: clamp(17px, 1.75vw, 24px); line-height: 1.35; letter-spacing: -.026em; color: #374354; text-wrap: balance; }
.hero-copy .actions { justify-content: center; margin-top: 23px; }
.hero-art { position: absolute; left: 50%; bottom: 25px; width: min(83%, 1080px); height: clamp(320px, 30vw, 390px); transform: translateX(-50%); }
.hero-device { position: absolute; display: block; }
.hero-device:focus-visible { outline-offset: 1px; border-radius: 16px; }
.hero-device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.hero-device:hover img { transform: translateY(-5px); }
.hero-laptop { width: 72%; left: -1%; top: 0; bottom: 0; }
.hero-tablet { width: 46%; right: 0; bottom: 2%; height: 80%; }
.hero-laptop img { filter: drop-shadow(0 20px 18px #102b5430); }
.hero-tablet img { filter: drop-shadow(0 16px 15px #13294843); }
.collection, .product-section { padding-top: clamp(62px, 7vw, 108px); }
.product-section { margin-bottom: clamp(62px, 7vw, 108px); }
.section-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px 22px; }
.section-heading h2 { text-wrap: wrap; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.collection-card { position: relative; isolation: isolate; min-height: clamp(345px, 30vw, 470px); border-radius: var(--radius); overflow: hidden; display: block; padding: clamp(25px, 3.55vw, 55px); background: #eef2f7; }
.collection-card > div { position: relative; z-index: 1; padding-bottom: 170px; }
.collection-tablet { background: #ecf3f7; }
.collection-card h3 { font-size: clamp(31px, 4vw, 55px); }
.collection-card p { margin-top: 8px; color: var(--muted); max-width: 27ch; font-size: 16px; }
.collection-cta { color: var(--accent); margin-top: 15px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 590; gap: 3px; }
.collection-card:hover .collection-cta { text-decoration: underline; }
.collection-card img { position: absolute; width: 76%; height: 63%; object-fit: contain; right: -4%; bottom: -3%; transition: transform .5s var(--ease); }
.collection-tablet img { width: 80%; right: -6%; bottom: -9%; }
.collection-card:hover img { transform: translateY(-5px); }

/* Searchable catalog */
.page-shop { background: var(--wash); }
.catalog-intro { padding-top: clamp(42px, 6.4vw, 90px); }
.catalog-intro h1 { font-size: clamp(47px, 6.5vw, 83px); text-wrap: wrap; }
.catalog-intro p { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.7vw, 21px); }
.catalog-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 31px; }
.catalog-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; font-size: 14px; border: 1px solid #cdd5df; border-radius: 999px; color: #344050; }
.catalog-nav a:hover { background: #e6edf6; }
.catalog-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.catalog-results { padding-top: clamp(29px, 5vw, 58px); padding-bottom: clamp(60px, 7vw, 100px); min-height: 365px; }
.catalog-controls { display: none; }
.has-js .catalog-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-bottom: 22px; }
.search-field, .filter-size select { height: 46px; border: 1px solid #cbd5df; background: white; border-radius: 9px; }
.search-field { flex: 1 1 230px; max-width: 385px; display: flex; align-items: center; gap: 9px; padding-inline: 13px; color: var(--muted); }
.search-field svg { width: 19px; height: 19px; flex: 0 0 auto; }
.search-field input { min-width: 0; width: 100%; min-height: 40px; outline: none; border: 0; padding: 0; background: none; font-size: 15px; caret-color: var(--accent); }
.search-field input::placeholder { color: var(--quiet); }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-size { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.filter-size select {
    inline-size: 11rem;
    padding-inline: 9px;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.filter-size select:hover { border-color: #9eb0c4; }
.filter-size select:focus-visible { outline-offset: 2px; }

/* Extend native select styling where the browser exposes its picker. */
@supports (appearance: base-select) and selector(::picker(select)) {
    .filter-size select, .filter-size select::picker(select) { appearance: base-select; }
    .filter-size select { align-items: center; gap: 6px; }
    .filter-size select:open { border-color: var(--accent); }
    .filter-size select::picker-icon {
        content: "";
        inline-size: 7px;
        block-size: 7px;
        margin-inline-start: auto;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        color: var(--muted);
        transform: translateY(-2px) rotate(45deg);
    }
    .filter-size select:open::picker-icon {
        color: var(--accent);
        transform: translateY(2px) rotate(225deg);
    }
    .filter-size select::picker(select) {
        position-area: block-end span-inline-end;
        position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
        min-inline-size: 12rem;
        margin-block: 6px;
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: var(--paper);
        color: var(--ink);
        box-shadow: 0 10px 24px #19304720;
    }
    .filter-size option {
        min-block-size: 44px;
        padding: 8px 10px;
        border-radius: 8px;
        gap: 8px;
        cursor: pointer;
    }
    .filter-size option:hover, .filter-size option:focus { background: var(--wash); }
    .filter-size option:checked {
        background: var(--studio);
        color: var(--accent-hover);
        font-weight: 600;
    }
    .filter-size option:focus-visible { outline-offset: -2px; }
    .filter-size option::checkmark { order: 1; margin-inline-start: auto; }
}
.result-count { margin-left: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.empty-state { padding: clamp(60px, 10vw, 125px) 0; text-align: center; }
.empty-state p { margin: 10px 0 18px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.product-card { background: var(--paper); border-radius: var(--radius); box-shadow: 0 6px 18px #1930470b; }
.card-link { display: flex; flex-direction: column; height: 100%; padding: 10px; border-radius: inherit; }
.card-image { position: relative; overflow: hidden; display: grid; place-items: center; min-width: 0; aspect-ratio: 1.33; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .44s var(--ease); }
.card-link:hover img { transform: scale(1.035); }
.card-text { display: flex; flex-direction: column; flex-grow: 1; padding: 10px 13px 13px; }
.card-text h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.13; letter-spacing: -.031em; text-wrap: wrap; }
.card-text p { color: var(--muted); margin-top: 5px; font-size: 14px; line-height: 1.38; }
.card-text .card-code, .card-note { color: var(--quiet); font-size: 11px; font-weight: 580; letter-spacing: .023em; overflow-wrap: anywhere; }
.card-note { position: absolute; top: 6px; left: 8px; background: #eff2f6; border-radius: 999px; padding: 4px 8px; }
.card-link-label { display: inline-flex; align-items: center; align-self: start; gap: 1px; color: var(--accent); font-size: 13px; font-weight: 570; padding-top: 16px; margin-top: auto; }
.card-link:hover .card-link-label { text-decoration: underline; }

/* Product details */
.product-wrap { padding-bottom: clamp(54px, 7vw, 95px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 21px; margin-bottom: clamp(27px, 4vw, 56px); font-size: 13px; color: var(--muted); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs svg { width: 14px; height: 14px; }
.breadcrumbs span { overflow-wrap: anywhere; }
.product-stage { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "gallery title" "gallery information"; column-gap: clamp(32px, 6vw, 92px); align-items: start; }
.device-title { grid-area: title; padding-top: 15px; }
.device-title h1 { font-size: clamp(40px, 5.05vw, 67px); text-wrap: balance; }
.device-chip { margin-top: 12px; font-size: clamp(17px, 2vw, 24px); font-weight: 550; line-height: 1.25; letter-spacing: -.025em; }
.sku { margin-top: 10px; font-size: 12px; font-weight: 590; color: var(--quiet); letter-spacing: .04em; overflow-wrap: anywhere; }
.gallery { grid-area: gallery; min-width: 0; }
.gallery-stage { position: relative; overflow: hidden; border: 1px solid #e3e8ee; border-radius: var(--radius); aspect-ratio: 1280 / 900; }
.gallery-stage > a { position: absolute; display: block; inset: 0; cursor: zoom-in; }
.gallery-stage > a img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage > a:focus-visible { outline-offset: -4px; }
.gallery-arrow { display: none; }
.has-js .gallery-arrow { display: inline-grid; position: absolute; top: calc(50% - 21px); background: #f1f4f7; }
.gallery-arrow:hover { background: #e2e9f2; }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-zoom-icon { display: grid; place-items: center; position: absolute; right: 15px; bottom: 12px; width: 35px; height: 35px; border-radius: 50%; background: #f1f4f7; pointer-events: none; }
.gallery-zoom-icon svg { width: 17px; height: 17px; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.gallery-thumbs { display: flex; gap: 7px; }
.thumb { display: block; width: clamp(46px, 6.6vw, 78px); aspect-ratio: 1.25; border: 1px solid var(--line); border-radius: 9px; }
.thumb:hover { border-color: var(--quiet); }
.thumb[aria-current="true"] { border: 2px solid var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.gallery-caption { color: var(--muted); font-size: 12px; text-align: right; }
.product-information { grid-area: information; padding-top: 23px; }
.pricing-state { font-size: 14px; color: var(--muted); }
.product-price { font-size: 22px; font-weight: 650; }
.product-price del { font-size: 14px; color: var(--quiet); margin-left: 6px; font-weight: 460; }
.quick-specs { margin: 21px 0 19px; }
.quick-specs > div, .spec-list > div { display: grid; grid-template-columns: minmax(92px, .66fr) minmax(0, 1.37fr); gap: 15px; padding-block: 10px; border-top: 1px solid var(--line); }
.quick-specs dt, .spec-list dt { color: var(--muted); font-size: 14px; }
.quick-specs dd, .spec-list dd { margin: 0; font-weight: 560; font-size: 14px; overflow-wrap: anywhere; }
.product-note { margin-bottom: 18px; padding: 10px 13px; color: #394454; background: var(--wash); border-radius: 8px; font-size: 13px; }
.product-actions { margin-top: 21px; gap: 10px 16px; }
.product-actions .text-link { font-size: 14px; min-height: 40px; }
.overview { padding-block: clamp(56px, 7vw, 100px); background: var(--wash); }
.legacy-notes { margin: 0 0 24px; max-width: 69ch; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--gap); }
.detail-figure { overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.detail-figure a { display: grid; place-items: center; cursor: zoom-in; }
.detail-figure a:focus-visible { outline-offset: -4px; }
.detail-figure img { width: 100%; }
.detail-figure figcaption { padding: 8px 13px; background: var(--paper); font-size: 12px; color: var(--muted); }
.technical { padding-top: clamp(57px, 7vw, 102px); display: grid; grid-template-columns: minmax(200px, .85fr) minmax(0, 1.3fr); gap: 24px clamp(29px, 6vw, 86px); }
.technical h2 { font-size: clamp(33px, 4.75vw, 66px); text-wrap: wrap; }
.technical p { margin-top: 16px; color: var(--muted); overflow-wrap: anywhere; }
.technical p span { font-weight: 590; color: var(--ink); }
.spec-list { margin: 0; }
.spec-list > div { padding: 17px 0; }
.spec-list dt, .spec-list dd { font-size: clamp(14px, 1.5vw, 16px); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-section { border-top: 1px solid var(--line); margin-top: 50px; }
.review-section summary { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 600; padding-block: 18px; cursor: pointer; list-style: none; }
.review-section summary::-webkit-details-marker { display: none; }
.review-section[open] summary svg { transform: rotate(180deg); }
.review-section ul { list-style: none; padding: 0; margin: 0; max-height: 565px; overflow: auto; }
.review-section li { border-top: 1px solid var(--line); padding: 16px 0; }
.review-section li span { color: var(--muted); font-size: 13px; margin-left: 7px; }
.review-section li p { margin-top: 4px; max-width: 72ch; }
.lightbox { border: none; padding: 0; border-radius: var(--radius); background: var(--paper); width: min(94vw, 1320px); max-width: none; max-height: 94dvh; color: var(--ink); }
.lightbox::backdrop { background: #101a2cbd; }
.lightbox-bar { display: flex; justify-content: end; padding: 5px 10px; }
.lightbox-image { display: grid; place-items: center; min-height: 100px; padding: 0 8px 8px; }
.lightbox-image img { object-fit: contain; height: auto; max-height: calc(94dvh - 61px); max-width: 100%; }

/* Utility and footer */
.utility { min-height: 55vh; padding-block: 76px; }
.utility p { margin: 15px 0 24px; color: var(--muted); }
.site-footer { background: var(--wash); }
.footer-box { padding: 42px 0 23px; }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; column-gap: 23px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.footer-grid strong { color: var(--ink); }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 17px; color: var(--quiet); font-size: 12px; }

@media (max-width: 970px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-art { width: 92%; }
    .hero-tablet { right: 0; bottom: 0; }
    .gallery-bottom { align-items: start; flex-direction: column; gap: 5px; }
    .gallery-caption { text-align: left; }
}
@media (max-width: 700px) {
    .nav-shell { min-height: 56px; grid-template-columns: 1fr auto; gap: 0; }
    .nav-actions { grid-column: 2; grid-row: 1; }
    .brand img { width: 111px; }
    .optional-action { display: none; }
    .nav-links { grid-column: 1 / -1; order: 2; padding-bottom: 10px; }
    .has-js .nav-links { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); padding: 12px var(--gutter) 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 3px; align-items: stretch; flex-direction: column; }
    .has-js .nav-links:not(.open) { display: none; }
    .has-js .menu-toggle { display: inline-grid; }
    .hero-copy { padding-top: 53px; }
    .hero-copy h1 { font-size: clamp(46px, 9vw, 62px); }
    .home-hero { min-height: clamp(565px, 101vw, 655px); }
    .hero-art { width: min(95%, 542px); height: auto; bottom: 21px; aspect-ratio: 1.75; }
    .hero-laptop { left: -1%; width: 79%; }
    .hero-tablet { right: 0; bottom: 0; width: 51%; height: 75%; }
    .section-heading { flex-wrap: wrap; margin-bottom: 17px; }
    .category-grid, .detail-grid { grid-template-columns: 1fr; }
    .collection-card { min-height: 340px; }
    .collection-card img { right: -3%; bottom: -7%; height: 66%; width: 82%; }
    .collection-card p { max-width: 28ch; }
    .product-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-text { padding-inline: 6px; }
    .card-text p { font-size: 13px; }
    .card-text .card-code { font-size: 10px; }
    .product-stage { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "title" "gallery" "information"; row-gap: 18px; }
    .device-title, .product-information { padding-top: 0; }
    .device-title h1 { text-wrap: wrap; }
    .product-information { margin-top: 7px; }
    .breadcrumbs { margin-bottom: 21px; }
    .technical { grid-template-columns: 1fr; }
    .gallery-bottom { align-items: center; flex-direction: row; }
    .gallery-caption { text-align: right; }
}
@media (max-width: 430px) {
    .home-hero { min-height: 518px; }
    .hero-art { bottom: 19px; aspect-ratio: 1.70; }
    .hero-laptop { width: 91%; left: -9%; }
    .hero-tablet { width: 51%; right: 0; bottom: 1.5%; }
    .hero-copy p { margin-top: 12px; }
    .hero-copy .actions { gap: 8px; margin-top: 19px; }
    .button { padding-inline: 15px; }
    .catalog-nav { gap: 6px; }
    .catalog-nav a { padding-inline: 12px; font-size: 13px; }
    .search-field { flex-basis: 100%; max-width: none; }
    .card-text h3 { font-size: 17px; }
    .card-link { padding: 7px; }
    .card-text { padding-inline: 5px; }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 18px; }
    .footer-grid > div { grid-column: 1 / -1; }
    .thumb { width: 46px; }
    .gallery-arrow.prev { left: 5px; }
    .gallery-arrow.next { right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}