:root {
  color-scheme: dark;
  --bg: #0b1220;
  --card: rgba(19, 29, 48, 0.92);
  --text: #e8eef9;
  --muted: #9fb0cd;
  --accent: #4f9cff;
  --accent-strong: #3d87ea;
  --line: #22314a;
  --surface: #122037;
  --shadow: rgba(2, 6, 23, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 80% -10%, #213a61 0%, var(--bg) 40%);
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1020px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2.8rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.site-header .lang-switch {
  margin-left: auto;
}

.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-trigger {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1728;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.lang-trigger:hover,
.lang-trigger:focus-visible {
  border-color: var(--accent);
}

.lang-menu {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.35rem;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1220;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.45);
  z-index: 10;
}

.flag-icon {
  width: 20px;
  height: 14px;
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
}

.lang-option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e2e8f0;
  text-align: left;
  font-size: 0.9rem;
  padding: 0.45rem 0.5rem;
  display: grid;
  grid-template-columns: 1.2rem 1fr 1rem;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}

.lang-option:hover,
.lang-option:focus-visible,
.lang-option[aria-selected="true"] {
  background: #18253a;
}

.check {
  opacity: 0;
}

.lang-option[aria-selected="true"] .check {
  opacity: 1;
}

.brand {
  color: #d6e5ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin-top: 0.2rem;
}

h1 {
  margin: 0 0 0.8rem;
  line-height: 1.08;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  max-width: 13ch;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.24rem, 2.4vw, 1.5rem);
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.68rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #5ca9ff, var(--accent-strong));
  box-shadow: 0 12px 24px rgba(61, 135, 234, 0.22);
}

.btn-secondary {
  color: #d6e5ff;
  border-color: #35517d;
  background: #17263d;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  margin-top: 1rem;
  box-shadow: 0 16px 30px var(--shadow);
}

.preview-card {
  overflow: hidden;
  padding: 0.95rem;
}

.preview-frame {
  position: relative;
  min-height: 640px;
  border-radius: 28px;
  border: 1px solid rgba(129, 167, 220, 0.32);
  background: radial-gradient(circle at 20% 0%, rgba(80, 222, 234, 0.14), rgba(22, 33, 62, 0) 34%), linear-gradient(180deg, #12203a, #0d172a 85%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px rgba(2, 6, 23, 0.36);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.preview-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: radial-gradient(circle at 30% 20%, #2a4f7d 0%, #162841 55%, #0f1e34 100%);
}

.preview-image-phone {
  width: min(100%, 380px);
  height: auto;
  min-height: 0;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 30px;
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.4);
}

.preview-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: #dbeafe;
  background:
    linear-gradient(rgba(11, 18, 32, 0.2), rgba(11, 18, 32, 0.4)),
    repeating-linear-gradient(
      135deg,
      rgba(147, 197, 253, 0.1),
      rgba(147, 197, 253, 0.1) 14px,
      rgba(79, 156, 255, 0.05) 14px,
      rgba(79, 156, 255, 0.05) 28px
    );
}

.preview-overlay {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #eff6ff;
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.preview-note {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: #9db1d5;
}

.app-demo {
  position: relative;
  width: min(100%, 360px);
  min-height: 0;
  padding: 0 0 22px;
}

.app-demo-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 19.5;
  min-height: 660px;
  border-radius: 38px;
  overflow: hidden;
  border: 8px solid #0a111e;
  background: #16213e;
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.app-demo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.06), rgba(8, 13, 24, 0.28));
}

.app-demo-shell::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  width: 42%;
  max-width: 136px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #0a111e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.app-demo-topbar,
.app-demo-search,
.app-demo-chip-row,
.app-demo-controls,
.map-bottom-sheet {
  position: absolute;
  z-index: 4;
}

.preview-caption {
  position: relative;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #dce9ff;
  letter-spacing: 0.01em;
  z-index: 1;
}

.app-demo-topbar {
  top: 18px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-demo-status {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  background: rgba(11, 18, 32, 0.72);
  color: #eff6ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-demo-search {
  top: 78px;
  left: 14px;
  right: 74px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 222, 234, 0.4);
  background: rgba(242, 248, 255, 0.92);
  box-shadow: 0 12px 28px rgba(9, 14, 29, 0.24);
  color: #375276;
}

.app-demo-search-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #008b99;
  font-size: 1rem;
}

.app-demo-search-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.app-demo-chip-row {
  top: 138px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 0.55rem;
}

