:root {
  color: #102445;
  background: #f3efe5;
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  font-synthesis: none;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  --paper: #f3efe5;
  --paper-light: #fbfaf6;
  --navy: #102445;
  --olive: #465038;
  --terracotta: #e45432;
  --line: rgba(16, 36, 69, 0.18);
  --muted: #697284;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(231, 241, 246, 0.9) 0, rgba(243, 239, 229, 0.93) 570px, var(--paper) 100%),
    url("../assets/weather/sunny-editorial.png") top right / min(820px, 72vw) auto no-repeat;
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

a:hover {
  color: var(--terracotta);
}

a:focus-visible {
  outline: 3px solid rgba(228, 84, 50, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}

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

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 5px;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand b {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand small,
.site-header nav,
.eyebrow,
.section-number,
.route-label,
.contents,
.language-heading > p,
.policy-meta dt {
  font-family: var(--sans);
  letter-spacing: 0.14em;
}

.brand small {
  font-size: 9px;
  font-weight: 700;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 12px;
}

.policy-nav a {
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 80px;
  align-items: end;
  min-height: 500px;
  padding: 96px 0 68px;
}

.eyebrow,
.section-number {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 8px 0 18px;
  max-width: 7em;
  font-size: clamp(64px, 9vw, 130px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.96;
}

.hero-intro {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
}

.policy-meta {
  margin: 0;
  border-top: 2px solid var(--navy);
}

.policy-meta div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.policy-meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.policy-meta dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
}

.plain-summary {
  position: relative;
  margin-bottom: 28px;
  padding: 44px clamp(28px, 5vw, 68px) 48px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.plain-summary::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  top: -72px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.plain-summary h2 {
  margin: 4px 0 13px;
  font-size: clamp(28px, 4vw, 49px);
  font-weight: 400;
  line-height: 1.25;
}

.plain-summary > p:last-child {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--sans);
  font-size: 15px;
}

.data-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 96px;
  border-block: 1px solid var(--line);
}

.data-route article {
  min-height: 252px;
  padding: 28px;
}

.data-route article + article {
  border-left: 1px solid var(--line);
}

.route-index {
  color: var(--terracotta);
  font-size: 24px;
}

.route-label {
  margin: 28px 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.data-route h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
}

.data-route article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(54px, 8vw, 118px);
  align-items: start;
  justify-content: center;
}

.contents {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--navy);
  font-size: 11px;
}

.contents p {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-weight: 800;
}

.contents a {
  padding: 3px 0;
  color: var(--muted);
  text-decoration: none;
}

.contents a:hover,
.contents a:focus-visible {
  color: var(--navy);
}

.language-heading {
  margin-bottom: 46px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.language-heading > p {
  margin: 0;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}

.language-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
}

.english .language-heading > p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.language-section > section {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 24px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 22px;
}

.language-section > section > span {
  grid-column: 1;
  grid-row: 1 / span 6;
  color: var(--terracotta);
  font-size: 26px;
  line-height: 1.2;
}

.language-section h3,
.language-section p,
.language-section ul {
  grid-column: 2;
}

.language-section h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 550;
}

.language-section p,
.language-section li {
  font-family: var(--sans);
  font-size: 15px;
}

.language-section p {
  margin: 0 0 15px;
}

.language-section ul {
  margin: 0 0 15px;
  padding-left: 1.2em;
}

.privacy-note {
  padding-left: 14px;
  border-left: 2px solid var(--terracotta);
  color: var(--muted);
}

.english {
  margin-top: 112px;
  scroll-margin-top: 24px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 120px;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
}

.filing-placeholder {
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 5px 0;
}

footer > div:last-child {
  text-align: right;
}

@media (max-width: 820px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding: 74px 0 48px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 92px);
  }

  .policy-meta {
    max-width: 560px;
  }

  .data-route {
    grid-template-columns: 1fr;
    margin-bottom: 64px;
  }

  .data-route article {
    min-height: 0;
  }

  .data-route article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contents p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body {
    background-size: 170vw auto;
  }

  .site-header {
    min-height: 76px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand b {
    font-size: 16px;
  }

  .site-header nav {
    font-size: 11px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .plain-summary {
    padding: 34px 24px 38px;
  }

  .policy-layout {
    gap: 58px;
  }

  .language-section > section {
    grid-template-columns: 38px 1fr;
    column-gap: 14px;
  }

  .language-section > section > span {
    font-size: 20px;
  }

  .language-section h3 {
    font-size: 21px;
  }

  .language-section p,
  .language-section li {
    font-size: 14px;
  }

  footer {
    display: grid;
  }

  footer > div:last-child {
    text-align: left;
  }
}

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

@media (forced-colors: active) {
  .plain-summary {
    border: 2px solid CanvasText;
  }
}
