@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/NotoSans-VariableFont_wdth_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Noto Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/NotoSans-Italic-VariableFont_wdth_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Ubuntu Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/UbuntuMono-Regular.ttf') format('truetype');
}

:root {
    --white:  #ffffff;
    --g1:     #f5f5f5;
    --g2:     #dfdfdf;
    --g3:     #929292;
    --g4:     #484848;
    --black:  #111111;
    --green:  #0a8a00;
    --orange: #f26a2f;
    --amber:  #ffbf00;
    --red:    #cc0008;
    --blue:   #0058a3;
    --f:    "Noto Sans","Roboto",system-ui,sans-serif;
    --mono: "Ubuntu Mono","Courier New",monospace;
}

[data-theme="dark"] {
    --white:  #1f1f1e;
    --g1:     #1e1e1e;
    --g2:     #2e2e2e;
    --g3:     #777777;
    --g4:     #cccccc;
    --black:  #f0f0f0;
}
[data-theme="dark"] .carousel-arrow {
    background: #2c2c2b;
    color: #777777;
}
[data-theme="light"] .card__download-note {
    background: rgba(0,0,0,0.55);
}




*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: var(--f); background: var(--white); color: var(--g4); transition: background 0.2s, color 0.2s; }
a { color: var(--black); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* NAV */
.nav { border-bottom: 1px solid var(--g2); background: var(--white); position: sticky; top: 0; z-index: 100; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 40px; max-width: 1100px; margin: 0 auto; }
.nav__left { display: flex; align-items: center; gap: 32px; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 36px; width: auto; display: block; }
.nav__links { display: flex; list-style: none; gap: 28px; }
.nav__links a { font-size: 0.857rem; color: var(--g4); }
.nav__links a:hover { color: var(--black); text-decoration: none; }
.nav__search { font-family: var(--f); font-size: 0.857rem; border: 1px solid var(--g2); background: var(--g1); padding: 8px 16px; width: 240px; outline: none; color: var(--black); }
.nav__search:focus { border-color: var(--black); background: var(--white); }

/* THEME TOGGLE */
.theme-toggle { display: flex; border: 1px solid var(--g2); overflow: hidden; }
.theme-btn { font-family: var(--f); font-size: 0.786rem; font-weight: 700; background: var(--g1); border: none; border-right: 1px solid var(--g2); padding: 6px 10px; cursor: pointer; color: var(--g3); line-height: 1; transition: background 0.15s, color 0.15s; }
.theme-btn:last-child { border-right: none; }
.theme-btn:hover { background: var(--g2); color: var(--black); }
.theme-btn--active { background: var(--black); color: var(--white); }

/* PAGE HEADER */
.page-header { padding: 40px 40px 24px; max-width: 1100px; margin: 0 auto; }
.page-header h1 { font-size: 1.571rem; font-weight: 700; color: var(--black); letter-spacing: -0.01em; }

/* CAROUSEL */
.carousel-wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px 80px; position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 16px; will-change: transform; }
.carousel-track .card { flex: 0 0 calc(25% - 4px); min-width: 0; padding: 0 0 32px; cursor: pointer; }
.carousel-arrow { position: absolute; top: 0; width: 40px; background: rgba(255,255,255,0.85); border: 1px solid var(--g2); cursor: pointer; font-size: 1.1rem; color: var(--black); display: flex; align-items: center; justify-content: center; z-index: 10; transition: background 0.1s; aspect-ratio: 1 / 1; height: calc((100% - 48px) * 0.25); }
.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }
.carousel-arrow:hover { background: var(--white); }

