/* SafePlace72 landing page styles.
   Sections appear in cascade order; later sections intentionally override earlier ones. */

/* ==========================================================================
   00. Fonts: self-hosted variable DM Sans and Manrope (SIL OFL 1.1), latin + latin-ext only
   ========================================================================== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Page-to-page navigation cross-fades instead of flashing white (Chrome, Edge, Safari 18.2+; others ignore it). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* ==========================================================================
   01. Base layout and legacy components
   ========================================================================== */
:root {
  --paper: #f7f7f0;
  --ink: #263e35;
  --muted: #69746c;
  --line: #dce0d5;
  --clay: #ad513b;
  --sage: #e9eee3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.17;
  letter-spacing: -2px;
  font-weight: 500;
}
h3 {
  font-weight: 600;
}
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  width: calc(100% - 112px);
}
.section {
  padding-block: 104px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.9px;
  line-height: 1.6;
}
.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  max-width: 1440px;
  margin: auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  display: flex;
  gap: 29px;
  margin: auto;
  font-size: 13px;
}
.site-header nav a:hover {
  color: var(--clay);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-block: 62px 66px;
  align-items: center;
}
.hero-copy {
  padding-bottom: 3px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
h1 {
  font-size: clamp(58px, 6.2vw, 85px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -5px;
  margin: 27px 0;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 390px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 5px;
  padding: 16px 21px;
  font-size: 13px;
  font-weight: 600;
  min-height: 51px;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #3c5847;
  box-shadow: 0 4px 12px #263e3515;
}
.dot {
  width: 6px;
  height: 6px;
  background: #6f8a57;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.green {
  background: #44826c;
}
.blue {
  background: #5c8ca6;
}
.intro-strip {
  grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  border-block: 1px solid var(--line);
  align-items: center;
  gap: 30px;
}
.intro-strip p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.intro-strip strong {
  font-weight: 500;
  color: var(--ink);
}
.intro-strip > span {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 12px;
}
.intro-strip .icon {
  width: 24px;
  height: 24px;
}
.faq-section .eyebrow {
  margin-bottom: 19px;
}
.family-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  flex-shrink: 0;
  min-height: 33px;
}
.family-status.needs-help {
  color: #8c4938;
}
.chat-messages {
  padding: 17px 13px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #ced6c6 transparent;
  overscroll-behavior: contain;
}
.message {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 15px;
}
.message-avatar {
  height: 25px;
  width: 25px;
  flex-shrink: 0;
  background: #e5eadb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #637754;
}
.avatar-clay {
  background: #f0e2d6;
  color: #9c6b4e;
}
.avatar-blue {
  background: #dfe8e8;
  color: #52747b;
}
.message-author {
  font-weight: 600;
  margin: 0 0 5px 2px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.message time {
  color: #646b60;
  font-weight: 400;
}
.message p {
  background: white;
  border: 1px solid #e9ece3;
  padding: 9px 10px;
  border-radius: 0 10px 10px 10px;
  line-height: 1.6;
  max-width: 215px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message.mine {
  justify-content: flex-end;
}
.mine .message-author {
  justify-content: flex-end;
}
.mine p {
  border-radius: 10px 0 10px 10px;
}
.mine.help p {
  background: #f2e2d8;
  border-color: #ebd3c4;
  color: #8c4938;
}
.phone-controls {
  padding: 8px 11px 9px;
  border-top: 1px solid #e6eadf;
}
.status-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 9px;
}
.status-actions button {
  border-radius: 5px;
  padding: 7px 9px;
  flex: 1;
  background: #edf1e5;
  border: 1px solid #dce5d1;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}
.status-actions button:first-child {
  color: white;
}
.status-actions button:last-child {
  color: #92654f;
  background: #f9f4ee;
  border-color: #e9ded3;
}
.status-actions .icon {
  width: 13px;
  height: 13px;
}
#chat-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
#chat-input {
  min-width: 0;
  width: 100%;
  border: 1px solid #e1e6d9;
  padding: 11px;
  border-radius: 6px;
  color: var(--ink);
}
#chat-form button {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 5px;
}
#chat-form button .icon {
  width: 17px;
  height: 17px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.faq-section h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
}
.faq-section > div > p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  font-size: 13px;
}
.faq-list details > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 24px 24px 0;
}
@media (min-width: 1500px) {
  .hero {
    gap: 85px;
    padding-block: 76px;
  }
  .site-header {
    max-width: 1392px;
  }
  .hero-description {
    font-size: 18px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
    gap: 22px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero {
    gap: 35px;
  }
  h1 {
    font-size: 67px;
    letter-spacing: -4px;
  }
  .hero-description {
    font-size: 15px;
  }
  .intro-strip {
    gap: 20px;
  }
  .intro-strip > span {
    font-size: 10px;
    gap: 8px;
  }
  .section {
    padding-block: 80px;
  }
}
@media (max-width: 800px) {
  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .site-header nav {
    margin-left: auto;
    margin-right: 0;
  }
  .hero {
    gap: 28px;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .faq-section {
    gap: 40px;
    grid-template-columns: 0.9fr 1.2fr;
  }
  .faq-section h2 {
    font-size: 31px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-inline: 20px;
  }
  .menu-toggle {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: transparent;
    margin-left: auto;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .menu-toggle span {
    height: 1px;
    width: 22px;
    background: var(--ink);
    display: block;
  }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    background: var(--paper);
    padding: 15px 20px 24px;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 12px #263e3506;
    font-size: 14px;
  }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .site-header nav a {
    padding: 12px 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 31px;
    gap: 34px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .hero-copy {
    padding: 0;
  }
  h1 {
    font-size: 65px;
    letter-spacing: -3.8px;
    margin: 21px 0 22px;
    line-height: 1.04;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.8;
    max-width: 340px;
  }
  .intro-strip {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .intro-strip p {
    font-size: 11px;
  }
  .intro-strip > span {
    font-size: 10px;
    gap: 8px;
  }
  .intro-strip .icon {
    width: 20px;
    height: 20px;
  }
  .section {
    padding-block: 60px;
  }
  .faq-section .eyebrow {
    margin-bottom: 14px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -1.45px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-section h2 {
    font-size: 34px;
  }
  .faq-list summary {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    padding-inline: 16px;
  }
  h1 {
    font-size: 59px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* The daily-mode source is a portrait view of the actual layers panel. */

/* Comfortable reading and touch targets inside the phone demo. */
.message p {
  font-size: 12px;
}
.message-author {
  font-size: 10px;
}
.message time {
  font-size: 8px;
}
.status-actions button {
  min-height: 40px;
  font-size: 10px;
}
#chat-form button {
  width: 36px;
  height: 38px;
}
#chat-input {
  font-size: 12px;
}
.family-status {
  font-size: 10px;
}
@media (max-width: 600px) {
  .status-actions button {
    min-height: 44px;
  }
  #chat-input {
    font-size: 16px;
    padding: 10px 8px;
  }
  #chat-form button {
    width: 38px;
    height: 44px;
  }
}

/* ==========================================================================
   02. Map shell, markers and controls
   ========================================================================== */
/* Interactive cartography: the hero map. */
:root {
  --paper: #f7f8fa;
  --ink: #192b43;
  --map-line: #dde3d9;
}
.site-header {
  position: relative;
  z-index: 3;
}
.map-hero {
  position: relative;
  width: 100%;
  margin: auto;
}
.map-hero .hero-copy {
  position: relative;
  z-index: 2;
}
.map-hero .hero-copy > * {
  pointer-events: auto;
}
.hero-cartography:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.live-map {
  position: absolute;
  inset: 0;
}
.map-shell {
  overflow: hidden;
}
.map-shell .maplibregl-canvas {
  outline: none;
}
.hero-map-card {
  align-items: center;
  gap: 13px;
}
.hero-card-icon {
  place-items: center;
  color: #786228;
  border-radius: 7px;
  flex-shrink: 0;
}
.hero-map-card span {
  font-size: 7px;
  letter-spacing: 1.5px;
}
.hero-map-card h3 {
  letter-spacing: -0.3px;
  margin-top: 5px;
}
.hero-map-card p {
  margin-top: 6px;
}
.hero-map-card button {
  background: none;
  font-size: 21px;
  margin-left: auto;
  padding: 8px;
  color: #637655;
}
.intro-strip {
  margin-top: 0;
  border-top: 0;
}
.maplibregl-ctrl-attrib {
  font-size: 9px !important;
  background: #ffffffe3 !important;
  color: #6b7762 !important;
}
.maplibregl-ctrl-attrib a {
  color: #66765c !important;
}
.maplibregl-ctrl-scale {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  border-color: #748767;
  color: #52654b;
  background: #ffffffa1;
}
.maplibregl-popup-content {
  border-radius: 9px;
  padding: 18px 21px 17px;
  box-shadow: 0 8px 30px #25382d26;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  max-width: 245px;
}
.maplibregl-popup-close-button {
  font-size: 18px;
  padding: 3px 7px;
  color: #768969;
}
.place-popup small {
  font-size: 8px;
  letter-spacing: 1px;
  color: #819472;
}
.place-popup h4 {
  font:
    600 14px Manrope,
    sans-serif;
  margin: 8px 0;
}
.place-popup p {
  font-size: 10px;
  line-height: 1.6;
  color: #6f7e64;
}
.place-popup button {
  display: block;
  width: 100%;
  background: #edf2e5;
  font-size: 10px;
  border-radius: 4px;
  padding: 8px;
  margin-top: 11px;
}
.map-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.map-loading span {
  height: 14px;
  width: 14px;
  border: 2px solid #ccd8c0;
  border-radius: 50%;
  animation: mapspin 0.8s linear infinite;
}
.map-loading[hidden] {
  display: none;
}
.map-loading.failed {
  padding: 30px;
  text-align: center;
  flex-direction: column;
  line-height: 1.7;
}
.map-loading.failed span {
  display: none;
}
.map-loading button {
  padding: 10px 15px;
  border: 1px solid #becfb0;
  background: #fff;
  border-radius: 5px;
  font-size: 12px;
}
@media (min-width: 1500px) {
  .hero-cartography {
    left: 34%;
  }
}
@media (max-width: 1100px) {
  .hero-cartography {
    left: 29%;
  }
}
@media (max-width: 800px) {
  .hero-cartography {
    left: 28%;
  }
  .hero-map-card {
    gap: 9px;
  }
  .hero-map-card button {
    padding: 3px;
  }
  .hero-map-card > div > span {
    font-size: 6px;
  }
}
@media (max-width: 600px) {
  .map-hero .hero-copy {
    order: 0;
    padding-bottom: 26px;
    z-index: 2;
  }
  .hero-cartography {
    order: 1;
  }
  .hero-map-card {
    gap: 10px;
  }
  .hero-map-card > div > span {
    font-size: 7px;
  }
  .hero-map-card button {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-loading span {
    animation: none;
  }
}

/* A restrained product palette across the rest of the page. */
:root {
  --paper: #f7f8fa;
  --ink: #192b43;
  --muted: #67758a;
  --line: #dce3ec;
  --clay: #5378bc;
  --sage: #edf2f7;
}
.intro-strip .icon {
  color: #5d7ca6;
}
.phone-controls {
  background: #fff;
}
.family-status {
  background: #eaf0f9;
}
.family-status .dot {
  background: #5c81b2;
}
.family-status.needs-help {
  background: #fbecdf;
}
.family-status.needs-help .dot {
  background: #b3774c;
}
.mine p {
  background: #e1ebf8;
  border-color: #d4e2f3;
}
.status-actions button:first-child {
  background: #315785;
  border-color: #315785;
}
.status-actions button[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2px #a4bee0;
}
#chat-input {
  background: #f7f9fc;
  border-color: #dce3ed;
}
#chat-form button {
  background: #e9eff8;
}
.message.mine,
.message.auto-reply {
  animation: message-in 0.24s ease-out both;
}
.typing-bubble {
  display: flex;
  gap: 4px;
  padding: 12px 15px;
  width: 53px;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 0 10px 10px 10px;
}
.typing-bubble i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #94a4b9;
  animation: typing-dot 1s infinite;
}
.typing-bubble i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-bubble i:nth-child(3) {
  animation-delay: 0.3s;
}
.map-loading {
  background: #eef2f6;
  color: #6b7b91;
}
.map-loading span {
  border-color: #d2dfed;
  border-top-color: #5a7dab;
}
@media (prefers-reduced-motion: reduce) {
  .message.mine,
  .message.auto-reply,
  .typing-bubble i {
    animation: none;
  }
}

/* ==========================================================================
   03. Catalog and map refinements
   ========================================================================== */
/* Full-width cartography and a legible, shared product inventory. */
:root {
  --paper: #f8fafc;
  --ink: #172c45;
  --muted: #64768b;
  --clay: #3268d3;
  --line: #dce5ee;
}
.site-header {
  background: #fff;
}
.button.primary {
  background: #254f94;
}
.map-hero h1 > span {
  color: #3268d3;
}
.map-hero {
  max-width: none;
}
.hero-cartography:after {
  background: linear-gradient(90deg, #f5f8fb 0%, #f5f8fbfa 17%, #f5f8fbde 29%, #f5f8fb55 43%, transparent 57%);
  z-index: 1;
}
.map-hero .hero-copy {
  padding-top: 66px;
}
.hero-map-card {
  border-color: #dae3ee;
}
.hero-card-icon {
  background: transparent;
}
.hero-map-card h3 {
  font-size: 15px;
}
.hero-map-card span {
  color: #61768f;
}
.hero-layers button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #344b65;
}
.hero-layers img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}
.hero-layers .icon {
  width: 25px;
  height: 25px;
  color: #4679b9;
}
.hero-layers strong {
  font-size: 10px;
  color: #78899c;
  font-weight: 500;
}
.hero-layers button:hover {
  background: #edf3fc;
}
.popup-inventory {
  font-weight: 600;
}
@media (min-width: 1600px) {
  .map-hero .hero-copy {
    padding-top: 95px;
  }
}
@media (max-width: 1000px) {
  .hero-cartography:after {
    background: linear-gradient(90deg, #f5f8fb 0%, #f5f8fbe8 25%, #f5f8fb30 62%, transparent 80%);
  }
}
@media (max-width: 700px) {
  .map-hero {
    padding-bottom: 0;
  }
  .map-hero .hero-copy {
    padding-top: 38px;
    padding-bottom: 28px;
  }
  .hero-cartography {
    order: 1;
  }
  .hero-layers {
    order: 3;
  }
  .hero-map-card h3 {
    font-size: 13px;
  }
  .hero-map-card > div > span {
    font-size: 8px;
  }
}
@media (max-width: 420px) {
  .hero-map-card {
    gap: 9px;
  }
  .hero-map-card h3 {
    font-size: 12px;
  }
}

/* ==========================================================================
   04. Hero: guided map tour
   ========================================================================== */
/* A single-city, full-width guided product story. */
.map-hero {
  height: auto !important;
  display: block !important;
  background: #f8fafc;
  padding: 0;
  overflow: clip;
}
.map-hero .hero-copy {
  width: 100%;
  max-width: none;
  grid-template-columns: 1.4fr 1fr;
  pointer-events: auto;
}
.map-hero .hero-copy > * {
  max-width: none;
}
.map-hero h1 {
  font-weight: 600;
}
.map-hero h1 span {
  color: #386acd;
}
.hero-cartography {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: 620px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #eaf0f5;
  border-top: 1px solid #dce5ee;
}
.hero-cartography:after {
  display: none;
}
.hero-map-card {
  position: absolute;
  left: clamp(20px, 3vw, 50px);
  top: 92px;
  right: auto;
  bottom: auto;
  width: 300px;
  display: block;
  padding: 24px 24px 0;
  overflow: hidden;
  z-index: 4;
}
.tour-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-map-card .tour-card-top span {
  font-weight: 650;
}
.tour-card-heading {
  margin: 22px 0 14px;
}
.hero-card-icon {
  width: 35px;
  height: 35px;
  display: block;
  margin-bottom: 15px;
}
.hero-card-icon img {
  width: 35px;
  height: 35px;
}
.hero-card-icon .icon {
  width: 30px;
  height: 30px;
  color: #3766b0;
}
.hero-map-card h2 {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 600;
  max-width: 240px;
  margin: 0;
}
.hero-map-card p {
  margin: 0;
}
.tour-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e4eaf2;
  padding-top: 16px;
  margin-top: 18px;
}
.tour-fact strong {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  white-space: nowrap;
  color: #264e86;
}
.hero-map-card .tour-fact span {
  letter-spacing: 0;
}
.tour-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 18px -3px 15px;
}
.hero-map-card .tour-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  background: #edf2f8;
  border: 1px solid #e1e8f2;
  font-size: 15px;
  flex-shrink: 0;
}
.hero-map-card .tour-controls #tour-play {
  font-size: 11px;
}
.hero-map-card #tour-next-label {
  letter-spacing: 0;
  line-height: 1.4;
}
.tour-progress {
  height: 3px;
  background: #eaf0f7;
  margin: 0 -24px;
}
.tour-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #416fbd;
}
.hero-layers {
  position: absolute;
  bottom: 31px;
  left: clamp(20px, 3vw, 50px);
  right: clamp(20px, 3vw, 50px);
  width: auto;
  transform: none;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 7px;
  background: #fffffff2;
  border: 1px solid #dce5ee;
  border-radius: 9px;
  scrollbar-width: thin;
  scrollbar-color: #c2cfdf transparent;
  z-index: 4;
}
.hero-layers button {
  flex: 1 0 auto;
  font-size: 10px;
  border: 1px solid transparent;
  padding: 10px 11px;
  background: transparent;
  border-radius: 5px;
  gap: 8px;
  justify-content: center;
}
.hero-layers button img {
  width: 25px;
  height: 25px;
}
.hero-layers button .icon {
  width: 22px;
  height: 22px;
}
.hero-layers .tour-step {
  font-variant-numeric: tabular-nums;
}
.hero-layers button[aria-pressed='true'] {
  background: #edf3ff;
  border-color: #c4d5f2;
  box-shadow: none;
  color: #254f94;
}
@media (min-width: 1700px) {
  .hero-cartography {
    height: 690px;
  }
  .map-hero .hero-copy {
    padding-top: 58px;
    padding-bottom: 48px;
  }
  .hero-map-card {
    width: 330px;
    padding: 28px 28px 0;
  }
  .tour-progress {
    margin-inline: -28px;
  }
  .hero-map-card h2 {
    font-size: 30px;
  }
}
@media (max-width: 1150px) {
  .map-hero .hero-copy {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero-map-card {
    left: 20px;
    width: 280px;
    padding: 20px 20px 0;
  }
  .tour-progress {
    margin-inline: -20px;
  }
  .hero-layers {
    left: 20px;
    right: 20px;
  }
}
@media (max-width: 900px) {
  .hero-cartography {
    height: 760px;
  }
  .hero-map-card {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 96px;
    width: auto;
    padding: 17px 18px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 15px;
  }
  .tour-card-top {
    grid-column: 1/-1;
  }
  .tour-card-heading {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 10px;
  }
  .hero-card-icon {
    width: 31px;
    height: 31px;
    margin: 0;
    flex-shrink: 0;
  }
  .hero-card-icon img {
    width: 31px;
    height: 31px;
  }
  .hero-map-card h2 {
    font-size: 23px;
    max-width: none;
    letter-spacing: -0.6px;
  }
  .hero-map-card p {
    grid-column: 1/-1;
    max-width: 550px;
  }
  .tour-fact {
    border: 0;
    margin: 12px 0 0;
    padding: 0;
    gap: 9px;
  }
  .tour-fact strong {
    font-size: 25px;
  }
  .tour-controls {
    margin: 12px 0 14px;
    justify-content: flex-end;
  }
  .hero-map-card #tour-next-label {
    display: none;
  }
  .tour-progress {
    grid-column: 1/-1;
    margin: 0 -18px;
  }
  .hero-layers {
    left: 16px;
    right: 16px;
    bottom: 25px;
    padding: 5px;
    gap: 4px;
  }
  .hero-layers button {
    flex: 0 0 auto;
    padding: 9px 10px;
    font-size: 10px;
  }
  .hero-layers .tour-step {
    display: none;
  }
  .hero-layers button .icon {
    display: block;
  }
}
@media (max-width: 390px) {
  .hero-map-card h2 {
    font-size: 21px;
  }
  .tour-fact strong {
    font-size: 22px;
  }
  .hero-map-card {
    gap: 0 8px;
  }
  .hero-cartography {
    height: 735px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-progress span {
    animation: none !important;
  }
}
.hero-map-card p {
  min-height: 0;
}
@media (max-width: 900px) {
  .map-hero h1 > span {
    white-space: nowrap;
  }
}
/* Hero introduction: one slim row above a map that fills the rest of the screen. */
.site-header {
  height: 72px;
}
.map-hero {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  height: calc(100svh - 72px) !important;
  min-height: 600px;
}
.map-hero .hero-copy {
  display: flex;
  align-items: center;
  padding: 14px clamp(20px, 3vw, 50px);
  border-bottom: 1px solid #dce5ee;
  background: #fff;
}
.map-hero .hero-heading {
  flex-shrink: 0;
}
.hero-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #386acd;
  box-shadow: 0 0 0 3px #386acd22;
}
.map-hero h1 {
  line-height: 1.1;
  margin: 5px 0 0;
  white-space: nowrap;
}
.map-hero .hero-description {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid #e1e8f0;
  line-height: 1.55;
}
.map-hero .hero-cartography {
  flex: 1;
  height: auto;
  min-height: 0;
  border-top: 0;
}
@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }
  .map-hero {
    height: calc(100svh - 64px) !important;
    min-height: 700px;
  }
  .map-hero .hero-copy {
    flex-wrap: wrap;
  }
}
/* Air-raid alert slide: soft red edge glow and a banner, markers stay readable. */
.alert-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  box-shadow: inset 0 0 140px 20px #d2403a55;
  transition: opacity 0.8s;
}
.map-shell[data-alert='true'] .alert-vignette {
  opacity: 1;
  animation: alert-breathe 2.6s ease-in-out infinite;
}
.alert-banner {
  position: absolute;
  left: 50%;
  top: 78px;
  translate: -50% -8px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #b8322d;
  color: #fff;
  font-weight: 650;
  box-shadow: 0 8px 24px #b8322d40;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s,
    translate 0.5s;
  white-space: nowrap;
}
.alert-banner span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: alert-dot 1.3s ease-in-out infinite;
}
.map-shell[data-alert='true'] .alert-banner {
  opacity: 1;
  translate: -50% 0;
}
.map-shell[data-alert='true'] .hero-card-icon .icon {
  color: #c23b35;
}
.map-shell[data-alert='true'] .tour-fact strong {
  color: #b8322d;
}
@keyframes alert-dot {
  50% {
    opacity: 0.25;
  }
}
.effects-paused .alert-vignette,
.effects-paused .alert-banner span {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .alert-vignette,
  .alert-banner span {
    animation: none;
  }
}
/* Final hero polish: one visual system for every floating panel, aligned top row. */
.map-hero .hero-copy {
  padding-block: 12px;
}