.app-demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 195, 247, 0.24);
  background: rgba(15, 23, 42, 0.78);
  color: #dbeafe;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
  max-width: calc(100% - 56px);
}

.app-demo-chip.is-active {
  background: rgba(79, 195, 247, 0.18);
  border-color: rgba(79, 195, 247, 0.5);
  color: #f8fcff;
}

.app-demo-chip-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.24);
}

.map-container {
  width: 100%;
  min-height: 660px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.app-demo-controls {
  right: 14px;
  top: 126px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.app-demo-fab {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(11, 18, 32, 0.84);
  color: #eff6ff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-demo-fab-primary {
  background: linear-gradient(180deg, #4fc3f7, #2aa8da);
  color: #07253a;
  border-color: rgba(128, 222, 234, 0.9);
}

.app-demo-fab-muted {
  background: rgba(11, 18, 32, 0.72);
}

.map-bottom-sheet {
  left: 12px;
  right: 12px;
  bottom: 14px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(12, 18, 33, 0.92);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.25s ease, max-height 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

.map-bottom-sheet.is-collapsed {
  transform: translateY(calc(100% - 84px));
}

.map-bottom-sheet.is-open {
  transform: translateY(0);
}

.map-bottom-sheet-handle {
  display: block;
  width: 100%;
  padding: 0.8rem 0 0.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.map-bottom-sheet-handle::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.72);
}

.map-bottom-sheet-content {
  padding: 0.15rem 1rem 1rem;
}

.map-bottom-sheet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.map-bottom-sheet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #06101f;
}

.map-bottom-sheet-badge.water {
  background: #80deea;
}

.map-bottom-sheet-badge.toilet {
  background: #9ef5c0;
}

.map-bottom-sheet-badge.shower {
  background: #ce93d8;
}

.map-bottom-sheet-distance {
  color: #bfd2f1;
  font-size: 0.78rem;
  font-weight: 600;
}

.map-bottom-sheet-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f3f7ff;
  line-height: 1.25;
}

.map-bottom-sheet-desc {
  margin-top: 0.45rem;
  color: #b8c6dd;
  line-height: 1.5;
  font-size: 0.88rem;
}

.map-bottom-sheet-facts {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.map-fact-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.65rem;
  align-items: start;
}

.map-fact-row strong {
  display: block;
  margin-bottom: 0.14rem;
  color: #eef4ff;
  font-size: 0.8rem;
}

.map-fact-row span:last-child {
  color: #b8c6dd;
  font-size: 0.84rem;
  line-height: 1.45;
}

.map-fact-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #80deea;
  font-size: 0.95rem;
}

.map-fact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.map-fact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.08);
  color: #dce8fb;
  font-size: 0.76rem;
  font-weight: 600;
}

.map-coordinates {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.1);
  color: #c8d5ea;
  font-size: 0.75rem;
  line-height: 1.45;
}

.map-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.9rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #35d27e, #149b56);
  color: #f8fffb;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 155, 86, 0.22);
}

.map-marker {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.22);
}

