/* FRAGS4U LEGAL V6
   Shared presentation for Terms, Privacy, Refunds and Business Information.
   Uses the same canonical fixed artwork and glass/orange language as the
   approved public website while keeping legal copy readable and unchanged. */

:root{
  color-scheme:dark;
  --orange:#ff5a00;
  --orange-hot:#ff7b18;
  --bg:#050505;
  --text:#f7f7f8;
  --muted:#aeb1b7;
  --line:rgba(255,90,0,.34);
  --soft-line:rgba(255,255,255,.10);
  --glass:rgba(5,5,6,.58);
  --glass-strong:rgba(3,3,4,.74);
  --cut:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
}

*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font:16px/1.72 Inter,Arial,sans-serif;
  background:
    linear-gradient(90deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.25) 34%,rgba(0,0,0,.12) 63%,rgba(0,0,0,.20) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.04) 45%,rgba(0,0,0,.19)),
    url('/assets/frags4u-fixed-background.webp') center center / cover fixed no-repeat;
  background-attachment:fixed,fixed,fixed;
}

/* Public-site style glass header. */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:5px max(26px,calc((100vw - 1540px)/2 + 26px));
  background:rgba(2,2,3,.72);
  border-bottom:1px solid rgba(255,90,0,.78);
  box-shadow:0 10px 35px rgba(0,0,0,.38),0 1px 18px rgba(255,90,0,.12);
  -webkit-backdrop-filter:blur(11px) saturate(125%);
  backdrop-filter:blur(11px) saturate(125%);
}

.topbar .f4u-brand-lockup{gap:9px!important}
.topbar .f4u-brand-lockup .f4u-brand-logo{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  filter:drop-shadow(0 0 11px rgba(255,90,0,.42))!important;
}
.topbar .f4u-wordmark{
  font-size:23px!important;
  letter-spacing:1.2px!important;
  text-shadow:0 2px 8px #000!important;
}

.topbar nav,.legal-footer nav{
  display:flex;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
}
.topbar a,.legal-footer a{
  color:#f3f3f4;
  text-decoration:none;
  font-weight:800;
  text-shadow:0 2px 6px #000;
}
.topbar nav a{font-size:14px}
.topbar a:hover,.legal-footer a:hover{color:var(--orange-hot)}

/* Legal pages are still documents, not marketing landing pages. Keep the
   background visible but place readable glass panels over it. */
.shell,
body>main:not(.shell){
  width:min(100% - 48px,1180px);
  margin:0 auto;
  padding:42px 0 72px;
  background:transparent;
}

.hero{
  position:relative;
  margin:0 0 24px;
  padding:30px 32px 28px;
  background:linear-gradient(135deg,rgba(0,0,0,.64),rgba(0,0,0,.40) 66%,rgba(0,0,0,.19));
  border-left:3px solid var(--orange);
  border-bottom:1px solid rgba(255,90,0,.46);
  clip-path:var(--cut);
  box-shadow:0 20px 55px rgba(0,0,0,.34),inset 0 0 45px rgba(255,90,0,.025);
  -webkit-backdrop-filter:blur(6px) saturate(118%);
  backdrop-filter:blur(6px) saturate(118%);
}
.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:18px;
  width:110px;
  height:2px;
  background:linear-gradient(90deg,var(--orange),transparent);
  box-shadow:0 0 14px rgba(255,90,0,.7);
}
.eyebrow{
  margin:0 0 7px;
  color:var(--orange-hot);
  font-size:11px;
  font-weight:900;
  letter-spacing:.22em;
}
.hero h1,
.f4u-business-card>h1{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(40px,5vw,62px);
  line-height:.96;
  letter-spacing:-.045em;
  font-weight:950;
  text-transform:uppercase;
  font-style:italic;
  text-shadow:0 7px 23px rgba(0,0,0,.78);
}
.hero .lede,
.updated,
.f4u-business-card>p{
  margin:6px 0 0;
  color:#d3d4d8;
}
.updated{font-size:13px;color:#9fa2a9}

.document,
.f4u-business-card{
  position:relative;
  margin:0;
  padding:clamp(28px,4vw,50px);
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(8,8,9,.77),rgba(3,3,4,.65));
  clip-path:var(--cut);
  box-shadow:0 22px 65px rgba(0,0,0,.38),0 0 26px rgba(255,90,0,.055);
  -webkit-backdrop-filter:blur(9px) saturate(118%);
  backdrop-filter:blur(9px) saturate(118%);
}
.document::before,
.f4u-business-card::before{
  content:"";
  position:absolute;
  top:0;
  left:20px;
  width:120px;
  height:2px;
  background:linear-gradient(90deg,var(--orange),transparent);
}

