:root {
  --ink: #022a3e;
  --body: #333333;
  --muted: #707070;
  --blue: #32b0e6;
  --paper: #ffffff;
  --soft: #f9f9f9;
  --line: #555555;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--soft);
  font-family: Inter, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 90px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
  height: 70px;
  box-shadow: 0 8px 25px rgba(2, 42, 62, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
}

.brand img {
  width: 118px;
}

.global-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
  color: var(--muted);
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2.25px;
}

.global-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.global-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  content: "";
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--ink);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.policy-hero {
  position: relative;
  min-height: 540px;
  padding-top: 329px;
  overflow: hidden;
  background: var(--soft);
}

.hero-title {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 48px));
  min-height: 211px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 42px 98px;
  border-radius: 0 200px 200px 0;
  background: #fff;
  color: var(--ink);
}

.hero-title h1 {
  margin: 0;
  font-family: "Montserrat Alternates", Montserrat, sans-serif;
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.25;
}

.hero-title p {
  margin: 9px 0 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-confetti {
  position: absolute;
  right: max(48px, calc((100vw - 1320px) / 2));
  top: 86px;
  width: min(600px, 29vw);
  pointer-events: none;
}

.policy-section {
  padding: 82px 24px 150px;
  background: var(--soft);
}

.policy-container {
  width: min(960px, 100%);
  margin: 0 auto;
}

.policy-body {
  color: var(--body);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.policy-body h3 {
  margin: 56px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(2, 42, 62, 0.22);
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.policy-body h3:first-child {
  margin-top: 0;
}

.policy-body p {
  margin: 0 0 18px;
}

.policy-body p:empty {
  display: none;
}

.policy-body ol,
.policy-body ul {
  margin: 0 0 24px;
  padding-left: 1.45em;
}

.policy-body li {
  margin: 8px 0;
  padding-left: 0.2em;
}

.policy-body li p {
  margin: 0 0 8px;
}

.policy-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  position: relative;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 60px 24px;
  color: #fff;
  background: var(--ink);
}

.footer-logo {
  width: 259px;
}

.footer nav,
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  letter-spacing: 2.25px;
}

.legal {
  gap: 18px;
  font-size: 13px;
}

.footer a {
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 1;
}

.page-top {
  position: absolute;
  left: 70px;
  top: 115px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .site-header {
    height: 60px;
  }

  .header-inner {
    width: calc(100% - 50px);
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    position: absolute;
    left: 9.5px;
    width: 31px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.25s ease;
  }

  .menu-button span:first-child {
    top: 19px;
  }

  .menu-button span:last-child {
    top: 30px;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 60px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 30px rgba(2, 42, 62, 0.08);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
  }

  .global-nav a {
    padding: 12px 0;
  }

  .policy-hero {
    min-height: 361px;
    padding-top: 150px;
  }

  .hero-title {
    width: min(335px, calc(100% - 25px));
    min-height: 211px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 55px 22px 48px;
    border-radius: 0 200px 200px 0;
  }

  .hero-title h1 {
    font-size: 38px;
  }

  .hero-title p {
    margin-top: 0;
    font-size: 15px;
  }

  .hero-confetti {
    width: 160px;
    top: 100px;
    right: -3px;
  }

  .policy-section {
    padding: 64px 25px 120px;
  }

  .policy-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .policy-body h3 {
    margin-top: 42px;
    font-size: 19px;
  }

  .policy-body ol,
  .policy-body ul {
    padding-left: 1.35em;
  }

  .footer {
    place-items: start;
    padding: 60px 25px;
  }

  .footer nav,
  .legal {
    display: grid;
    justify-content: start;
    gap: 8px;
  }

  .page-top {
    right: 25px;
    left: auto;
    top: 170px;
  }
}

@media (max-width: 460px) {
  .hero-title {
    width: 300px;
  }

  .hero-title h1 {
    font-size: 34px;
  }

  .hero-confetti {
    width: 132px;
  }
}
