:root {
  color-scheme: light;
  --primary: #00b8fc;
  --primary-2: #0288d1;
  --ink: #17202c;
  --text: #202936;
  --muted: #667085;
  --line: #e2e8f0;
  --soft: #f6fbff;
  --white: #fff;
  --dark: #07111f;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; color: var(--text); background: #f7f9fc; font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--primary-2); text-decoration-color: rgba(2, 136, 209, .42); text-underline-offset: 3px; transition: color .18s ease, text-decoration-color .18s ease, background .18s ease; }
a:hover { color: #00a8e8; text-decoration-color: currentColor; }
a:focus-visible { outline: 3px solid rgba(0, 184, 252, .38); outline-offset: 4px; border-radius: 4px; }

.legal-header { color: var(--white); background: radial-gradient(circle at 80% 0, rgba(0, 184, 252, .18), transparent 34%), linear-gradient(135deg, #07111f, #0c2437); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 30px rgba(15, 23, 42, .12); }
.legal-header__inner, .legal-main, .legal-footer__inner { width: min(calc(100% - 40px), 1040px); margin-inline: auto; }
.legal-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-logo { display: block; width: 230px; max-width: 54vw; height: auto; }
.legal-language { display: flex; align-items: center; gap: 6px; }
.legal-language a { padding: 8px 10px; border-radius: 8px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; font-weight: 800; }
.legal-language a:hover, .legal-language a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }

.legal-main { margin-top: 38px; margin-bottom: 42px; padding: clamp(30px, 5vw, 54px); background: var(--white); border: 1px solid rgba(226, 232, 240, .92); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.legal-main h1 { margin: 0 0 10px; color: var(--ink); font-size: clamp(34px, 5vw, 46px); line-height: 1.04; letter-spacing: -.05em; }
.legal-main h2 { margin: 42px 0 12px; color: var(--ink); font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.legal-main h3 { margin: 26px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.3; }
.legal-main p, .legal-main li { max-width: 82ch; }
.legal-main li + li { margin-top: 7px; }
.legal-meta { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.legal-note { padding: 16px 18px; border: 1px solid rgba(0, 184, 252, .2); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; background: var(--soft); }
.legal-table { width: 100%; margin: 20px 0; border-spacing: 0; border-collapse: separate; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal-table th, .legal-table td { padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th:last-child, .legal-table td:last-child { border-right: 0; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { color: var(--ink); background: var(--soft); font-weight: 800; }

.legal-footer { padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--muted); background: var(--white); }
.legal-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-footer a { color: var(--primary-2); text-decoration: none; font-weight: 500; }
.legal-footer a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.support-address span::after { content: "@virtualgarage.app"; }

@media (max-width: 700px) {
  .legal-header__inner, .legal-main, .legal-footer__inner { width: min(calc(100% - 24px), 1040px); }
  .legal-header__inner { min-height: 70px; }
  .legal-logo { width: 190px; }
  .legal-main { margin-top: 16px; margin-bottom: 24px; padding: 28px 20px; border-radius: 12px; }
  .legal-main h2 { margin-top: 34px; }
  .legal-table { display: block; overflow-x: auto; }
  .legal-footer__inner { align-items: flex-start; flex-direction: column; }
}

body {min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.legal-header {background:linear-gradient(135deg,#045886,#08a3dc)}
.legal-header__inner {min-height:66px}
.legal-logo {display:block;width:auto;max-height:42px;height:auto;max-width:100%}
.legal-header__inner > a {min-width:0}
.legal-footer {margin-top:auto}
.legal-footer__inner {justify-content:space-between}
.legal-main {margin-top:18px}
.legal-document-nav {width:min(calc(100% - 40px),1040px);margin:24px auto 0;display:flex;flex-wrap:wrap;gap:6px}
.legal-document-nav a {padding:8px 12px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600}
.legal-document-nav a:hover,.legal-document-nav a[aria-current=page] {background:#ddf3fc;color:#0275b1}










@media(max-width:700px){.legal-header__inner{min-height:66px;gap:14px}.legal-document-nav{width:calc(100% - 24px);margin-top:16px}.legal-logo{max-width:100%;max-height:42px}.legal-header__inner>a{max-width:calc(100% - 105px)}}
.legal-footer {padding:12px 0}
.legal-brand {display:flex;align-items:center;gap:20px;min-width:0}
.legal-brand>a {min-width:0;display:block}
.legal-section-label {color:#ffffffcc;font-size:15px;white-space:nowrap}
@media(max-width:700px){.legal-brand{flex-direction:column;align-items:flex-start;gap:0;max-width:calc(100% - 100px)}.legal-section-label{font-size:11px;line-height:1.3}.legal-brand .legal-logo{max-height:36px}}

.legal-brand {flex-direction:row;align-items:center;gap:20px;max-width:none;flex:1}
.legal-section-label {font-size:15px;line-height:1.4}
.legal-brand .legal-logo {max-height:42px}
.legal-header__inner {gap:16px}
.legal-main {min-width:0}
.legal-main h1,.legal-main h2,.legal-main h3 {overflow-wrap:anywhere}
.legal-document-nav a {min-width:0;max-width:100%;overflow-wrap:anywhere}
.legal-footer {border-top:0;background:transparent;padding:12px 0}
.legal-footer__inner {border-top:1px solid #e2e8f0;padding-top:18px;padding-bottom:6px}
.legal-back-top {position:fixed;right:20px;bottom:20px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:#00b8fc;color:white;cursor:pointer;box-shadow:0 3px 6px #0003;z-index:80;transition:background .18s}
.legal-back-top[hidden] {display:none}
.legal-back-top:hover {background:#12c8ff}
.legal-back-top:focus-visible {outline:3px solid #0288d1;outline-offset:3px}
.legal-back-top svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:500px){.legal-section-label{display:none}.legal-brand{gap:0}.legal-back-top{right:12px;bottom:12px}}

.legal-footer__copyright {margin:0}
.legal-brand > a {transition:opacity .2s ease}
@media (hover:hover) {.legal-brand > a:hover {opacity:.8}}
@media (prefers-reduced-motion:reduce) {.legal-brand > a {transition:none}}