.hero-map-card,
.map-hero .hero-layers {
  background: #ffffffee;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #dbe4ee;
  box-shadow: 0 10px 30px #1b37581a;
}
.hero-map-card {
  border-radius: 14px;
}
.map-hero .hero-layers {
  border-radius: 14px;
  padding: 6px;
}
.map-hero .hero-layers button {
  border-radius: 9px;
}
@media (max-width: 900px) {
  .alert-banner {
    left: 16px;
    translate: 0 -8px;
  }
  .map-shell[data-alert='true'] .alert-banner {
    translate: 0 0;
  }
}
/* Clean map: no floating controls, the tour card carries the demo notice. */
@media (min-width: 901px) {
  .hero-map-card {
    top: 24px;
  }
  .alert-banner {
    top: 24px;
  }
}
@media (max-width: 900px) {
  .alert-banner {
    top: 16px;
  }
}
.tour-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-map-card .tour-card-meta .card-demo {
  font-weight: 650;
  text-transform: uppercase;
  color: #8a5a12;
  background: #fff4dc;
  border: 1px solid #f1dfb5;
  border-radius: 6px;
  padding: 4px 7px;
}

/* ==========================================================================
   05. Feature strip and situations phone
   ========================================================================== */
/* Feature strip under the hero: offline, family, shared safe places, community. */
.intro-strip {
  display: block;
  padding-block: 34px 36px;
}
.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.intro-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.intro-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #edf3fd;
}
.intro-strip .intro-icon .icon {
  width: 20px;
  height: 20px;
  color: #386acd;
}
.intro-feature h3 {
  margin: 2px 0 5px;
  font-weight: 650;
  letter-spacing: -0.2px;
  color: #1d3350;
}
.intro-feature p {
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .intro-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 28px;
  }
}
@media (max-width: 600px) {
  .intro-features {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .intro-strip {
    padding-block: 26px;
  }
}

/* Situations: centred heading, one selector row, phone + detail panel side by side. */

/* selector */

/* detail panel */

/* phone */
.sx-demo {
  letter-spacing: 0.6px;
}
.px-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 4px;
  font-size: 11px;
  font-weight: 650;
  color: #13233a;
}
.px-notch {
  width: 80px;
  height: 20px;
  border-radius: 12px;
  background: #13233a;
}

