@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --legal-paper: #fffaf6;
  --legal-paper-deep: #f8eee8;
  --legal-ink: #211035;
  --legal-ink-soft: #594b68;
  --legal-ink-faint: #807487;
  --legal-coral: #ef5f70;
  --legal-violet: #8663df;
  --legal-line: rgba(43, 20, 61, 0.12);
  --legal-line-soft: rgba(43, 20, 61, 0.07);
  --legal-white: rgba(255, 255, 255, 0.72);
  --legal-shadow: 0 24px 70px rgba(56, 27, 73, 0.09);
  --legal-sans: 'Plus Jakarta Sans', 'Avenir Next', Avenir, sans-serif;
  --legal-display: 'Italiana', 'Iowan Old Style', Georgia, serif;
  --legal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --legal-container: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color: var(--legal-ink); background: var(--legal-paper); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--legal-ink);
  background:
    radial-gradient(circle at 92% 3%, rgba(164, 129, 235, 0.09), transparent 30rem),
    var(--legal-paper);
  font-family: var(--legal-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(58, 28, 77, 0.055) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
  opacity: 0.23;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { border: 0; background: transparent; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
::selection { color: #fff; background: var(--legal-coral); }
:focus-visible { outline: 2px solid var(--legal-coral); outline-offset: 4px; }

.container { width: min(calc(100% - 80px), var(--legal-container)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--legal-ink);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.reading-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}
.reading-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--legal-coral), var(--legal-violet));
  box-shadow: 0 0 14px rgba(239, 95, 112, 0.45);
}

.legal-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--legal-line-soft);
  background: rgba(255, 250, 246, 0.82);
  backdrop-filter: blur(22px) saturate(1.05);
}
.legal-header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.legal-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--legal-ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
}
.legal-breadcrumb span { color: var(--legal-ink-faint); }
.legal-breadcrumb a:hover { color: var(--legal-coral); }
.legal-header__tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}
.legal-tool, .legal-back {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--legal-line);
  border-radius: 999px;
  color: var(--legal-ink-soft);
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 650;
  transition: transform 220ms var(--legal-ease), color 220ms ease, border-color 220ms ease, background 220ms ease;
}
.legal-tool:hover, .legal-back:hover { color: var(--legal-ink); background: #fff; border-color: rgba(43, 20, 61, 0.2); transform: translateY(-1px); }
.legal-tool svg, .legal-back svg { width: 16px; height: 16px; }
.legal-app-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 15px;
  color: #fff;
  background: var(--legal-ink);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(33, 16, 53, 0.16);
  transition: transform 220ms var(--legal-ease), box-shadow 220ms ease;
}
.legal-app-link:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(33, 16, 53, 0.22); }
.legal-app-link b { font-size: 1rem; }
.legal-menu-button { display: none; }
.mobile-legal-menu { display: none; }

.legal-main { position: relative; }
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 122px) 0 clamp(54px, 6vw, 90px);
  border-bottom: 1px solid var(--legal-line-soft);
}
.legal-hero::before, .legal-hub-hero::before {
  content: '';
  position: absolute;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  top: -42%;
  right: -7%;
  border: 1px solid rgba(132, 99, 223, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(255, 255, 255, 0.24),
    0 0 0 69px rgba(239, 95, 112, 0.08),
    0 0 0 146px rgba(255, 255, 255, 0.18),
    0 0 0 147px rgba(132, 99, 223, 0.07),
    inset 40px 22px 110px rgba(239, 95, 112, 0.08),
    0 45px 100px rgba(132, 99, 223, 0.12);
  transform: rotate(-13deg);
  pointer-events: none;
}
.legal-hero::after, .legal-hub-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 3px;
  top: 50%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(239, 95, 112, 0.6), rgba(132, 99, 223, 0.4), transparent);
  filter: blur(2px);
  transform: rotate(-28deg);
  box-shadow: 0 0 26px rgba(239, 95, 112, 0.46);
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-eyebrow, .hub-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--legal-coral);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-eyebrow::after, .hub-eyebrow::after { content: ''; width: 56px; height: 1px; background: var(--legal-line); }
.legal-title {
  width: min(820px, 72%);
  margin-top: 24px;
  font-family: var(--legal-display);
  font-size: clamp(3rem, 5.7vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.legal-intro {
  width: min(700px, 64%);
  margin-top: 26px;
  color: var(--legal-ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.72;
}
.legal-meta {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  margin-top: 42px;
  border-top: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
}
.legal-meta > div { min-width: 0; padding: 18px 24px 18px 0; }
.legal-meta > div + div { padding-left: 24px; border-left: 1px solid var(--legal-line); }
.legal-meta dt {
  color: var(--legal-ink-faint);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-meta dd { margin-top: 5px; overflow-wrap: anywhere; font-size: 0.72rem; font-weight: 650; line-height: 1.45; }
.legal-meta a { color: var(--legal-violet); }
.legal-notice {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) 1.38fr;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(239, 95, 112, 0.2);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 233, 231, 0.58), rgba(244, 239, 255, 0.52));
  box-shadow: 0 14px 34px rgba(69, 34, 82, 0.06);
}
.legal-notice strong { font-family: var(--legal-display); font-size: 1.22rem; font-weight: 400; letter-spacing: -0.015em; }
.legal-notice p { color: var(--legal-ink-soft); font-size: 0.78rem; line-height: 1.65; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 880px);
  justify-content: center;
  gap: clamp(56px, 7vw, 110px);
  padding-top: 64px;
  padding-bottom: 120px;
}
.legal-toc { align-self: start; position: sticky; top: 112px; max-height: calc(100svh - 140px); overflow: auto; scrollbar-width: thin; }
.legal-toc-title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--legal-line);
  color: var(--legal-ink-faint);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.legal-toc nav { display: grid; padding-top: 10px; }
