:root {
  --bg: #09040d;
  --surface: #170c1d;
  --surface-2: #21102a;
  --ink: #fff8ef;
  --muted: #c4b7c7;
  --orange: #ffa300;
  --line: rgba(255, 248, 239, .14);
  color-scheme: dark;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  padding-top: 86px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 5%, rgba(255, 163, 0, .11), transparent 30rem),
    radial-gradient(circle at 8% 42%, rgba(111, 43, 139, .15), transparent 34rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
.site-header .header-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header .mobile-auth-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.site-header .mobile-auth-actions a:last-child {
  color: var(--bg);
  background: var(--orange);
  border-color: var(--orange);
}
.legal-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(9, 4, 13, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.legal-brand {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  gap: 0;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
}
.legal-brand span {
  display: inline-grid;
  width: 90px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--orange);
  border: 0;
  border-radius: 0;
  font: 900 1.2rem/1 "Arial Black", "Segoe UI Black", sans-serif;
  letter-spacing: -.08em;
}
.legal-brand b {
  display: inline-grid;
  width: 84px;
  height: 36px;
  margin: 3px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px #0b0610;
  text-shadow: 0 2px 0 #5b2b00aa, 0 4px 9px #0008;
  font: 900 1.2rem/1 "Arial Black", "Segoe UI Black", sans-serif;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.back-link span { color: var(--orange); }
main {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 86px) 0 76px;
}
.legal-intro p {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(3.6rem, 8vw, 7rem); line-height: .9; }
.legal-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(32px, 5vw, 52px);
}
.legal-fact {
  min-width: 0;
  padding: clamp(22px, 3.2vw, 32px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(33, 18, 41, .94), rgba(17, 8, 22, .96));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .2);
}
.legal-fact-accent {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 163, 0, .13), transparent 15rem),
    linear-gradient(145deg, rgba(33, 18, 41, .94), rgba(17, 8, 22, .96));
  border-color: rgba(255, 163, 0, .34);
}
.fact-label,
.legal-notices > header p {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.legal-card h2 {
  color: var(--ink);
  max-width: 100%;
  font-size: clamp(1.2rem, 2.1vw, 1.62rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.legal-card p, .legal-card address,
.notice-content p, .notice-content li {
  color: var(--muted);
  font-size: clamp(.84rem, 1.2vw, .94rem);
  font-style: normal;
  line-height: 1.6;
}
.legal-card address,
.legal-card .contact-list { margin-top: 18px; }
.legal-card p { margin-bottom: 0; }
.legal-card strong { color: var(--ink); }
.law-note { margin-top: 8px; font-size: .7rem !important; }
.contact-list { display: grid; gap: 8px; }
.contact-list a,
.notice-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.legal-notices {
  margin-top: 46px;
}
.legal-notices > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.legal-notices > header h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: .98;
}
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.notice-grid details {
  min-width: 0;
  overflow: hidden;
  background: rgba(24, 12, 31, .82);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.notice-grid summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  min-height: 66px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 850;
  list-style: none;
}
.notice-grid summary::-webkit-details-marker { display: none; }
.notice-grid summary i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--orange);
  background: rgba(255, 163, 0, .08);
  border: 1px solid rgba(255, 163, 0, .26);
  border-radius: 50%;
  font-size: 1rem;
  font-style: normal;
  transition: transform .2s ease;
}
.notice-grid details[open] summary i { transform: rotate(45deg); }
.notice-content {
  padding: 0 18px 20px;
  border-top: 1px solid var(--line);
}
.notice-content p { margin: 16px 0 0; }
.notice-content ul { margin: 14px 0 0; padding-left: 20px; }
.notice-content li { padding-left: 4px; }
.notice-content li::marker { color: var(--orange); }
.notice-grid details[open] {
  grid-column: 1 / -1;
}
footer {
  display: flex;
  width: min(100% - 36px, 1120px);
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .76rem;
}
footer a { color: var(--ink); font-weight: 850; }
@media (max-width: 720px) {
  body { padding-top: 70px; }
  .back-link { min-height: 38px; padding-inline: 12px; }
  main { width: min(100% - 24px, 980px); padding-top: 54px; }
  h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .legal-card,
  .notice-grid { grid-template-columns: 1fr; }
  .legal-fact { padding: 23px 20px; border-radius: 18px; }
  .legal-notices { margin-top: 38px; }
  .notice-grid details[open] { grid-column: 1; }
}
@media (max-width: 420px) {
  .legal-brand { gap: 0; }
  .legal-brand span {
    width: 62px;
    height: 34px;
    padding: 0;
    font-size: .9rem;
  }
  .legal-brand b {
    width: 56px;
    height: 28px;
    margin: 3px;
    padding: 0;
    font-size: .9rem;
  }
  .back-link {
    min-height: 38px;
    padding-inline: 11px;
    font-size: .68rem;
  }
  footer { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html,body{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{width:0;height:0}
