:root {
  --navy: #082b4a;
  --navy-soft: #31506b;
  --teal: #1aa6a4;
  --teal-dark: #0d8f93;
  --paper: #f9fcfd;
  --line: rgba(8, 43, 74, 0.12);
  --shadow: 0 18px 60px rgba(8, 43, 74, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 75%, rgba(55, 177, 208, .09), transparent 24rem),
    radial-gradient(circle at 88% 70%, rgba(112, 186, 133, .10), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 67%, #f5fbfc 100%);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .34;
  pointer-events: none;
  z-index: -2;
}
.ambient--one {
  width: 26rem;
  height: 26rem;
  left: -14rem;
  top: 36%;
  background: #bfeef7;
}
.ambient--two {
  width: 22rem;
  height: 22rem;
  right: -10rem;
  top: 52%;
  background: #d2efd9;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0 290px;
  text-align: center;
}

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.brand__logo {
  display: block;
  width: clamp(285px, 48vw, 600px);
  height: auto;
  mix-blend-mode: multiply;
}

.hero__content {
  width: min(850px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
}
h1 span {
  color: var(--navy-soft);
  font-weight: 300;
}

.intro {
  max-width: 720px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  font-size: clamp(1.04rem, 1.65vw, 1.28rem);
  line-height: 1.65;
  color: #456078;
  font-weight: 400;
}
.intro strong { color: var(--navy); font-weight: 600; }

.topics {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(36px, 5vw, 54px);
}

.topic {
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.topic__icon {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(215, 245, 249, .95), rgba(226, 248, 237, .86));
}
.topic__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--teal-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}
.topic h2 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -.018em;
}
.topic p {
  margin: 0;
  color: #5d7184;
  font-size: .88rem;
  line-height: 1.45;
}

