/* terms page styles (terms, EN + ES) */
/* light theme test */
:root{--bg:#8c8d93;--bg-2:#7f8086;--ink:#0b0b0e;--muted:#26262c;--line:rgba(0,0,0,.24);--panel:rgba(0,0,0,.06);--panel-strong:rgba(0,0,0,.1);--black:#0b0b0e;--white:#ffffff;
    --font-display:"Archivo", system-ui, sans-serif;
    --font-ui:"Archivo", system-ui, sans-serif;}
  h1,h2,h3,.hero h1{font-family:var(--font-display) !important;font-weight:800 !important;letter-spacing:-.015em;}

  .hero h1{text-transform:uppercase;font-size:clamp(40px,6.6vw,92px);line-height:.92;letter-spacing:-.02em;font-weight:900;}

  @media (min-width:901px) and (max-height:760px){
    .hero h1{font-size:min(6.6vw, 10.4vh);}
    .hero-cta{margin-top:20px !important;}
  }html,body{background:#ebecee;}
  body{color:rgba(18,18,22,.84);}

  #bgVideoWrap{background:transparent;opacity:1;mix-blend-mode:normal;filter:none;overflow:hidden;}
  #bgVideoWrap::after{content:none;}

  .hero-scrim{background:linear-gradient(90deg, rgba(235,236,238,.88) 0%, rgba(235,236,238,.82) 40%, rgba(235,236,238,.52) 100%);}
  h1,h2,h3,.hero h1{color:#16161b;}

  .hero h1, .hero h1 span{
    color:#16161b;
    -webkit-text-fill-color:#16161b;
    opacity:1;
    background:none;
    -webkit-background-clip:border-box;
    background-clip:border-box;
    mix-blend-mode:normal;
    filter:none;
    text-shadow:none;
  }
  p,li{color:rgba(18,18,22,.82) !important;}
  .topbar{background:rgba(11,11,14,.94);border-color:rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.28);}
  .work-card{background:rgba(255,255,255,.62) !important;border-color:rgba(0,0,0,.12) !important;}
  .work-card p{color:rgba(0,0,0,.82) !important;}
  .hero-btn{background:#16161b !important;color:#f2f3f5 !important;}
  .case{background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.28));color:#16161b;}
  .work-card{min-height:auto !important;align-content:start !important;gap:16px !important;}
  .work-card h3{margin-top:16px !important;}

  h2{text-transform:uppercase;letter-spacing:-.012em;}
  @media (min-width:740px){

    .case{position:relative;overflow:hidden;min-height:100svh;height:auto;padding:44px 0 36px;display:block;}
    .case h2{font-size:clamp(34px,4.5vw,64px);white-space:nowrap;}
  }
  @media (max-width:739px){

    .case{position:relative;overflow:hidden;min-height:100svh;padding:20px 0 32px;}
  }

  @media (orientation:landscape) and (max-height:600px){
    .case{position:relative;overflow:hidden;min-height:100svh;padding:20px 0 0;}
    .case h2{white-space:normal;font-size:clamp(24px,5vw,44px);}
  }

  .hero{overflow:hidden;}
  @media (max-width: 900px){
    .hero h1{font-size:clamp(30px,9vw,72px);line-height:.94;}
  }
  @media (max-width: 560px){
    .hero h1{font-size:clamp(28px,8.6vw,64px);}
  }

  @media (orientation:landscape) and (max-height:600px){

    .hero h1{font-size:clamp(44px,7.5vw,80px);line-height:.94;}
  }

/* page inline */
.cursor { position:fixed; width:12px; height:12px; background:var(--silver); border-radius:50%;
      pointer-events:none; z-index:10001; transform:translate(-50%,-50%);
      transition:transform .1s ease, opacity .2s; mix-blend-mode:difference; }
    .cursor-ring { position:fixed; width:40px; height:40px; border:1.5px solid rgba(194,200,212,.5);
      border-radius:50%; pointer-events:none; z-index:10000; transform:translate(-50%,-50%);
      transition:transform .15s ease, width .3s, height .3s, border-color .3s; mix-blend-mode:difference; }

    .terms-hero {
      padding: clamp(120px, 14vw, 180px) 0 clamp(48px,6vw,80px);
      position: relative;
      z-index: 1;
      border-bottom: 1px solid var(--border, rgba(255,255,255,.07));
    }
    .terms-hero__label {
      display: inline-block;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--silver);
      padding: 6px 16px;
      border: 1px solid rgba(194,200,212,.25);
      border-radius: 100px;
    }
    .terms-hero__meta {
      color: var(--muted);
    }

    .terms-body {
      position: relative;
      z-index: 1;
      gap: 0;
      margin: 0 auto;
      padding: 0 0;
      align-items: start;
    }
    @media (max-width: 860px) {
      .terms-body { grid-template-columns: 1fr; }
    }

    .terms-toc {
      position: sticky;
      top: 100px;
      padding: clamp(48px,6vw,80px) 0;
      padding-right: 40px;
    }
    .terms-toc ol {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px 24px;
    }
    .terms-toc ol li {
      margin-bottom: 6px;
    }
    .terms-toc ol li a {
      font-family: var(--font-body);
      font-size: .8rem;
      color: var(--muted);
      text-decoration: none;
      line-height: 1.5;
      transition: color .2s;
    }
    .terms-toc ol li a:hover { color: var(--white); }

    .terms-content {
      padding: clamp(48px,6vw,80px) 0;
      border-left: 1px solid var(--border, rgba(255,255,255,.07));
    }

/* page inline */
.terms-hero, .terms-body {
    --white:#16161b;
    --silver:#4a4d55;
    --muted:rgba(0,0,0,.72);
    --border:rgba(0,0,0,.1);
    --font-head:var(--font-display);
    --font-body:"DM Sans",system-ui,sans-serif;
    --pad-x:0px;
  }
  main{position:relative;z-index:1;}
  #bgVideoWrap{display:none;}

  .terms-hero{border-bottom-color:rgba(0,0,0,.12);}

  .terms-hero h1{text-transform:uppercase;letter-spacing:-.015em;-webkit-text-fill-color:#16161b;}
  .terms-hero__label{border-radius:999px;border-color:rgba(0,0,0,.25);color:rgba(0,0,0,.62);}
  .terms-hero__meta{color:rgba(0,0,0,.55) !important;}
  .terms-toc ol li a{color:rgba(0,0,0,.6);}
  .terms-toc ol li a:hover{color:#16161b !important;}

/* live metrics align */
  .terms-hero__meta{margin:0;}

/* title unify */
h1{font-weight:900 !important;}
h2{font-weight:900 !important;}

/* mobile title floor */

/* hide page badge */
.terms-hero__label{display:none;}

/* legal h2 measure */
.terms-content .legal-body h2{margin:44px 0 16px;overflow-wrap:normal;word-break:normal;hyphens:manual;}
.terms-content .legal-body > h2:first-child{margin-top:0;}
