/* Launch content: calculator, report, person, mobile bar, cookies.
   Colors stay on the existing tokens. */
:root {
  --ink: #0b1b2d;
  --ink-2: #3b536e;
  --ink-3: #6a829e;
  --bg: #f8fafd;
  --surface: #f2f7fa;
  --line: #e0eaf0;
  --line-strong: #c2d6e3;
  --accent: #0088cc;
  --accent-dark: #006b9e;
  --accent-tint: #e5f3fa;
  --radius: 10px;
  --gutter: 24px;
  --header-h: 74px;
  --wrap: 1200px;
  --mobile-bar-h: 78px;
  --shadow: 0 2px 4px rgba(11, 27, 45, .04), 0 12px 32px -16px rgba(11, 27, 45, .16);
}

html:has(body.legal-site) {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

.legal-site {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.legal-site *,
.legal-site *::before,
.legal-site *::after {
  box-sizing: border-box;
}

.legal-site a {
  color: inherit;
}

.legal-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background: none;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.legal-site .btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.legal-drawer .brand img {
  height: 40px;
  width: auto;
}

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11, 27, 45, .06);
}

.site-head .navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-head .brand img {
  display: block;
  height: 40px;
  width: auto;
}

.site-head:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.site-head nav.links {
  display: flex;
  gap: 26px;
}

.site-head nav.links a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
}

.site-head.scrolled nav.links a {
  color: var(--ink-2);
}

.site-head nav.links a:hover,
.site-head nav.links a[aria-current="page"] {
  color: #fff;
}

.site-head.scrolled nav.links a:hover,
.site-head.scrolled nav.links a[aria-current="page"] {
  color: var(--ink);
}

.site-head:not(.scrolled) nav.links a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-head.scrolled nav.links a[aria-current="page"] {
  font-weight: 600;
}

.site-head .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-head .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.site-head .btn-primary,
.legal-foot .btn-primary,
.legal-site .cookie-banner .btn-primary,
.legal-site .mobile-bar .btn-primary {
  background: var(--accent);
  color: #fff;
}

.site-head .btn-wa {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}

.site-head .burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.site-head .burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.site-head.scrolled .burger span {
  background: var(--ink);
}

.legal-site.menu-open {
  overflow: hidden;
}

.legal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(6, 14, 24, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}

.legal-site.menu-open .legal-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s ease;
}

.legal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(420px, 88vw);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 28px calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(0, 136, 204, .22) 0%, transparent 60%),
    var(--ink);
  color: #fff;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .45s;
}

.legal-site.menu-open .legal-drawer {
  transform: none;
  visibility: visible;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.legal-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  margin-bottom: 20px;
}

.legal-drawer .brand img {
  filter: brightness(0) invert(1);
}

.legal-drawer-close {
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

@media (hover: hover) {
  .legal-drawer-close:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
  }
}

.legal-drawer-close:focus-visible,
.legal-drawer-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.legal-drawer-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 6px;
}

.legal-drawer-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.legal-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  transition: color .18s ease, padding .25s ease;
}

.legal-drawer-nav .n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .35);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

.legal-drawer-nav a[aria-current="page"] {
  color: var(--accent);
}

.legal-drawer-nav a[aria-current="page"] .n {
  color: var(--accent);
}

@media (hover: hover) {
  .legal-drawer-nav a:hover {
    padding-left: 4px;
  }
}

.legal-drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-drawer-foot .btn {
  width: 100%;
}

.legal-drawer-foot .btn-wa-wide {
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .35);
  color: #fff;
}

.legal-drawer-foot .btn-wa-wide:hover {
  background: rgba(37, 211, 102, .2);
  border-color: rgba(37, 211, 102, .6);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(67, 56, 202, .22), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%234338ca' /%3E%3Cstop offset='100%25' stop-color='%23ec4899' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g1)' fill-opacity='0.28' d='M0,320L48,341.3C96,363,192,405,288,416C384,427,480,405,576,378.7C672,352,768,320,864,320C960,320,1056,352,1152,362.7C1248,373,1344,363,1392,357.3L1440,352L1440,800L0,800Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: auto, cover;
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  padding: calc(var(--header-h) + 48px) 24px 80px;
  text-align: center;
}

.legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, .95);
  background: rgba(0, 136, 204, .12);
  border: 1px solid rgba(82, 184, 232, .35);
  border-radius: 999px;
}

.legal-hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 136, 204, .85);
}

.legal-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.legal-hero-back {
  margin: 20px auto 0;
  max-width: 36ch;
}

.legal-hero-back a {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease;
}

.legal-hero-back a:hover {
  color: #fff;
}

.legal-hero-back a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-main {
  max-width: 860px;
  margin: -40px auto 0;
  padding: 0 24px 72px;
}

@keyframes legal-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px -16px rgba(11, 27, 45, .16);
  padding: clamp(28px, 4vw, 48px);
  animation: legal-fade-in .55s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .legal-card {
    animation: none;
  }
}

