/* =============================================================
   SVIGRAD — legal pages (privacy + cookies)
   ============================================================= */

.legal-page {
   background: #ffffff;
   color: #222222;
   font-family: inherit;
}

.legal-hero {
   position: relative;
   background: #222222;
   color: #ffffff;
   padding: 220px 0 80px;
   overflow: hidden;
}

.legal-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background: radial-gradient(1200px 380px at 78% -10%, rgba(30, 111, 168, .38), transparent 60%);
   pointer-events: none;
}

.legal-hero__inner {
   position: relative;
   max-width: 80rem;
   margin-inline: auto;
   padding-inline: 2rem;
}

.legal-breadcrumb {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-size: 0.85rem;
   color: rgba(255, 255, 255, .55);
   margin-bottom: 1.5rem;
}

.legal-breadcrumb a {
   color: rgba(255, 255, 255, .7);
   transition: color .2s ease;
}

.legal-breadcrumb a:hover { color: #ffffff; }

.legal-breadcrumb span[aria-current] { color: rgba(255, 255, 255, .9); }

.legal-eyebrow {
   display: inline-block;
   font-size: 0.78rem;
   font-weight: 600;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: #7FB8DD;
   margin-bottom: 1rem;
}

.legal-hero__title {
   font-size: clamp(2.4rem, 5vw, 3.75rem);
   font-weight: 700;
   line-height: 1.05;
   letter-spacing: -0.01em;
   margin-bottom: 1.25rem;
   max-width: 22ch;
}

.legal-hero__meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.6rem 1.25rem;
   font-size: 0.95rem;
   color: rgba(255, 255, 255, .7);
}

.legal-hero__meta .dot {
   width: 4px;
   height: 4px;
   border-radius: 9999px;
   background: rgba(255, 255, 255, .4);
}

.legal-hero__meta strong { color: #ffffff; font-weight: 600; }

/* Body layout */
.legal-body {
   max-width: 80rem;
   margin-inline: auto;
   padding: 4.5rem 2rem 5.5rem;
   display: grid;
   grid-template-columns: 1fr;
   gap: 3rem;
}

@media (min-width: 1024px) {
   .legal-body {
      grid-template-columns: 260px 1fr;
      gap: 5rem;
      padding-top: 5.5rem;
   }
}

/* TOC */
.legal-toc { position: relative; }

@media (min-width: 1024px) {
   .legal-toc { position: sticky; top: 120px; align-self: start; }
}

.legal-toc__label {
   font-size: 0.72rem;
   font-weight: 700;
   letter-spacing: 0.16em;
   text-transform: uppercase;
   color: #9aa19d;
   margin-bottom: 1.1rem;
}

.legal-toc__list {
   list-style: none;
   margin: 0;
   padding: 0;
   border-left: 1px solid #e6e8e7;
}

.legal-toc__list a {
   display: block;
   padding: 0.5rem 0 0.5rem 1.1rem;
   margin-left: -1px;
   border-left: 2px solid transparent;
   font-size: 0.92rem;
   line-height: 1.4;
   color: #6B726E;
   transition: color .18s ease, border-color .18s ease;
}

.legal-toc__list a:hover { color: #1E6FA8; }

.legal-toc__list a.is-active {
   color: #1E6FA8;
   font-weight: 600;
   border-left-color: #1E6FA8;
}

/* Content */
.legal-content { max-width: 46rem; }

.legal-intro {
   font-size: 1.2rem;
   line-height: 1.7;
   color: #3a3f3d;
   padding-bottom: 2rem;
   margin-bottom: 2.5rem;
   border-bottom: 1px solid #eceeed;
}

.legal-section {
   scroll-margin-top: 120px;
   padding-bottom: 2.75rem;
   margin-bottom: 2.75rem;
   border-bottom: 1px solid #f0f1f0;
}

.legal-section:last-child { border-bottom: 0; margin-bottom: 0; }

.legal-section__num {
   display: inline-block;
   font-size: 0.8rem;
   font-weight: 700;
   letter-spacing: 0.1em;
   color: #1E6FA8;
   margin-bottom: 0.5rem;
}

.legal-section h2 {
   font-size: 1.6rem;
   font-weight: 600;
   line-height: 1.2;
   color: #222222;
   margin-bottom: 1.1rem;
   letter-spacing: -0.01em;
}

.legal-section h3 {
   font-size: 1.1rem;
   font-weight: 600;
   color: #222222;
   margin: 1.75rem 0 0.65rem;
}

.legal-section p {
   font-size: 1.0625rem;
   line-height: 1.75;
   color: #4a4f4d;
   margin-bottom: 1.1rem;
}

.legal-section a {
   color: #1E6FA8;
   font-weight: 500;
   text-decoration: underline;
   text-underline-offset: 2px;
   text-decoration-color: rgba(30, 111, 168, .35);
   transition: text-decoration-color .2s ease;
}

.legal-section a:hover { text-decoration-color: #1E6FA8; }

.legal-section ul {
   list-style: none;
   margin: 0 0 1.3rem;
   padding: 0;
}

.legal-section ul li {
   position: relative;
   padding-left: 1.6rem;
   margin-bottom: 0.7rem;
   font-size: 1.0625rem;
   line-height: 1.65;
   color: #4a4f4d;
}

.legal-section ul li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 0.62em;
   width: 7px;
   height: 7px;
   border-radius: 2px;
   background: #1E6FA8;
   transform: rotate(45deg);
}

.legal-section ul li strong { color: #222222; font-weight: 600; }

/* Note box */
.legal-note {
   background: #F4F8FB;
   border: 1px solid #dceaf4;
   border-radius: 0.5rem;
   padding: 1.25rem 1.4rem;
   margin: 1.5rem 0;
}

.legal-note p { margin: 0; font-size: 0.98rem; color: #2c3a44; }
.legal-note strong { color: #1E6FA8; }

/* Contact box */
.legal-contact {
   margin-top: 3rem;
   background: #222222;
   color: #ffffff;
   border-radius: 0.75rem;
   padding: 2.25rem;
}

.legal-contact h2 { color: #ffffff; font-size: 1.4rem; font-weight: 600; margin-bottom: 0.75rem; }
.legal-contact p { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }

.legal-contact__rows { display: grid; gap: 0.85rem; }

.legal-contact__row {
   display: flex;
   align-items: center;
   gap: 0.7rem;
   font-size: 1rem;
   color: rgba(255,255,255,.9);
}

.legal-contact__row svg { width: 1.1rem; height: 1.1rem; color: #7FB8DD; flex-shrink: 0; }
.legal-contact__row a { color: #ffffff; transition: color .2s ease; }
.legal-contact__row a:hover { color: #7FB8DD; }

/* Disclaimer */
.legal-disclaimer { max-width: 80rem; margin: 0 auto; padding: 0 2rem; }

.legal-disclaimer__inner {
   background: #FBF3E6;
   border: 1px solid #f0e0c0;
   color: #7a5a20;
   border-radius: 0.5rem;
   padding: 0.9rem 1.2rem;
   font-size: 0.9rem;
   line-height: 1.55;
   margin-top: 2rem;
}

.legal-disclaimer__inner strong { color: #6b4d18; }
