:root{
  --bg:#141413;
  --text:#FAF9F5;
  --muted:rgba(250,249,245,.72);
  --faint:rgba(250,249,245,.46);
  --line:rgba(250,249,245,.08);
  --line-strong:rgba(250,249,245,.14);
  --accent:#FF5744;

  --container:980px;
  --header-h:88px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  font-family:"Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

.site-bg{
  position:fixed;
  inset:0;
  z-index:-10;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(20,20,19,.18),rgba(20,20,19,.58),rgba(20,20,19,.95)),
    url("../img/bg-main.webp") center center / cover no-repeat;
}

.site-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,87,68,.08), transparent 22%),
    radial-gradient(circle at 80% 26%, rgba(255,255,255,.04), transparent 18%),
    radial-gradient(circle at 50% 78%, rgba(255,87,68,.04), transparent 26%);
  pointer-events:none;
}

.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background:rgba(20,20,19,.76);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(250,249,245,.06);
}

.header-inner{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.site-logo{
  display:inline-flex;
  align-items:center;
  min-height:44px;
}

.brand-wordmark{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  font-family:"Cinzel",serif;
  font-size:1.72rem;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1;
}

.brand-n{
  color:var(--accent);
}

.back-link{
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.88rem;
  font-weight:600;
  transition:.22s ease;
}

.back-link:hover{
  transform:translateY(-2px);
  border-color:rgba(255,87,68,.26);
  background:rgba(255,255,255,.04);
}

main{
  padding-top:calc(var(--header-h) + 44px);
  padding-bottom:10px;
}

.legal-hero{
  padding:30px 0 42px;
}

.hero-card{
  background:rgba(24,24,23,.88);
  border:1px solid var(--line);
  border-radius:28px;
  padding:34px;
  box-shadow:0 20px 60px rgba(0,0,0,.24);
}

.eyebrow{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--faint);
  margin-bottom:18px;
}

h1{
  font-family:"Cinzel",serif;
  font-size:clamp(2rem,5vw,4rem);
  line-height:1.05;
  font-weight:600;
}

.hero-card p{
  margin-top:16px;
  max-width:720px;
  color:var(--muted);
  line-height:1.85;
  font-size:1rem;
}

.legal-section{
  padding:0 0 20px;
}

.legal-wrap{
  display:grid;
  gap:16px;
  margin-top:8px;
}

.legal-card{
  background:rgba(24,24,23,.88);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  transition:.22s ease;
}

.legal-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,87,68,.18);
}

.legal-card h2{
  font-family:"Cinzel",serif;
  font-size:1.35rem;
  font-weight:600;
  line-height:1.2;
  margin-bottom:14px;
}

.legal-card p{
  color:var(--muted);
  line-height:1.9;
  font-size:.97rem;
}

.legal-card p + p{
  margin-top:14px;
}

footer{
  margin-top:26px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.05);
  text-align:center;
}

footer p{
  font-size:.78rem;
  color:var(--faint);
  line-height:1.7;
}

footer a:hover{
  color:var(--accent);
}

@media(max-width:768px){
  :root{
    --header-h:76px;
  }

  .container{
    width:min(var(--container), calc(100% - 22px));
  }

  .brand-wordmark{
    font-size:1.34rem;
    letter-spacing:.07em;
  }

  .header-inner{
    gap:12px;
  }

  .back-link{
    min-height:42px;
    padding:0 14px;
    font-size:.82rem;
  }

  main{
    padding-top:calc(var(--header-h) + 24px);
    padding-bottom:48px;
  }

  .legal-hero{
    padding:24px 0 30px;
  }

  .hero-card,
  .legal-card{
    border-radius:22px;
    padding:22px;
  }

  h1{
    font-size:clamp(1.65rem,9vw,2.45rem);
  }

  .hero-card p,
  .legal-card p{
    font-size:.92rem;
  }
}

@media(max-width:420px){
  .brand-wordmark{
    font-size:1.08rem;
  }

  .back-link{
    padding:0 12px;
    font-size:.78rem;
  }
}