.legal-toc {
  display: grid;
  gap: 8px 20px;
  margin: 0 0 32px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

@media (min-width: 560px) {
  .legal-toc {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-toc a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-toc a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.legal-card h2 {
  margin: 36px 0 12px;
  padding: 28px 0 0 14px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal-card h2:first-child,
.legal-toc + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-card p {
  margin: 0 0 14px;
  max-width: 72ch;
  color: var(--ink-2);
  line-height: 1.65;
}

.legal-card a,
.legal-card .linkish {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s ease;
}

.legal-card a:hover,
.legal-card .linkish:hover {
  color: var(--accent);
}

.legal-card .linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.legal-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, .55);
  padding: 28px 24px;
}

.legal-foot .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.legal-foot a,
.legal-foot button {
  color: rgba(255, 255, 255, .7);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color .18s ease;
}

.legal-foot a:hover,
.legal-foot button:hover {
  color: #fff;
}

.legal-foot nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .site-head nav.links {
    display: none;
  }

  .site-head .burger {
    display: flex;
  }

  .site-head .btn-primary,
  .site-head .btn-wa,
  .nav-actions .btn-wa {
    display: none;
  }
}

.hero.hero-slide-1 {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 40px;
}

@media (min-width: 768px) {
  .hero-unit {
    min-height: min(82vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero.hero-slide-1 {
    flex: 1;
    padding-bottom: 56px;
  }
}

.hero h1,
.hero h2,
.hero strong {
  color: #fff;
}

.hero .hero-copy .lead {
  color: rgba(255, 255, 255, .74);
}

.pricing-cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-header .amount {
  flex-wrap: wrap;
}

.pricing-card.highlight.standard::before {
  content: 'Standard';
}

.calc-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
}

.calc-sliders {
  padding: 18px 22px 20px;
}

.calc-result {
  padding: 18px 20px 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 136, 204, .2), transparent 55%),
    var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.calc-panel-kicker {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.calc-panel-kicker--light {
  color: rgba(255, 255, 255, .5);
}

.calc-field {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.calc-field:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.calc-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  cursor: pointer;
}

.calc-field-label {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.calc-field-value {
  flex: none;
  min-width: 2.25rem;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--range-pct, 50%), var(--line) var(--range-pct, 50%), var(--line) 100%);
  cursor: pointer;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 136, 204, .35);
  transition: transform .15s ease;
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 136, 204, .35);
}

.calc-field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: var(--line);
}

.calc-field input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.08);
}

.calc-compare {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.calc-row:last-child:not(.calc-row--og) {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-row-label {
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .78);
}

.calc-row-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.calc-row-amount {
  flex: none;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}

.calc-compare .calc-row.calc-row--og {
  margin-top: 4px;
  padding: 13px 14px 18px;
  border: 1px solid rgba(0, 136, 204, .45);
  border-radius: 10px;
  background: rgba(0, 136, 204, .12);
  align-items: flex-start;
}

.calc-row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.calc-row-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.calc-row--og .calc-row-tag {
  display: block;
  line-height: 1.4;
}

.calc-row--og .calc-row-amount {
  font-size: 1.15rem;
  color: #bae6fd;
  padding-left: 8px;
  line-height: 1.2;
  padding-top: 1px;
}

.calc-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .45);
}


.person {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.avatar-r {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.protect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mobile-bar {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 14.5px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


@media (max-width: 1024px) {
  .pricing-cards.cols-3,
  .protect-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-result {
    border-radius: 0;
  }

  .calc-sliders {
    padding: 16px 18px 14px;
  }

  .calc-result {
    padding: 16px 18px 18px;
  }

  .calc-field {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .calc-panel-kicker {
    margin-bottom: 10px;
  }

  .calc-note {
    margin-top: 10px;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 32px rgba(11, 27, 45, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-bar .mobile-bar-btn {
    display: inline-flex;
    min-height: 52px;
    padding: 12px 14px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    border-radius: 12px;
    border-width: 0;
    box-shadow: 0 3px 10px rgba(11, 27, 45, .14);
  }

  .mobile-bar .mobile-bar-btn svg {
    flex-shrink: 0;
  }

  .mobile-bar .mobile-bar-btn.mobile-bar-call {
    background: linear-gradient(180deg, #132a45 0%, var(--ink) 100%);
    color: #fff;
    border-color: transparent;
  }

  .mobile-bar .mobile-bar-btn.mobile-bar-call:active {
    transform: scale(.98);
  }

  .mobile-bar .mobile-bar-btn.mobile-bar-wa {
    background: linear-gradient(180deg, #2fe06f 0%, #25D366 55%, #1aad52 100%);
    color: #fff;
    border-color: #1aad52;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  }

  .mobile-bar .mobile-bar-btn.mobile-bar-wa:active {
    transform: scale(.98);
  }

  .cookie-banner {
    bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
  }

  .site-head .brand img { height: 34px; }
  .site-head .burger { margin-right: -10px; }

  .hero .cta-row .btn {
    width: 100%;
  }

  .hero.hero-slide-1 {
    align-items: flex-start;
  }

}
