:root {
  --ink: #07104f;
  --cyan: #70edf0;
  --orange: #ff641f;
  --lime: #c8ff18;
  --paper: #fffdf7;
  --muted: #5f6480;
  --line: rgba(7, 16, 79, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 16px; border-radius: 10px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.legal-header { width: min(1120px, calc(100% - 36px)); margin: 18px auto 0; padding: 10px 12px 10px 18px; border: 2px solid var(--line); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.82); box-shadow: 0 12px 40px rgba(7,16,79,.08); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 13px; }
.brand strong { font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-size: 25px; letter-spacing: -.05em; }
.back-link { padding: 13px 18px; border-radius: 14px; color: white; background: var(--ink); text-decoration: none; font-size: 14px; font-weight: 750; }

.legal-hero { padding: 110px 24px 90px; position: relative; overflow: hidden; text-align: center; }
.legal-hero::before, .legal-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.legal-hero::before { width: 330px; height: 330px; top: -110px; left: -100px; background: var(--cyan); }
.legal-hero::after { width: 270px; height: 270px; right: -80px; bottom: -100px; background: var(--lime); }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0 auto 25px; font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-size: clamp(54px, 8vw, 94px); line-height: .95; letter-spacing: -.055em; }
.legal-hero p:not(.eyebrow) { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.updated { display: inline-block; margin-top: 26px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 13px; }

.legal-layout { width: min(1120px, calc(100% - 36px)); margin: 0 auto 120px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 24px; padding: 24px; border: 2px solid var(--ink); border-radius: 24px; background: white; box-shadow: 6px 7px 0 var(--ink); }
.legal-nav strong { display: block; margin-bottom: 14px; font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-size: 17px; }
.legal-nav a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-nav a:hover { color: var(--orange); }
.legal-content { min-width: 0; }
.notice { margin-bottom: 40px; padding: 24px; border-left: 5px solid var(--orange); border-radius: 0 18px 18px 0; background: #fff1e9; color: #4f2a1e; line-height: 1.65; }
.legal-content section { padding: 10px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 35px; }
.legal-content section + section { padding-top: 38px; }
h2 { margin: 0 0 17px; font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; }
h3 { margin: 25px 0 10px; font-size: 18px; }
p, li { color: #40465f; font-size: 16px; line-height: 1.75; }
ul { padding-left: 22px; }
li + li { margin-top: 9px; }
.data-table { margin-top: 24px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.data-row { display: grid; grid-template-columns: .8fr 1.2fr; }
.data-row + .data-row { border-top: 1px solid var(--line); }
.data-row > div { padding: 18px; }
.data-row > div:first-child { font-weight: 750; background: rgba(112,237,240,.16); }
.contact-card { margin-top: 24px; padding: 25px; border: 2px solid var(--ink); border-radius: 20px; background: var(--cyan); box-shadow: 6px 7px 0 var(--ink); }
.contact-card p { margin-bottom: 0; color: var(--ink); }
.contact-card a { font-weight: 750; }

.legal-footer { padding: 55px max(24px, calc((100vw - 1120px)/2)); color: white; background: var(--ink); }
.legal-footer > div { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.legal-footer .brand strong { color: white; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.legal-footer nav a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; }
.legal-footer small { display: block; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.5); }

@media (max-width: 780px) {
  .legal-hero { padding-top: 80px; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-nav { position: static; }
  .legal-nav div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .data-row { grid-template-columns: 1fr; }
  .data-row > div:first-child { padding-bottom: 8px; }
  .data-row > div:last-child { padding-top: 8px; }
  .legal-footer > div { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .legal-header { margin-top: 10px; }
  .brand strong { font-size: 21px; }
  .brand img { width: 40px; height: 40px; }
  .back-link { padding: 11px 13px; font-size: 13px; }
  .legal-hero { padding-inline: 18px; }
  .legal-nav div { grid-template-columns: 1fr; }
}