/* tablet and phone: selector 2×2, phone, then the detail panel, all centred */

/* ==========================================================================
   06. Family section
   ========================================================================== */
/* Tighter rhythm for the situations section. */

/* Family section: copy + a chat phone in the same visual system as the situations phone. */
.family-section {
  background: #edf3fa;
  padding: 72px 0;
}
.fm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: center;
}
.fm-copy {
  max-width: 680px;
}
.fm-copy h2 {
  margin: 0;
}
.fm-lead {
  margin: 18px 0 0;
  max-width: 470px;
  line-height: 1.7;
}
.fm-features {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fm-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  background: #fff;
}
.fm-features h3 {
  margin: 1px 0 4px;
  font-weight: 650;
  letter-spacing: -0.2px;
  color: #1d3350;
}
.fm-features p {
  margin: 0;
  line-height: 1.5;
}
.fm-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #edf3fd;
}
.fm-ico .icon {
  width: 17px;
  height: 17px;
  color: #386acd;
}
.fm-features li.alert .fm-ico {
  background: #fbe9e8;
}
.fm-features li.alert .fm-ico .icon {
  color: #b8322d;
}
.fm-features li.safe .fm-ico {
  background: #e7f4ec;
}
.fm-features li.safe .fm-ico .icon {
  color: #2f7a4f;
}

.fm-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fm-phone {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 44px;
  background: #f7f9fb;
  border: 10px solid #13233a;
  box-shadow:
    0 40px 80px #13233a33,
    0 0 0 1px #13233a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 10px;
  background: #fff;
}
.fm-head strong {
  display: block;
  font-size: 13px;
  color: #162c48;
}
.fm-head div > span {
  display: block;
  font-size: 9.5px;
  color: var(--t-muted);
  margin-top: 2px;
}
.fm-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf3fd;
}
.fm-avatar .icon {
  width: 17px;
  height: 17px;
  color: #386acd;
}
.fm-lock {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #9aa6b5;
}
.fm-members {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 14px 10px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}
.fm-members span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  color: var(--t-muted);
}
.fm-members i {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9eef4;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #2c4562;
}
.fm-members i:after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c3ccd7;
}
.fm-members .ok i:after {
  background: #2f9a5c;
}
.fm-members .wait i:after {
  background: #e3a21a;
}
.fm-members .help i:after {
  background: #c43c37;
}
.fm-phone .family-status {
  font-size: 9.5px;
  font-weight: 600;
  color: #2f6a48;
  background: #e9f5ee;
  padding: 7px;
  min-height: 0;
}
.fm-phone .family-status .dot {
  background: #2f9a5c;
}
.fm-phone .family-status.needs-help {
  background: #fbe9e8;
  color: #8f2b26;
}
.fm-phone .chat-messages {
  padding: 12px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.fm-alert {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #b8322d;
  color: #fff;
  box-shadow: 0 8px 20px #b8322d40;
}
.fm-alert-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: alert-dot 1.3s infinite;
}
.fm-alert strong {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.6px;
}
.fm-alert span {
  display: block;
  font-size: 9.5px;
  opacity: 0.92;
  margin-top: 1px;
}
.fm-phone .message {
  margin-bottom: 10px;
  gap: 7px;
}
.fm-phone .message-avatar {
  width: 26px;
  height: 26px;
  font-size: 9.5px;
  font-weight: 700;
  background: #e3ebf6;
  color: #2c4562;
}
.fm-phone .message-avatar.avatar-clay {
  background: #f4e6dc;
  color: #8a4a2b;
}
.fm-phone .message-avatar.avatar-blue {
  background: #e2eefb;
  color: #245ad0;
}
.fm-phone .message-author {
  font-size: 9.5px;
  color: #2c4562;
  margin-bottom: 4px;
}
.fm-phone .message p {
  margin: 0 0 5px;
  max-width: 210px;
  padding: 8px 10px;
  font-size: 10.5px;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 4px 12px 12px 12px;
  color: #1d3350;
}
.fm-phone .message.mine p {
  background: #203f6c;
  border-color: #203f6c;
  color: #fff;
  border-radius: 12px 4px 12px 12px;
}
.fm-phone .message.mine.help p {
  background: #b8322d;
  border-color: #b8322d;
}
.fm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 650;
}
.fm-chip.safe {
  background: #e2f3e8;
  color: #23724a;
}
.fm-loc {
  width: 200px;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.fm-loc-map {
  position: relative;
  height: 62px;
}
.fm-loc-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fm-loc-map img {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 5px;
  box-shadow:
    0 0 0 2px #fff,
    0 4px 10px #1b375830;
}
.fm-loc-text {
  padding: 7px 10px;
}
.fm-loc-text strong {
  display: block;
  font-size: 10.5px;
  color: #1d3350;
}
.fm-loc-text small {
  display: block;
  font-size: 9px;
  color: var(--t-muted);
}
.message.mine .fm-loc {
  margin-left: auto;
}
.fm-phone .phone-controls {
  padding: 9px 10px 14px;
  background: #fff;
  border-top: 1px solid #e8edf3;
}
.fm-phone .status-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 38px;
  gap: 6px;
  margin-bottom: 8px;
}
.fm-phone .status-actions button {
  min-height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  cursor: pointer;
}
.fm-phone .status-actions #mark-safe {
  background: #1f7a47;
  color: #fff;
}
.fm-phone .status-actions #mark-help {
  background: #fbe9e8;
  color: #a3302b;
}
.fm-phone .status-actions #share-location {
  background: #edf3fd;
  color: #245ad0;
}
.fm-phone .status-actions button[aria-pressed='true'] {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #203f6c55;
}
.fm-phone .status-actions .icon {
  width: 14px;
  height: 14px;
}
.fm-phone #chat-form {
  display: flex;
  gap: 6px;
}
.fm-phone #chat-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe6ee;
  border-radius: 10px;
  background: #f7f9fb;
  font: inherit;
  font-size: 11px;
}
.fm-phone #chat-form button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #203f6c;
  color: #fff;
  display: grid;
  place-items: center;
}
.fm-phone #chat-form .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 1000px) {
  .fm-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    justify-items: center;
  }
  .fm-copy {
    max-width: 600px;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .family-section {
    padding: 48px 0;
  }
  .fm-features {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
  }
  .fm-features li {
    border: 0;
    border-radius: 0;
    padding: 13px 14px;
  }
  .fm-features li + li {
    border-top: 1px solid #eef2f6;
  }
  .fm-phone {
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fm-alert-dot {
    animation: none;
  }
}

/* ==========================================================================
   07. "Kai netikėtai prireikia" scenarios
   ========================================================================== */
/* "Kai netikėtai prireikia": pick a situation (tabs), read the step-by-step plan, and see each step on an
   illustrated map. Pressing a step highlights its places; the offline switch removes what needs the internet. */
.sc-heading {
  max-width: 720px;
}
.sc-heading h2 {
  margin: 0;
}
.sc-heading p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t-body, #4f6078);
}

