:root {
  --navy: #222e78;
  --navy-deep: #18225b;
  --navy-soft: #eef0fa;
  --green: #17ad84;
  --green-deep: #108b6a;
  --green-soft: #e9f7f3;
  --gold: #fec42d;
  --gold-soft: #fff5d8;
  --ink: #18233b;
  --muted: #647188;
  --canvas: #f6f8f7;
  --paper: #ffffff;
  --divider: #e7eced;
  --focus: rgba(23, 173, 132, 0.3);
  --shadow-soft:
    0 0 0 1px rgba(0, 0, 0, 0.045),
    0 2px 6px rgba(19, 31, 54, 0.035),
    0 18px 42px rgba(19, 31, 54, 0.055);
  --shadow-hover:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 4px 9px rgba(19, 31, 54, 0.05),
    0 22px 45px rgba(19, 31, 54, 0.07);
  --radius-large: 26px;
  --radius-medium: 18px;
  --radius-small: 11px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy);
  text-decoration-color: rgba(34, 46, 120, 0.35);
  text-underline-offset: 3px;
  transition-property: color, text-decoration-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

a:hover {
  color: var(--green-deep);
  text-decoration-color: currentColor;
}

a:focus-visible,
summary:focus-visible {
  border-radius: 5px;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
  text-wrap: balance;
}

.container {
  width: min(1200px, calc(100% - clamp(32px, 7vw, 72px)));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 20;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-80px);
  transition-property: transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.site-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 25px;
}

