*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0d0d0b;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --light-gray: #eaeae8;
  --mid-gray: #8c8c88;
  --dark-gray: #2e2e2c;
  --accent: #cfffea;
  --accent-strong: #53c5be;
  --link-light: #245f66;
  --link-light-hover: #194f56;
  --link-light-active: #153f45;
  --link-dark: #9fe8e1;
  --link-dark-hover: #c7fbf6;
  --link-dark-active: #87d8d2;
  --radius: 6px;
  --serif: "AbhayaLocal", "Abhaya Libre", Georgia, serif;
  --sans: "OutfitLocal", "Outfit", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--black);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  transition: background-color 800ms ease, color 800ms ease;
}

body.darkmode {
  --black: #eef4fb;
  --white: #243647;
  --off-white: #1b2836;
  --light-gray: #223445;
  --mid-gray: #9fb0c1;
  --dark-gray: #d4deea;
  --accent: #53c5be;
  --accent-strong: #86ece5;
  --link-dark: #9fe8e1;
  --link-dark-hover: #c7fbf6;
  --link-dark-active: #87d8d2;
}

a,
a:link,
a:visited {
  color: var(--link-light);
  text-decoration-color: rgba(36, 95, 102, 0.4);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  -webkit-text-fill-color: currentColor;
  transition: color 0.22s ease, text-decoration-color 0.22s ease;
}

a:hover,
a:focus-visible {
  color: var(--link-light-hover);
  text-decoration-color: currentColor;
}

a:active {
  color: var(--link-light-active);
}

body.darkmode a,
body.darkmode a:link,
body.darkmode a:visited {
  color: var(--link-dark);
  text-decoration-color: rgba(159, 232, 225, 0.45);
}

body.darkmode a:hover,
body.darkmode a:focus-visible {
  color: var(--link-dark-hover);
}

body.darkmode a:active {
  color: var(--link-dark-active);
}

a,
button {
  -webkit-tap-highlight-color: rgba(83, 197, 190, 0.22);
}

a[x-apple-data-detectors],
a[x-apple-data-detectors]:link,
a[x-apple-data-detectors]:visited {
  color: inherit !important;
  text-decoration: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 26px rgba(0, 0, 0, 0.09);
  transition: background-color 0.6s ease;
}

body.darkmode .site-header {
  background: rgba(12, 22, 32, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.36);
}

.header-inner {
  width: calc(100% - 60px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  --header-axis-size: 40px;
}

.brand,
.brand:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  height: var(--header-axis-size);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-dark {
  display: none;
}

body.darkmode .brand-day {
  display: none;
}

body.darkmode .brand-dark {
  display: block;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: clamp(14px, 1.35vw, 19px);
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--black);
}

.brand-name-strong {
  font-weight: 500;
}

.brand-name-light {
  font-weight: 400;
  color: var(--mid-gray);
}

body.darkmode .brand-wordmark {
  color: #eef4fb;
}

body.darkmode .brand-name-light {
  color: rgba(238, 244, 251, 0.72);
}

.nav-main {
  height: var(--header-axis-size);
  display: flex;
  align-items: center;
}

.nav-main ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-axis-size);
}

.nav-main li,
.nav-main a,
.nav-main a:visited {
  height: 100%;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font: 500 12px/1 var(--sans);
  color: var(--dark-gray);
}

.nav-main .nav-link-text {
  line-height: 1;
  transition: font-weight 0.2s ease;
}

.nav-main a:hover .nav-link-text,
.nav-main a:focus-visible .nav-link-text,
.nav-main a.is-current .nav-link-text {
  font-weight: 700;
}

body.darkmode .nav-main a,
body.darkmode .nav-main a:visited {
  color: #eef4fb;
}

.header-cta:link,
.header-cta:visited {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #123452;
  background: rgba(207, 255, 234, 0.84);
  border-radius: var(--radius);
  height: var(--header-axis-size);
  padding: 0 22px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(13, 13, 11, 0.84);
  color: #d8fffb;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

body.darkmode .header-cta,
body.darkmode .header-cta:visited {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 1;
  background: rgba(83, 197, 190, 0.85);
}

body.darkmode .header-cta:hover,
body.darkmode .header-cta:focus-visible {
  background: rgba(248, 251, 255, 0.86);
  color: #0d4e55;
  -webkit-text-fill-color: #0d4e55;
}

.burger {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--dark-gray);
}

body.darkmode .burger {
  color: #eef4fb;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
  content: "";
  position: relative;
}

.burger-lines::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.burger-lines::after {
  position: absolute;
  top: 6px;
  left: 0;
}

body.menu-open .burger-lines {
  background: transparent;
}

body.menu-open .burger-lines::before {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 12, 0.36);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1250;
}

