:root {
  --ink: #10242d;
  --navy: #082d3b;
  --teal: #0f6570;
  --aqua: #2cc9cb;
  --mint: #d9f4f1;
  --gold: #c8a45d;
  --paper: #f6f9f9;
  --white: #ffffff;
  --line: #d7e4e4;
  --muted: #5c7077;
  --shadow: 0 22px 60px rgba(8, 45, 59, 0.13);
  --radius: 8px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(215, 228, 228, .9);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(8, 45, 59, .1); }
.nav-shell, .section-inner { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.nav-shell { width: min(1280px, calc(100% - 1.25rem)); }
.nav-shell {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.05;
  text-decoration: none;
}
.brand { flex: 0 0 auto; }
.brand img, .footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.brand img { width: 50px; height: 50px; }
.brand span, .footer-brand span { display: grid; }
.brand strong { font-size: 1.04rem; }
.brand small { color: var(--teal); font-size: .8rem; font-weight: 800; }
.nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: .18rem; min-width: 0; flex: 1 1 auto; }
.nav-menu a {
  padding: .58rem .62rem;
  color: var(--ink);
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--teal); background: rgba(44, 201, 203, .11); }
.nav-menu .nav-contact { color: var(--white); background: var(--teal); }
.nav-menu .nav-contact:hover, .nav-menu .nav-contact[aria-current="page"] { color: var(--white); background: var(--navy); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.section, .hero, .page-hero { position: relative; overflow: hidden; }
.section { padding: 5.2rem 0; }
.section.alt { background: var(--white); }
.section.tint {
  background: linear-gradient(120deg, rgba(217, 244, 241, .72), rgba(246, 249, 249, .96));
}
.section.deep {
  color: rgba(255, 255, 255, .84);
  background: linear-gradient(135deg, var(--navy), #103f4b 58%, var(--teal));
}
.section.deep h2, .section.deep h3 { color: var(--white); }
.section.deep p, .section.deep li { color: rgba(255, 255, 255, .82); }
.closing-section { padding: 3.7rem 0; }
.closing-content { max-width: 840px; }
.closing-content h2 { max-width: 760px; }
.closing-content p { max-width: 790px; }
.closing-content .button { margin-top: .65rem; }

.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(8, 45, 59, .96), rgba(15, 101, 112, .9)),
    radial-gradient(circle at 82% 18%, rgba(44, 201, 203, .32), transparent 34%);
}
.page-hero {
  padding: 5.5rem 0 4rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0c4654 62%, var(--teal));
}
.polygon-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(44, 201, 203, .22) 48%, transparent 50%),
    linear-gradient(150deg, transparent 47%, rgba(255, 255, 255, .12) 48%, transparent 50%);
  background-size: 118px 118px;
  mask-image: linear-gradient(90deg, transparent, black 24%, black 78%, transparent);
}
.hero-grid, .two-col, .contact-grid, .profile-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr);
  align-items: start;
}
.page-hero .section-inner { max-width: 920px; }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--aqua);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 850px; margin-bottom: 1.35rem; font-size: clamp(2.55rem, 8vw, 5.35rem); }
h2 { margin-bottom: 1rem; color: var(--navy); font-size: clamp(2rem, 5vw, 3.35rem); }
h3 { margin-bottom: .55rem; color: var(--navy); font-size: 1.14rem; }
.hero h1, .page-hero h1 { color: var(--white); }
.lead { max-width: 780px; color: var(--muted); font-size: 1.12rem; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .86); font-size: clamp(1.08rem, 2vw, 1.35rem); }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 820;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--navy); background: var(--aqua); box-shadow: 0 14px 34px rgba(44, 201, 203, .24); }
.button-primary:hover { color: var(--white); background: var(--teal); }
.button-secondary { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .42); }
.button-secondary:hover, .button-light { color: var(--navy); background: var(--white); }
.button-outline { color: var(--teal); border-color: rgba(15, 101, 112, .32); background: var(--white); }

.hero-panel, .card, .contact-form, .cta-block, .map-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel {
  align-self: start;
  margin-top: calc(.85rem + .78rem * 1.62);
  padding: clamp(1.15rem, 3vw, 1.65rem);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}
