:root { color-scheme: dark; --surface: #101e2e; --accent: #beff38; --line: #33485f; }
* { box-sizing: border-box; }
body { margin: 0; background: #091421; color: #f3f7fd; font: 1rem/1.55 system-ui, sans-serif; }
a { color: var(--accent); }
header, main, footer { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: inherit; font-weight: 750; text-decoration: none; }
.brand img { max-width: 6rem; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .85rem; }
nav a { padding-block: .3rem; }
.hero { padding: clamp(2rem, 6vw, 4.5rem) clamp(0rem, 3vw, 2rem); border-block: 1px solid var(--line); background: radial-gradient(ellipse at 75% 0, #24482b 0, transparent 58%); }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.75rem, 7.5vw, 6rem); line-height: 1; letter-spacing: -.055em; }
.hero p { max-width: 38rem; font-size: clamp(1.1rem, 3vw, 1.4rem); }
.product-link { display: inline-block; padding: .65rem .9rem; border: 1px solid var(--accent); border-radius: .55rem; font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; padding-block: 1.5rem; }
section { border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; background: var(--surface); }
section h2 { margin: 0 0 .55rem; line-height: 1.2; }
section p, section ul { margin: .5rem 0 0; }
section li + li { margin-top: .4rem; }
footer { padding-bottom: 2rem; }

[hidden] { display: none !important; }
.product-gallery { margin-top: 1.35rem; padding: clamp(.75rem, 3vw, 1.5rem); }
.gallery-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem; }
.gallery-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.gallery-heading p { color: #c6d4e1; }
.gallery-controls, .gallery-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.gallery-picker { margin: 1rem 0 .75rem; }
.product-gallery button { font: inherit; font-weight: 650; min-height: 44px; color: #eef6ff; background: #122338; border: 1px solid #4b637c; border-radius: .65rem; cursor: pointer; padding: .5rem .8rem; }
.gallery-controls button { min-width: 44px; }
.product-gallery button[aria-pressed=true] { background: var(--accent); color: #101b08; border-color: var(--accent); }
.product-gallery button:disabled { opacity: .45; cursor: default; }
.gallery-track { display: flex; margin-top: .65rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; border-radius: .8rem; background: #07121e; scrollbar-width: thin; }
.gallery-slide { display: grid; flex: 0 0 100%; min-width: 0; margin: 0; padding: clamp(.55rem, 2vw, 1rem); gap: .65rem; scroll-snap-align: start; }
.gallery-slide figcaption { font-weight: 700; }
.gallery-slide img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid #38546e; border-radius: .55rem; }
.gallery-enlarge { justify-self: start; }
.gallery-dialog { background: #07121e; color: #eef6ff; width: min(96vw, 90rem); max-height: 95dvh; padding: .65rem; border: 1px solid #4b637c; border-radius: .7rem; }
.gallery-dialog::backdrop { background: #000b; }
.gallery-dialog form { display: flex; justify-content: end; margin-bottom: .5rem; }
.gallery-dialog img { width: 100%; height: auto; }