.legal-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 7px;
  padding: 9px 9px 9px 11px;
  border-radius: 10px;
  color: var(--legal-ink-faint);
  font-size: 0.69rem;
  line-height: 1.35;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--legal-ease);
}
.legal-toc a::before { content: ''; position: absolute; top: 9px; bottom: 9px; left: 0; width: 2px; border-radius: 2px; background: transparent; }
.legal-toc a span { color: var(--legal-coral); font-size: 0.62rem; font-weight: 700; }
.legal-toc a:hover { color: var(--legal-ink); background: rgba(255, 255, 255, 0.58); transform: translateX(2px); }
.legal-toc a.is-active { color: var(--legal-ink); background: rgba(239, 95, 112, 0.065); }
.legal-toc a.is-active::before { background: linear-gradient(var(--legal-coral), var(--legal-violet)); }

.legal-document { min-width: 0; }
.legal-section {
  position: relative;
  padding: 8px 0 60px 62px;
  scroll-margin-top: 112px;
}
.legal-section + .legal-section { padding-top: 58px; border-top: 1px solid var(--legal-line-soft); }
.legal-section-number {
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--legal-coral);
  font-family: var(--legal-display);
  font-size: 1.65rem;
  line-height: 1;
}
.legal-section + .legal-section .legal-section-number { top: 58px; }
.legal-section h2 {
  margin-bottom: 22px;
  font-family: var(--legal-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.legal-section h3 { margin: 32px 0 10px; font-size: 0.95rem; line-height: 1.45; }
.legal-section p, .legal-section li {
  color: var(--legal-ink-soft);
  font-size: 0.96rem;
  line-height: 1.86;
}
.legal-section p + p { margin-top: 15px; }
.legal-section a { color: #6540b4; text-decoration: underline; text-decoration-color: rgba(101, 64, 180, 0.25); text-underline-offset: 3px; }
.legal-section strong { color: var(--legal-ink); font-weight: 700; }
.legal-section ul, .legal-section ol { display: grid; gap: 10px; margin-top: 15px; padding-left: 22px; }
.legal-section li::marker { color: var(--legal-coral); }
.legal-callout, .legal-contact-card, .legal-sources {
  margin-top: 26px;
  padding: 23px 25px;
  border: 1px solid var(--legal-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 34px rgba(57, 27, 74, 0.04);
}
.legal-callout-accent { border-color: rgba(239, 95, 112, 0.22); background: linear-gradient(135deg, rgba(255, 239, 236, 0.74), rgba(247, 242, 255, 0.6)); }
.legal-callout h3, .legal-sources h3 { margin-top: 0; }
.legal-contact-card { display: grid; padding-block: 8px; }
.legal-contact-card p { display: grid; grid-template-columns: minmax(120px, 0.42fr) 1fr; gap: 24px; padding: 14px 0; }
.legal-contact-card p + p { margin: 0; border-top: 1px solid var(--legal-line-soft); }
.legal-contact-card span { color: var(--legal-ink-faint); font-size: 0.68rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--legal-line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 14px 38px rgba(57, 27, 74, 0.04); }
.legal-table { width: 100%; min-width: 690px; border-collapse: collapse; text-align: left; }
.legal-table th, .legal-table td { padding: 15px 17px; border-bottom: 1px solid var(--legal-line-soft); vertical-align: top; color: var(--legal-ink-soft); font-size: 0.75rem; line-height: 1.55; }
.legal-table thead th { color: var(--legal-ink); background: rgba(247, 239, 250, 0.56); font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-table tbody th { width: 21%; color: var(--legal-ink); font-weight: 700; }
.legal-table tr:last-child > * { border-bottom: 0; }
.legal-sources ul { margin-top: 12px; }
.legal-sources a { display: inline; }
.legal-next {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--legal-line);
}
.legal-next > span { display: block; color: var(--legal-ink-faint); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-next a { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 9px; font-family: var(--legal-display); font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.2; }
.legal-next a > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--legal-line); border-radius: 50%; transition: transform 220ms var(--legal-ease), background 220ms ease; }
.legal-next a:hover > span { background: #fff; transform: translateX(4px); }

/* Trust & legal hub */
.legal-hub-hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 132px) 0 54px; }
.legal-hub-hero .container { position: relative; z-index: 1; }
.hub-copy { width: min(720px, 62%); }
.hub-title {
  margin-top: 25px;
  font-family: var(--legal-display);
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.hub-intro { width: min(600px, 100%); margin-top: 27px; color: var(--legal-ink-soft); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.75; }
.hub-status { display: flex; align-items: center; gap: 11px; margin-top: 32px; color: var(--legal-ink-soft); font-size: 0.75rem; font-weight: 600; }
.hub-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--legal-coral); box-shadow: 0 0 0 6px rgba(239, 95, 112, 0.09); }
.hub-principle {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 22px 26px;
  border: 1px solid rgba(239, 95, 112, 0.2);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 239, 236, 0.68), rgba(247, 242, 255, 0.62));
}
.hub-principle strong { font-family: var(--legal-display); font-size: 1.18rem; font-weight: 400; }
.hub-principle p { color: var(--legal-ink-soft); font-size: 0.75rem; line-height: 1.6; }
.hub-principle a { color: var(--legal-violet); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.legal-index-section { padding: 44px 0 120px; }
.legal-index-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--legal-line); }
.legal-index-head h2 { font-family: var(--legal-display); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; letter-spacing: -0.035em; }
.legal-search { position: relative; width: min(330px, 100%); }
.legal-search input { width: 100%; height: 44px; padding: 0 42px 0 15px; border: 1px solid var(--legal-line); border-radius: 999px; outline: 0; color: var(--legal-ink); background: rgba(255, 255, 255, 0.58); font-size: 0.74rem; }
.legal-search input:focus { border-color: var(--legal-violet); box-shadow: 0 0 0 4px rgba(132, 99, 223, 0.08); }
.legal-search svg { position: absolute; top: 13px; right: 15px; width: 17px; height: 17px; color: var(--legal-ink-faint); }
.legal-index { list-style: none; }
.legal-index-item { border-bottom: 1px solid var(--legal-line); }
.legal-index-item > a {
  min-height: 112px;
  display: grid;
  grid-template-columns: 74px minmax(220px, 0.8fr) minmax(270px, 1.1fr) minmax(150px, 0.55fr) 46px;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  transition: background 220ms ease, padding 260ms var(--legal-ease);
}
.legal-index-item > a:hover { padding-inline: 18px; background: rgba(255, 255, 255, 0.48); }
.legal-index-number { color: var(--legal-coral); font-family: var(--legal-display); font-size: 2rem; }
.legal-index-title { font-family: var(--legal-display); font-size: clamp(1.25rem, 1.85vw, 1.75rem); line-height: 1.15; }
.legal-index-description { color: var(--legal-ink-soft); font-size: 0.78rem; line-height: 1.65; }
.legal-index-meta { color: var(--legal-ink-faint); font-size: 0.65rem; line-height: 1.5; }
.legal-index-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--legal-line); border-radius: 50%; transition: transform 220ms var(--legal-ease), background 220ms ease; }
.legal-index-item > a:hover .legal-index-arrow { background: #fff; transform: translateX(4px); }
.legal-index-empty { display: none; padding: 34px 0; color: var(--legal-ink-soft); }

/* Plain-language guides */
.guide-layout { width: min(calc(100% - 80px), 1120px); margin-inline: auto; padding: 64px 0 120px; }
.guide-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 58px; border: 1px solid var(--legal-line); border-radius: 20px; background: var(--legal-line); }
.guide-summary-grid article { min-height: 200px; padding: 28px; background: rgba(255, 255, 255, 0.7); }
.guide-summary-grid span { color: var(--legal-coral); font-family: var(--legal-display); font-size: 1.5rem; }
.guide-summary-grid h2 { margin-top: 22px; font-family: var(--legal-display); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.guide-summary-grid p { margin-top: 11px; color: var(--legal-ink-soft); font-size: 0.76rem; line-height: 1.65; }
.guide-body { width: min(100%, 820px); margin-inline: auto; }
.guide-step { position: relative; padding: 52px 0 52px 68px; border-top: 1px solid var(--legal-line-soft); scroll-margin-top: 112px; }
.guide-step > span { position: absolute; top: 54px; left: 0; color: var(--legal-coral); font-family: var(--legal-display); font-size: 1.55rem; }
.guide-step h2 { font-family: var(--legal-display); font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; }
.guide-step h3 { margin-top: 28px; font-size: 0.92rem; }
.guide-step p, .guide-step li { color: var(--legal-ink-soft); font-size: 0.94rem; line-height: 1.84; }
.guide-step p { margin-top: 16px; }
.guide-step ul, .guide-step ol { display: grid; gap: 10px; margin-top: 18px; padding-left: 22px; }
.guide-step li::marker { color: var(--legal-coral); }
.guide-step a { color: #6540b4; text-decoration: underline; text-underline-offset: 3px; }
.guide-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 24px 26px;
  border: 1px solid rgba(132, 99, 223, 0.2);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.72), rgba(244, 239, 255, 0.64));
}
.guide-action strong { display: block; font-family: var(--legal-display); font-size: 1.25rem; font-weight: 400; }
.guide-action p { margin-top: 4px; font-size: 0.72rem; }
.guide-action a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 999px; color: #fff; background: var(--legal-ink); text-decoration: none; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.guide-store-links { display: flex; flex-wrap: wrap; gap: 8px; }