.brand {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(130px, 16vw, 154px);
  height: auto;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition-property: background-color, color, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.header-link:hover {
  background: var(--green);
  color: #ffffff;
}

.header-link:active,
.button:active {
  transform: scale(0.96);
}

.site-header__curve {
  position: absolute;
  right: 8vw;
  bottom: 1px;
  left: -32vw;
  height: 32px;
  z-index: -1;
  border-top: 5px solid var(--green);
  border-radius: 48% 52% 0 0 / 92% 88% 0 0;
  transform: translateY(29px) rotate(359deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 82px) 0 clamp(54px, 8vw, 80px);
  background:
    radial-gradient(circle at 88% 22%, rgba(254, 196, 45, 0.16), transparent 245px),
    linear-gradient(180deg, #ffffff 0%, var(--canvas) 100%);
}

.hero::after {
  width: min(510px, 48vw);
  height: min(235px, 24vw);
  position: absolute;
  right: 132px;
  bottom: -120px;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  background: var(--navy);
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero__eyebrow {
  margin: 0 0 15px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 6.8vw, 68px);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.hero__lead {
  margin: 17px 0 30px;
  color: var(--muted);
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero__date {
  width: fit-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
}

.reading-grid {
  display: grid;
  grid-template-columns: 282px minmax(0, 758px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(30px, 5vw, 62px);
  padding: clamp(38px, 6vw, 62px) 0 clamp(56px, 8vw, 88px);
}

.sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 20px;
}

.contact-card,
.privacy-document,
.mobile-index {
  border-radius: var(--radius-large);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.index-card {
  padding: 23px 17px 18px;
}

.index-card__label {
  margin: 0 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-links {
  counter-reset: privacy-section;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.section-links li {
  counter-increment: privacy-section;
  min-height: 40px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
}

.section-links li::before {
  content: counter(privacy-section) ".";
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
  color: #98a2b2;
  font-size: 12px;
  line-height: 1;
}

.section-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-small);
  color: var(--muted);
  text-decoration: none;
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.section-link:hover {
  background: var(--green-soft);
  color: var(--navy);
}

.section-link.is-active {
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
}

.section-link.is-active::before {
  width: 4px;
  height: 20px;
  display: block;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

.contact-card {
  padding: 23px 21px 22px;
  transition-property: box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.contact-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.contact-card__eyebrow {
  margin: 0 0 11px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.contact-card p:not(.contact-card__eyebrow) {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.contact-card__email {
  display: block;
  margin: 0 0 19px;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition-property: background-color, transform, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.button:hover {
  background: var(--green-deep);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 173, 132, 0.2);
}

.mobile-index {
  display: none;
}

.privacy-document {
  min-width: 0;
  padding: clamp(27px, 5vw, 52px) clamp(23px, 6.2vw, 62px);
}

.document-introduction {
  margin-bottom: clamp(35px, 5vw, 47px);
  padding: clamp(22px, 4vw, 27px);
  border-radius: var(--radius-medium);
  background: var(--green-soft);
  color: #32425c;
}

.document-introduction p {
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
}

.legal-section {
  scroll-margin-top: 28px;
}

.legal-section + .legal-section {
  margin-top: clamp(38px, 6vw, 52px);
  padding-top: clamp(36px, 6vw, 50px);
  border-top: 1px solid var(--divider);
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 0 0 23px;
  font-size: clamp(23px, 3.1vw, 29px);
  font-weight: 730;
  letter-spacing: -0.035em;
}

.legal-section h2 span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.9em;
}

.legal-section h3 {
  margin: 29px 0 16px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.legal-section p {
  margin: 0 0 20px;
  line-height: 1.68;
  color: #28354b;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--navy);
  font-weight: 730;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 26px;
  color: #28354b;
}

.legal-list li {
  padding-left: 5px;
}

.legal-list li::marker {
  color: var(--green-deep);
  font-weight: 700;
}

.legal-list ul {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-left: 24px;
}

.legal-list--alpha {
  list-style-type: lower-alpha;
}

.legal-list--roman {
  list-style-type: lower-roman;
}

.legal-list--bullet {
  list-style-type: disc;
}

.document-date {
  width: fit-content;
  margin-top: 31px !important;
  padding: 11px 17px;
  border-radius: var(--radius-small);
  background: var(--gold-soft);
  color: var(--navy) !important;
  font-weight: 700;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 10vw, 90px) 0 clamp(35px, 7vw, 49px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.77);
}

.site-footer__curve {
  width: 112%;
  height: 70px;
  position: absolute;
  top: -50px;
  left: -6%;
  z-index: -1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--green);
}

.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer img {
  width: 176px;
  height: auto;
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: var(--radius-medium);
  background: #ffffff;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.site-footer p {
  max-width: 670px;
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  text-wrap: pretty;
}

.site-footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 940px) {
  .hero::after {
    opacity: 0;
  }

  .reading-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 800px;
  }

  .sidebar {
    display: none;
  }

  .mobile-index {
    position: sticky;
    top: 12px;
    z-index: 4;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-medium);
  }

  .mobile-index summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 8px 19px;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
  }

  .mobile-index summary::-webkit-details-marker {
    display: none;
  }

  .mobile-index summary strong {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 14px;
  }

  .mobile-index summary strong::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg) translateY(-2px);
    transition-property: transform;
    transition-duration: 160ms;
    transition-timing-function: ease-out;
    content: "";
  }

  .mobile-index[open] summary strong::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .mobile-index nav {
    max-height: min(52vh, 410px);
    overflow-y: auto;
    padding: 0 18px 18px;
    border-top: 1px solid var(--divider);
  }

  .mobile-index .section-links {
    padding-top: 12px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
    line-height: 1.68;
  }

  .container {
    width: min(100% - 28px, 1200px);
  }

  .site-header__inner {
    min-height: 79px;
    padding: 14px 0 19px;
  }

  .brand img {
    width: 130px;
  }

  .header-link {
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(35px, 12.5vw, 43px);
  }

  .hero::after {
    display: none;
  }

  .hero__date {
    display: block;
    padding: 10px 15px;
  }

  .privacy-document {
    border-radius: var(--radius-medium);
  }

  .document-introduction p {
    font-size: 15px;
  }

  .legal-section h2 {
    display: block;
  }

  .legal-section h2 span {
    display: block;
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero h1,
  .hero__lead,
  .hero__date {
    opacity: 0;
    animation: reveal-up 420ms cubic-bezier(0.2, 0, 0, 1) forwards;
  }

  .hero h1 {
    animation-delay: 70ms;
    line-height: 1;
  }

  .hero__lead {
    animation-delay: 140ms;
  }

  .hero__date {
    animation-delay: 210ms;
  }

  @keyframes reveal-up {
    from {
      opacity: 0;
      filter: blur(4px);
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }
}

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