/* Situation tabs */
.sc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 18px;
}
.sc-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 16px 6px 7px;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #2c4562;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.sc-tab:hover {
  border-color: #b9c9dc;
}
.sc-tab img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sc-tab[aria-selected='true'] {
  background: #162c48;
  border-color: #162c48;
  color: #fff;
  box-shadow: 0 8px 20px #162c4826;
}
@media (min-width: 1101px) {
  .sc-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
  }
  .sc-tab {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 14px 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }
  .sc-tab img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
}

/* Stage */
.sc-stage {
  border: 1px solid #dde5ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px #1b375810;
  overflow: hidden;
}
.sc-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  animation: sc-in 0.35s ease both;
}
.sc-scene[hidden] {
  display: none;
}
@keyframes sc-in {
  from {
    opacity: 0;
  }
}
.sc-info {
  padding: 30px 32px 28px;
}
.sc-info h3 {
  margin-top: 12px;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--t-strong, #162c48);
}
.sc-h {
  display: block;
  margin: 4px 0 0;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.12;
}
.sc-q {
  display: block;
  color: var(--t-strong, #162c48);
}
.sc-a {
  display: block;
  margin-top: 4px;
  color: #245ad0;
}
.sc-foot p b {
  color: var(--t-strong, #162c48);
}
.sc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sc-label {
  margin: 26px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--t-muted, #5f6f84);
}

/* Plan steps */
.sc-plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  counter-reset: none;
}
.sc-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: none;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.3s;
}
.sc-step:hover {
  background: #f5f8fb;
}
.sc-step[aria-pressed='true'] {
  background: #f3f7fd;
  border-color: #d6e2f4;
}
.sc-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8eef5;
  font-size: 13px;
  font-weight: 700;
  color: #2c4562;
  transition:
    background 0.2s,
    color 0.2s;
}
.sc-step[aria-pressed='true'] .sc-num {
  background: #245ad0;
  color: #fff;
}
.sc-step-txt b {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--t-strong, #162c48);
}
.sc-step-txt span {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--t-body, #4f6078);
}
.sc-net {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}
.sc-net.off {
  background: #e3f4ea;
  color: #23633f;
}
.sc-net.on {
  background: #e4edfb;
  color: #1f4f9f;
}
.sc-net.call {
  background: #fbe9e8;
  color: #a3302b;
}
.sc-step .sc-net {
  margin-top: 0;
}
.sc-prep {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e8;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6b4a0c;
}
.sc-prep b {
  color: #5a3c05;
}

/* Footer: what works offline + switch */
.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 16px 24px;
  border-top: 1px solid #e6edf3;
  background: #f8fafc;
}
.sc-foot p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--t-body, #4f6078);
}
.sc-foot .sc-net {
  margin-right: 4px;
}
.sc-offline-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px 0 8px;
  border: 1px solid #d3eadc;
  border-radius: 999px;
  background: #f1faf4;
  font-size: 13.5px;
  font-weight: 650;
  color: #23633f;
}
.sc-offline-toggle:hover {
  border-color: #9fd0b3;
}
.sc-switch {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #c7d3df;
  transition: background 0.2s;
}
.sc-switch:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0003;
  transition: translate 0.2s;
}
.sc-offline-toggle[aria-checked='true'] {
  background: #2f7a4f;
  border-color: #2f7a4f;
  color: #fff;
}
.sc-offline-toggle[aria-checked='true'] .sc-switch {
  background: #ffffff55;
}
.sc-offline-toggle[aria-checked='true'] .sc-switch:after {
  translate: 14px 0;
}

/* ---------- Map: real basemap snapshot + app-like overlay ---------- */
.sc-map {
  position: relative;
  min-height: 540px;
  border-right: 1px solid #e6edf3;
  background: #e9eef0;
  overflow: hidden;
  --mk: 40px;
}
.sc-frame {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
}
/* behaves like object-fit:cover, so markers placed in % stay on their streets */
.sc-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, calc(100cqh * 600 / 520));
  aspect-ratio: 600/520;
  translate: -50% -50%;
}
.sc-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sc-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sc-el {
  transition: opacity 0.35s;
}
.sc-map .sc-el[data-step] {
  opacity: 0.38;
}
.sc-map .sc-route.sc-el[data-step] {
  opacity: 0;
}
.sc-map[data-step='1'] .sc-el[data-step='1'],
.sc-map[data-step='2'] .sc-el[data-step='2'],
.sc-map[data-step='3'] .sc-el[data-step='3'],
.sc-map[data-step='4'] .sc-el[data-step='4'] {
  opacity: 1;
}
.sc-route path {
  fill: none;
  stroke: #2a62dc;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-route path.casing {
  stroke: #fff;
  stroke-width: 11;
}
.sc-zone {
  stroke-width: 2;
  stroke-dasharray: 7 6;
}
.sc-zone.red {
  fill: #e0443c26;
  stroke: #d0302a;
}
.sc-zone.amber {
  fill: #f0a12a33;
  stroke: #d88a12;
}
.sc-zone.gray {
  fill: #5d6b7a33;
  stroke: #6b7888;
}

/* markers */
.sc-pin,
.sc-person,
.sc-you,
.sc-closed,
.sc-maptag {
  position: absolute;
  translate: -50% -50%;
}
.sc-pin,
.sc-person {
  z-index: 2;
}
.sc-pin.blue,
.sc-person.green,
.sc-person.blue,
.sc-person.red {
  background: none;
} /* landingpage.css has global .green/.blue */
.sc-pin-mk {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--mk);
  height: var(--mk);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 4px 12px #1b37583d,
    0 0 0 1px #1b375814;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.sc-pin-mk img {
  width: calc(var(--mk) - 12px);
  height: calc(var(--mk) - 12px);
  border-radius: 7px;
}
.sc-map {
  --mki: 20px;
}
.sc-pin.blue .sc-pin-mk {
  background: #245ad0;
}
.sc-pin-lab {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  translate: 0 -50%;
  padding: 5px 10px;
  border-radius: 999px;
  background: #162c48;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 10px #1b375833;
  opacity: 0;
  transition: opacity 0.3s;
}
.sc-pin-lab.l {
  left: auto;
  right: calc(100% + 8px);
}
.sc-pin-lab b {
  font-weight: 750;
}
.sc-map[data-step='1'] [data-step='1'] .sc-pin-lab,
.sc-map[data-step='2'] [data-step='2'] .sc-pin-lab,
.sc-map[data-step='3'] [data-step='3'] .sc-pin-lab,
.sc-map[data-step='4'] [data-step='4'] .sc-pin-lab {
  opacity: 1;
}
.sc-map[data-step='1'] [data-step='1'] .sc-pin-mk,
.sc-map[data-step='2'] [data-step='2'] .sc-pin-mk,
.sc-map[data-step='3'] [data-step='3'] .sc-pin-mk,
.sc-map[data-step='4'] [data-step='4'] .sc-pin-mk {
  transform: scale(1.14);
  box-shadow:
    0 0 0 5px #2a62dc40,
    0 6px 16px #1b375855;
}
.sc-av {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #245ad0;
  font:
    750 14px Manrope,
    sans-serif;
  color: #fff;
  box-shadow: 0 3px 10px #1b375844;
}
.sc-person.green .sc-av,
.sc-av.green {
  background: #2f7a4f;
}
.sc-person.red .sc-av,
.sc-av.red {
  background: #c8322b;
}
.sc-av.gray {
  background: #8a97a6;
}
.sc-person .sc-pin-lab {
  background: #fff;
  color: #162c48;
}
.sc-person.red .sc-pin-lab {
  background: #c8322b;
  color: #fff;
}
.sc-person.green .sc-pin-lab {
  background: #2f7a4f;
  color: #fff;
}
.sc-you {
  z-index: 3;
  display: grid;
  justify-items: center;
}
.sc-you i {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #2a62dc;
  box-shadow: 0 2px 8px #1b375866;
}
.sc-you i:before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: #2a62dc2e;
  animation: sc-you 2.2s ease-in-out infinite;
}
@keyframes sc-you {
  50% {
    transform: scale(1.35);
    opacity: 0.4;
  }
}
.sc-you span {
  position: absolute;
  top: calc(100% + 4px);
  padding: 2px 8px;
  border-radius: 999px;
  background: #162c48;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.sc-closed {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  translate: -18px -50%;
}
.sc-closed span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c8322b;
  color: #fff;
  box-shadow: 0 3px 10px #1b375844;
}
.sc-closed .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
.sc-closed em {
  padding: 4px 9px;
  border-radius: 999px;
  background: #c8322b;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.sc-maptag {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 4px 10px #1b375833;
}
.sc-maptag .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.sc-maptag.red {
  background: #c8322b;
}
.sc-maptag.amber {
  background: #b8770c;
}
.sc-maptag.gray {
  background: #4a5868;
}
.sc-maptag.blue {
  background: #245ad0;
}