.document h2{
  position:relative;
  margin:42px 0 11px;
  padding:0 0 10px 17px;
  color:#fff;
  font-size:24px;
  line-height:1.25;
  border-bottom:1px solid rgba(255,90,0,.18);
}
.document h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.35em;
  width:4px;
  height:1.05em;
  background:var(--orange);
  box-shadow:0 0 12px rgba(255,90,0,.5);
}
.document h2:first-child{margin-top:0}
.document h3{margin:25px 0 7px;color:#fff}
p,li,dd{color:#d9dbe0}
ul,ol{padding-left:24px}
li+li{margin-top:6px}
a{color:#ff9a50}
a:hover{color:#ffb275}
strong{color:#fff}

.identity,
.callout{
  margin:22px 0;
  padding:18px 20px;
  border:1px solid rgba(255,90,0,.34);
  border-left:3px solid var(--orange);
  background:linear-gradient(135deg,rgba(255,90,0,.10),rgba(4,4,5,.58));
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}

.legal-contact{
  margin-top:52px;
  padding-top:28px;
  border-top:1px solid rgba(255,90,0,.22);
}
.legal-contact .identity{margin:0}

/* Business Information has a slightly different HTML structure but should
   look like the same legal suite. */
.f4u-business-card{max-width:920px!important;margin:0 auto!important}
.f4u-business-card>h1{font-size:clamp(38px,5vw,58px);margin-bottom:12px}
.f4u-business-card .business-box{
  margin-top:30px!important;
  padding:28px 30px!important;
  background:rgba(3,3,4,.58)!important;
  border:1px solid rgba(255,90,0,.28)!important;
  border-left:3px solid var(--orange)!important;
  border-radius:0!important;
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  box-shadow:0 14px 38px rgba(0,0,0,.26)!important;
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
}
.f4u-business-card dt{
  color:var(--orange-hot)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
.f4u-business-card dd{color:#f0f0f2!important}
.f4u-business-card a{color:#ff9a50!important}

.legal-footer{
  width:min(100% - 48px,1180px);
  margin:0 auto;
  padding:22px 0 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  color:var(--muted);
  font-size:13px;
  border-top:1px solid rgba(255,90,0,.34);
  background:transparent;
}
.legal-footer a{font-size:13px;font-weight:700}

@media(max-width:760px){
  body{
    background:
      linear-gradient(rgba(0,0,0,.60),rgba(0,0,0,.60)),
      url('/assets/frags4u-fixed-background.webp') 58% center / cover fixed no-repeat;
  }
  .topbar{
    position:relative;
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:12px 18px 15px;
  }
  .topbar .f4u-brand-lockup .f4u-brand-logo{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    max-width:46px!important;
  }
  .topbar .f4u-wordmark{font-size:19px!important}
  .topbar nav{gap:14px}
  .topbar nav a{font-size:12px}
  .shell,
  body>main:not(.shell){
    width:min(100% - 28px,1180px);
    padding:24px 0 50px;
  }
  .hero{padding:24px 22px 22px}
  .document,.f4u-business-card{padding:24px 21px}
  .document h2{font-size:21px;margin-top:34px}
  .legal-footer{
    width:min(100% - 28px,1180px);
    align-items:flex-start;
    flex-direction:column;
    padding-bottom:28px;
  }
  .legal-footer nav{gap:14px}
}
