:root {
  color-scheme: dark;
  --ink: #edf3f5;
  --muted: #aab9c2;
  --cream: #111a24;
  --blue: #a7c7e7;
  --dark: #111a24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #6fa7d7; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--cream); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
nav, .footer-inner > div { display: flex; align-items: center; gap: 36px; }
nav a, .footer-inner a:not(.brand) { text-decoration: none; font-size: 13px; font-weight: 650; }
nav a:hover, .footer-inner a:hover, .back-link:hover { color: #b7daf3; }
.nav-github { padding: 11px 16px; border: 1px solid #485c69; border-radius: 6px; }
.nav-github span { margin-left: 6px; }
.hero { position: relative; overflow: hidden; padding: 85px 0 0; background: radial-gradient(ellipse at 50% 35%, #223446 0%, #111a24 65%); }
.hero-content { text-align: center; }
.eyebrow { margin: 0 0 22px; color: #a7c7e7; font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-dot, .caption-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #83b4d9; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
h1 { margin-bottom: 23px; font-size: clamp(52px, 7vw, 88px); line-height: 1.03; }
h1 em, h2 em { color: #a7c7e7; font-weight: 400; }
.hero-copy { max-width: 590px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 29px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 51px; padding: 0 20px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: #c6dff0; color: #17212b; }
.button-primary:hover { background: #e3f2fa; }
.text-link { font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 8px; }
.hero-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 61px; color: #aab9c2; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.note-line { width: 24px; height: 1px; background: #aab4b8; }
.hero-visual { position: relative; margin-top: 37px; }
.visual-caption, .visual-footer { display: flex; justify-content: space-between; color: #aab9c2; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.visual-caption { margin-bottom: 12px; }
.hero-image-frame { overflow: hidden; padding: 7px; border: 1px solid #435463; border-radius: 12px; background: #263440; box-shadow: 0 25px 70px #0008; }
.window-bar { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 6px 6px 0 0; background: #1d252c; }
.window-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #60717e; }
.window-bar p { flex: 1; margin: 0; padding-right: 27px; color: #8c9ca8; text-align: center; font-size: 9px; }
.hero-image-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 0 0 5px 5px; background: #151a1e; }
.visual-footer { align-items: center; padding: 18px 0 0; }
.visual-footer span:last-child { color: #8ba9bf; font-size: 20px; }
.section { padding: 120px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading h2, .closing h2 { margin: 0; font-size: clamp(40px, 5vw, 58px); line-height: 1.1; }
.section-heading > p { max-width: 380px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { min-height: 265px; padding: 24px; border: 1px solid #354450; border-radius: 8px; background: #1a2732; }
.feature-number { color: #aab9c2; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 39px 0 20px; border-radius: 8px; background: #293d4d; color: #b3d2e8; font-size: 24px; }
.feature-card h3 { margin-bottom: 10px; font-size: 16px; letter-spacing: -.03em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-footnote { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-footnote span { margin-right: 8px; color: #88a9c1; }
.gallery-section { background: #182530; }
.gallery-heading { margin-bottom: 32px; }
.gallery-hint { margin: 0 0 15px; color: #aab9c2; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-item { position: relative; display: block; overflow: hidden; border: 1px solid #425563; border-radius: 8px; background: #151a1e; text-decoration: none; box-shadow: 0 4px 12px #0004; transition: transform .25s, box-shadow .25s; }
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-5px); box-shadow: 0 16px 30px #0008; }
.gallery-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform .4s, opacity .4s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); opacity: .8; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-label { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 55px 22px 20px; color: white; background: linear-gradient(transparent, #111a24eb); }
.gallery-label small, .gallery-label strong { display: block; }
.gallery-label small { margin-bottom: 6px; color: #b2cfe7; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.gallery-label strong { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.gallery-arrow { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #ffffff80; border-radius: 50%; transition: background .2s, color .2s; }
.gallery-item:hover .gallery-arrow, .gallery-item:focus-visible .gallery-arrow { color: #17212b; background: white; }
.closing { padding: 85px 0; color: #f4f6f4; background: #0c141c; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing .eyebrow { color: #a7c7e7; }
.closing h2 { margin-bottom: 17px; }
.closing p:last-child { margin-bottom: 0; color: #a7b3bb; font-size: 14px; }
.button-light { flex-shrink: 0; background: #eef4f3; color: #17212b; }
.button-light:hover { background: #cbe0ee; }
.site-footer { background: #111a24; }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 105px; }
.footer-inner p { flex: 1; margin: 0; color: var(--muted); font-size: 12px; }
.footer-inner > div { gap: 25px; }
.lightbox { width: min(1400px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 10px; color: white; background: #111a24; }
.lightbox::backdrop { background: #0c141de8; }
.lightbox-inner { position: relative; padding: 48px 16px 16px; }
.lightbox-image { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox-close { position: absolute; top: 5px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: white; background: transparent; font-size: 30px; cursor: pointer; }
.lightbox-close:hover { background: #ffffff20; }
.lightbox-caption { margin: 14px 0 0; color: #c6d4df; font-size: 13px; text-align: center; }
.policy-page { padding: 65px 0 110px; }
.policy-container { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 68px; color: #b5c8d4; font-size: 13px; font-weight: 700; text-decoration: none; }
.policy-page h1 { margin-bottom: 15px; }
.policy-updated { color: var(--muted); font-size: 12px; }
.policy-lead { margin: 45px 0; padding: 25px 28px; border-left: 3px solid #9dbdd4; background: #223440; font-family: Georgia, serif; font-size: 21px; line-height: 1.5; }
.policy-content section { margin-top: 38px; }
.policy-content h2 { margin-bottom: 12px; font-family: "Segoe UI", Arial, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.policy-content p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.policy-content a { color: #b3d7f0; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-heading > p { max-width: 580px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 36px, 1200px); }
  .header-inner { min-height: 70px; }
  nav { gap: 15px; }
  nav a { font-size: 12px; }
  .nav-github { padding: 9px; }
  .hero { padding-top: 65px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { gap: 18px; }
  .hero-note { margin-top: 45px; font-size: 8px; }
  .visual-caption, .visual-footer { font-size: 8px; }
  .feature-grid, .gallery { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-top: 25px; }
  .gallery-wide { grid-column: auto; }
  .closing-inner { align-items: start; flex-direction: column; }
  .footer-inner { align-items: start; flex-direction: column; gap: 16px; padding-top: 30px; padding-bottom: 30px; }
  .footer-inner p { flex: initial; }
  .back-link { margin-bottom: 50px; }
}
@media (max-width: 380px) {
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 15px; }
  nav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