/* PRODUCT CARD */
.card { display: flex; flex-direction: column; padding: 0 8px 32px; position: relative; }
.card__img { width: 100%; aspect-ratio: 1 / 1; display: block; position: relative; overflow: hidden; margin-bottom: 8px; }
.card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card__badge { position: absolute; top: 0; left: 0; font-size: 0.786rem; font-weight: 700; padding: 4px 8px; color: var(--white); line-height: 1.3; }
.card__badge--available { background: var(--green); }
.card__badge--updated { background: var(--amber); color: var(--black); }
.card__badge--coming { background: var(--g4); }
.card__badge--new { background: var(--black); }
.card__badge--onhold { background: var(--red); }
.card__badge--indev { background: var(--blue); }
.card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-size: 0.929rem; font-weight: 700; color: var(--black); line-height: 1.3; margin-top: 4px; }
.card__desc { font-size: 0.857rem; color: var(--g4); line-height: 1.5; }
.card__action { margin-top: 12px; font-size: 0.857rem; font-weight: 700; color: var(--black); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

/* FOOTER */
.footer { border-top: 1px solid var(--g2); padding: 40px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; max-width: 1100px; margin: 0 auto; }
.footer__brand { font-size: 0.857rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); display: block; text-decoration: none; margin-bottom: 6px; }
.footer__copy { font-size: 0.786rem; color: var(--g3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; }
.footer__links a { font-size: 0.786rem; color: var(--g3); }
.footer__links a:hover { color: var(--black); text-decoration: none; }

/* COOKIE */
.cookie { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--g2); padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; z-index: 200; font-size: 0.857rem; }
.cookie p { color: var(--g4); }
.cookie a { text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: flex; gap: 8px; }

/* BUTTONS */
.btn { font-family: var(--f); font-size: 0.857rem; font-weight: 700; padding: 10px 20px; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.btn--dark  { background: var(--black); color: var(--white); }
.btn--light { background: var(--g1); color: var(--black); }

/* RESPONSIVE */
@media (max-width: 1100px) { .carousel-track .card { flex: 0 0 calc(33.333% - 11px); } }
@media (max-width: 768px)  { .carousel-track .card { flex: 0 0 calc(50% - 8px); } .nav__links { display: none; } .nav__search { width: 180px; } .carousel-wrap { padding: 0 20px 60px; } }
@media (max-width: 480px)  { .carousel-track .card { flex: 0 0 85%; } .page-header { padding: 32px 20px 20px; } .nav__inner { padding: 12px 20px; } .nav__search { display: none; } .theme-toggle { display: none; } }

/* INNER PAGE LAYOUTS */
.page { max-width: 1100px; margin: 0 auto; padding: 48px 40px 80px; }
.page__eyebrow { font-size: 0.786rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g3); display: block; margin-bottom: 12px; }
.page h1 { font-size: 2rem; font-weight: 700; color: var(--black); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 32px; }
.page h2 { font-size: 1.143rem; font-weight: 700; color: var(--black); margin-top: 40px; margin-bottom: 12px; }
.page h3 { font-size: 0.929rem; font-weight: 700; color: var(--black); margin-top: 28px; margin-bottom: 8px; }
.page h4 { font-size: 0.857rem; font-weight: 700; color: var(--black); margin-top: 20px; margin-bottom: 6px; }
.page p { font-size: 0.929rem; color: var(--g4); line-height: 1.7; margin-bottom: 16px; max-width: 680px; }
.page a { text-decoration: underline; text-underline-offset: 3px; }
.page ul, .page ol { margin: 0 0 16px 0; padding-left: 20px; max-width: 680px; }
.page li { font-size: 0.929rem; color: var(--g4); line-height: 1.7; margin-bottom: 4px; }
.page hr { border: none; border-top: 1px solid var(--g2); margin: 40px 0; }

/* BLOCKS */
.block { border-top: 1px solid var(--g2); padding-top: 32px; margin-top: 40px; }
.block__eyebrow { font-size: 0.714rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g3); display: block; margin-bottom: 8px; }

