:root {
  --bg: #0b0f17;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --accent: #7c5cff;
  /* fiolet */
  --accent2: #2dd4bf;
  /* teal */
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;

  --max: 1120px;
  --pad: clamp(16px, 3.5vw, 28px);
  --header-height: 56px;

  --text-huge: 28px;
  --text-big: 18px;
  --text-normal: 16px;
  --text-small: 14px;
  --text-note: 13px;

  --lh-big: 1.55;
  --lh-normal: 1.6;
  --lh-small: 1.55;
  --lh-note: 1.45;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 15% 10%, rgba(124, 92, 255, 0.18), transparent 55%),
    radial-gradient(900px 700px at 85% 15%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(900px 900px at 50% 95%, rgba(124, 92, 255, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

body.consent-banner-open {
  padding-bottom: 170px;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - var(--pad)*2));
  margin: 0 auto;
}

/* Subtelna siatka tla */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 15%, black 0%, transparent 70%);
  opacity: 0.35;
  z-index: 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 23, 0.65);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 180ms ease;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-note);
  line-height: var(--lh-note);
  font-weight: 600;
}

.lang-toggle .lang-flag {
  font-size: var(--text-normal);
  line-height: var(--lh-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: 160ms ease;
  font-weight: 600;
  font-size: var(--text-small);
  line-height: var(--lh-small);
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  border-color: rgba(124, 92, 255, 0.45);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.20), rgba(45, 212, 191, 0.12));
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.18);
}