/* app UI: push notice, offline status, bottom card */
.sc-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.sc-push {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 16px;
  background: #ffffffeb;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px #1b375833;
  transition:
    opacity 0.35s,
    translate 0.35s;
}
.sc-push-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
}
.sc-push-ico .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.sc-push.red .sc-push-ico {
  background: #c8322b;
}
.sc-push.amber .sc-push-ico {
  background: #b8770c;
}
.sc-push.gray .sc-push-ico {
  background: #4a5868;
}
.sc-push.blue .sc-push-ico {
  background: #245ad0;
}
.sc-push-txt {
  min-width: 0;
  display: grid;
  gap: 1px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--t-body, #4f6078);
}
.sc-push-txt small {
  font-size: 11px;
  font-weight: 600;
  color: var(--t-muted, #5f6f84);
}
.sc-push-txt b {
  font-size: 14px;
  color: var(--t-strong, #162c48);
}
.sc-status {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #3d4b5c;
  font-size: 12.5px;
  font-weight: 650;
  color: #fff;
  box-shadow: 0 4px 12px #1b375833;
  opacity: 0;
  transition: opacity 0.35s;
}
.sc-status .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.sc-status.always {
  opacity: 1;
}
.sc-sheets {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
}
.sc-sheet {
  position: relative;
  display: none;
  padding: 10px 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px #1b375838;
  animation: sc-sheet 0.35s ease both;
}
@keyframes sc-sheet {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}
.sc-map[data-step='1'] .sc-sheet[data-for='1'],
.sc-map[data-step='2'] .sc-sheet[data-for='2'],
.sc-map[data-step='3'] .sc-sheet[data-for='3'],
.sc-map[data-step='4'] .sc-sheet[data-for='4'] {
  display: block;
}
.sc-grip {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 9px;
  background: #d5dde6;
}
.sc-sheet small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--t-muted, #5f6f84);
}
.sc-sheet b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t-strong, #162c48);
}
.sc-sheet ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 3px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--t-body, #4f6078);
}
.sc-place ul li + li:before,
.sc-radio ul li + li:before {
  content: '·';
  margin-right: 12px;
  color: #9aa8b8;
}
.sc-place,
.sc-radio,
.sc-cam,
.sc-call {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-place > div,
.sc-radio > div,
.sc-cam > div,
.sc-call > div {
  flex: 1;
  min-width: 0;
}
.sc-place-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #f2f5f9;
}
.sc-place-ico img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.sc-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e3f4ea;
  font-size: 12px;
  font-weight: 650;
  color: #23633f;
}
.sc-ok .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}
.sc-act {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  background: #245ad0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.sc-act .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}
.sc-act.red {
  background: #c8322b;
}
.sc-fam ul {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.sc-fam li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-fam li .sc-av {
  width: 30px;
  height: 30px;
  border-width: 2px;
  font-size: 12px;
  box-shadow: none;
}
.sc-fam li b {
  flex: 1;
  font-size: 14px;
}
.sc-st {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}
.sc-st.green {
  background: #e3f4ea;
  color: #23633f;
}
.sc-st.red {
  background: #fbe9e8;
  color: #a3302b;
}
.sc-st.blue {
  background: #e4edfb;
  color: #1f4f9f;
}
.sc-st.gray {
  background: #eef1f5;
  color: #5f6f84;
}
.sc-fam-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.sc-fam-btns span {
  padding: 9px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.sc-fam-btns .safe {
  background: #2f7a4f;
  color: #fff;
}
.sc-fam-btns .help {
  background: #fbe9e8;
  color: #a3302b;
}
.sc-cam-img {
  position: relative;
  flex-shrink: 0;
  width: 112px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
}
.sc-cam-img svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sc-cam-img em {
  position: absolute;
  left: 6px;
  top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #c8322b;
  font-style: normal;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.4px;
  color: #fff;
}
.sc-cam-img em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: alert-dot 1.3s infinite;
}
.sc-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}
.sc-bars i {
  width: 3px;
  border-radius: 2px;
  background: #245ad0;
  opacity: 0.75;
}
.sc-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sc-notice > span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
}
.sc-notice > span .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.sc-notice.green > span {
  background: #2f7a4f;
}
.sc-notice.blue > span {
  background: #245ad0;
}
.sc-notice.red > span {
  background: #c8322b;
}
.sc-notice.amber > span {
  background: #b8770c;
}
.sc-notice.gray > span {
  background: #4a5868;
}
.sc-notice p {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--t-body, #4f6078);
}
.sc-chat p {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
}
.sc-chat .q {
  margin-left: 28%;
  background: #245ad0;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.sc-chat .a {
  margin-right: 20%;
  background: #f0f3f7;
  color: #2c4562;
  border-bottom-left-radius: 4px;
}
.sc-chat .a b {
  font-size: 11.5px;
  color: #23633f;
}
.sc-call > b {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 58px;
  height: 46px;
  border-radius: 13px;
  background: #fbe9e8;
  font:
    800 22px Manrope,
    sans-serif;
  color: #a3302b;
}
.sc-call > div span {
  display: block;
  font-size: 13px;
  color: var(--t-body, #4f6078);
}
.sc-sheet-lock {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: inherit;
  background: #f4f6f9eb;
  font-size: 13.5px;
  font-weight: 700;
  color: #5f6f84;
}
.sc-sheet-lock .icon {
  width: 17px;
  height: 17px;
}
.sc-attrib {
  position: absolute;
  right: 6px;
  bottom: 2px;
  z-index: 1;
  padding: 0 5px;
  border-radius: 4px;
  background: #ffffffb8;
  font-size: 10px;
  color: #4f6078;
}

/* Offline mode: online layers vanish from the map, online steps are struck through */
.sc-stage[data-offline='true'] .net-on {
  opacity: 0 !important;
  pointer-events: none;
}
.sc-stage[data-offline='true'] .sc-push {
  translate: 0 -8px;
}
.sc-stage[data-offline='true'] .sc-status {
  opacity: 1;
}
.sc-stage[data-offline='true'] .sc-sheet.on .sc-sheet-lock {
  display: flex;
}
.sc-stage[data-offline='true'] .sc-plan li.on .sc-step {
  opacity: 0.4;
}
.sc-stage[data-offline='true'] .sc-plan li.on b {
  text-decoration: line-through;
  text-decoration-color: #9aa6b5;
}

@media (max-width: 1100px) {
  .sc-info {
    padding: 24px 24px 22px;
  }
  .sc-map {
    --mk: 36px;
  }
}
@media (max-width: 900px) {
  .sc-scene {
    grid-template-columns: 1fr;
  }
  .sc-map {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e6edf3;
  }
  .sc-frame {
    position: relative;
    inset: auto;
    aspect-ratio: 600/470;
  }
  .sc-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Phones: the bottom card sits under the map so the map stays visible */
@media (max-width: 640px) {
  .sc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 24px -20px 14px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }
  .sc-tabs::-webkit-scrollbar {
    display: none;
  }
  .sc-tab {
    flex-shrink: 0;
  }
  .sc-stage {
    border-radius: 18px;
  }
  .sc-map {
    --mk: 32px;
    background: #f4f6f9;
  }
  .sc-frame {
    aspect-ratio: 600/560;
  }
  .sc-pin-lab {
    display: none;
  }
  .sc-ui {
    position: static;
  }
  .sc-push,
  .sc-status {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  .sc-status {
    right: auto;
  }
  .sc-push {
    padding: 8px 10px;
    gap: 10px;
    border-radius: 13px;
  }
  .sc-push-ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .sc-push-txt {
    font-size: 12px;
  }
  .sc-push-txt b {
    font-size: 13px;
  }
  .sc-push-txt small {
    display: none;
  }
  .sc-sheets {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 10px;
  }
  .sc-sheet {
    box-shadow:
      0 0 0 1px #e6edf3,
      0 6px 18px #1b375814;
  }
  .sc-grip {
    display: none;
  }
  .sc-cam-img {
    width: 92px;
    height: 54px;
  }
  .sc-act {
    display: none;
  }
  .sc-place-ico {
    width: 42px;
    height: 42px;
  }
  .sc-info {
    padding: 18px 14px 16px;
  }
  .sc-step {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    padding: 9px 8px;
    gap: 10px;
  }
  .sc-step .sc-net {
    font-size: 11px;
    padding: 2px 7px;
  }
  .sc-h {
    font-size: 25px;
  }
  .sc-num {
    width: 26px;
    height: 26px;
  }
  .sc-foot {
    padding: 14px;
  }
  .sc-offline-toggle {
    width: 100%;
  }
}
@media (max-width: 360px) {
  .sc-tabs {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-scene,
  .sc-sheet {
    animation: none;
  }
  .sc-you i:before,
  .sc-cam-img em i {
    animation: none;
  }
  .sc-switch,
  .sc-switch:after,
  .sc-el,
  .sc-pin-mk {
    transition: none;
  }
}

/* ==========================================================================
   08. Category catalog
   ========================================================================== */
/* Catalog: heading + total, group tabs, tiles for the chosen group. */
.ct-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.ct-head h2 {
  margin: 0;
}
.ct-head p {
  margin: 14px 0 0;
  max-width: 440px;
  line-height: 1.65;
}
.ct-total {
  text-align: right;
  flex-shrink: 0;
}
.ct-total strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 650;
  letter-spacing: -3px;
  line-height: 0.95;
  color: #2455b8;
  font-variant-numeric: tabular-nums;
}
.ct-total span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #1d3350;
}
.ct-total small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--t-muted);
}

.ct-tabs {
  display: flex;
  gap: 6px;
  margin: 36px 0 0;
  padding: 6px;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}
.ct-tabs::-webkit-scrollbar {
  display: none;
}
.ct-tabs [role='tab'] {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font: inherit;
  color: #2c4562;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.ct-tabs [role='tab']:hover {
  background: #f1f5fa;
}
.ct-tabs [role='tab'][aria-selected='true'] {
  background: #203f6c;
  color: #fff;
  box-shadow: 0 8px 20px #203f6c30;
}
.ct-tab-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  flex-shrink: 0;
}
.ct-tab-ico img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.ct-tab-ico .icon {
  width: 16px;
  height: 16px;
  color: #386acd;
}
.ct-tab-name {
  font-size: 13px;
  font-weight: 600;
}
.ct-tabs b {
  font-size: 11px;
  font-weight: 700;
  color: #8a98aa;
  font-variant-numeric: tabular-nums;
}
.ct-tabs [aria-selected='true'] b {
  color: #a9c2ef;
}

.ct-panel {
  margin-top: 16px;
  padding: 26px 28px 28px;
  border: 1px solid #dde5ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px #1b37580d;
  animation: ct-in 0.3s ease;
}
.ct-panel-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ct-panel-head h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.6px;
  color: #162c48;
}
.ct-panel-head span {
  font-size: 12px;
  font-weight: 600;
  color: #245ad0;
  background: #edf3fd;
  padding: 5px 10px;
  border-radius: 7px;
}
.ct-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}
.ct-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'ico body count' 'ico go go';
  align-items: start;
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid #e6ecf2;
  border-radius: 14px;
  background: #fafcfe;
  text-align: left;
  font: inherit;
  color: inherit;
}
button.ct-tile {
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
button.ct-tile:hover {
  border-color: #b9cbe4;
  box-shadow: 0 10px 26px #1b375812;
  transform: translateY(-1px);
}
.ct-tile-ico {
  grid-area: ico;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px #e6ecf2;
}
.ct-tile-ico img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.ct-tile-ico .icon {
  width: 20px;
  height: 20px;
  color: #386acd;
}
.ct-tile-body {
  grid-area: body;
  min-width: 0;
}
.ct-tile-body strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  color: #1d3350;
}
.ct-tile-body small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--t-muted);
}
.ct-tile-count {
  grid-area: count;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #203f6c;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ct-tile-go {
  grid-area: go;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 650;
  color: #245ad0;
}
.ct-tile-go .icon {
  width: 13px;
  height: 13px;
  transition: translate 0.2s;
}
button.ct-tile:hover .ct-tile-go .icon {
  translate: 3px 0;
}