.map-marker.water {
  background: linear-gradient(180deg, #4fc3f7, #2d9cdb);
}

.map-marker.toilet {
  background: linear-gradient(180deg, #35d27e, #149b56);
}

.map-marker.shower {
  background: linear-gradient(180deg, #ce93d8, #9c5ec0);
}

.leaflet-container {
  font: inherit;
  background: #102038;
}

.leaflet-control-attribution {
  display: none;
}

.leaflet-pane.leaflet-map-pane {
  filter: saturate(0.92) contrast(1.02) brightness(0.94);
}

@media (min-width: 780px) {
  .preview-frame {
    min-height: 760px;
  }

  .app-demo {
    width: min(100%, 430px);
    padding-top: 0;
  }

  .app-demo-shell {
    aspect-ratio: 4 / 6.4;
    min-height: 720px;
    border-radius: 42px;
  }

  .map-container {
    min-height: 720px;
  }
}

.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
}

.bullet-list li + li {
  margin-top: 0.5rem;
}

.bullet-list li {
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.mini {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: var(--surface);
}

.mini strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #eef4ff;
  font-size: 0.96rem;
}

.cta-block {
  text-align: center;
  padding: 1.4rem 1.1rem;
}

.hero-free {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  color: #fff;
  min-height: 54px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
  background: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.store-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.store-badge-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge-line1 {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.78;
  line-height: 1;
  letter-spacing: 0.01em;
}

.store-badge-line2 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.seo-copy {
  max-width: 74ch;
}

.seo-copy p + p {
  margin-top: 0.9rem;
}

.footer {
  margin-top: 1.3rem;
  border-top: 1px solid #243550;
  padding-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.footer-links {
  margin: 0;
  padding-left: 1.1rem;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer a {
  color: #b9cff4;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.routing-panel {
  max-width: 760px;
  margin: 8vh auto 0;
}

body.routing-auto main,
body.routing-auto .consent-manage,
body.routing-auto .consent-banner,
body.routing-auto .consent-backdrop {
  visibility: hidden;
}

.status {
  margin-top: 0.85rem;
  color: #dbeafe;
}

.store-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

body.consent-active {
  overflow: hidden;
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
}

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

.consent-panel {
  width: min(1040px, 100%);
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(9, 14, 29, 0.98));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.consent-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 1rem 1.4rem;
  align-items: center;
}

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

.consent-eyebrow {
  margin: 0 0 0.35rem;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-title {
  margin: 0;
  font-size: 1.08rem;
}

.consent-description,
.consent-note {
  color: #cbd5e1;
}

.consent-description {
  margin: 0.35rem 0 0;
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.consent-note {
  margin: 0;
  font-size: 0.82rem;
}

.consent-preferences {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.consent-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.consent-type {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
}

.consent-type-label {
  display: block;
  font-weight: 600;
}

.consent-type-description {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  align-items: center;
}

.consent-btn,
.consent-manage {
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.consent-btn {
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
}

.consent-btn:hover,
.consent-btn:focus-visible,
.consent-manage:hover,
.consent-manage:focus-visible {
  transform: translateY(-1px);
}

.consent-btn-primary {
  background: linear-gradient(135deg, #38bdf8, #7dd3fc);
  color: #082f49;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.28);
}

.consent-btn-secondary {
  background: rgba(148, 163, 184, 0.08);
  color: #dbeafe;
}

.consent-btn-link {
  padding-inline: 0.35rem;
  background: transparent;
  color: #cbd5e1;
}

.consent-btn-link:hover,
.consent-btn-link:focus-visible {
  color: #ffffff;
  background: transparent;
}

.consent-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  font-size: 0.82rem;
  white-space: nowrap;
}

.consent-switch-wrap {
  flex: 0 0 auto;
  align-self: center;
}

.consent-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-switch {
  display: inline-block;
  position: relative;
  width: 3rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.9);
  transition: background-color 0.15s ease;
}

.consent-switch::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s ease;
}

.consent-switch-input:checked + .consent-switch {
  background: #38bdf8;
}

.consent-switch-input:checked + .consent-switch::after {
  transform: translateX(1.3rem);
}

.consent-switch-input:focus-visible + .consent-switch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.consent-preferences-actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.consent-save {
  white-space: nowrap;
}

.consent-btn-primary:hover,
.consent-btn-primary:focus-visible {
  background: linear-gradient(135deg, #67e8f9, #bae6fd);
}

.consent-btn-secondary:hover,
.consent-btn-secondary:focus-visible {
  background: rgba(148, 163, 184, 0.14);
  color: #ffffff;
}

.consent-btn:focus-visible,
.consent-manage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.consent-manage {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.4);
}

.consent-banner:not([hidden]) + .consent-manage {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 1.8rem;
  }

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

  .preview-frame,
  .preview-image {
    min-height: 360px;
  }

  .preview-image-phone {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .consent-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn:not(.store-badge) {
    width: 100%;
  }

  .container {
    width: min(100% - 1rem, 1020px);
  }

  .card,
  .cta-block {
    padding: 1rem;
  }

  .preview-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header .lang-switch {
    margin-left: auto;
  }

  .consent-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .consent-panel {
    padding: 0.95rem;
    border-radius: 18px;
  }

  .consent-title {
    font-size: 1.02rem;
  }

  .consent-description,
  .consent-note,
  .consent-type-description {
    font-size: 0.86rem;
  }

  .consent-types,
  .consent-type {
    grid-template-columns: 1fr;
  }

  .consent-type {
    flex-direction: column;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-btn,
  .consent-btn-primary,
  .consent-btn-secondary,
  .consent-save {
    width: 100%;
  }

  .consent-btn-link {
    width: auto;
    justify-self: flex-start;
    text-align: left;
  }

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

  .consent-manage {
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    padding: 0.68rem 0.9rem;
    font-size: 0.9rem;
  }
}