.btn-primary:hover {
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 18px 60px rgba(124, 92, 255, 0.22);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: var(--text-note);
  line-height: var(--lh-note);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  animation: pulse 2000ms infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    background: var(--ok);
  }

  50% {
    transform: scale(1.18);
    box-shadow: 0 0 18px 6px rgba(45, 212, 191, 0.12);
    background: rgba(34, 197, 94, 0.95);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    background: var(--ok);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: start;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.hero p.lead {
  margin: 48px 0 18px;
  color: var(--muted);
  font-size: clamp(var(--text-normal), 1.6vw, var(--text-big));
  max-width: 60ch;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.hero-card {
  padding: 18px;
  position: sticky;
  top: calc(var(--header-height) + 8px);
}

.hero-card h3 {
  margin: 0 0 10px;
  font-size: var(--text-normal);
  line-height: var(--lh-normal);
  letter-spacing: 0.2px;
}

.hero-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.mini {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.mini strong {
  font-size: var(--text-note);
  line-height: var(--lh-note);
}

.mini span {
  display: block;
  font-size: var(--text-note);
  line-height: var(--lh-note);
  color: var(--muted2);
  margin-top: 2px;
}

/* Sections */
section {
  position: relative;
  z-index: 1;
  padding: 34px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.2px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
  max-width: 120ch;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature {
  padding: 18px;
}

.case {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: var(--text-note);
  line-height: var(--lh-note);
}

.case .pill {
  background: rgba(255, 255, 255, 0.03);
}

.case-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.case-wide {
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.case-wide-media {
  min-width: 0;
}

.case-wide-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.case-wide-content h3 {
  margin-top: 2px;
}

.case-wide .case {
  margin-bottom: 12px;
}

.case-wide .case-thumb {
  margin-bottom: 0;
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.case-wide-media .case {
  margin-top: 12px;
  margin-bottom: 0;
}

.case-wide-content p+p strong {
  display: inline-block;
  margin-top: 6px;
}

.case-wide-content .list {
  margin-top: 6px;
}

.case-wide-content .inline {
  margin-top: 16px;
}

.case-btn {
  margin-top: 18px;
}

/* Mobile */
@media (max-width: 980px) {
  .case-wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-wide .case-thumb {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Header row inside pillar cards: align icon and details button */
.pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pillar-head .icon {
  margin-bottom: 0;
  /* remove default icon bottom margin when used in the header row */
}

.pillar-head .details-btn {
  padding: 8px 12px;
  height: 36px;
  transform: translateY(-4px);
}

@media (max-width: 480px) {
  .pillar-head .details-btn {
    transform: translateY(-2px);
  }
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(45, 212, 191, 0.10));
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: var(--text-normal);
  line-height: var(--lh-normal);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.list {
  margin: 12px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(34, 197, 94, 0.14);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Proof / trust */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--text-note);
  line-height: var(--lh-note);
}

.trust .pill {
  background: rgba(255, 255, 255, 0.03);
}

/* Process */
.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  align-items: flex-start;
}

.num {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.14);
  font-weight: 800;
  flex: 0 0 auto;
}

.step h4 {
  margin: 0 0 4px;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

/* Pricing */
.price {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.price.popular {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.16), rgba(255, 255, 255, 0.03));
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.18);
  font-size: var(--text-note);
  line-height: var(--lh-note);
  color: var(--text);
  font-weight: 700;
}

.price h3 {
  margin: 0 0 6px;
  font-size: var(--text-normal);
  line-height: var(--lh-normal);
}

.price p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.amount {
  margin-top: 14px;
  font-size: var(--text-huge);
  font-weight: 900;
  letter-spacing: -0.4px;
}

.amount small {
  font-size: var(--text-note);
  line-height: var(--lh-note);
  color: var(--muted);
  font-weight: 600;
}

.fine {
  margin-top: 10px;
  color: var(--muted2);
  font-size: var(--text-note);
  line-height: var(--lh-note);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.qa {
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  user-select: none;
}

.q strong {
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.chev {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 180ms ease;
  background: rgba(255, 255, 255, 0.02);
  flex: 0 0 auto;
}

.a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
  padding-right: 44px;
  margin-top: 0;
}

.qa.open .a {
  margin-top: 10px;
}

.qa.open .chev {
  transform: rotate(180deg);
  color: var(--text);
}

/* Contact */
.contact {
  padding: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

label {
  font-size: var(--text-note);
  line-height: var(--lh-note);
  color: var(--muted);
}

input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  outline: none;
  transition: 160ms ease;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus, textarea:focus {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15);
}

.hint {
  color: var(--muted2);
  font-size: var(--text-note);
  line-height: var(--lh-note);
  margin-top: 8px;
}

.inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-title {
  margin: 0 0 10px;
  font-size: var(--text-normal);
  line-height: var(--lh-normal);
}

.card .inline {
  margin-top: auto;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 220ms ease;
  max-width: min(520px, calc(100% - 24px));
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  padding: 26px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 14px;
  align-items: start;
}

.small {
  font-size: var(--text-note);
  line-height: var(--lh-note);
  color: var(--muted2);
  margin-top: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.footer-links a {
  color: var(--muted);
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: 520ms ease;
  will-change: transform, opacity;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 200;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: min(720px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 15, 23, 0.92);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* keep modal within viewport and allow internal scrolling */
  max-height: calc(100vh - 40px);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-head strong {
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.modal-body {
  padding: 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* limit body height so header/footer remain visible */
  max-height: calc(100vh - 140px);
}

/* Call modal actions: inline on desktop, stacked on small screens */
.call-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  /* keep buttons on single line when space allows */
  margin-bottom: 12px;
}

/* Ensure buttons don't expand to full width in that row */
.call-actions .btn {
  white-space: nowrap;
  min-width: 0;
}

@media (max-width: 520px) {
  .call-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .call-actions .btn {
    width: 100%;
  }
}

/* Legal pages readability */
.feature h2 {
  margin-top: 16px;
}

.feature .fine {
  margin: 8px 0 0;
  line-height: 1.65;
}

.feature a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px) {

  /* Reduce header height and top gap on mobile */
  :root {
    --header-height: 26px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: relative;
    top: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile: show footer links in two columns and center-align them */
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  /* Center the small copyright / rights text on mobile */
  footer .small {
    text-align: center;
    justify-self: center;
  }

  nav ul {
    display: none;
  }

  .lang-toggle .lang-text {
    display: none;
  }

  .phone-text {
    display: none;
  }

  /* Mobile: reduce spacing between brand and controls, and tighten buttons */
  .nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  .brand {
    gap: 6px;
  }

  .nav-cta {
    gap: 6px;
    margin-left: 8px;
  }

  .lang-toggle {
    gap: 4px;
    padding: 8px 10px;
  }

  .nav-cta .btn {
    padding: 8px 10px;
    font-size: var(--text-note);
    line-height: var(--lh-note);
  }

  /* Small screens: make modal use nearly full height and keep scrolling internal */
  .modal {
    width: calc(100% - 24px);
    border-radius: 12px;
    max-height: 100vh;
  }

  .modal-body {
    max-height: calc(100vh - 120px);
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal {
      transition: none;
      transform: none;
      opacity: 1;
    }

    .btn:hover {
      transform: none;
    }

    .toast {
      transition: none;
    }
  }
}

/* HERO: rowne przyciski i trusty */
.hero-actions,
.trust {
  display: grid;
  gap: 10px;
}

.hero-actions {
  margin-top: 48px;
}

.trust {
  margin-top: 14px;
}

/* Desktop */
.hero-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.hero-actions .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.trust {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--muted);
  font-size: var(--text-small);
  margin-bottom: 24px;
}

.trust .pill {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

/* Mobile / tablet */
@media (max-width: 980px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .btn-primary {
    grid-column: 1 / -1;
  }

  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .trust .pill {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
  }
}

.justifiedParagraph {
  text-align: justify;
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  z-index: 80;
}

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

.consent-banner__inner {
  width: 100%;
  margin: 0 auto;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(124, 92, 255, 0.38);
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.18), transparent 32%),
    rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.28);
  position: relative;
}

.consent-banner__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.72), rgba(124, 92, 255, 0.95), rgba(45, 212, 191, 0.72));
  box-shadow:
    0 0 10px rgba(45, 212, 191, 0.28),
    0 0 16px rgba(124, 92, 255, 0.32),
    0 0 22px rgba(45, 212, 191, 0.18);
}

.consent-banner__layout {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
}

.consent-banner__main {
  min-width: 0;
}

.consent-banner__title {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.consent-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.consent-banner__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.consent-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.consent-option input {
  margin: 0;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  accent-color: var(--accent2);
}

.consent-option span {
  min-width: 0;
  flex: 1 1 auto;
}

.consent-option strong,
.consent-option small {
  display: block;
}

.consent-option strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 1px;
}

.consent-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.consent-option--locked {
  border-color: rgba(45, 212, 191, 0.24);
}

.consent-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.consent-save-btn {
  width: 100%;
  min-height: 54px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.consent-banner__link {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}

.consent-banner__link:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  body.consent-banner-open {
    padding-bottom: 270px;
  }

  .consent-banner__inner {
    padding-top: 12px;
  }

  .consent-banner__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .consent-banner__options {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .consent-banner__actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .consent-banner__link {
    order: 2;
    text-align: center;
  }
}
