/* Keenduck static site — dark theme, accent aligned to brand orange/teal */
/* Fonts: self-hosted Varta + Material Symbols (see /assets/fonts/*.css) */

/* Material Symbols — use with <span class="material-symbols-outlined">name</span> */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: -0.15em;
}

.kd-ms-nav {
  font-size: 1.125rem;
  opacity: 0.9;
  color: rgba(232, 237, 247, 0.88);
}

.kd-navbar .nav-link.active .kd-ms-nav {
  color: var(--kd-accent-2);
}

.kd-ms-card-title {
  font-size: 1.5rem;
  color: var(--kd-accent-2);
  flex-shrink: 0;
}

.kd-icon-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.kd-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.kd-icon-list li:last-child {
  margin-bottom: 0;
}

.kd-icon-list .material-symbols-outlined {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.125rem;
  color: var(--kd-accent-2);
  opacity: 0.95;
}

.kd-icon-list a {
  color: var(--kd-accent-2);
  text-decoration: none;
}

.kd-icon-list a:hover {
  text-decoration: underline;
}

.kd-feature-icon {
  font-size: 1.75rem;
  color: var(--kd-accent-2);
  opacity: 0.95;
  line-height: 1;
}

:root {
  --kd-font-sans: "Varta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kd-bg: #0b1220;
  --kd-surface: #111a2e;
  --kd-surface-2: #162238;
  --kd-border: rgba(148, 163, 184, 0.18);
  --kd-text: #e8edf7;
  --kd-muted: #94a3b8;
  --kd-accent: #ff7427;
  --kd-accent-2: #22d3ee;
  --kd-radius: 14px;
  --kd-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body.kd-body {
  font-family: var(--kd-font-sans);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 116, 39, 0.1), transparent), var(--kd-bg);
  color: var(--kd-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.kd-navbar {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  --kd-navbar-py: 0.3rem;
  padding-top: var(--kd-navbar-py);
  padding-bottom: var(--kd-navbar-py);
  min-height: 0;
}

.kd-navbar .navbar-brand {
  margin-right: 0.75rem;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0;
}

/* Secondary principal wordmark — readable at header scale */
.kd-navbar-brand-logo {
  display: block;
  height: clamp(46px, 5.1vw, 58px);
  width: auto;
  max-width: min(300px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.kd-plan-section {
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius);
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.09), rgba(17, 26, 46, 0.65));
  box-shadow: var(--kd-shadow);
}

.kd-plan-section .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--kd-text);
}

/* Plan matrix: header row reads as column labels, not another data row */
.kd-plan-table thead.kd-plan-thead tr {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(17, 26, 46, 0.92));
  box-shadow: inset 0 -1px 0 rgba(34, 211, 238, 0.22);
}

.kd-plan-table thead.kd-plan-thead th {
  border-bottom: 2px solid rgba(34, 211, 238, 0.45);
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 0.75rem 1rem;
  vertical-align: middle;
}

.kd-plan-table thead.kd-plan-thead th:first-child {
  text-align: left;
  color: #e2e8f0;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.kd-plan-table thead.kd-plan-thead th:not(:first-child) {
  color: #5eead4;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.kd-plan-section .table.kd-plan-table > :not(caption) > tbody.kd-plan-tbody > tr > td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 400;
}

.kd-plan-section .table.kd-plan-table > :not(caption) > tbody.kd-plan-tbody > tr:first-child > td {
  padding-top: 1.1rem;
}

.kd-plan-table tbody tr:hover {
  background: rgba(34, 211, 238, 0.05);
}

.kd-plan-check {
  color: var(--kd-accent-2);
  font-weight: 600;
}

.kd-plan-dash {
  color: var(--kd-muted);
  opacity: 0.72;
}

.kd-plan-table .kd-plan-ref {
  font-size: 0.68rem;
  font-weight: 600;
  margin-left: 0.12rem;
  white-space: nowrap;
  vertical-align: super;
  line-height: 1;
}

.kd-plan-table .kd-plan-ref a {
  text-decoration: none;
}

.kd-plan-footnotes {
  border-top: 1px solid var(--kd-border);
  padding-top: 0.85rem;
  margin-top: 0.85rem !important;
}

.kd-plan-footnotes ol {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.kd-plan-footnotes li {
  margin-bottom: 0.4rem;
}

.kd-plan-footnotes li:last-child {
  margin-bottom: 0;
}

.kd-section-faq-title {
  letter-spacing: 0.07em;
  font-size: 0.8125rem;
}

.kd-faq-accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.kd-main {
  flex: 1 0 auto;
}

.kd-hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.kd-hero-figure {
  max-width: 520px;
  margin: 0 auto;
}

.kd-hero-figure img {
  max-width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.55));
}

