:root {
  color-scheme: light;
  --ink: #112231;
  --ink-soft: #344a5b;
  --muted: #687d8d;
  --muted-light: #91a2ae;
  --line: #dce9f1;
  --paper: #f5faff;
  --panel: #ffffff;
  --blue: #2d9cdb;
  --blue-dark: #1e7fb8;
  --blue-soft: #e8f5fd;
  --pink: #eb5c8d;
  --pink-soft: #fdebf1;
  --mint: #68c7c2;
  --mint-soft: #e6f7f5;
  --shadow: 0 18px 46px rgba(33, 87, 122, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, rgba(45, 156, 219, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(104, 199, 194, 0.08), transparent 22rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-dark);
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.legal-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 233, 241, 0.88);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.legal-nav {
  display: flex;
  width: min(1080px, calc(100% - 40px));
  height: 72px;
  margin-inline: auto;
  align-items: center;
  gap: 30px;
}

.legal-brand {
  display: block;
  width: 144px;
  flex: 0 0 auto;
}

.legal-brand img {
  width: 100%;
  height: auto;
}

.legal-nav-links {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
}

.legal-nav-links a {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav-links a:hover,
.legal-nav-links a:focus-visible {
  color: var(--blue-dark);
}

.legal-home-button {
  display: inline-flex;
  min-height: 39px;
  padding: 7px 15px;
  align-items: center;
  border-radius: 999px;
  color: #fff !important;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(45, 156, 219, 0.2);
}

.legal-page {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  padding: 54px 0 110px;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 62px;
  border: 1px solid rgba(208, 229, 241, 0.92);
  border-radius: 36px;
  background:
    radial-gradient(circle at 86% 25%, rgba(104, 199, 194, 0.2), transparent 31%),
    radial-gradient(circle at 10% 100%, rgba(235, 92, 141, 0.1), transparent 29%),
    linear-gradient(135deg, #eff9ff, #fbfeff 55%, #fff9fc);
  box-shadow: var(--shadow);
}

.policy-hero::before,
.policy-hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.policy-hero::before {
  top: -74px;
  right: -54px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(45, 156, 219, 0.12);
}

.policy-hero::after {
  right: 86px;
  bottom: -74px;
  width: 140px;
  height: 140px;
  background: rgba(104, 199, 194, 0.08);
}

.hero-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.policy-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.policy-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.95;
}

.policy-hero .meta {
  position: relative;
  z-index: 1;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.language-nav {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 24px;
  padding: 4px;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(211, 227, 237, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.language-nav a,
.language-nav span {
  min-width: 82px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.language-nav a {
  color: var(--muted);
}

.language-nav span {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 5px 14px rgba(45, 156, 219, 0.2);
}

.legal-page > section {
  position: relative;
  margin-top: 18px;
  padding: 34px 40px 36px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(38, 83, 112, 0.055);
}

.legal-page > section::before {
  position: absolute;
  top: 0;
  left: 38px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  content: "";
}

.legal-page h2 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.legal-page h3 {
  margin: 27px 0 9px;
  font-size: 1rem;
  line-height: 1.55;
}

.legal-page h2 + h3 {
  margin-top: 0;
}

.legal-page p {
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-page p:last-child,
.legal-page ul:last-child {
  margin-bottom: 0;
}

.legal-page ul {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.legal-page li {
  position: relative;
  padding-left: 23px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal-page li::before {
  position: absolute;
  top: 0.79em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
  content: "";
}

.legal-page li + li {
  margin-top: 9px;
}

.legal-page address {
  font-style: normal;
}

.legal-page address a {
  display: inline-flex;
  margin-top: 4px;
  padding: 11px 17px;
  align-items: center;
  border-radius: 13px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.support-page .contact-panel {
  display: grid;
  min-height: 190px;
  align-content: center;
  padding-right: 210px;
  background:
    radial-gradient(circle at 88% 50%, rgba(104, 199, 194, 0.2), transparent 22%),
    linear-gradient(135deg, #fff, #f0f9ff);
}

.support-page .contact-panel::after {
  position: absolute;
  top: 50%;
  right: 62px;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border-radius: 28px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  box-shadow: 0 13px 30px rgba(45, 120, 164, 0.12);
  content: "@";
  font-size: 2rem;
  font-weight: 800;
  transform: translateY(-50%) rotate(3deg);
}

.faq-section h3 {
  position: relative;
  margin: 14px 0 0;
  padding: 18px 46px 15px 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  color: var(--ink);
  background: #f8fcff;
  font-size: 0.96rem;
}

.faq-section h3::after {
  position: absolute;
  top: 18px;
  right: 19px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  content: "Q";
  font-size: 0.65rem;
  font-weight: 850;
}

.faq-section h3 + p {
  margin: 0 0 14px;
  padding: 0 20px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.faq-section h2 + h3 {
  margin-top: 20px;
}

.links-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(235, 92, 141, 0.09), transparent 26%),
    #fff !important;
}

.legal-footer {
  padding: 52px 0 28px;
  color: #d7e4ec;
  background: #102331;
}

.legal-footer-inner {
  display: flex;
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.legal-footer-brand img {
  width: 136px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.legal-footer-brand p {
  margin: 10px 0 0;
  color: #8fa5b4;
  font-size: 0.76rem;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 11px 24px;
}

.legal-footer-links a {
  color: #b9cad5;
  font-size: 0.78rem;
  text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus-visible {
  color: #fff;
}

.legal-footer-bottom {
  width: min(1080px, calc(100% - 40px));
  margin: 35px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(220, 233, 241, 0.12);
  color: #78909f;
  font-size: 0.7rem;
}

.legal-footer-bottom p {
  margin: 0;
}

@media (max-width: 720px) {
  .legal-nav {
    width: min(100% - 28px, 1080px);
    height: 66px;
  }

  .legal-brand {
    width: 120px;
  }

  .legal-nav-links {
    gap: 10px;
  }

  .legal-nav-links a:not(.legal-home-button) {
    display: none;
  }

  .legal-home-button {
    min-height: 36px;
    padding: 6px 13px;
    font-size: 0.74rem !important;
  }

  .legal-page {
    width: min(100% - 28px, 960px);
    padding: 28px 0 78px;
  }

  .policy-hero {
    padding: 43px 25px 38px;
    border-radius: 25px;
  }

  .policy-hero h1 {
    font-size: clamp(1.55rem, 8vw, 3rem);
    word-break: keep-all;
  }

  .policy-hero .lead {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .policy-hero .meta {
    font-size: 0.72rem;
  }

  .language-nav {
    margin-top: 20px;
  }

  .legal-page > section {
    margin-top: 13px;
    padding: 29px 23px 30px;
    border-radius: 19px;
  }

  .legal-page > section::before {
    left: 23px;
  }

  .legal-page h2 {
    font-size: 1.13rem;
  }

  .legal-page p,
  .legal-page li {
    font-size: 0.86rem;
  }

  .support-page .contact-panel {
    min-height: auto;
    padding-right: 23px;
    padding-bottom: 120px;
  }

  .support-page .contact-panel::after {
    top: auto;
    right: auto;
    bottom: 25px;
    left: 23px;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 1.45rem;
    transform: none;
  }

  .faq-section h3 {
    padding: 16px 42px 13px 15px;
    font-size: 0.88rem;
  }

  .faq-section h3::after {
    top: 15px;
    right: 14px;
  }

  .faq-section h3 + p {
    padding: 0 15px 16px;
  }

  .legal-footer-inner {
    width: min(100% - 28px, 1080px);
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer-links {
    justify-content: flex-start;
  }

  .legal-footer-bottom {
    width: min(100% - 28px, 1080px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