.site-footer { border-top: 1px solid var(--legal-line); background: rgba(247, 239, 235, 0.62); }
.footer-main { min-height: 170px; display: grid; grid-template-columns: 1fr 1.8fr; align-items: center; gap: 50px; }
.brand-footer { width: max-content; }
.footer-brand p { margin-top: 8px; color: var(--legal-ink-faint); font-size: 0.68rem; }
.footer-nav { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px 26px; }
.footer-nav a { color: var(--legal-ink-soft); font-size: 0.7rem; font-weight: 600; }
.footer-nav a:hover, .footer-nav a[aria-current='page'] { color: var(--legal-coral); }
.footer-bottom { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--legal-line-soft); color: var(--legal-ink-faint); font-size: 0.63rem; }

.copy-toast {
  position: fixed;
  z-index: 400;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  background: rgba(33, 16, 53, 0.92);
  box-shadow: var(--legal-shadow);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 250ms var(--legal-ease);
}
.copy-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .legal-header-inner { grid-template-columns: 1fr auto; }
  .legal-breadcrumb { display: none; }
  .legal-title { width: 84%; }
  .legal-intro { width: 76%; }
  .legal-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 46px; }
  .legal-index-item > a { grid-template-columns: 62px minmax(210px, 0.8fr) 1fr 42px; }
  .legal-index-meta { display: none; }
  .hub-copy { width: 68%; }
}

