@import url('https://fonts.cdnfonts.com/css/pp-neue-montreal');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Inter:wght@100..900&display=swap');

:root{
  --bg: #f4f2ea;
  --surface: #ffffff;
  --text: #101111;
  --text-soft: #5a615f;
  --green: #c0e24e;
  --green-dark: #0a5e63;
  --green-deep: #153539;
  --line: rgba(16,17,17,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
  --header-offset: 92px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a{
  color: inherit;
  text-decoration: none;
}

ion-icon{
  pointer-events: none;
}

.magnetic-inner{
  display: inline-block;
  will-change: transform;
}

.legal-main{
  padding-top: calc(var(--header-offset) + 1rem);
}

.legal-shell{
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

.legal-kicker,
.footer-kicker,
.footer-label{
  font-family: "Geist Mono", sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  opacity: .72;
}

.legal-hero{
  padding: 1rem 0 1rem;
}

.legal-topbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-breadcrumb{
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  color: #6c746f;
  font-family: "Geist Mono", sans-serif;
  font-size: .78rem;

  background: #ffffff;
  padding: .85rem 1rem;
  border-radius: 999px;
}

.legal-breadcrumb strong{
  color: #111;
}

.legal-back{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #111;
  font-family: "Geist Mono", sans-serif;
  font-size: .78rem;
  box-shadow: var(--shadow);
}

.legal-head{
  background: linear-gradient(145deg, #ffffff 0%, #f7f6f1 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow);
}

.legal-title{
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: .95;
  font-weight: 600;
  margin-top: 1rem;
}

.legal-sub{
  margin-top: 1rem;
  color: var(--text-soft);
  font-family: "Geist Mono", sans-serif;
  line-height: 1.85;
  font-size: .95rem;
}

.legal-content{
  padding: 0 0 2rem;
}

.legal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.legal-card{
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.legal-card-icon{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(192,226,78,.18);
  border: 1px solid rgba(192,226,78,.3);
  color: #233122;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.legal-card h2{
  font-size: 1.8rem;
  margin-bottom: .75rem;
}

.legal-card p{
  color: var(--text-soft);
  font-family: "Geist Mono", sans-serif;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-card ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.legal-card li{
  color: #2e3533;
  font-family: "Geist Mono", sans-serif;
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}

.legal-card li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-dark);
}

/* FOOTER */
.site-footer{
  padding: 0 0 1rem;
}

.footer-shell{
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: #111715;
  color: #f4f4ef;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.footer-shell::before{
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,226,78,0.2), transparent 62%);
  pointer-events: none;
}

.footer-top{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand h2{
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: .95;
  font-weight: 600;
  max-width: 760px;
  margin: 1rem 0;
}

.footer-text{
  max-width: 620px;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.75rem;
  font-family: "Geist Mono", sans-serif;
  line-height: 1.8;
}

.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  background: var(--green);
  color: #111;
  font-weight: 800;
  font-family: "Geist Mono", sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-links{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.footer-col{
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.footer-col a,
.footer-col span,
.footer-bottom a,
.footer-bottom p{
  color: rgba(255,255,255,.78);
}

.footer-bottom{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-bottom-links{
  display: flex;
  gap: 1rem;
}

/* GSAP */
.legal-reveal{
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

/* MOBILE */
@media (max-width: 1100px){
  .legal-grid,
  .footer-top{
    grid-template-columns: 1fr;
  }

  .footer-links{
    grid-template-columns: 1fr 1fr;
    display: none;
  }
}

@media (max-width: 768px){
  :root{
    --header-offset: 84px;
  }

  .legal-main{
    padding-top: calc(var(--header-offset) + .5rem);
  }

  .legal-shell,
  .footer-shell{
    width: min(1400px, calc(100% - 1rem));
  }

  .legal-head,
  .legal-card,
  .footer-shell{
    border-radius: 24px;
  }

  .legal-topbar{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links{
    grid-template-columns: 1fr;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px){
  .legal-title{
    font-size: 2.6rem;
  }
}