@media (max-width: 800px) {
  .ct-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ct-total {
    text-align: left;
  }
}
@media (max-width: 640px) {
  .ct-tabs {
    margin-top: 26px;
    border-inline: 0;
  }
  .ct-panel {
    padding: 18px;
    border-radius: 16px;
  }
  .ct-panel-head h3 {
    font-size: 20px;
  }
  .ct-tiles {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-panel {
    animation: none;
  }
}
/* All nine groups visible: tabs wrap instead of scrolling. */
.ct-tabs {
  flex-wrap: wrap;
  overflow: visible;
}
.ct-tabs [role='tab'] {
  flex: 1 1 auto;
  justify-content: center;
}
@media (max-width: 640px) {
  .ct-tabs {
    margin-inline: 0;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid #dde5ee;
    gap: 4px;
  }
  .ct-tabs [role='tab'] {
    flex: 1 1 calc(50% - 4px);
    justify-content: flex-start;
    padding: 7px 8px;
    gap: 7px;
  }
  .ct-tab-ico {
    width: 24px;
    height: 24px;
  }
  .ct-tab-ico img {
    width: 22px;
    height: 22px;
  }
  .ct-tab-name {
    font-size: 12px;
  }
  .ct-tabs b {
    display: none;
  }
  .ct-tile {
    grid-template-columns: auto 1fr auto;
    gap: 2px 12px;
    padding: 11px 12px;
  }
  .ct-tile-ico {
    width: 36px;
    height: 36px;
  }
  .ct-tile-ico img {
    width: 32px;
    height: 32px;
  }
  .ct-tile-body strong {
    font-size: 13.5px;
  }
  .ct-tile-count {
    font-size: 16px;
  }
}
/* Desktop: groups as a side list, the chosen group's tiles on the right. */
@media (min-width: 901px) {
  .ct-body {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 16px;
    margin-top: 36px;
    align-items: start;
  }
  .ct-tabs {
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0;
    gap: 2px;
    position: sticky;
    top: 96px;
  }
  .ct-tabs [role='tab'] {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 9px 12px 9px 9px;
  }
  .ct-tabs b {
    margin-left: auto;
  }
  .ct-panel {
    margin-top: 0;
    min-height: 100%;
  }
  .ct-tiles {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ==========================================================================
   09. FAQ
   ========================================================================== */
/* FAQ: grouped questions, direct answer first. */
.faq-section.section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 96px;
}
.faq-intro h2 {
  margin: 0;
}
.faq-intro p {
  margin: 14px 0 0;
  max-width: 360px;
  line-height: 1.65;
}
.faq-source {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 650;
  color: #245ad0;
  text-decoration: none;
  border-bottom: 1px solid #245ad044;
  padding-bottom: 2px;
}
.faq-source:hover {
  border-color: #245ad0;
}
.faq-group + .faq-group {
  margin-top: 34px;
}
.faq-group-title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.faq-list details {
  border: 1px solid #dde5ee;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 8px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.faq-list details:first-child {
  border-top: 1px solid #dde5ee;
}
.faq-list details[open] {
  border-color: #c9d7ea;
  box-shadow: 0 12px 30px #1b37580d;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: #1d3350;
}
.faq-list summary .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 5px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #f1f5fa;
  color: #203f6c;
  transition:
    transform 0.25s,
    background 0.2s;
}
.faq-list details[open] summary .icon {
  transform: rotate(45deg);
  background: #203f6c;
  color: #fff;
}
.faq-answer {
  padding: 0 20px 20px;
  max-width: 680px;
}
.faq-answer p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  padding: 0;
}
.faq-answer .faq-short {
  font-size: 14.5px;
  color: #1d3350;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .faq-section.section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-intro {
    position: static;
  }
}
@media (max-width: 640px) {
  .faq-list summary {
    padding: 15px 16px;
  }
  .faq-list summary h3 {
    font-size: 14px;
  }
  .faq-answer {
    padding: 0 16px 16px;
  }
}

/* ==========================================================================
   10. Closing CTA and footer
   ========================================================================== */
/* Closing call to action: full width, map texture, open map + app stores. */
.cta {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 104px 0 96px;
  background: radial-gradient(90% 120% at 50% 0%, #24508f 0%, #17305a 55%, #10223f 100%);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.cta-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}
.cta-river {
  fill: none;
  stroke: #3f6db0;
  stroke-width: 34;
  stroke-linecap: round;
  opacity: 0.55;
}
.cta-streets path {
  fill: none;
  stroke: #ffffff14;
  stroke-width: 10;
  stroke-linecap: round;
}
.cta-ring {
  fill: none;
  stroke: #8fb4ff55;
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}
.cta-ring.r2 {
  stroke: #8fb4ff2e;
}
.cta-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: -1;
  animation: cta-float 6s ease-in-out infinite;
  animation-delay: var(--d);
}
.cta-pin img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow:
    0 0 0 3px #ffffff26,
    0 12px 24px #0006;
  opacity: 0.9;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -3px;
  color: #fff;
}
.cta h2 span {
  color: #9ec0ff;
}
.cta-inner > p {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: #c9d8f0;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #13284b;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px #0005;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px #0006;
}
.cta-primary .icon {
  width: 19px;
  height: 19px;
  color: #2455b8;
}
.cta-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 14px;
  border-radius: 14px;
  background: #0b1526;
  border: 1px solid #ffffff2e;
  color: #fff;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.store-btn:hover {
  border-color: #ffffff80;
  transform: translateY(-2px);
}
.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.store-btn small {
  font-size: 10px;
  opacity: 0.75;
}
.store-btn strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.2px;
}

/* Footer */
.ft {
  background: #0d1c34;
  color: #b9c7dc;
}
.ft a {
  color: inherit;
  text-decoration: none;
}
.ft-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-block: 72px 48px;
}
.ft-brand p {
  margin: 16px 0 22px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.7;
  color: #9fb0c9;
}
.ft-col h2 {
  margin: 4px 0 16px;
  font-size: 12px;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.ft-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.ft-col a {
  font-size: 14px;
  color: #b9c7dc;
  transition: color 0.2s;
}
.ft-col a:hover {
  color: #fff;
}
.ft-col a span {
  font-size: 11px;
  opacity: 0.7;
}
.ft-emergency {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid #ffffff14;
}
.ft-sos {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #c43c37;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.ft-emergency p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #9fb0c9;
}
.ft-emergency strong {
  color: #fff;
  font-weight: 650;
}
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px 30px;
  border-top: 1px solid #ffffff14;
  font-size: 12px;
  color: #7f92ae;
}
.ft-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ft-bottom a:hover {
  color: #fff;
}

@media (max-width: 1000px) {
  .ft-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px 28px;
  }
  .ft-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .cta {
    padding: 72px 0 64px;
    margin-top: 8px;
  }
  .cta h2 {
    letter-spacing: -2px;
  }
  .cta-inner > p {
    font-size: 15px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
  .cta-primary {
    justify-content: center;
  }
  .cta-stores {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .store-btn {
    justify-content: center;
    padding: 0 10px;
  }
  .cta-pin {
    display: none;
  }
  .ft-top {
    grid-template-columns: 1fr 1fr;
    padding-block: 52px 36px;
  }
  .ft-col:last-child {
    grid-column: 1/-1;
  }
  .ft-bottom {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-pin {
    animation: none;
  }
}

/* ==========================================================================
   11. Sticky header
   ========================================================================== */
/* Logo: the SafePlace72 wordmark, used in the header and footer. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #13284b;
  flex-shrink: 0;
}
.logo-word {
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.7px;
  line-height: 1;
}
.logo-word b {
  margin-left: 1px;
  color: #2f66cf;
  font-weight: 750;
}
.logo-light {
  color: #fff;
}
.logo-light .logo-word b {
  color: #9ec0ff;
}

/* Sticky header */
html {
  scroll-padding-top: 84px;
}
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffe6;
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid #e3e9f0;
  transition: box-shadow 0.25s;
}
.hd.is-scrolled {
  box-shadow: 0 8px 24px #13284b12;
}
.hd-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.hd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.hd-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  color: #3d5170;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.hd-nav a:hover {
  color: #13284b;
  background: #f1f5fa;
}
.hd-nav a[aria-current] {
  color: #13284b;
}
.hd-nav a[aria-current]:after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: #2f66cf;
}
.hd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #1f4a8f;
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px #1f4a8f30;
  transition:
    background 0.2s,
    transform 0.2s;
}
.hd-cta:hover {
  background: #173b75;
  transform: translateY(-1px);
}
.hd-cta .icon {
  width: 17px;
  height: 17px;
}
.menu-toggle {
  display: none;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hd-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }
  .hd-inner {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .hd-inner {
    height: 64px;
  }
  .hd-inner > .hd-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid #e1e8f0;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #13284b;
    transition:
      transform 0.25s,
      opacity 0.2s;
  }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hd-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid #e3e9f0;
    box-shadow: 0 24px 40px #13284b1f;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .hd-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hd-nav a {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 12px;
  }
  .hd-nav a[aria-current] {
    background: #f1f5fa;
  }
  .hd-nav a[aria-current]:after {
    display: none;
  }
  html {
    scroll-padding-top: 74px;
  }
}
@media (max-width: 390px) {
  .logo-word {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hd-nav,
  .menu-toggle span {
    transition: none;
  }
}

/* ==========================================================================
   12. Production pass: type scale, contrast, spacing (overrides the sections above)
   ========================================================================== */
/* Production pass (UI/UX audit). Loaded last: shared type scale, section rhythm,
   readable sizes and contrast, touch targets, and the responsive fixes found in the audit.
   Phone mock-ups (.sx-phone, .fm-phone) keep their miniature type on purpose. */

:root {
  --t-strong: #162c48;
  --t-body: #4f6078;
  --t-muted: #5f6f84; /* ≥4.8:1 on white – replaces #7c8ca0 / #8a98aa / #94a1b1 on real UI text */
  --accent: #245ad0;
  --h2: clamp(32px, 4vw, 52px);
  --section-y: clamp(48px, 7vw, 96px);
}

/* ---------- Global ---------- */
main {
  overflow-x: clip;
} /* decorative glows can no longer cause sideways page scroll */
:where(button, a, summary, input, [role='tab'], [role='switch']):focus-visible {
  outline: 3px solid #3268d3;
  outline-offset: 3px;
  border-radius: 10px;
}

/* One heading scale for every section */
.fm-copy h2,
.sc-heading h2,
.ct-head h2,
.faq-intro h2 {
  font-size: var(--h2);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--t-strong);
}

/* One vertical rhythm */
.scenarios.section,
.catalog-section.section,
.faq-section.section {
  padding-block: var(--section-y);
}
.family-section {
  padding-block: var(--section-y);
}

/* ---------- Hero ---------- */
.map-hero .hero-copy {
  gap: 32px;
  min-height: 88px;
}
.map-hero h1 {
  font-size: clamp(30px, 2.9vw, 42px);
  letter-spacing: -0.035em;
  margin-top: 6px;
}
.hero-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--t-muted);
}
.map-hero .hero-description {
  font-size: 14.5px;
  color: var(--t-body);
  max-width: 440px;
}
.hero-cta {
  display: none;
}