@media (max-width: 780px) {
  .container, .guide-layout { width: min(calc(100% - 36px), var(--legal-container)); }
  .legal-header-inner { min-height: 68px; gap: 12px; }
  .brand img { width: 32px; height: 32px; }
  .legal-header__tools { gap: 5px; }
  .legal-tool, .legal-app-link { display: none; }
  .legal-back { min-height: 38px; padding-inline: 12px; }
  .legal-back span { display: none; }
  .legal-menu-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--legal-line); border-radius: 50%; background: rgba(255, 255, 255, 0.64); }
  .legal-menu-button svg { width: 17px; }
  .mobile-legal-menu {
    position: fixed;
    z-index: 90;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 1px;
    padding: 10px 18px 18px;
    background: rgba(255, 250, 246, 0.97);
    border-bottom: 1px solid var(--legal-line);
    box-shadow: 0 18px 40px rgba(46, 21, 62, 0.1);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 300ms var(--legal-ease), visibility 300ms;
  }
  .mobile-legal-menu.is-open { transform: translateY(0); visibility: visible; }
  .mobile-legal-menu a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--legal-line-soft); font-size: 0.76rem; font-weight: 650; }
  .legal-hero, .legal-hub-hero { padding-top: 70px; }
  .legal-hero::before, .legal-hub-hero::before { width: 105vw; top: -18%; right: -52%; opacity: 0.65; }
  .legal-hero::after, .legal-hub-hero::after { right: -8%; opacity: 0.6; }
  .legal-title, .legal-intro, .hub-copy { width: 100%; }
  .legal-title { margin-top: 22px; font-size: clamp(3rem, 15vw, 4.6rem); }
  .hub-title { font-size: clamp(4rem, 18vw, 5.7rem); }
  .legal-intro, .hub-intro { width: 94%; }
  .legal-meta { grid-template-columns: 1fr 1fr; }
  .legal-meta > div { padding: 14px 12px 14px 0; }
  .legal-meta > div + div { padding-left: 12px; }
  .legal-meta > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--legal-line); }
  .legal-meta > div:nth-child(4) { border-top: 1px solid var(--legal-line); }
  .legal-notice { grid-template-columns: 1fr; gap: 8px; }
  .legal-layout { display: block; padding-top: 0; padding-bottom: 80px; }
  .legal-toc {
    position: sticky;
    z-index: 20;
    top: 68px;
    max-height: none;
    margin: 0 -18px 34px;
    padding: 0 18px;
    overflow-x: auto;
    background: rgba(255, 250, 246, 0.92);
    border-bottom: 1px solid var(--legal-line-soft);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
  }
  .legal-toc::-webkit-scrollbar { display: none; }
  .legal-toc-title { display: none; }
  .legal-toc nav { display: flex; width: max-content; padding: 9px 0; }
  .legal-toc a { min-height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 11px; white-space: nowrap; }
  .legal-toc a::before { display: none; }
  .legal-section { padding-left: 43px; padding-bottom: 46px; }
  .legal-section + .legal-section { padding-top: 44px; }
  .legal-section + .legal-section .legal-section-number { top: 45px; }
  .legal-section-number { font-size: 1.35rem; }
  .legal-section h2 { font-size: clamp(1.85rem, 10vw, 2.7rem); }
  .legal-section p, .legal-section li { font-size: 0.91rem; line-height: 1.78; }
  .legal-contact-card p { grid-template-columns: 1fr; gap: 3px; }
  .hub-principle { grid-template-columns: 1fr; gap: 7px; margin-top: 54px; }
  .hub-principle a { margin-top: 7px; }
  .legal-index-section { padding-top: 28px; padding-bottom: 80px; }
  .legal-index-head { display: grid; align-items: start; }
  .legal-search { width: 100%; }
  .legal-index-item > a { min-height: 116px; grid-template-columns: 54px 1fr 38px; gap: 14px; padding-block: 18px; }
  .legal-index-title { font-size: 1.45rem; }
  .legal-index-description { grid-column: 2; margin-top: -10px; font-size: 0.7rem; }
  .legal-index-arrow { grid-column: 3; grid-row: 1 / 3; }
  .guide-summary-grid { grid-template-columns: 1fr; }
  .guide-summary-grid article { min-height: 0; }
  .guide-step { padding-left: 44px; }
  .guide-action { align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding-block: 42px; }
  .footer-nav { justify-self: start; justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 430px) {
  .legal-title { font-size: 3.2rem; }
  .hub-title { font-size: 4.2rem; }
  .legal-meta { grid-template-columns: 1fr; }
  .legal-meta > div, .legal-meta > div + div, .legal-meta > div:nth-child(3) { padding: 13px 0; border-top: 1px solid var(--legal-line); border-left: 0; }
  .legal-meta > div:first-child { border-top: 0; }
  .legal-index-item > a { grid-template-columns: 48px 1fr 36px; }
  .legal-index-number { font-size: 1.75rem; }
  .legal-index-title { font-size: 1.26rem; }
  .legal-index-arrow { width: 36px; height: 36px; }
  .guide-step { padding-left: 38px; }
}

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

@media print {
  @page { margin: 18mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  body::before, .reading-progress, .legal-header, .legal-toc, .legal-next, .site-footer, .copy-toast { display: none !important; }
  .container { width: 100%; }
  .legal-hero { padding: 0 0 18mm; border: 0; }
  .legal-hero::before, .legal-hero::after { display: none; }
  .legal-title, .legal-intro { width: 100%; }
  .legal-title { font-size: 32pt; }
  .legal-layout { display: block; padding: 0; }
  .legal-section { break-inside: avoid-page; padding-left: 13mm; }
  .legal-section p, .legal-section li { color: #222; }
  a { color: #000 !important; text-decoration: none !important; }
}