.stat-list, .resource-list { display: grid; gap: 1rem; margin: 0; }
.stat-list div, .resource-list div { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.stat-list div:first-child { padding-top: 0; border-top: 0; }
.stat-list dt, .resource-list dt { font-weight: 850; }
.stat-list dd, .resource-list dd { margin: .15rem 0 0; color: rgba(255, 255, 255, .78); }

.section-header { max-width: 760px; margin-bottom: 2rem; }
.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  background: var(--white);
}
.card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, rgba(44, 201, 203, .18), rgba(200, 164, 93, .18));
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
}
.mark {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
}
.card p, .content p, .section-header p { color: var(--muted); }
.legal-content {
  max-width: 880px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.legal-content h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content a { color: var(--teal); font-weight: 800; }
.legal-updated {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-weight: 760;
}
.check-list, .tag-list { display: grid; gap: .7rem; padding: 0; margin: 1.15rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .46rem;
  width: .72rem;
  height: .72rem;
  background: var(--aqua);
  clip-path: polygon(50% 0, 100% 28%, 82% 100%, 18% 100%, 0 28%);
}
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag-list li, .tag {
  display: inline-flex;
  padding: .38rem .58rem;
  color: var(--navy);
  background: var(--mint);
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 790;
}

.team-card { display: grid; grid-template-rows: auto 1fr; padding: 0; }
.executive-card .portrait {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .9) 0 13%, transparent 14%),
    radial-gradient(ellipse at 50% 82%, rgba(255, 255, 255, .62) 0 28%, transparent 29%),
    linear-gradient(135deg, var(--navy), #176a73 48%, var(--gold));
}
.portrait {
  min-height: 245px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .9) 0 13%, transparent 14%),
    radial-gradient(ellipse at 50% 82%, rgba(255, 255, 255, .62) 0 28%, transparent 29%),
    linear-gradient(135deg, #0f6570, #2cc9cb);
}
.portrait span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, .78);
  border-radius: 50%;
  font-weight: 850;
  font-size: 1.35rem;
}
.team-card-body { padding: 1.25rem; }
.team-card .role { margin-bottom: .8rem; color: var(--teal); font-weight: 820; }
.team-card .button { margin-top: 1rem; }

.profile-detail { align-items: start; }
.profile-aside { position: sticky; top: calc(var(--header) + 1rem); }
.profile-aside .portrait { min-height: 330px; border-radius: var(--radius) var(--radius) 0 0; }
.profile-aside .card { border-radius: 0 0 var(--radius) var(--radius); }
.content h2 { margin-top: 2rem; font-size: clamp(1.7rem, 3vw, 2.25rem); }

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: linear-gradient(115deg, rgba(217, 244, 241, .9), rgba(255, 255, 255, .98));
}
.cta-block p { max-width: 720px; margin-bottom: 0; color: var(--muted); }

.contact-grid { align-items: start; }
.contact-card {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-logo { width: 126px; margin-bottom: 1rem; }
.contact-card p { margin: 0 0 .45rem; color: var(--muted); }
.contact-card a { color: var(--teal); font-weight: 800; }
.billing-note {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.billing-note h3 { font-size: 1rem; }
.map-panel { overflow: hidden; min-height: 320px; background: var(--white); }
.map-panel iframe { width: 100%; height: 360px; border: 0; display: block; }
.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--white);
}
.form-row { display: grid; gap: .35rem; }
.form-row label { color: var(--navy); font-weight: 850; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: .75rem .85rem;
  color: var(--ink);
  background: #fbfdfd;
  border: 1px solid #c8dada;
  border-radius: var(--radius);
}
.form-row textarea { resize: vertical; }
.form-row-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  display: none;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 760;
}
.form-status.is-loading,
.form-status.is-success,
.form-status.is-error {
  display: block;
}
.form-status.is-loading {
  color: var(--navy);
  background: rgba(217, 244, 241, .62);
}
.form-status.is-success {
  color: #14543a;
  background: #e6f7ef;
  border-color: #a8dcc5;
}
.form-status.is-error {
  color: #7d1f1f;
  background: #fdeaea;
  border-color: #efb4b4;
}
.contact-form button[disabled] {
  cursor: wait;
  opacity: .72;
}

.billing-section {
  background: linear-gradient(120deg, rgba(217, 244, 241, .66), rgba(255, 255, 255, .96));
}
.billing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.billing-card {
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.billing-card dl {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 1.5rem;
}
.billing-card dl div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.billing-card dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
}
.billing-card dd {
  margin: .2rem 0 0;
  color: var(--ink);
  font-weight: 820;
}
.billing-card a:not(.button), .faq-item a {
  color: var(--teal);
  font-weight: 850;
}
.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-item h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.site-footer {
  padding: 2.1rem 0;
  color: rgba(255, 255, 255, .76);
  background: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(320px, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}
.footer-brand { color: var(--white); }
.footer-grid p { margin: 0; }
.footer-details { display: grid; gap: .24rem; justify-items: end; text-align: right; }
.footer-details a { color: var(--white); font-weight: 820; }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: .55rem !important;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
  font-weight: 760;
  text-decoration: none;
}
.footer-legal-links a:hover { color: var(--aqua); }
.footer-legal {
  margin-top: .55rem !important;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  color: rgba(255, 255, 255, .64);
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: var(--header) 0 auto;
    display: grid;
    max-height: calc(100svh - var(--header));
    padding: 1rem;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }
  .nav-menu.is-open { transform: translateY(0); visibility: visible; }
  .nav-menu a { padding: .9rem 1rem; line-height: 1.2; }
}
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .profile-detail, .billing-layout { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-details { justify-items: start; text-align: left; }
  .footer-legal-links { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: .96rem; }
  .brand small { font-size: .76rem; }
  .section { padding: 4rem 0; }
  .closing-section { padding: 3rem 0; }
  .hero { min-height: auto; padding: 3.8rem 0; }
  .page-hero { padding: 4rem 0 3.2rem; }
  .button-row, .cta-block { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
