@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #15191f;
  --ink: #f3f7fc;
  --muted: #a8b7cc;
  --accent: #87dcfc;
  --line: #303945;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--base);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
section[id], .showcase, .gallery-frame { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; padding: .75rem; z-index: 2; transform: translateY(-200%); background: var(--base); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid #2b333d; background: #15191f; }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .65rem; font-size: 1.18rem; font-weight: 800; letter-spacing: -.035em; }
.header-inner nav { display: flex; align-items: center; gap: 2rem; }
.header-inner nav a, .source, .site-footer { color: var(--muted); font-size: .88rem; font-weight: 700; }
.header-inner a:hover, .site-footer a:hover { color: var(--accent); }
.source { justify-self: end; border: 1px solid var(--line); border-radius: 9px; padding: .55rem .8rem; white-space: nowrap; }
.source span { margin-left: .3rem; }

.hero { position: relative; isolation: isolate; padding: clamp(3.4rem, 7.3vw, 6.55rem) 0 0; text-align: center; overflow: clip; }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(100%, 830px);
  background:
    radial-gradient(ellipse at 50% 55%, #30475c80, transparent 66%),
    linear-gradient(#38485755 1px, transparent 1px),
    linear-gradient(90deg, #38485755 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: center top;
  mask-image: linear-gradient(black, black 50%, transparent);
  content: "";
}
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .17em; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; padding: .44rem .85rem; border-radius: 999px; border: 1px solid #2b4a64; background: #102236; }
.signal { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #66d6ff80; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 7.8vw, 7.15rem); line-height: 1.03; letter-spacing: -.087em; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.intro { margin: 1.45rem auto 0; max-width: 540px; color: #bdcbe0; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.65; text-wrap: balance; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin: 1.7rem 0 clamp(2.7rem, 6vw, 4.4rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .77rem 1rem; min-height: 46px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; font-size: .88rem; white-space: nowrap; }
.primary { color: #051d29; background: var(--accent); }
.primary:hover { background: #b2eaff; }
.secondary { background: #132339; border-color: #344a64; }
.secondary:hover { background: #203752; }

.showcase { background: #1b2027; text-align: left; border: 1px solid #3b4450; border-radius: 16px; box-shadow: 0 25px 70px #03060ab0, 0 0 85px #427bad17; padding: 0 .65rem; }
.gallery-bar { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: .6rem; padding: .4rem .4rem; }
.gallery-nav { display: flex; flex-wrap: wrap; gap: .2rem; }
.shot-link { min-height: 36px; display: inline-flex; align-items: center; color: var(--muted); padding: .35rem .72rem; font-size: .82rem; font-weight: 800; border-radius: 7px; }
.shot-link:hover { color: var(--ink); }
.shot-link[aria-current] { color: #a3e6ff; background: #203652; }
.capture-label { display: inline-flex; align-items: center; gap: .55rem; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.capture-label .signal { width: 6px; height: 6px; flex-basis: 6px; box-shadow: none; }
.gallery-frame { margin: 0; scroll-margin-top: 68px; }
.shot { display: block; border: 1px solid #2a3a4d; border-radius: 8px; overflow: hidden; background: #1d2329; cursor: zoom-in; }
.shot img { width: 100%; height: auto; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem .4rem .9rem; color: var(--muted); font-size: .8rem; }
.expand-hint { white-space: nowrap; color: var(--accent); }
dialog { padding: 0; overflow: visible; border: 1px solid #627994; border-radius: 10px; background: #121d2c; max-width: min(94vw, 1440px); max-height: 90vh; }
dialog::backdrop { background: #030810ed; }
dialog img { width: auto; max-width: 100%; max-height: 89vh; border-radius: 9px; }
.close { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 44px; height: 44px; font: inherit; font-size: 1.6rem; cursor: pointer; color: var(--ink); background: #172840; border: 1px solid #627994; border-radius: 8px; }

.features { padding: clamp(4.3rem, 9vw, 8rem) 0 clamp(3.8rem, 8vw, 6.5rem); }
.section-heading { margin-bottom: 2.1rem; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.065em; }
.section-heading > p:last-child, .release p:last-child { color: var(--muted); line-height: 1.65; margin: .85rem 0 0; }
.search-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); margin-bottom: clamp(4rem, 8vw, 7rem); padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid #365575; border-radius: 15px; background: radial-gradient(ellipse at 95% 15%, #303f50, #20262e 68%); }
.search-feature h2 { font-size: clamp(2.15rem, 4.6vw, 3.75rem); }
.search-feature p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.search-feature .button { margin-top: .3rem; }
.search-visual a { display: block; border: 1px solid #4b6482; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 28px #04081080; }
.search-visual img { width: 100%; height: auto; }
.search-visual .keys { margin-top: .8rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
article { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, #242b34, #1b2027 75%); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.2rem; background: #1a3049; border: 1px solid #2e4a64; color: var(--accent); border-radius: 9px; font-family: system-ui, sans-serif; font-size: 1.65rem; }
h3 { font-size: 1.25rem; letter-spacing: -.035em; }
article code { color: #c6e6f8; }
article p { color: var(--muted); line-height: 1.65; font-size: .93rem; margin: .65rem 0 1.5rem; }
.keys { display: flex; align-items: center; gap: .28rem; color: var(--muted); font-size: .75rem; margin-top: auto; }
.keys span { margin-left: .35rem; }
kbd { color: #d5e6f9; font: 700 .77rem/1.5 system-ui, sans-serif; padding: .18rem .42rem; background: #142135; border: 1px solid #3b4c63; border-bottom-width: 2px; border-radius: 5px; }

.release-section { margin-bottom: clamp(2.8rem, 7vw, 5.5rem); }
.release { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 5vw, 3.4rem); border: 1px solid #365575; border-radius: 15px; background: radial-gradient(ellipse at 100% 10%, #34465a, #242c36 62%); }
.release .signal { margin-right: .4rem; }
.release h2 { font-size: clamp(2rem, 4.1vw, 3.3rem); }
.site-footer { padding: 1.3rem 0 1.8rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer .brand { color: var(--ink); }

@media (max-width: 740px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner nav { gap: .8rem; }
  .feature-grid, .search-feature { grid-template-columns: 1fr; }
  .release { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .header-inner { gap: .5rem; min-height: 62px; }
  .header-inner nav { gap: .6rem; }
  .header-inner nav a, .source { font-size: .75rem; }
  .source { padding: .4rem .5rem; }
  .brand { gap: .35rem; }
  .brand img { width: 23px; height: 23px; }
  .capture-label, .expand-hint { display: none; }
  .showcase { padding-inline: .4rem; }
  .shot-link { padding-inline: .43rem; font-size: .75rem; }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

@media (max-width: 350px) {
  .header-inner nav { gap: .45rem; }
  .source span { display: none; }
  .shot-link { padding-inline: .33rem; font-size: .72rem; }
}
