:root {
  --bg: #061724;
  --bg-2: #072033;
  --panel: #0c2b40;
  --panel-2: #0a2234;
  --panel-3: #0f3147;
  --text: #f4f8fb;
  --muted: #a9bac8;
  --cyan: #28c7d8;
  --teal: #31c7aa;
  --amber: #f7b733;
  --danger: #ff6b6b;
  --line: rgba(40, 199, 216, 0.35);
  --line-soft: rgba(255,255,255,0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(40, 199, 216, 0.16), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(49, 199, 170, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  color: var(--text);
}
a { color: inherit; }
.cg-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(6, 23, 36, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-home { display: block; line-height: 0; text-decoration: none; border-radius: 12px; }
.brand-home:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.brand-wordmark {
  width: min(420px, 62vw);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.product-pill {
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 18px;
  color: var(--text);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-copy { min-width: 0; }
.brand strong { display: block; font-size: 19px; letter-spacing: -0.01em; }
.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 12px;
  margin: 0 0 10px;
}
.tool-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.header-cta, .primary, .secondary, .nav-link {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.header-cta, .secondary, .nav-link { border: 1px solid var(--line); color: var(--text); background: transparent; }
.nav-link { display: inline-flex; align-items: center; }
.back-link { color: #d9f7fb; }
.primary { background: linear-gradient(135deg, var(--cyan), var(--teal)); color: #04131f; }
.header-cta:hover, .primary:hover, .secondary:hover, .nav-link:hover { transform: translateY(-1px); }
main { width: calc(100% - 40px);
  max-width: 1180px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 36px; align-items: center; padding: 82px 0 36px; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: 0.96; letter-spacing: -0.06em; margin: 0 0 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 14px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.score-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15,49,71,0.95), rgba(10,34,52,0.95));
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.score-card span { color: var(--muted); font-weight: 700; }
.score-ring {
  display: grid;
  place-items: center;
  margin: 24px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--cyan), var(--teal), var(--amber), var(--cyan));
  color: #051520;
  font-size: 34px;
  font-weight: 900;
}
.score-card p { color: var(--muted); line-height: 1.55; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 18px 0 56px; }
.trust-row div {
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--cyan);
  background: rgba(12,43,64,0.75);
  border-radius: 18px;
  padding: 18px;
}
.trust-row strong, .trust-row span { display: block; }
.trust-row span { color: var(--muted); margin-top: 6px; }

.preview {
  position: relative;
  overflow: hidden;
  background: rgba(10, 34, 52, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.preview-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
.preview-score-card,
.unlock-card,
.lead-form {
  background: rgba(15,49,71,0.62);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 24px;
}

.mini-score {
  width: 150px;
  height: 150px;
  margin: 8px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 10px solid var(--amber);
  background: var(--panel-2);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.04);
}
.mini-score span {
  display: block;
  color: var(--text);
  font-size: 46px;
  line-height: 1;
  font-weight: 950;
}

.preview-box {
  margin-top: 18px;
  border-left: 4px solid var(--cyan);
  background: rgba(6,21,33,0.42);
  border-radius: 16px;
  padding: 16px 18px;
}
.preview-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}
.lead-form {
  margin-top: 24px;
}
.section-title.compact {
  margin-bottom: 18px;
}

.diagnostic-shell,
.report {
  position: relative;
  overflow: hidden;
  background: rgba(10, 34, 52, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.section-title { margin-bottom: 26px; }
.section-title p:not(.eyebrow) { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(6, 23, 36, 0.8);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(40,199,216,0.55); }
.hp { position: absolute; left: -10000px; opacity: 0; }
.question-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.question-section header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.weight-pill {
  background: rgba(40,199,216,0.12);
  color: var(--cyan);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.question {
  background: rgba(15,49,71,0.62);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 14px;
}
.question p { margin: 0 0 14px; font-weight: 800; color: var(--text); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  background: rgba(6,21,33,0.56);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.option-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.option-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}
.option:has(input:checked) {
  border-color: var(--cyan);
  background: rgba(40,199,216,0.12);
  color: var(--text);
}
.option:has(input:checked) .option-mark { border-color: var(--cyan); }
.option:has(input:checked) .option-mark::after { background: var(--cyan); }
.consent-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 26px;
  line-height: 1.45;
}
.consent-check input { width: auto; margin-top: 4px; }
.form-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hidden { display: none; }
.report-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.report-watermark img {
  width: 640px;
  max-width: 78%;
  opacity: 0.05;
  filter: grayscale(1) brightness(1.8);
}
.print-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.print-header img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.print-brand-title { font-size: 20px; font-weight: 900; }
.print-brand-subtitle { color: var(--muted); font-weight: 700; }
.report-head { position: relative; z-index: 1; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 28px; align-items: center; }
.big-score {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--score-color) var(--score-deg), rgba(255,255,255,0.10) 0);
  position: relative;
}
.big-score::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--panel-2);
}
.big-score span { position: relative; z-index: 1; font-size: 54px; font-weight: 950; }
.band {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 900;
}
.muted, .status-text { color: var(--muted); }
.bars { position: relative; z-index: 1; display: grid; gap: 14px; margin: 26px 0; }
.bar-row {
  display: grid;
  grid-template-columns: 260px minmax(220px, 1fr) 48px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  break-inside: avoid;
  page-break-inside: avoid;
}
.bar-row strong { color: var(--text); font-size: 15px; line-height: 1.3; }
.bar-track { height: 12px; background: rgba(255,255,255,0.10); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; }
.report-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.report-box {
  background: rgba(15,49,71,0.7);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.report-box ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.5; }
.mt, .roadmap-title { margin-top: 36px; }
.next-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.next-steps div {
  border-left: 4px solid var(--cyan);
  padding: 12px 14px;
  background: rgba(6,21,33,0.45);
  border-radius: 14px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.report-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.report-actions { position: relative; z-index: 1; display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
footer {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 24px auto 48px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
}
.footer-home-link { color: var(--cyan); font-weight: 800; text-decoration: none; }
.footer-home-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .hero, .report-head, .preview-grid { grid-template-columns: 1fr; }
  .trust-row, .grid.two, .options, .report-grid, .next-steps { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .cg-header { position: static; align-items: flex-start; }
  .tool-nav { width: 100%; justify-content: flex-start; }
  .header-cta, .nav-link { padding: 10px 14px; font-size: 14px; }
  .brand-wordmark { height: 52px; }
  footer { flex-direction: column; gap: 8px; }
}
@media print {
  @page { margin: 0.55in; size: A4 portrait; }
  html, body { width: 100%; }
  body {
    background: #fff;
    color: #111;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .cg-header, .hero, .trust-row, .diagnostic-shell, .preview, footer, .report-actions { display: none !important; }
  main { width: 100%; margin: 0; }
  .report {
    display: block !important;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #111;
    background: #fff;
    overflow: visible;
  }
  .report-watermark img {
    opacity: 0.08;
    filter: grayscale(0.2) brightness(1);
  }
  .print-header {
    display: flex !important;
    border-bottom-color: #d7dee4;
    margin-bottom: 18px;
  }
  .print-header img { height: 68px; }
  .print-brand-subtitle, .muted, .status-text, .report-note, .lead { color: #4c5a67; }
  .report-head {
    grid-template-columns: 170px 1fr;
    gap: 20px;
    align-items: center;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .big-score { width: 150px; height: 150px; }
  .big-score span { font-size: 38px; }
  .big-score::after { background: #fff; }
  .band { background: #eef3f7; color: #111; }
  .bars {
    gap: 12px;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .bar-row {
    grid-template-columns: 230px minmax(180px, 1fr) 42px !important;
    gap: 10px;
    align-items: center;
    color: #4c5a67;
  }
  .bar-track {
    border: 1px solid #d7dee4;
    background: #f4f7f9;
    height: 12px;
  }
  .bar-fill {
    display: block;
    height: 100%;
  }
  .report-grid {
    display: block;
    margin-top: 18px;
  }
  .report-box {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #d7dee4;
    background: #fff;
  }
  .next-steps {
    display: block;
    margin-top: 18px;
  }
  .next-steps div {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #d7dee4;
    border-left: 4px solid #29cad9;
    background: #fff;
  }
  .roadmap-title, .report-note {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Production hardening: print/PDF readability overrides */
@media print {
  .print-header img {
    height: 58px !important;
    max-width: 174px !important;
    object-fit: contain !important;
  }
  .print-brand-title,
  .report h1,
  .report h2,
  .report h3,
  .report strong,
  .bar-row strong,
  .bar-row span,
  .report-box h3,
  .report-box p,
  .next-steps strong,
  .next-steps p {
    color: #111827 !important;
  }
  .report-box ul,
  .report-box li {
    color: #374151 !important;
  }
  .bar-track {
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
  }
  .bar-fill {
    min-width: 2px;
  }
}

/* Production hardening: keep watermark behind content without washing out headings */
@media print {
  .report-watermark {
    align-items: flex-start !important;
    padding-top: 210px !important;
  }
  .report-watermark img {
    opacity: 0.035 !important;
  }
  .big-score {
    border: 10px solid var(--score-color) !important;
    background: #fff !important;
  }
  .big-score::after {
    display: none !important;
  }
}

/* Production hardening: score circle centering in PDF engines */
@media print {
  .big-score {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  .big-score span {
    position: static !important;
    z-index: 1 !important;
    display: block !important;
  }
}


/* v5 strict: uploaded primary logo lockup and print readability */
@media print {
  .print-header img {
    width: 260px !important;
    height: auto !important;
    max-width: 260px !important;
    object-fit: contain !important;
  }
  .report-watermark img {
    width: 720px !important;
    max-width: 86% !important;
    opacity: 0.045 !important;
  }
  .bar-row strong {
    color: #243241 !important;
    opacity: 1 !important;
    font-weight: 800 !important;
  }
  .bar-row span {
    color: #243241 !important;
    opacity: 1 !important;
  }
  .bar-track {
    border: 1px solid #cbd5e1 !important;
    background: #eef3f7 !important;
  }
  .bar-fill {
    display: block !important;
    opacity: 1 !important;
  }
}
@media (max-width: 860px) {
  .brand { align-items: flex-start; flex-direction: column; gap: 10px; }
  .brand-wordmark { width: min(320px, 86vw); height: auto; }
  .product-pill { border-left: 0; padding-left: 0; font-size: 16px; }
}


/* v7.2 print/PDF fix: visible repeated watermark and non-orphaned roadmap section */
.roadmap-block {
  position: relative;
  z-index: 1;
  margin-top: 36px;
}
.roadmap-block .roadmap-title {
  margin-top: 0;
}

@media print {
  .report {
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
  }
  .report > *:not(.report-watermark) {
    position: relative !important;
    z-index: 2 !important;
  }
  .report-watermark {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  .report-watermark img {
    width: 560px !important;
    max-width: 74% !important;
    opacity: 0.08 !important;
    filter: none !important;
  }
  .roadmap-block {
    break-before: page !important;
    page-break-before: always !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-top: 0 !important;
    padding-top: 0.05in !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .roadmap-title {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
  .next-steps {
    margin-top: 0 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .next-steps div {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-bottom: 12px !important;
  }
}


/* v7.3 PDF/resource-style print polish: repeated footer, visible text watermark, cleaner page breaks */
.print-page-footer,
.print-watermark-text {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0.55in 0.55in 0.78in;
  }

  .report {
    padding-bottom: 0.28in !important;
  }

  .print-page-footer {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0.16in !important;
    z-index: 20 !important;
    padding-top: 7px !important;
    border-top: 1px solid #d7dee4 !important;
    color: #4c5a67 !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    background: #ffffff !important;
    pointer-events: none !important;
  }

  .print-watermark-text {
    display: block !important;
    position: fixed !important;
    top: 46% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-28deg) !important;
    z-index: 3 !important;
    color: #0b4250 !important;
    opacity: 0.045 !important;
    font-size: 76px !important;
    font-weight: 950 !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
    pointer-events: none !important;
  }

  .report-watermark {
    z-index: 1 !important;
  }

  .report-watermark img {
    width: 610px !important;
    max-width: 82% !important;
    opacity: 0.10 !important;
  }

  .report > *:not(.report-watermark):not(.print-watermark-text):not(.print-page-footer) {
    position: relative !important;
    z-index: 4 !important;
  }

  .report-grid {
    break-after: auto !important;
    page-break-after: auto !important;
  }

  .roadmap-block {
    break-before: page !important;
    page-break-before: always !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    margin-top: 0 !important;
    padding-top: 0.05in !important;
    padding-bottom: 0.28in !important;
  }

  .roadmap-block .report-note {
    margin-top: 18px !important;
    padding-top: 12px !important;
    border-top: 1px solid #d7dee4 !important;
    color: #4c5a67 !important;
    font-size: 10px !important;
  }
}

/* v7.4 PDF footer reliability fix: render footer from body so Chrome prints it on every page */
@media print {
  body::after {
    content: "© 2026 Cipher Guardians. All rights reserved. https://thecipherguardians.com" !important;
    display: block !important;
    position: fixed !important;
    left: 0.55in !important;
    right: 0.55in !important;
    bottom: 0.18in !important;
    height: 0.18in !important;
    z-index: 2147483647 !important;
    padding-top: 6px !important;
    border-top: 1px solid #d7dee4 !important;
    background: #ffffff !important;
    color: #4c5a67 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    font-family: Inter, Arial, sans-serif !important;
    pointer-events: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Keep the DOM footer as fallback, but avoid duplicate footer if browser renders body::after */
  .print-page-footer {
    display: none !important;
  }

  /* Reserve safe printable space for the fixed footer */
  .report,
  .roadmap-block {
    padding-bottom: 0.42in !important;
  }
}

/* ============================================
   SHARED COOKIE CONSENT BANNER
   Required because /script.js injects the consent UI on this standalone tool page.
============================================ */
.cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  background: #ffffff;
  color: #2c3e50;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
  padding: 20px;
  text-align: left;
}

.cookie-consent-content {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-consent-content h2 {
  margin: 0 0 8px;
  color: #2c3e50;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.cookie-consent-content p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.5;
}

.cookie-consent-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.cookie-consent-options div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}

.cookie-consent-options strong,
.cookie-consent-options span {
  display: block;
}

.cookie-consent-options strong {
  color: #1e293b;
}

.cookie-consent-options span {
  margin-top: 4px;
  color: #52616b;
  font-size: 0.92rem;
  line-height: 1.4;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.cookie-consent-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
}

.cookie-consent-actions .primary-button {
  background: #f1c40f;
  color: #2c3e50;
}

.cookie-consent-actions .primary-button:hover {
  background: #d4ac0d;
}

.cookie-consent-actions .secondary-button {
  background: #e5e7eb;
  color: #2c3e50;
}

.cookie-consent-actions .secondary-button:hover {
  background: #d1d5db;
}

.cookie-consent-actions button:focus-visible,
.cookie-consent-link a:focus-visible {
  outline: 3px solid #28c7d8;
  outline-offset: 3px;
}

.cookie-consent-link {
  margin-top: 10px !important;
  font-size: 0.9rem;
}

.cookie-consent-link a {
  color: #006a9c;
  font-weight: 800;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 16px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions button {
    width: 100%;
  }
}