/* Homepage hero — blurred product backdrop + sharp panel + mascot (kd-kadiechar12) */
.kd-home-hero {
  position: relative;
}

.kd-home-hero::before {
  content: "";
  position: absolute;
  inset: -1rem -1.5rem auto -1.5rem;
  height: 65%;
  max-height: 380px;
  background: radial-gradient(ellipse 75% 65% at 70% 40%, rgba(34, 211, 238, 0.1), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.kd-home-hero > .row {
  position: relative;
  z-index: 1;
}

.kd-home-hero-visual {
  position: relative;
  max-width: 560px;
  min-height: 220px;
  padding-bottom: 1rem;
}

@media (min-width: 992px) {
  .kd-home-hero-visual {
    min-height: 260px;
  }
}

.kd-home-hero-blur {
  position: absolute;
  inset: 6% 5% 18% 5%;
  background-image: url("/assets/images/home-hero-backdrop2.png");
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.4) saturate(1.05);
  transform: scale(1.05);
  border-radius: calc(var(--kd-radius) + 6px);
  z-index: 0;
  opacity: 0.92;
}

.kd-home-hero-panel {
  position: relative;
  z-index: 1;
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(34, 211, 238, 0.07);
  overflow: hidden;
  background: var(--kd-surface);
}

.kd-home-hero-shot {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.kd-home-hero-mascot {
  position: absolute;
  right: -5%;
  bottom: -6%;
  width: min(44%, 200px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.48));
}

@media (max-width: 991.98px) {
  .kd-home-hero-mascot {
    width: min(38%, 160px);
    right: -3%;
    bottom: -2%;
  }
}

/* Homepage — value strip, why split, quotes, trust cards */
.kd-home-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.kd-home-checklist .material-symbols-outlined {
  font-size: 1.35rem;
  margin-top: 0.12rem;
}

.kd-home-value-art {
  max-width: min(560px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.kd-home-value-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
  object-fit: cover;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
}

.kd-contact-figure {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.kd-contact-illus {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
  object-fit: cover;
  box-shadow: var(--kd-shadow);
}

.kd-home-first-voices-panel {
  max-width: 52rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(165deg, rgba(17, 26, 46, 0.55), rgba(11, 18, 32, 0.35));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
}

.kd-home-first-voices .kd-section-title {
  letter-spacing: -0.02em;
}

.kd-home-benefit {
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius);
  padding: 1rem 1.1rem;
  height: 100%;
  background: rgba(15, 23, 42, 0.35);
}

.kd-home-why-mascot {
  display: block;
  max-width: min(400px, 92%);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.45));
}

.kd-home-trust-card .kd-feature-icon {
  display: block;
}

/* Homepage suite cards + products page — prompt-generated UI plates */
.kd-suite-plate {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--kd-radius) - 4px);
  border: 1px solid var(--kd-border);
  margin-bottom: 0.75rem;
}

.kd-product-plate {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--kd-radius) - 4px);
  border: 1px solid var(--kd-border);
}

