@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ground: #f3f6fc;
  --glow: #dbe8ff;
  --surface: rgb(255 255 255);
  --raised: rgb(255 255 255);
  --text: #10213c;
  --muted: #5c6c82;
  --line: #d8e2f0;
  --primary: #003388;
  --primary-hover: #002663;
  --on-primary: #ffffff;
  --shadow: 0 14px 32px rgba(21, 56, 107, .09), 0 3px 8px rgba(18, 43, 82, .06);
  --shadow-hover: 0 18px 36px rgba(21, 56, 107, .13), 0 4px 10px rgba(18, 43, 82, .08);
  --danger: #b32d3f;
  --danger-bg: #ffe1e5;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0a1428;
  --glow: #142d58;
  --surface: #101f38;
  --raised: #162947;
  --text: #eff6ff;
  --muted: #aebfd6;
  --line: #294766;
  --primary: #4a8fd9;
  --primary-hover: #75b4f2;
  --on-primary: #071426;
  --shadow: 0 16px 35px rgba(0, 0, 0, .30), 0 0 22px rgba(74, 143, 217, .08);
  --shadow-hover: 0 20px 42px rgba(0, 0, 0, .38), 0 0 26px rgba(74, 143, 217, .12);
  --danger: #ff9aa7;
  --danger-bg: #552837;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ground); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 8% 0, var(--glow), transparent 34rem), var(--ground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, var(--surface)); outline-offset: 3px; }
.page-shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 42px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .83rem; font-weight: 800; }
.crest-mark { display: grid; width: 34px; height: 40px; place-items: center; color: var(--on-primary); background: #003388; clip-path: polygon(50% 0, 93% 16%, 84% 89%, 50% 100%, 16% 89%, 7% 16%); font-size: .67rem; font-weight: 900; letter-spacing: -.06em; }
.tools, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.demo { display: inline-flex; align-items: center; padding: .26rem .5rem; color: var(--danger); background: var(--danger-bg); border-radius: 999px; font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.theme-toggle, .view-button, .button-link, .nav-link {
  min-height: 38px;
  padding: .56rem .76rem;
  color: var(--text);
  background: var(--surface);
  border: 0;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.theme-toggle:hover, .view-button:hover, .button-link:hover, .nav-link:hover { color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); transform: translateY(-1px); }
.view-button[aria-selected="true"] { color: var(--on-primary); background: var(--primary); box-shadow: none; }
.hero { position: relative; overflow: hidden; padding: clamp(26px, 5vw, 48px); color: var(--on-primary); background: linear-gradient(128deg, #003388, #185eb8); border-radius: 22px; box-shadow: var(--shadow); }
.hero::after { position: absolute; right: -9rem; bottom: -13rem; width: 29rem; height: 29rem; background: radial-gradient(circle, rgba(255, 255, 255, .24), transparent 66%); border-radius: 50%; content: ""; }
.hero > * { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.eyebrow { margin: 0 0 7px; color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: rgba(255, 255, 255, .76); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 11px; font-size: clamp(2.05rem, 5vw, 3.3rem); line-height: 1; letter-spacing: -.055em; }
h2 { margin-bottom: 7px; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.08; letter-spacing: -.035em; }
.hero p:last-child { max-width: 610px; margin-bottom: 0; color: rgba(255, 255, 255, .88); }
.intro { max-width: 670px; margin: 30px 0 17px; color: var(--muted); }
.variant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.variant-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.variant-card:hover, .variant-card:focus-visible { box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-hover); transform: translateY(-3px); }
.variant-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--raised); }
.variant-card__body { padding: 17px; }
.variant-card__body p:last-child { margin-bottom: 0; color: var(--muted); font-size: .87rem; }
.variant-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; color: var(--primary); font-size: .8rem; font-weight: 800; }
.footer { margin-top: 34px; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
.footer a { color: var(--primary); font-weight: 800; }

.preview-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin: 26px 0 14px; }
.preview-header p { margin-bottom: 0; color: var(--muted); }
.view-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.frame-panel { padding: 12px; overflow: hidden; background: var(--raised); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.desktop-stage { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: var(--ground); }
.desktop-transform { width: 1440px; transform: scale(var(--preview-scale, 1)); transform-origin: top left; }
.desktop-frame { display: block; width: 1440px; height: 1050px; border: 0; background: var(--ground); }
.mobile-stage { display: grid; place-items: center; min-height: 780px; padding: 20px 8px; background: var(--ground); border-radius: 10px; }
.phone { width: min(100%, 426px); padding: 18px; background: #10213c; border: 5px solid #294766; border-radius: 38px; box-shadow: 0 18px 38px rgba(10, 20, 40, .35); }
.phone::before { display: block; width: 92px; height: 18px; margin: -9px auto 10px; background: #0a1428; border-radius: 0 0 12px 12px; content: ""; }
.mobile-frame { display: block; width: 390px; max-width: 100%; height: 720px; border: 0; border-radius: 18px; background: var(--ground); }
.preview-pane[hidden] { display: none; }
.variant-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.variant-nav span { color: var(--muted); font-size: .8rem; font-weight: 800; }

.compare-intro { margin-bottom: 22px; }
.gallery-group + .gallery-group { margin-top: 34px; }
.gallery-group__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gallery-group__title p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shot-card { min-width: 0; overflow: hidden; padding: 0; color: var(--text); text-align: left; background: var(--surface); border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform 180ms ease, box-shadow 180ms ease; }
.shot-card:hover { box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-hover); transform: translateY(-3px); }
.shot-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.team-gallery .shot-card img { aspect-ratio: 390 / 500; object-fit: cover; object-position: top; }
.shot-caption { display: flex; justify-content: space-between; gap: 8px; padding: 11px 12px; font-size: .78rem; font-weight: 800; }
.shot-caption span:last-child { color: var(--muted); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(10, 20, 40, .88); }
.lightbox[hidden] { display: none; }
.lightbox__content { position: relative; max-width: min(1440px, 96vw); max-height: 92vh; }
.lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 28px); background: var(--surface); box-shadow: 0 24px 72px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: -12px; right: -12px; display: grid; width: 36px; height: 36px; place-items: center; color: #10213c; background: rgb(255 255 255); border: 0; border-radius: 50%; font-size: 1.2rem; font-weight: 800; }

@media (max-width: 820px) { .variant-grid, .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .preview-header { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .page-shell { width: min(100% - 20px, 1200px); padding-top: 12px; } .brand span:last-child { display: none; } .hero { border-radius: 18px; } .variant-grid, .compare-grid { grid-template-columns: 1fr; } .view-controls, .variant-nav { align-items: stretch; flex-direction: column; } .view-controls .button-row, .variant-nav .button-row { width: 100%; } .view-button, .button-link, .nav-link { flex: 1; text-align: center; } .frame-panel { padding: 7px; border-radius: 12px; } .mobile-stage { min-height: 730px; padding: 12px 0; } .phone { padding: 13px; border-radius: 30px; } .phone::before { margin-bottom: 8px; } .mobile-frame { height: 680px; border-radius: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