.tagline {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: clamp(36px, 5vw, 54px) 0 0;
}
.tagline span { height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); }
.tagline span:last-child { background: linear-gradient(90deg, var(--teal), transparent); }
.tagline p {
  margin: 0;
  font-size: clamp(.68rem, 1.2vw, .82rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #4f667b;
}

.contact {
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.contact:hover,
.contact:focus-visible {
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 43, 74, .10);
  transform: translateY(-2px);
  outline: none;
}

.water-scene {
  position: absolute;
  inset: auto 0 64px 0;
  height: 310px;
  pointer-events: none;
  z-index: -1;
}
.water-scene__waves {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
}

.ripple {
  position: absolute;
  left: 31%;
  bottom: 49px;
  border: 1px solid rgba(24, 151, 169, .20);
  border-radius: 50%;
  transform: translateX(-50%) scaleY(.28);
}
.ripple--a { width: 230px; height: 160px; }
.ripple--b { width: 350px; height: 240px; opacity: .55; }

.droplet {
  position: absolute;
  left: 31%;
  bottom: 118px;
  width: 18px;
  height: 24px;
  background: linear-gradient(180deg, #2eb4c9, #118da1);
  border-radius: 50% 50% 58% 42% / 58% 58% 42% 42%;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 10px 18px rgba(13, 123, 144, .20);
}

.leaf {
  position: absolute;
  right: 10%;
  bottom: 90px;
  width: 145px;
  height: 62px;
  background: linear-gradient(120deg, rgba(93, 169, 108, .38), rgba(117, 191, 136, .10));
  border-radius: 100% 0 100% 0;
  transform: rotate(-14deg);
  filter: blur(.2px);
}
.leaf::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  left: 23px;
  top: 31px;
  background: rgba(74, 148, 93, .25);
  transform: rotate(-18deg);
  transform-origin: left center;
}
.leaf--b {
  width: 98px;
  height: 42px;
  right: 20%;
  bottom: 138px;
  transform: rotate(10deg) scale(.9);
  opacity: .74;
}

.footer {
  min-height: 64px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(8, 43, 74, .08);
  color: #6c7e8e;
  font-size: .78rem;
  position: relative;
  z-index: 2;
}
.footer p { margin: 0; }
.footer span { color: var(--teal); padding: 0 .35rem; }

@media (max-width: 760px) {
  .hero {
    width: min(100% - 28px, 680px);
    padding-top: 22px;
    padding-bottom: 255px;
  }
  .brand { margin-bottom: 28px; }
  .brand__logo { width: min(92vw, 450px); }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .intro {
    margin-top: 22px;
    padding: 0 4px;
    font-size: 1rem;
    line-height: 1.58;
  }
  .topics {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }
  .topic {
    min-height: 112px;
    grid-template-columns: 60px 1fr;
    padding: 16px 17px;
    border-radius: 18px;
  }
  .topic__icon { width: 58px; }
  .topic__icon svg { width: 32px; height: 32px; }
  .topic h2 { font-size: 1rem; }
  .topic p { font-size: .84rem; }
  .tagline {
    gap: 10px;
    margin-top: 30px;
  }
  .tagline p {
    white-space: normal;
    max-width: 230px;
    line-height: 1.55;
    letter-spacing: .16em;
  }
  .contact { margin-top: 20px; }
  .water-scene { height: 250px; bottom: 92px; }
  .leaf { right: -8%; bottom: 78px; transform: rotate(-18deg) scale(.82); }
  .leaf--b { right: 18%; bottom: 128px; }
  .droplet, .ripple { left: 28%; }
  .footer {
    width: min(100% - 28px, 680px);
    min-height: 92px;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: .74rem;
  }
}

@media (max-width: 410px) {
  .hero { padding-bottom: 245px; }
  .brand__logo { width: 94vw; }
  h1 { font-size: 2.7rem; }
  .intro { font-size: .95rem; }
  .topic { grid-template-columns: 52px 1fr; }
  .topic__icon { width: 50px; }
  .topic__icon svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Legal pages */
.footer__links {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.footer__links a,
.legal-footer a {
  text-decoration: none;
  text-underline-offset: .22em;
}
.footer__links a:hover,
.footer__links a:focus-visible,
.legal-footer a:hover,
.legal-footer a:focus-visible {
  text-decoration: underline;
}

.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 10% 4%, rgba(55, 177, 208, .08), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(112, 186, 133, .08), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  padding: clamp(24px, 4vw, 54px) 20px 34px;
}

.legal-header {
  width: min(980px, 100%);
  margin: 0 auto clamp(18px, 3vw, 34px);
  display: flex;
  justify-content: center;
}

.legal-brand {
  display: inline-flex;
  width: min(390px, 88vw);
}

.legal-brand img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.legal-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}

.legal-title {
  font-size: clamp(2.45rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 400;
}

.legal-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #50697f;
  font-size: 1.04rem;
  line-height: 1.68;
}

.legal-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(8, 43, 74, .09);
}

.legal-section h2 {
  margin: 0 0 13px;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}

.legal-section p,
.legal-section li,
.legal-section dd,
.legal-section dt {
  color: #465f75;
  font-size: .98rem;
  line-height: 1.72;
}

.legal-section p { margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--navy); }
.legal-section a { color: var(--teal-dark); }

.legal-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
}

.legal-section dl { margin: 0; }
.legal-section dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 7px 0;
}
.legal-section dt { font-weight: 650; color: var(--navy); }
.legal-section dd { margin: 0; }

.legal-note {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(26, 166, 164, .07);
  border: 1px solid rgba(26, 166, 164, .12);
  font-size: .9rem !important;
}

.legal-updated {
  margin: 34px 0 0;
  color: #788a99;
  font-size: .82rem;
}

.legal-footer {
  width: min(920px, 100%);
  margin: 20px auto 0;
  padding: 16px 4px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #687d8f;
  font-size: .82rem;
}
.legal-footer a[aria-current="page"] { color: var(--navy); font-weight: 700; }

@media (max-width: 760px) {
  .footer__links { justify-content: center; }
  .legal-page { padding-inline: 14px; }
  .legal-card { border-radius: 20px; padding: 24px 20px 30px; }
  .legal-grid { grid-template-columns: 1fr; gap: 8px; }
  .legal-section dl > div { grid-template-columns: 1fr; gap: 0; padding: 5px 0 10px; }
  .legal-section dd { margin-top: 1px; }
}