/* Partners page — hero band with backdrop art */
.kd-partners-hero {
  position: relative;
  overflow: hidden;
  background-image: url("/assets/images/partners-hero-backdrop.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--kd-border);
  box-shadow: var(--kd-shadow);
}

.kd-partners-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(11, 18, 32, 0.88) 0%,
    rgba(17, 26, 46, 0.82) 45%,
    rgba(11, 18, 32, 0.85) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.kd-partners-hero > .row {
  position: relative;
  z-index: 1;
}

.kd-partners-primary {
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(165deg, rgba(17, 26, 46, 0.95), rgba(11, 18, 32, 0.88));
}

.kd-partners-illu {
  max-width: min(280px, 100%);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

.kd-partners-contact-heading {
  letter-spacing: 0.07em;
  font-size: 0.8125rem;
}

.kd-partners-contact-card .material-symbols-outlined {
  font-size: 1.75rem;
}

/* Pricing page — hero + trust strip */
.kd-pricing-page {
  --kd-pricing-hero-bg: rgba(15, 23, 42, 0.35);
}

.kd-pricing-hero {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.55), var(--kd-pricing-hero-bg));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.kd-pricing-eyebrow {
  letter-spacing: 0.14em;
  font-weight: 600;
}

.kd-pricing-scope {
  line-height: 1.65;
}

.kd-pricing-trust-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.kd-pricing-trust-wrap--in-hero {
  margin-bottom: 0;
}

.kd-pricing-trust-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.kd-pricing-footnotes {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 1rem;
}

.kd-pricing-footnotes p:last-child {
  padding-left: 0.15rem;
}

.kd-pricing-asterisk a {
  font-weight: 700;
  font-size: 0.85em;
}

.kd-pricing-asterisk a:focus-visible {
  outline: 2px solid var(--kd-accent-2);
  outline-offset: 2px;
  border-radius: 2px;
}

.kd-suite-icon {
  width: 44px;
  height: 44px;
}

.kd-breadcrumb {
  font-size: 0.875rem;
}

.kd-breadcrumb a {
  color: var(--kd-muted);
  text-decoration: none;
}

.kd-breadcrumb a:hover {
  color: var(--kd-text);
}

.kd-spotlight-card .bg-white {
  border: 1px solid var(--kd-border);
}

.kd-hero-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.kd-gradient-text {
  background: linear-gradient(120deg, var(--kd-accent-2), var(--kd-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kd-card {
  background: linear-gradient(160deg, var(--kd-surface), var(--kd-surface-2));
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius);
  box-shadow: var(--kd-shadow);
}

.kd-card img {
  border-radius: calc(var(--kd-radius) - 4px);
}

.kd-product-card-logo {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: min(100%, 220px);
  object-fit: contain;
  object-position: left center;
}

.kd-card img.kd-product-card-logo {
  border-radius: 0;
}

/* Kadie product page hero — blurred app backdrop + sharp screenshots + mascot */
.kd-kadie-hero {
  position: relative;
}

.kd-kadie-hero::before {
  content: "";
  position: absolute;
  inset: -1.25rem -2rem auto -2rem;
  height: 70%;
  max-height: 420px;
  background: radial-gradient(ellipse 80% 70% at 75% 35%, rgba(34, 211, 238, 0.11), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.kd-kadie-hero > [class*="col-"] {
  position: relative;
  z-index: 1;
}

.kd-kadie-hero-visual {
  position: relative;
  max-width: 560px;
  min-height: 260px;
  padding-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .kd-kadie-hero-visual {
    min-height: 300px;
  }
}

.kd-kadie-hero-blur {
  position: absolute;
  inset: 8% 6% 22% 6%;
  background-image: url("/assets/images/kadie-dashboard2.png");
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.42) saturate(1.05);
  transform: scale(1.06);
  border-radius: calc(var(--kd-radius) + 6px);
  z-index: 0;
  opacity: 0.95;
}

.kd-kadie-hero-mock {
  position: relative;
  z-index: 1;
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 211, 238, 0.06);
  overflow: hidden;
  background: var(--kd-surface);
}

.kd-kadie-hero-shot {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.kd-kadie-hero-mascot {
  position: absolute;
  right: -6%;
  bottom: -4%;
  width: min(46%, 220px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
}

@media (max-width: 991.98px) {
  .kd-kadie-hero-mascot {
    width: min(40%, 180px);
    right: -4%;
    bottom: 0;
  }

  .kd-kadie-hero::before {
    inset: -0.5rem -0.75rem auto -0.75rem;
    height: 55%;
  }
}

.kd-kadie-hero-indicators {
  margin-bottom: 0.35rem;
  gap: 0.35rem;
}

.kd-kadie-hero-indicators [data-bs-target] {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(232, 237, 247, 0.35);
  border: 0;
  opacity: 1;
}

.kd-kadie-hero-indicators [data-bs-target].active {
  background-color: var(--kd-accent-2);
}

.kd-kadie-hero-control {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 0.92;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--kd-border);
}

.kd-kadie-hero-control:hover {
  opacity: 1;
}

.kd-kadie-hero-mock .carousel-control-prev {
  left: 0.5rem;
}

.kd-kadie-hero-mock .carousel-control-next {
  right: 0.5rem;
}

.kd-kadie-hero-mock .carousel-control-prev-icon,
.kd-kadie-hero-mock .carousel-control-next-icon {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
  opacity: 0.9;
}

.kd-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 116, 39, 0.15);
  color: #fdba8c;
  border: 1px solid rgba(255, 116, 39, 0.35);
}

.kd-section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kd-footer {
  background: #070b14;
}

.kd-footer a {
  color: var(--kd-muted);
  text-decoration: none;
}

.kd-footer a:hover {
  color: var(--kd-text);
}

/* Footer wordmark: Principal-Secundaria SVG on dark footer background */
.kd-footer-brand {
  max-width: 22rem;
}

.kd-footer-logo-link {
  line-height: 0;
}

.kd-footer-logo {
  display: block;
  max-width: min(320px, 100%);
  width: auto;
  height: auto;
  min-width: 180px;
  min-height: 36px;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.kd-footer .kd-footer-tagline {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.kd-powered-by {
  opacity: 0.92;
  max-width: 132px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.btn-kd-primary {
  --bs-btn-bg: var(--kd-accent);
  --bs-btn-border-color: var(--kd-accent);
  --bs-btn-hover-bg: #ff8f4d;
  --bs-btn-hover-border-color: #ff8f4d;
  --bs-btn-color: #0b1220;
  --bs-btn-font-weight: 600;
}

.btn-kd-ghost {
  --bs-btn-color: var(--kd-text);
  --bs-btn-border-color: var(--kd-border);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.06);
}

.table-responsive {
  border-radius: var(--kd-radius);
  border: 1px solid var(--kd-border);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--kd-text);
  margin-bottom: 0;
}

.table thead th {
  border-bottom-color: var(--kd-border);
  white-space: nowrap;
}

.table td,
.table th {
  border-color: var(--kd-border);
}

/* —— Legal & policy pages (fragments + cookie policy) —— */
.legal-doc {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.kd-legal-page {
  max-width: 100%;
}

/* Full-width chrome (nav + lang note); document body centered as one block */
.kd-legal-layout {
  width: 100%;
  max-width: 100%;
}

.kd-legal-source {
  width: 100%;
  padding-top: 0.25rem;
}

.kd-legal-prose {
  max-width: min(52rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 1.35rem 2.25rem;
  border-radius: var(--kd-radius);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(165deg, rgba(17, 26, 46, 0.5), rgba(11, 18, 32, 0.42));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .kd-legal-prose {
    padding: 2rem 2rem 2.5rem;
  }
}

.kd-legal-lang-banner {
  max-width: min(52rem, 100%);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--kd-radius);
  background: rgba(15, 23, 42, 0.65);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.kd-legal-related {
  max-width: min(52rem, 100%);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: var(--kd-radius);
  background: linear-gradient(145deg, rgba(17, 26, 46, 0.85), rgba(11, 18, 32, 0.55));
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.kd-legal-related-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 1rem;
}

.kd-legal-related-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.kd-legal-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kd-legal-related-list li {
  margin-bottom: 0.4rem;
  padding-left: 0;
  line-height: 1.45;
}

.kd-legal-related-list a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.kd-legal-related-list a:hover {
  color: #fff;
  border-bottom-color: var(--kd-accent-2);
}

.kd-legal-related-current {
  color: #64748b;
  font-weight: 500;
}

/* WordPress / Elementor legal fragments: width comes from .kd-legal-prose (centered) */
.kd-legal-prose .elementor {
  width: 100%;
  max-width: 100%;
}

.kd-legal-prose .elementor-container,
.kd-legal-prose .elementor-column {
  max-width: 100% !important;
}

.kd-legal-prose .elementor-section {
  background: transparent !important;
}

.kd-legal-prose .elementor-background-overlay {
  display: none !important;
}

.kd-legal-prose .elementor-heading-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}

.kd-legal-prose .elementor-widget-text-editor p {
  margin-bottom: 1rem;
}

.kd-legal-prose .bdt-ep-advanced-icon-box-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #e2e8f0;
  margin: 1.75rem 0 0.6rem;
}

.kd-legal-prose .bdt-ep-advanced-icon-box-description p {
  margin-bottom: 0.85rem;
}

.kd-legal-prose .bdt-ep-advanced-icon-box {
  margin-bottom: 0.25rem;
}

.kd-legal-prose ul,
.kd-legal-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.kd-legal-prose li {
  margin-bottom: 0.35rem;
}

/* Hand-authored cookie / short legal articles */
.kd-legal-prose .kd-legal-article {
  max-width: none;
  margin-bottom: 0;
}

.kd-legal-doc-title {
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.kd-legal-doc-meta {
  font-size: 0.9375rem;
}

.kd-legal-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.kd-legal-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

/* Numbered variant (optional): use with .kd-legal-section-num inside the heading */
.kd-legal-section-title:has(.kd-legal-section-num) {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.kd-legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  border-radius: 0.35rem;
  flex-shrink: 0;
}

.kd-legal-list {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.kd-legal-list li {
  margin-bottom: 0.5rem;
}

.legal-doc h2,
.legal-doc h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-doc p,
.legal-doc li {
  color: #cbd5e1;
}

.legal-doc a {
  color: var(--kd-accent-2);
}

.legal-doc a:hover {
  color: #e0f2fe;
}
