/* Bricktech — shared styles for legal pages (same design tokens as the landing) */
:root{
  --bg:#16202b; --surface:#1d2935; --card:#22303d; --card-2:#283a48;
  --line:rgba(255,255,255,.08); --line-2:rgba(255,255,255,.15);
  --navy:#19417C; --navy-soft:#2f5da0;
  --teal:#1CA687; --teal-bright:#27c8a0;
  --text:#eef3f6; --muted:#a4b4c0; --muted-2:#728493;
  --maxw:1140px; --r:16px;
  --shadow:0 24px 60px -20px rgba(0,0,0,.55);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg); color:var(--text);
  font-family:'Poppins',system-ui,sans-serif; font-weight:400;
  line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3{font-family:'Inter Tight',sans-serif;line-height:1.1;letter-spacing:-.02em;font-weight:800}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.eyebrow{font-family:'Inter Tight';font-weight:700;font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal-bright)}

/* ===== NAV (identical to landing) ===== */
header{position:sticky;top:0;z-index:50;backdrop-filter:blur(14px);background:rgba(22,32,43,.72);border-bottom:1px solid var(--line)}
nav{max-width:var(--maxw);margin:0 auto;padding:15px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand img{height:30px;width:auto}
.nav-links{display:flex;gap:30px;align-items:center}
.nav-links a{font-size:14.5px;color:var(--muted);font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:'Inter Tight';font-weight:700;font-size:15px;border-radius:11px;padding:13px 22px;cursor:pointer;border:0;transition:transform .18s ease,box-shadow .2s ease,background .2s}
.btn-primary{background:var(--teal);color:#06231b;box-shadow:0 10px 26px -10px rgba(28,166,135,.6)}
.btn-primary:hover{background:var(--teal-bright);transform:translateY(-2px)}
.nav .btn{padding:10px 18px;font-size:14px}
.menu-toggle{display:none;background:none;border:0;color:var(--text);font-size:24px;cursor:pointer}

/* ===== LEGAL BODY ===== */
.legal-main{padding:60px 0 84px;position:relative}
.legal{max-width:720px;margin:0 auto}
.legal h1{font-size:clamp(30px,5vw,44px);margin:14px 0 10px}
.legal .updated{color:var(--muted-2);font-size:13.5px;margin-bottom:34px}
.legal h2{font-family:'Inter Tight';font-size:22px;font-weight:700;color:var(--text);letter-spacing:-.01em;margin:40px 0 12px}
.legal h3{font-size:16.5px;font-weight:700;color:var(--text);margin:24px 0 8px}
.legal p{color:#c4d0d9;font-size:15.5px;line-height:1.8;margin-bottom:14px}
.legal ul,.legal ol{margin:0 0 16px;padding-left:22px}
.legal li{color:#c4d0d9;font-size:15.5px;line-height:1.8;margin-bottom:8px}
.legal a{color:var(--teal-bright);text-decoration:underline}
.legal strong{color:var(--text);font-weight:600}
.legal .ph{display:inline-block;background:rgba(39,200,160,.12);border:1px solid rgba(39,200,160,.3);color:var(--teal-bright);font-family:'Inter Tight',monospace;font-size:.92em;font-weight:600;padding:1px 7px;border-radius:6px}
.legal table{width:100%;border-collapse:collapse;margin:10px 0 22px;font-size:14px}
.legal th,.legal td{border:1px solid var(--line-2);padding:10px 12px;text-align:left;vertical-align:top}
.legal th{background:var(--card-2);font-family:'Inter Tight';color:var(--text);font-weight:700}
.legal td{color:#c4d0d9}
.legal .note{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;color:var(--muted);font-size:13.5px;margin:22px 0}

/* ===== FOOTER (identical to landing) ===== */
footer{background:var(--bg);border-top:1px solid var(--line);padding:50px 0 38px}
.foot{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.foot img{height:26px;opacity:.92}
.foot .tag{color:var(--muted-2);font-size:13px;margin-top:10px;max-width:280px}
.foot-links{display:flex;gap:26px;flex-wrap:wrap}
.foot-links a{color:var(--muted);font-size:14px}
.foot-links a:hover{color:var(--teal-bright)}
.copyright{margin-top:34px;padding-top:22px;border-top:1px solid var(--line);color:var(--muted-2);font-size:12.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* focus visibility */
a:focus-visible,.btn:focus-visible,button:focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px}

@media(max-width:900px){
  .nav-links{display:none}
  .nav-links.open{display:flex;position:absolute;top:62px;left:0;right:0;flex-direction:column;background:var(--surface);border-bottom:1px solid var(--line);padding:20px 28px;gap:18px}
  .menu-toggle{display:block}
}
@media(max-width:560px){
  .legal-main{padding:46px 0 64px}
  .wrap{padding:0 20px}
}
