/* Furiosa CRM v2: privacy policy and terms of business. Wording is unchanged; this is layout only. */

.lg-hero { padding: clamp(8.5rem, 15vw, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.lg-hero h1 { max-width: 18ch; }
.lg-hero .lede { margin-top: 1.2rem; }
.lg-facts { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.lg-facts span {
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--dark-line);
  background: rgba(255,255,255,.04); font-size: .9rem; font-weight: 500; color: var(--on-dark);
}
.lg-quicks { margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.lg-quick {
  height: 100%; display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 18px; text-decoration: none; color: #fff; font-weight: 700; line-height: 1.3;
  background: rgba(255,255,255,.05); border: 1px solid var(--dark-line);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lg-quick:hover { background: rgba(0,176,198,.14); border-color: var(--glow); }
.lg-quick small { display: block; font-weight: 500; font-size: .82rem; color: var(--glow); margin-bottom: .25rem; }
@media (max-width: 980px) { .lg-quicks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lg-quicks { grid-template-columns: 1fr; } }

.lg-body { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 7rem); background: var(--white); }
.lg-grid { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lg-toc { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow: auto; padding: 1.2rem; border-radius: 18px; background: var(--bg); }
.lg-toc-title { font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.lg-toc ol { display: grid; gap: .1rem; }
.lg-toc a { display: flex; gap: .6rem; padding: .4rem .5rem; border-radius: 8px; text-decoration: none; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.lg-toc a span { flex: none; min-width: 1.4rem; font-weight: 700; color: var(--teal-ink); }
.lg-toc a:hover { background: #fff; color: var(--navy); }

.lg-doc { max-width: 70ch; font-size: 1.02rem; }
.lg-doc p, .lg-doc li { line-height: 1.75; color: #3f4a57; margin-bottom: 1rem; }
.lg-doc ul, .lg-doc ol { margin: 0 0 1.2rem 1.2rem; }
.lg-doc ul { list-style: disc; }
.lg-doc ul li::marker { color: var(--teal); }
.lg-doc strong { color: var(--text); }
.lg-doc a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,176,198,.5); }
.lg-doc h2 {
  display: flex; align-items: center; gap: .9rem; scroll-margin-top: 104px;
  margin: 3rem 0 1.1rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-family: var(--display); font-stretch: 108%; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.15; color: var(--navy);
}
.lg-num {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--glow); font-family: var(--body); font-stretch: 100%; font-size: 1rem; letter-spacing: 0;
}
.lg-doc h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 1.8rem 0 .7rem; }
.lg-intro {
  padding: 1.5rem 1.6rem; border-radius: 20px; margin-bottom: 1rem;
  background: var(--teal-light); border: 1px solid var(--teal-mid); border-left: 5px solid var(--teal);
}
.lg-intro p { color: var(--navy); font-size: 1.06rem; }
.lg-intro p:last-child { margin-bottom: 0; }
.lg-callout {
  display: flex; gap: 1rem; align-items: flex-start; margin: 1.2rem 0 1.4rem; padding: 1.3rem 1.4rem;
  border-radius: 18px; background: var(--navy); color: var(--on-dark);
}
.lg-callout .i { color: var(--glow); margin-top: .2rem; }
.lg-callout p { color: var(--on-dark); margin-bottom: .4rem; }
.lg-callout p:last-child { margin-bottom: 0; }
.lg-callout strong { color: #fff; }
.lg-callout a { color: var(--glow); }
.lg-doc .def-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.6rem; font-size: .95rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lg-doc .def-table th, .lg-doc .def-table td { text-align: left; vertical-align: top; padding: .85rem 1rem; line-height: 1.6; border-bottom: 1px solid var(--line); color: #3f4a57; }
.lg-doc .def-table th { background: var(--bg); color: var(--navy); font-weight: 700; }
.lg-doc .def-table tr:last-child td { border-bottom: 0; }
.lg-doc .def-table td:first-child { font-weight: 600; color: var(--navy); }
.lg-updated { margin-top: 2.5rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--bg); font-weight: 600; color: var(--navy) !important; }

@media (max-width: 900px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-toc { position: static; max-height: none; }
  .lg-toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lg-doc .def-table, .lg-doc .def-table tbody, .lg-doc .def-table tr, .lg-doc .def-table td, .lg-doc .def-table th { display: block; width: 100%; }
  .lg-doc .def-table thead { display: none; }
  .lg-doc .def-table tr { border-bottom: 1px solid var(--line); }
  .lg-doc .def-table td { border-bottom: 0; padding: .5rem 1rem; }
  .lg-doc .def-table td:first-child { padding-top: .9rem; }
  .lg-doc .def-table tr:last-child { border-bottom: 0; }
}