/* Tour card: readable labels and real 36–40px controls */
.hero-map-card .tour-card-top span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--t-muted);
}
.hero-map-card .tour-card-meta .card-demo {
  font-size: 10px;
  letter-spacing: 0.06em;
}
.hero-map-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t-body);
}
.hero-map-card .tour-fact span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--t-muted);
  max-width: 130px;
}
.hero-map-card .tour-controls {
  gap: 6px;
}
.hero-map-card .tour-controls button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  color: #203f6c;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.hero-map-card .tour-controls button:hover {
  background: #e1eaf5;
  border-color: #cbd8e8;
}
.hero-map-card .tour-controls .icon {
  width: 18px;
  height: 18px;
}
.hero-map-card #tour-play .icon {
  width: 16px;
  height: 16px;
}
.hero-map-card #tour-next-label {
  font-size: 12px;
  color: var(--t-muted);
  padding-left: 8px;
}
.map-hero .hero-layers button {
  font-size: 12.5px;
  font-weight: 550;
  min-height: 44px;
}
.hero-layers .tour-step {
  font-size: 10.5px;
  color: var(--t-muted);
}
.alert-banner {
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .map-hero .hero-copy {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 16px;
    padding: 14px 16px;
  }
  .map-hero .hero-heading {
    min-width: 0;
  }
  .map-hero h1 {
    font-size: clamp(26px, 7vw, 32px);
  }
  .map-hero .hero-description {
    display: block;
    grid-column: 1/-1;
    grid-row: 2;
    max-width: none;
    padding: 0;
    border: 0;
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    grid-column: 2;
    grid-row: 1;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: #1f4a8f;
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px #1f4a8f30;
  }
  .hero-cta .icon {
    width: 16px;
    height: 16px;
  }
  .hero-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .hero-map-card p {
    font-size: 12.5px;
  }
  .hero-map-card .tour-fact span {
    font-size: 11px;
    max-width: 110px;
  }
  .hero-map-card .tour-controls button {
    width: 40px;
    height: 40px;
  }
  .map-hero .hero-layers button {
    font-size: 12px;
  }
  .alert-banner {
    font-size: 10.5px;
  }
}
@media (max-width: 390px) {
  .map-hero .hero-copy {
    gap: 6px 10px;
    padding-inline: 14px;
  }
  .map-hero h1 {
    font-size: 25px;
  }
  .hero-cta {
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .hero-map-card p {
    font-size: 12px;
  }
  .hero-map-card .tour-fact span {
    font-size: 10.5px;
    max-width: 90px;
  }
  .hero-map-card .tour-controls button {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 350px) {
  .hero-cta {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }
  .hero-cta .icon {
    width: 19px;
    height: 19px;
  }
}

/* ---------- Feature strip ---------- */
.intro-feature h3 {
  font-size: 15px;
}
.intro-feature p {
  font-size: 13.5px;
  color: var(--t-body);
}

/* ---------- Situations ---------- */
.sx-demo {
  font-size: 11.5px;
  color: var(--t-muted);
}
/* Smaller screens: choose first, then see the result – tabs sit above the phone */

/* ---------- Family ---------- */
@media (min-width: 1001px) {
  .fm-grid {
    grid-template-columns: minmax(0, 640px) 320px;
    justify-content: space-between;
    gap: 64px;
  }
}
@media (min-width: 1280px) {
  .fm-grid {
    justify-content: center;
    gap: clamp(64px, 9vw, 140px);
  }
}
.fm-lead {
  font-size: 16px;
  color: var(--t-body);
}
.fm-features h3 {
  font-size: 15px;
}
.fm-features p {
  font-size: 13.5px;
  color: var(--t-body);
}

/* ---------- Catalog ---------- */
.ct-head p {
  font-size: 16px;
  color: var(--t-body);
}

/* ---------- FAQ ---------- */
.faq-intro p {
  font-size: 16px;
  color: var(--t-body);
}
.faq-source {
  padding-block: 8px 4px;
}
.faq-group-title {
  font-size: 11.5px;
  color: var(--t-muted);
}
.faq-answer p {
  color: var(--t-body);
}

/* ---------- Footer ---------- */
.ft-col a {
  display: inline-block;
  padding-block: 5px;
}
.ft-col ul {
  gap: 4px;
}
@media (max-width: 600px) {
  .hero-heading .eyebrow {
    display: none;
  }
  .map-hero h1 {
    margin-top: 0;
  }
}

/* ---------- Tour: paused state is obvious and invites resuming ---------- */
.hero-map-card #tour-play[aria-pressed='false'] {
  background: #1f4a8f;
  border-color: #1f4a8f;
  color: #fff;
}
.hero-map-card #tour-play[aria-pressed='false']:hover {
  background: #173b75;
}

/* ==========================================================================
   13. Sub pages: contacts, legal documents, 404  (pages/*.html -> tools/build-pages.py)
   ========================================================================== */
.page main {
  min-height: 60vh;
}
.pg-hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.pg-eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #245ad0;
}
.pg-hero h1,
.nf h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--t-strong);
}
.pg-lead {
  max-width: 640px;
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--t-body);
}
.pg-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--t-muted);
}
mark.todo {
  padding: 1px 6px;
  border-radius: 5px;
  background: #fff1c2;
  color: #6b4a0c;
  font-weight: 600;
}

/* 112 banner */
.pg-sos {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #f3cfcd;
  border-radius: 18px;
  background: #fdf1f0;
}
.pg-sos-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 48px;
  border-radius: 13px;
  background: #c43c37;
  font:
    800 20px Manrope,
    sans-serif;
  color: #fff;
}
.pg-sos p {
  font-size: 15px;
  line-height: 1.5;
  color: #6f2622;
}
.pg-sos strong {
  color: #8f2420;
}

/* Contacts */
.cn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-block: 24px clamp(64px, 8vw, 110px);
}
.cn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cn-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid #dde5ee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px #1b37580b;
}
.cn-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: #e4edfb;
  color: #245ad0;
}
.cn-ico .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.cn-ico.warn {
  background: #fff1d6;
  color: #a86d0c;
}
.cn-ico.green {
  background: #e3f4ea;
  color: #23724a;
}
.cn-ico.violet {
  background: #f1ebfc;
  color: #6b3fb8;
}
.cn-card h2,
.cn-box h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--t-strong);
}
.cn-card p {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--t-body);
}
.cn-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid #cfdbea;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  color: #203f6c;
}
.cn-btn:hover {
  border-color: #203f6c;
}
.cn-btn .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.cn-btn.solid {
  border-color: #203f6c;
  background: #203f6c;
  color: #fff;
}
.cn-btn.solid:hover {
  background: #162c48;
}
.cn-side {
  display: grid;
  gap: 16px;
}
.cn-box {
  padding: 22px 24px;
  border: 1px solid #dde5ee;
  border-radius: 22px;
  background: #fff;
}
.cn-email {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 650;
  color: var(--t-strong);
  word-break: break-all;
}
.cn-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f0f4f9;
  font-size: 13px;
  font-weight: 650;
  color: #2c4562;
}
.cn-copy:hover {
  background: #e4ebf4;
}
.cn-copy .icon {
  width: 16px;
  height: 16px;
}
.cn-dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}
.cn-dl div {
  display: grid;
  gap: 2px;
}
.cn-dl dt {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--t-muted);
}
.cn-dl dd {
  margin: 0;
  font-size: 15px;
  color: var(--t-strong);
}
.cn-faq {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 22px;
  background: #162c48;
  font-size: 14px;
  line-height: 1.5;
  color: #c9d6e8;
}
.cn-faq strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.cn-faq .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #fff;
  transition: translate 0.2s;
}
.cn-faq:hover .icon {
  translate: 3px 0;
}

/* Legal documents */
.pg-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-block: 16px clamp(64px, 8vw, 110px);
}
.pg-toc {
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid #dde5ee;
  border-radius: 18px;
  background: #fff;
}
.pg-toc p {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--t-muted);
}
.pg-toc ol,
.pg-toc ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.pg-toc ol {
  margin-bottom: 18px;
}
.pg-toc ul {
  padding-top: 14px;
  border-top: 1px solid #eef2f6;
}
.pg-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.35;
  color: #2c4562;
}
.pg-toc ol a:before {
  counter-increment: toc;
  content: counter(toc) '.';
  display: inline-block;
  width: 22px;
  color: var(--t-muted);
}
.pg-toc a:hover {
  background: #f2f5f9;
}
.pg-toc a[aria-current='page'] {
  background: #e4edfb;
  font-weight: 650;
  color: #1f4f9f;
}
.prose {
  counter-reset: sec;
  font-size: 16px;
  line-height: 1.7;
  color: var(--t-body);
}
.prose h2 {
  counter-increment: sec;
  margin: 44px 0 12px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--t-strong);
  scroll-margin-top: 100px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h2:before {
  content: counter(sec) '. ';
  color: #245ad0;
}
.prose h3 {
  margin: 22px 0 6px;
  font-size: 17px;
  font-weight: 650;
  color: var(--t-strong);
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}
.prose li::marker {
  color: #245ad0;
}
.prose strong {
  color: var(--t-strong);
}
.prose a {
  color: #245ad0;
  text-decoration: underline;
  text-decoration-color: #245ad055;
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.pg-callout {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 4px solid #c43c37;
  border-radius: 0 14px 14px 0;
  background: #fdf1f0;
  color: #6f2622;
}
.pg-callout strong {
  color: #8f2420;
}
.pg-table {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid #dde5ee;
  border-radius: 16px;
  background: #fff;
}
.pg-table table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 15px;
}
.pg-table th {
  padding: 12px 16px;
  background: #f5f8fb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
  text-transform: uppercase;
  color: var(--t-muted);
}
.pg-table td {
  padding: 12px 16px;
  border-top: 1px solid #eef2f6;
  color: var(--t-body);
}
.pg-no {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e3f4ea;
  font-size: 13px;
  font-weight: 700;
  color: #23633f;
}

