/* MoveConsole — the legal pages (privacy, terms, SMS policy): a document you can actually read, under the site's
   header. The hero is the product pages' tinted box; below it, a contents list beside the text (sticky on wide
   screens, folded above it on narrow ones — site.js opens it and marks the section in view). */

.legal{ --card: #eef5ff; --card-2: #dcebff; --lg-ink: #031a3f; }

/* ---------- head ---------- */
.lg-hero{ padding: calc(var(--hdr) + 16px) 0 0; }
.lg-box{
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: 20px; text-align: center;
  border-radius: var(--r-box); padding: clamp(40px, 5vw, 72px) clamp(16px, 3.4vw, 56px) clamp(36px, 4.4vw, 60px);
  background: radial-gradient(70% 60% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 72%), var(--card);
}
.lg-box::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(24, 111, 242, .2) 1.1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 10%, transparent 100%); mask-image: radial-gradient(60% 55% at 50% 30%, #000 10%, transparent 100%);
}
.lg-box > *{ position: relative; }

/* the three documents, one switch */
.lg-tabs{
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(6, 26, 63, .06);
}
.lg-tabs a{
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  font: 600 14.5px/1 var(--font); color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s;
}
.lg-tabs a:hover{ color: var(--blue-600); }
.lg-tabs a[aria-current="page"]{ background: #fff; color: var(--lg-ink); box-shadow: 0 8px 18px -12px rgba(6, 26, 63, .4), 0 0 0 1px rgba(6, 26, 63, .06); }

.lg-h1{ margin: 0; font-size: clamp(42px, 5.6vw, 76px); line-height: 1; font-weight: 575; letter-spacing: -.035em; color: var(--lg-ink); text-wrap: balance; }
.lg-lead{ margin: 0; max-width: 660px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.lg-date{ margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- the document ---------- */
.lg-doc{ padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px); }
.lg-grid{ display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; align-items: start; gap: clamp(36px, 5vw, 88px); }

.lg-toc{ position: sticky; top: calc(var(--hdr) + 24px); }
.lg-toc summary{
  display: flex; align-items: center; justify-content: space-between; list-style: none; margin-bottom: 14px;
  font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.lg-toc summary::-webkit-details-marker{ display: none; }
.lg-toc summary svg{ display: none; }
.lg-toc ol{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-left: 1px solid var(--line); counter-reset: toc; }
.lg-toc li{ counter-increment: toc; }
.lg-toc a{
  display: flex; gap: 10px; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent;
  font-size: 14.5px; line-height: 1.3; color: var(--muted); transition: color .2s, border-color .2s;
}
.lg-toc a::before{ content: counter(toc); min-width: 1.3em; color: #a3a8b2; font-variant-numeric: tabular-nums; }
.lg-toc a:hover{ color: var(--ink); }
.lg-toc a.on{ color: var(--blue-600); border-left-color: var(--blue); }
.lg-toc a.on::before{ color: var(--blue); }

/* (the room under the fixed header for #section jumps comes from html's scroll-padding-top in site.css) */
.lg-body{ min-width: 0; font-size: 17px; line-height: 1.68; color: var(--ink-2); }
.lg-body h2{
  display: flex; align-items: baseline; gap: 14px; margin: 56px 0 16px;
  font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--lg-ink); text-wrap: balance;
}
.lg-body h2 .n{ flex: none; font: 600 15px/1 var(--font-mono); color: var(--blue); letter-spacing: 0; transform: translateY(-2px); }
.lg-body h3{ margin: 30px 0 10px; font-size: 18.5px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.lg-body p{ margin: 0 0 16px; text-wrap: pretty; }
.lg-body ul{ margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.lg-body li::marker{ color: var(--blue); }
.lg-body ul ul{ margin: 8px 0 0; }
.lg-body strong{ font-weight: 650; color: var(--ink); }
.lg-body a{ color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lg-body a:hover{ text-decoration-thickness: 2px; }

/* the plain-language summary at the top */
.lg-short{ padding: 26px 28px 24px; border-radius: 24px; background: var(--oat); }
.lg-short h2{ display: block; margin: 0 0 14px; font: 700 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.lg-short ul{ list-style: none; padding: 0; gap: 12px; margin: 0; }
.lg-short li{ position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.lg-short li::before{ content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--card-2); }
.lg-short li::after{
  content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 14px; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* a statement that has to stand out (texting consent never shared) */
.lg-note{ display: flex; gap: 14px; margin: 8px 0 20px; padding: 18px 20px; border-radius: 18px; background: var(--blue-50); color: var(--lg-ink); font-size: 16px; line-height: 1.55; }
.lg-note svg{ flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-note p{ margin: 0; }

/* the way to reach us, closing each document */
.lg-contact{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding: 24px 26px;
  border-radius: 24px; background: var(--navy); color: #fff;
}
.lg-contact b{ display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.lg-contact span{ font-size: 15px; color: rgba(255, 255, 255, .72); }
.lg-body .lg-contact a{
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: var(--r-btn);
  background: #fff; color: var(--lg-ink); font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.lg-body .lg-contact a:hover{ background: var(--blue-50); }
.lg-contact svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- narrow screens: the contents fold above the text ---------- */
@media (max-width: 1023px){
  .lg-grid{ grid-template-columns: minmax(0, 760px); }
  .lg-toc{ position: static; border-radius: 18px; background: var(--oat); }
  .lg-toc summary{ margin: 0; padding: 18px 20px; cursor: pointer; }
  .lg-toc summary svg{ display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
  .lg-toc details[open] summary svg{ transform: rotate(180deg); }
  .lg-toc ol{ margin: 0 20px 18px; }
}
@media (max-width: 680px){
  .lg-tabs a{ height: 34px; padding: 0 12px; font-size: 13.5px; }
  .lg-body{ font-size: 16.5px; }
  .lg-body h2{ margin-top: 44px; }
  .lg-short{ padding: 22px 20px 20px; }
  .lg-contact{ padding: 22px 20px; }
}

/* the support page (support.html): numbered sign-in steps and the questions, opened one at a time */
.lg-steps{ counter-reset: st; list-style: none; display: grid; gap: 10px; margin: 18px 0; padding: 0; }
.lg-steps li{ counter-increment: st; position: relative; padding: 14px 18px 14px 58px; border-radius: 16px; background: var(--oat); font-size: 16.5px; line-height: 1.5; }
.lg-steps li::before{
  content: counter(st); position: absolute; left: 16px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 9px; background: var(--blue); color: #fff; font: 600 14px/1 var(--font-mono);
}
.lg-faq .faq-list{ display: grid; gap: 8px; margin-top: 18px; }
.lg-faq details{ border-radius: 16px; background: var(--oat); transition: background-color .25s var(--ease); }
.lg-faq details:hover{ background: var(--oat-2); }
.lg-faq summary{
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; list-style: none; cursor: pointer;
  font: 600 16.5px/1.35 var(--font); color: var(--ink);
}
.lg-faq summary::-webkit-details-marker{ display: none; }
.lg-faq summary::after{ content: "+"; flex: none; font: 500 22px/1 var(--font); color: var(--blue); transition: transform .3s var(--ease); }
.lg-faq details[open] summary::after{ transform: rotate(45deg); }
.lg-faq .faq-a{ padding: 0 18px 18px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
