/* NeerGo site: tokens, reset, shared components. One light theme (no OS dark mode). */
:root {
  --navy: #0B2A5B;
  --navy-2: #12386F;
  --navy-deep: #061B3D;
  --aqua: #00B4D8;
  --aqua-dark: #0096C7;
  --aqua-ink: #00759C;
  --sun: #FFC93C;
  --slate: #36557F;
  --mist: #F5FAFD;
  --line: #DCE8F2;
  --ink: #0B2A5B;
  --muted: #4E6789;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 2px 8px rgba(11, 42, 91, .05);
  --shadow: 0 2px 6px rgba(11, 42, 91, .06), 0 18px 44px rgba(11, 42, 91, .12);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--aqua-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--navy); color: #fff; z-index: 100; border-radius: 8px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-aqua { background: var(--aqua); color: var(--navy-deep); box-shadow: 0 10px 30px rgba(0, 180, 216, .35); }
.btn-aqua:hover { background: #26C3E3; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: #FFD35F; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(11, 42, 91, .28); }
.btn-navy:hover { background: var(--navy-2); }

/* Header: transparent over the hero photo, solid once scrolled */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: block; position: relative; }
.logo img { height: 36px; width: auto; transition: opacity .3s; }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .88); font-weight: 500; text-decoration: none; padding: 10px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-signin { min-height: 42px; padding: 0 20px; margin-left: 8px; background: #fff; color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }

.site-header.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.site-header.solid .logo-light { opacity: 0; }
.site-header.solid .logo-dark { opacity: 1; }
.site-header.solid .site-nav a:not(.btn) { color: var(--slate); }
.site-header.solid .site-nav a:not(.btn):hover { color: var(--navy); background: var(--mist); }
.site-header.solid .btn-signin { background: var(--navy); color: #fff; }
.site-header.solid .nav-toggle { color: var(--navy); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn), .site-header.solid .site-nav a:not(.btn) { color: var(--navy); padding: 13px 14px; }
  .site-nav a:not(.btn):hover { background: var(--mist); }
  .btn-signin, .site-header.solid .btn-signin { margin: 8px 0 0; background: var(--navy); color: #fff; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .logo-light { opacity: 0; }
  .site-header.menu-open .logo-dark { opacity: 1; }
  .site-header.menu-open .nav-toggle { color: var(--navy); }
}

/* Footer */
.site-footer { background: var(--navy-deep); color: #B9C9DF; padding: 64px 0 28px; font-size: 15px; overflow: hidden; }
.site-footer a { color: #E6EEF8; text-decoration: none; }
.site-footer a:hover { color: var(--aqua); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-grid h4 { color: #fff; font: 600 14px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-mark { margin: 48px 0 0; }
.footer-mark img { width: 100%; height: auto; }
.footer-base { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #8EA3C0; font-size: 14px; }