/* 404 */
.nf {
  padding-block: clamp(64px, 12vw, 150px);
  text-align: center;
}
.nf h1,
.nf .pg-lead {
  margin-inline: auto;
}
.nf-code {
  margin-bottom: 12px;
  font:
    800 clamp(72px, 14vw, 140px) / 1 Manrope,
    sans-serif;
  letter-spacing: -0.05em;
  color: #dbe5f3;
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.nf-actions .cn-btn {
  margin: 0;
}
.nf-note {
  margin-top: 36px;
  font-size: 14px;
  color: var(--t-muted);
}

@media (max-width: 1000px) {
  .cn-layout {
    grid-template-columns: 1fr;
  }
  .cn-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cn-faq {
    grid-column: 1 / -1;
  }
  .pg-layout {
    grid-template-columns: 1fr;
  }
  .pg-toc {
    position: static;
  }
}
@media (max-width: 640px) {
  .cn-grid,
  .cn-side {
    grid-template-columns: 1fr;
  }
  .cn-card {
    padding: 20px;
  }
  .pg-sos {
    align-items: flex-start;
    padding: 14px 16px;
  }
  .pg-sos-num {
    width: 48px;
    height: 42px;
    font-size: 17px;
  }
  .prose h2 {
    font-size: 20px;
  }
}
.prose ul + p {
  margin-top: 14px;
}

/* ==========================================================================
   14. Header button and the "Atverti žemėlapį" page (atsisiusti.html)
   ========================================================================== */
.hd-actions {
  display: flex;
  align-items: center;
}
.hd-cta-short {
  display: none;
}
.hd-cta[aria-current='page'] {
  background: #13284b;
}
@media (max-width: 900px) {
  .hd-actions {
    margin-left: auto;
  }
  .hd-inner .menu-toggle {
    margin-left: 0;
  }
  .hd-actions .hd-cta {
    height: 40px;
    padding: 0 14px;
  }
}
@media (max-width: 420px) {
  .hd-cta-long {
    display: none;
  }
  .hd-cta-short {
    display: inline;
  }
}

/* "Atverti žemėlapį" page (atsisiusti.html): dark hero, the choice on the left, a still laptop + phone on the right */
.page-get main {
  background: #f7f9fc;
}
.gh {
  --gh-line: #ffffff1a;
  --gh-text: #aebbd0;
  --gh-accent: #8cb4ff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 78% 50%, #2458c438, transparent 70%),
    radial-gradient(40% 50% at 8% 0%, #1d3f7a47, transparent 70%), linear-gradient(180deg, #0a1426, #0d1c34);
  color: #fff;
}
.gh-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 104px);
}
.gh-eyebrow {
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gh-accent);
}
.gh h1 {
  font-size: clamp(34px, 3.9vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}
.gh h1 span {
  display: block;
  color: #ffffff8c;
}
.gh-lead {
  max-width: 500px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gh-text);
}

/* the two ways in, as rows of one quiet panel */
.gh-opts {
  display: grid;
  max-width: 580px;
  margin-top: 36px;
  border: 1px solid var(--gh-line);
  border-radius: 20px;
  background: #ffffff08;
}
.gh-opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  scroll-margin-top: 96px;
}
.gh-opt + .gh-opt {
  border-top: 1px solid var(--gh-line);
}
.gh-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff0f;
  color: #dbe6ff;
}
.gh-opt.is-mine .gh-ico {
  background: #2f66e0;
  color: #fff;
}
.gh-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gh-opt h2 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #fff;
}
.gh-txt p {
  margin-top: 3px;
  font-size: 14px;
  color: var(--gh-text);
}
.gh-tag {
  display: none;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #8cb4ff24;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--gh-accent);
  vertical-align: 2px;
}
.gh-opt.is-mine .gh-tag {
  display: inline-block;
}
.gh-act {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.gh-act .store-btn {
  height: 44px;
  gap: 8px;
  padding: 0 14px 0 11px;
  border-radius: 11px;
  background: #050b16;
  border-color: #ffffff2e;
}
.gh-act .store-btn svg {
  width: 19px;
  height: 19px;
}
.gh-act .store-btn small {
  font-size: 9px;
}
.gh-act .store-btn strong {
  font-size: 14px;
}
.ga-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #0b1628;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.ga-btn:hover {
  background: #e3ecff;
  transform: translateY(-1px);
}
.ga-btn .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.1;
}
.gh-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.gh-qr[hidden] {
  display: none;
}
.gh-qr-code {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}
.gh-qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}
.gh-qr p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--gh-text);
}

/* the picture: a still laptop with the phone resting in front of it, straight on the dark background */
.gh-visual {
  position: relative;
  aspect-ratio: 1.25;
}
.gh-laptop {
  position: absolute;
  left: 4%;
  top: 10%;
  width: 82%;
}
.gh-lid {
  padding: 1.4%;
  border-radius: 14px 14px 0 0;
  background: #1a2335;
  box-shadow:
    inset 0 0 0 1px #ffffff1f,
    0 40px 80px #00000066;
}
.gh-lscreen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #e9eef0;
}
.gh-lscreen > img,
.gh-pscreen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-lscreen > img {
  object-position: 55% 45%;
}
.gh-base {
  position: relative;
  height: 14px;
  margin: 0 -7%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(#3a4659, #1c2536);
  box-shadow: inset 0 1px 0 #ffffff26;
}
.gh-base:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 15%;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: #11192a;
  translate: -50% 0;
}
.gh-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
  aspect-ratio: 9 / 19.5;
  padding: 1.6%;
  border-radius: 16% / 7.4%;
  background: #05080f;
  box-shadow:
    inset 0 0 0 1.5px #ffffff2e,
    0 30px 60px #0000008c;
}
.gh-phone:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 3.4%;
  z-index: 3;
  width: 28%;
  height: 3.2%;
  border-radius: 99px;
  background: #05080f;
  translate: -50% 0;
}
.gh-pscreen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 14% / 6.6%;
  background: #e9eef0;
}
.gh-pscreen > img {
  object-position: 32% 50%;
}
.gh-pin,
.gh-you {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
}
.gh-pin {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px #0b162859;
}
.gh-pin img {
  width: 19px;
  height: 19px;
  border-radius: 4px;
}
.gh-you {
  width: 13px;
  height: 13px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: #2a62dc;
  box-shadow:
    0 0 0 7px #2a62dc2e,
    0 2px 5px #0004;
}
.gh-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gh-route path {
  fill: none;
  stroke: #2a62dc;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.gh-sheet {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 3%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 -2px 14px #0b162826;
}
.gh-sheet img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.gh-sheet span {
  min-width: 0;
}
.gh-sheet small {
  display: block;
  overflow: hidden;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #8190a5;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gh-sheet b {
  display: block;
  font-size: 11.5px;
  color: #162c48;
  white-space: nowrap;
}

/* FAQ for the page (also FAQPage structured data, generated from this markup) */
.gh-faq {
  padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px);
}
.gh-faq h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--t-strong);
}
.gh-faq-list {
  display: grid;
  gap: 8px;
  max-width: 820px;
}
.gh-faq-list details {
  border: 1px solid #dde5ee;
  border-radius: 14px;
  background: #fff;
}
.gh-faq-list summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--t-strong);
  cursor: pointer;
  list-style: none;
}
.gh-faq-list summary::-webkit-details-marker {
  display: none;
}
.gh-faq-list summary:after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #5f6f84;
  border-bottom: 2px solid #5f6f84;
  translate: 0 -70%;
  rotate: 45deg;
  transition:
    rotate 0.2s,
    translate 0.2s;
}
.gh-faq-list details[open] summary:after {
  rotate: -135deg;
  translate: 0 -20%;
}
.gh-faq-list details p {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t-body);
}
.gh-faq-list details a {
  font-weight: 650;
  color: #245ad0;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .gh-opt {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .gh-act {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 960px) {
  .gh-in {
    grid-template-columns: 1fr;
  }
  .gh-visual {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  .gh-in {
    padding-block: 36px 44px;
    gap: 40px;
  }
  .gh-eyebrow {
    margin-bottom: 14px;
  }
  .gh-lead {
    margin-top: 16px;
    font-size: 16px;
  }
  .gh-opts {
    margin-top: 28px;
  }
  .gh-opt {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }
  .gh-act {
    grid-column: 1 / -1;
  }
  .gh-act > * {
    flex: 1 1 0;
  }
  .gh-act .store-btn {
    justify-content: center;
    height: 50px;
  }
  .ga-btn {
    height: 50px;
  }
  .gh-pin {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }
  .gh-pin img {
    width: 15px;
    height: 15px;
  }
  .gh-sheet {
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
  }
  .gh-sheet img {
    width: 18px;
    height: 18px;
  }
  .gh-sheet small {
    display: none;
  }
  .gh-sheet b {
    font-size: 9px;
  }
  .gh-sheet img {
    display: none;
  }
  .gh-faq summary {
    padding: 15px 44px 15px 16px;
    font-size: 15px;
  }
  .gh-faq details p {
    padding: 0 16px 16px;
  }
}

/* ==========================================================================
   15. Guides, about and catalog pages (pages/gidai.html and the guides, apie.html, kategorijos.html)
   ========================================================================== */
.pg-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--t-muted);
}
.pg-crumbs li + li:before {
  content: '›';
  margin-right: 6px;
  color: #a3b0c0;
}
.pg-crumbs a {
  color: var(--t-muted);
  text-decoration: none;
}
.pg-crumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.pg-meta a {
  color: inherit;
}
/* The short answer: first thing a reader (or an answer engine) quotes. */
.pg-answer {
  margin: 0 0 8px;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: #eef4fd;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--t-strong);
}
.pg-answer strong {
  color: var(--accent);
}
.prose ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--t-body);
  line-height: 1.65;
}
.prose .gh-faq-list {
  margin-top: 16px;
}
.pg-sources {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.pg-sources li {
  padding: 12px 16px;
  border: 1px solid #dde5ee;
  border-radius: 12px;
  background: #fff;
}
.pg-src-host {
  margin-left: 6px;
  font-size: 13px;
  color: var(--t-muted);
}
.pg-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--t-muted);
}
.pg-count {
  margin-left: 6px;
  font-size: 0.7em;
  font-weight: 600;
  color: var(--t-muted);
}
.pg-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pg-table tbody th {
  background: none;
  border-top: 1px solid #eef2f6;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--t-strong);
}
.pg-cat-table {
  table-layout: fixed;
}
.pg-cat-table .c-name {
  width: 42%;
}
.pg-cat-table .c-num {
  width: 110px;
}
.pg-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pg-cat img {
  flex-shrink: 0;
  border-radius: 5px;
}
.gd-list {
  padding-block: 24px clamp(64px, 8vw, 110px);
}
.gd-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.prose ol + p,
.prose ul + p {
  margin-top: 14px;
}
.gd-card h2 a {
  color: inherit;
  text-decoration: none;
}
.gd-card h2 a:hover {
  color: var(--accent);
}
/* Grid children may shrink below their content, so a wide table scrolls inside .pg-table instead of widening the page. */
.pg-layout > * {
  min-width: 0;
}
.pg-table .pg-kv {
  min-width: 0;
}

/* Related pages, glossary, /duk "read more" and the block after a page's article. */
.pg-related {
  margin-top: 40px;
}
.pg-related ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.pg-related a {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid #dde5ee;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.pg-related a:hover {
  border-color: #b9cbe6;
  box-shadow: 0 10px 26px #1b37580f;
}
.pg-related strong {
  color: var(--t-strong);
}
.pg-related span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--t-body);
}
.pg-terms {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}
.pg-term {
  padding: 16px 20px;
  border: 1px solid #dde5ee;
  border-radius: 14px;
  background: #fff;
  scroll-margin-top: 96px;
}
.pg-term dt {
  font-weight: 700;
  color: var(--t-strong);
}
.pg-term dd {
  margin: 6px 0 0;
  line-height: 1.6;
  color: var(--t-body);
}
.pg-term:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #245ad022;
}
.pg-more {
  margin-top: 10px;
  font-weight: 650;
}
.pg-after {
  padding-bottom: clamp(56px, 7vw, 96px);
}
.pg-after .prose {
  max-width: 820px;
}