/* DOC CARDS */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g2); border: 1px solid var(--g2); margin-top: 20px; }
.doc-card { background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.doc-card__eyebrow { font-size: 0.714rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g3); }
.doc-card h3 { font-size: 0.929rem; font-weight: 700; color: var(--black); margin: 0; }
.doc-card p { font-size: 0.857rem; color: var(--g4); line-height: 1.55; margin: 0; flex: 1; }
.doc-card__links { display: flex; gap: 16px; margin-top: 8px; }
.doc-card__links a { font-size: 0.857rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* DOWNLOAD TABLE */
.dl-table { width: 100%; border-collapse: collapse; font-size: 0.857rem; margin-top: 16px; }
.dl-table thead th { text-align: left; padding: 10px 12px; font-size: 0.786rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g3); border-bottom: 2px solid var(--black); }
.dl-table tbody td { padding: 12px; border-bottom: 1px solid var(--g2); color: var(--g4); vertical-align: top; }
.dl-table tbody td:first-child { color: var(--black); font-weight: 500; }
.dl-table tbody tr:last-child td { border-bottom: none; }
.dl-table code { font-family: var(--mono); font-size: 0.8rem; background: var(--g1); padding: 2px 5px; }

/* GPG KEY */
.key-block { background: var(--g1); padding: 20px 24px; font-family: var(--mono); font-size: 0.857rem; line-height: 1.6; overflow-x: auto; margin-top: 16px; color: var(--g4); }

/* TABS */
.tabs__nav { display: flex; list-style: none; border-bottom: 1px solid var(--g2); margin-top: 16px; }
.tabs__nav button { font-family: var(--f); font-size: 0.857rem; font-weight: 700; background: none; border: none; padding: 10px 20px; cursor: pointer; color: var(--g3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__nav button.active { color: var(--black); border-bottom-color: var(--black); background-color: var(--g2); border-radius: 4px 4px 0 0; }
.tab { display: none; padding: 20px 0; }
.tab.active { display: block; }
pre { background: var(--g1); padding: 16px; font-size: 0.857rem; font-family: var(--mono); line-height: 1.6; overflow-x: auto; margin-bottom: 12px; }
code { font-family: var(--mono); font-size: 0.857rem; background: var(--g1); padding: 2px 5px; }

/* NOTICE */
.notice { background: var(--g1); padding: 20px 24px; font-size: 0.857rem; line-height: 1.65; color: var(--g4); max-width: 680px; margin-top: 32px; }
.notice strong { color: var(--black); }

/* CONTACT */
.contact-email { font-size: 1.143rem; font-weight: 700; color: var(--black); text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 8px; }

/* LEGAL */
.legal-link { display: inline-block; font-size: 0.857rem; margin-bottom: 32px; text-decoration: underline; text-underline-offset: 3px; }

/* MAGNIFIER */
.card__magnify { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; background: rgba(0,0,0,0.55); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #ffffff; opacity: 0; transition: opacity 0.15s; }
.card__img:hover .card__magnify { opacity: 1; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 500; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; cursor: default; }
.lightbox__close { position: fixed; top: 20px; right: 24px; background: none; border: none; color: #ffffff; font-size: 1.5rem; cursor: pointer; line-height: 1; opacity: 0.7; }
.lightbox__close:hover { opacity: 1; }

/* DIGITAL DOWNLOAD OVERLAY */
.card__download-note { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.25); color: #ffffff; font-size: 0.714rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 6px 8px; pointer-events: none; }

@media (max-width: 768px) {
    .page { padding: 32px 24px 60px; }
    .doc-grid { grid-template-columns: 1fr; }
}

/* PRODUCT HERO */
.product-hero { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; margin-bottom: 8px; }
.product-hero__image { position: relative; width: 100%; max-width: 280px; }
.product-hero__image img { width: 100%; display: block; }
.product-hero__content { padding-top: 8px; display: flex; flex-direction: column; gap: 16px; }
.product-hero__tagline { font-size: 1.143rem; font-weight: 700; color: var(--black); line-height: 1.4; margin: 0; max-width: none; }
.product-hero__content h1 { margin-bottom: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* FEATURE GRID */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g2); border: 1px solid var(--g2); margin-top: 20px; }
.feature-item { background: var(--white); padding: 20px 24px; }
.feature-item h4 { font-size: 0.857rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.feature-item p { font-size: 0.857rem; color: var(--g4); line-height: 1.6; margin: 0; max-width: none; }

@media (max-width: 768px) {
    .product-hero { grid-template-columns: 1fr; gap: 24px; }
    .product-hero__image { max-width: 240px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
}
