:root {
  --navy: #07355b;
  --blue: #087fc1;
  --blue-light: #eaf6fc;
  --green: #4f7d63;
  --text: #17324a;
  --muted: #617487;
  --white: #ffffff;
  --line: #dbe5eb;
  --shadow: 0 12px 35px rgba(15, 49, 73, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -7px;
  transform: skewX(-8deg);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--blue);
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  padding: 29px 0 25px;
  border-bottom: 3px solid transparent;
  color: #263847;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.menu-toggle,
.menu-button { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(145deg, #176b91, #7eb2c0 55%, #e9c987);
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sun {
  position: absolute;
  width: 150px;
  height: 150px;
  right: 10%;
  top: 12%;
  border-radius: 50%;
  background: rgba(255,236,173,.8);
  box-shadow: 0 0 80px rgba(255,231,158,.75);
}

.lake {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  border-radius: 50% 50% 0 0;
}

.lake-1 {
  height: 47%;
  background: #3c8398;
  transform: rotate(-2deg);
}

.lake-2 {
  height: 35%;
  background: #245e7c;
  transform: rotate(2deg);
  bottom: -8%;
}

.hill {
  position: absolute;
  width: 75%;
  height: 42%;
  bottom: 18%;
  background: #285c53;
  border-radius: 50% 55% 0 0;
}

.hill-1 { left: -20%; transform: rotate(5deg); }
.hill-2 { right: -30%; bottom: 23%; background: #47735b; transform: rotate(-5deg); }

.map-sheet {
  position: absolute;
  right: 12%;
  bottom: 5%;
  width: 270px;
  height: 170px;
  background: #eee3bf;
  border: 7px solid rgba(255,255,255,.65);
  transform: rotate(-7deg);
  box-shadow: 0 15px 30px rgba(0,0,0,.25);
  opacity: .9;
}

.map-sheet span {
  position: absolute;
  display: block;
  border: 2px solid #7f9d75;
  border-radius: 50%;
  opacity: .7;
}
.map-sheet span:nth-child(1) { inset: 12px 70px 65px 18px; }
.map-sheet span:nth-child(2) { inset: 55px 20px 20px 90px; }
.map-sheet span:nth-child(3) { inset: 20px 15px 90px 160px; }
.map-sheet span:nth-child(4) { inset: 90px 100px 12px 25px; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,31,51,.76), rgba(3,31,51,.22) 65%, rgba(3,31,51,.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 115px;
  padding-bottom: 100px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.hero .eyebrow { color: #bde8fa; }

h1, h2, h3 { line-height: 1.15; margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -1.4px;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 32px;
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.button-light {
  color: var(--navy);
  background: #fff;
}

.button-outline {
  color: var(--blue);
  border: 2px solid var(--blue);
  background: transparent;
}

/* Sections */
.section { padding: 90px 0; }

.section-heading {
  max-width: 650px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 15px;
  color: var(--navy);
  font-size: clamp(31px, 4vw, 44px);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.app-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15,49,73,.16);
}

.app-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.card-body { padding: 19px; }

.card-body h3 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 19px;
}

.card-body p {
  min-height: 105px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

/* About */
.about { background: var(--blue-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about-art {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, #d7e9dd, #72a5a4);
  box-shadow: var(--shadow);
}

.compass {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 5px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: #fff;
  font-size: 58px;
  transform: translate(-50%,-50%) rotate(25deg);
}

.contour {
  position: absolute;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50%;
}
.contour-a { inset: 20px 60px 160px -100px; transform: rotate(12deg); }
.contour-b { inset: 100px -80px 40px 80px; transform: rotate(-15deg); }
.contour-c { inset: 210px 40px -80px -30px; transform: rotate(20deg); }

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

/* Support */
.support {
  padding: 65px 0;
  color: #fff;
  background: linear-gradient(105deg, #0a527e, #164f68);
}

.support .eyebrow { color: #a9def2; }
.support h2 { margin-bottom: 8px; font-size: 36px; }
.support p:not(.eyebrow) { max-width: 650px; margin: 0; color: #dceff7; }

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Footer */
.site-footer {
  padding: 35px 0;
  color: #c6d6e1;
  background: #062a47;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: center;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.footer-brand span {
  font-size: 12px;
  color: #8ebbd0;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a:hover { color: #fff; }

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}

/* Mobile */
@media (max-width: 950px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 70px; }
  .menu-button {
    display: block;
    cursor: pointer;
    color: var(--navy);
    font-size: 26px;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    padding: 10px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle:checked ~ .main-nav { display: flex; }

  .hero { min-height: 600px; }
  .hero-content { padding-top: 90px; }
  h1 { font-size: 43px; }
  .hero-text { font-size: 17px; }

  .section { padding: 65px 0; }
  .app-grid { grid-template-columns: 1fr; }
  .card-body p { min-height: auto; }

  .support-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