body.menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100dvh;
  z-index: 1300;
  background: #f4f4f1;
  box-shadow: -16px 0 38px rgba(0, 0, 0, 0.24);
  transform: translateX(103%);
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

body.darkmode .mobile-menu {
  background: #182534;
  box-shadow: -16px 0 38px rgba(0, 0, 0, 0.42);
}

body.menu-open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: flex-end;
}

.mobile-theme-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(83, 197, 190, 0.2);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-toggle .icon-sun,
.mobile-theme-toggle .icon-sun {
  display: none;
}

body.darkmode .theme-toggle .icon-sun,
body.darkmode .mobile-theme-toggle .icon-sun {
  display: block;
}

body.darkmode .theme-toggle .icon-moon,
body.darkmode .mobile-theme-toggle .icon-moon {
  display: none;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-top: 4px;
}

.mobile-nav-link,
.mobile-nav-link:visited {
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  color: var(--black);
  transition: transform 0.26s ease, background-color 0.26s ease;
}

body.darkmode .mobile-nav-link,
body.darkmode .mobile-nav-link:visited {
  background: rgba(255, 255, 255, 0.06);
  color: #eff4fb;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  transform: translateX(4px);
  background: rgba(207, 255, 234, 0.66);
}

.mobile-nav-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  color: #d8fffb;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  margin-top: 6px;
  white-space: nowrap;
}

.mobile-nav-text {
  font-family: var(--serif);
  font-size: clamp(20px, 7vw, 30px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mobile-menu-bottom {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.mobile-menu-contact {
  display: grid;
  gap: 6px;
  padding: 0 4px 2px;
}

.mobile-menu-contact a,
.mobile-menu-contact a:visited {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

body.darkmode .mobile-menu-contact a,
body.darkmode .mobile-menu-contact a:visited {
  color: rgba(238, 244, 251, 0.9);
}

.mobile-menu .mobile-cta,
.mobile-menu .mobile-cta:visited {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(207, 255, 234, 0.84);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

:where(body:not(.darkmode)) .mobile-menu .mobile-cta:any-link {
  color: #123452;
}

.mobile-menu .mobile-cta:hover,
.mobile-menu .mobile-cta:focus-visible {
  background: #53c5be;
  color: #04282d;
}

main {
  padding-top: 130px;
  padding-bottom: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-strong);
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--black);
}

.legal-hero p {
  max-width: 760px;
  color: var(--dark-gray);
  font-size: 18px;
  line-height: 1.48;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 18px;
}

body.darkmode .legal-card {
  background: #223548;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.legal-card h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  margin-top: 8px;
  color: var(--black);
}

.legal-card h3 {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.25;
  margin-top: 8px;
  color: var(--black);
  font-weight: 600;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--dark-gray);
  font-size: 16px;
  line-height: 1.62;
  font-style: normal;
}

body.darkmode .legal-hero p,
body.darkmode .legal-card p,
body.darkmode .legal-card li,
body.darkmode .legal-card address {
  color: rgba(238, 244, 251, 0.86);
}

.legal-card ul {
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

.legal-card .block {
  display: grid;
  gap: 4px;
}

footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at -12% -20%, rgba(83, 197, 190, 0.22), transparent 62%),
    radial-gradient(860px 420px at 115% 0%, rgba(83, 197, 190, 0.16), transparent 66%),
    #0d0d0b;
  color: var(--white);
  padding: 84px 0 34px;
}

body.darkmode footer {
  background:
    radial-gradient(1100px 520px at -12% -20%, rgba(83, 197, 190, 0.24), transparent 62%),
    radial-gradient(860px 420px at 115% 0%, rgba(83, 197, 190, 0.18), transparent 66%),
    #101923;
  color: #eef4fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 24px;
}

.footer-brand,
.footer-col {
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  padding: 22px 22px 20px;
}

body.darkmode .footer-brand,
body.darkmode .footer-col {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.footer-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-brand-name-strong {
  font-weight: 500;
}

.footer-brand-name-light {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.56);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.58;
  margin: 0 0 14px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.52);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-col a,
.footer-col a:visited {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible,
.footer-col a.is-current {
  color: #d8fffb;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links a:visited {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a.is-current {
  color: #d8fffb;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(83, 197, 190, 0.22);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1400;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.theme-toggle svg {
  width: 23px;
  height: 23px;
  display: block;
}

@media (max-width: 1024px) {
  .nav-main,
  .header-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  main {
    padding-top: 112px;
  }

  .legal-card {
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container,
  .header-inner {
    width: calc(100% - 34px);
  }

  .brand-wordmark {
    font-size: 14px;
  }

  .legal-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .legal-hero p {
    font-size: 16px;
  }

  .legal-card h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .legal-card h3 {
    font-size: 18px;
  }

  .legal-card p,
  .legal-card li,
  .legal-card address {
    font-size: 15px;
    line-height: 1.58;
  }
}
