:root {
  --bg: #f6f7f9;
  --paper: #ffffff;
  --paper-soft: #fafbfc;
  --text: #111827;
  --muted: #667085;
  --line: #e3e8ef;
  --line-strong: #cfd8e3;
  --brand: #25385f;
  --brand-soft: #eef3ff;
  --blue: #2f63d6;
  --sage: #e6f2ea;
  --sage-text: #245b3f;
  --raspberry: #faedf2;
  --raspberry-text: #96314f;
  --slate-blue: #eef2f6;
  --slate-blue-text: #425466;
  --lavender: #eff1ff;
  --lavender-text: #4652a3;
  --apricot: #fff3df;
  --apricot-text: #8a520f;
  --green: #315f48;
  --green-soft: #eaf3ee;
  --amber: #8a520f;
  --amber-soft: #fff3df;
  --red: #8a2f46;
  --red-soft: #f8ecef;
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.demo-banner {
  padding: 8px 16px;
  color: #6f4c05;
  background: #fff8e6;
  border-bottom: 1px solid #f0dcad;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  background-image: url("../images/rescuelan-r-logo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px 27px;
  border-radius: 11px;
  font-size: 0;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.58;
  cursor: default;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(37, 56, 95, 0.14);
}

.btn-secondary {
  color: var(--brand);
  background: var(--paper);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(47, 99, 214, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfcfe, #eef2f6);
}

.login-wrap {
  width: min(100%, 430px);
}

.login-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.brand-block h1 {
  margin: 0 0 3px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.brand-block p,
.page-title p,
.site-hero p,
.block-heading p,
.site-card-title p,
.device-head p,
.device-type {
  margin: 0;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 720;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 99, 214, 0.1);
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.login-links button {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-weight: 720;
}

.demo-hint {
  margin: 26px 0 0;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(246, 247, 249, 0.88);
  border-bottom: 1px solid rgba(227, 232, 239, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.app-shop-label-short {
  display: none;
}

.avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.logout {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 760;
}

.page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.page-title {
  margin-bottom: 22px;
}

.page-title h1,
.site-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

.site-card,
.simple-block,
.site-hero,
.status-card,
.device-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.045);
}

.site-card {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 14px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.site-card-title,
.site-hero,
.device-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.site-card-title {
  display: grid;
  justify-content: start;
  gap: 4px;
  min-height: 88px;
}

.site-card-title h2,
.block-heading h2,
.device-head h3 {
  margin: 0 0 4px;
  letter-spacing: -0.03em;
}

.site-card-title h2 {
  font-size: 18px;
}

.status-badge,
.status-pill,
.device-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.site-hero-main {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.connectivity-summary {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-width: 170px;
  padding-left: 18px;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.connectivity-summary[hidden] {
  display: none;
}

.connectivity-summary h2 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 15px;
  font-weight: 820;
  letter-spacing: 0;
}

.connectivity-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.connectivity-summary-line strong {
  color: var(--sage-text);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.connectivity-summary-line.warning strong {
  color: var(--apricot-text);
}

.connectivity-summary-line.critical strong {
  color: var(--raspberry-text);
}

.connectivity-summary-line[hidden] {
  display: none;
}

.primary-status {
  width: fit-content;
  font-size: 13px;
}

.secondary-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  color: var(--slate-blue-text);
  background: var(--slate-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.secondary-status.backup-active {
  color: var(--lavender-text);
  background: var(--lavender);
  border-color: #d8dcfb;
}

.secondary-status.backup-available {
  color: var(--slate-blue-text);
  background: var(--slate-blue);
  border-color: #dce4ec;
}

.secondary-status.no-backup {
  color: var(--apricot-text);
  background: var(--apricot);
  border-color: #ead9bd;
}

.primary-status.online {
  color: var(--sage-text);
  background: var(--sage);
  border-color: #cfe4d6;
}

.primary-status.offline {
  color: var(--raspberry-text);
  background: var(--raspberry);
  border-color: #efd2dc;
}

.online,
.status-badge.active,
.status-pill.active,
.device-state.online {
  color: var(--sage-text);
  background: var(--sage);
}

.rescue {
  color: var(--slate-blue-text);
  background: var(--slate-blue);
}

.waking {
  color: var(--lavender-text);
  background: var(--lavender);
}

.offline,
.device-state.offline {
  color: var(--raspberry-text);
  background: var(--raspberry);
}

.site-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.site-facts div,
.status-card {
  padding: 9px 10px;
  background: var(--paper-soft);
  box-shadow: none;
}

.site-facts span,
.status-card span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.site-facts strong,
.status-card strong {
  font-size: 15px;
}

.card-actions,
.actions,
.device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 760;
}

.site-page {
  max-width: 1120px;
}

.site-hero {
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
}

.simple-block {
  padding: 22px;
  margin-top: 18px;
}

.access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  margin-bottom: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.access-card h2 {
  margin: 0 0 5px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.access-card p {
  margin: 0;
  color: var(--muted);
}

.access-label {
  margin-bottom: 10px !important;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-button {
  min-width: 210px;
  min-height: 48px;
}

.backup-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 14px;
  padding: 0 11px;
  color: var(--lavender-text);
  background: var(--lavender);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.backup-badge[hidden] {
  display: none;
}

.access-online,
.access-active {
  border-color: #d7e7dd;
  background: linear-gradient(180deg, #ffffff, #f4fbf8);
}

.access-rescue {
  border-color: #ead9bd;
  background: linear-gradient(180deg, #ffffff, #fff9ee);
}

.access-waking {
  border-color: #d8dcfb;
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
}

.access-offline {
  border-color: #efd4dc;
  background: linear-gradient(180deg, #ffffff, #fff7f9);
}

.backup-progress {
  padding: 22px;
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.045);
}

.backup-progress[hidden] {
  display: none;
}

.backup-steps {
  display: grid;
  gap: 10px;
}

.backup-step {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.backup-step span {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
}

.backup-step strong {
  font-size: 14px;
}

.backup-step small {
  color: var(--muted);
  font-weight: 700;
}

.backup-step.current {
  border-color: #d8dcfb;
  background: var(--lavender);
}

.backup-step.current span {
  background: var(--lavender-text);
}

.backup-step.done span {
  background: var(--sage-text);
}

.block-heading {
  margin-bottom: 16px;
}

.accordion-section {
  padding-top: 18px;
}

.accordion-title {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-align: left;
}

.accordion-title:hover {
  color: var(--brand);
}

.accordion-description {
  margin: 6px 0 0;
  color: var(--muted);
}

.accordion-description + .accordion-description {
  margin-top: 6px;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows 220ms ease, margin-top 220ms ease, opacity 180ms ease;
}

.accordion-panel.open {
  grid-template-rows: 1fr;
  margin-top: 16px;
  opacity: 1;
}

.accordion-content {
  min-height: 0;
  overflow: hidden;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.actions .reboot-link {
  min-height: 38px;
  padding: 0 4px;
  color: var(--red);
  background: transparent;
  border: 0;
  font-weight: 700;
}

.quiet-note {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.device-card {
  padding: 18px;
}

.device-head {
  margin-bottom: 12px;
}

.device-head h3 {
  font-size: 18px;
}

.device-type {
  margin-bottom: 16px;
}

.device-actions button,
.table-actions button {
  min-height: 34px;
  padding: 0 11px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.devices-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.open-devices-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid #d7e1f8;
  border-radius: 12px;
  font-weight: 800;
}

.open-devices-button:disabled,
.device-filters button:disabled,
.show-all-devices:disabled,
.device-actions button:disabled,
.table-actions button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.open-devices-button.secondary {
  color: var(--text);
  background: var(--paper);
  border-color: var(--line);
}

.devices-panel {
  margin-top: 16px;
}

.devices-panel[hidden],
.scan-history-panel[hidden],
.scan-alert[hidden],
.technical-panel[hidden] {
  display: none;
}

.event-timeline {
  display: grid;
  gap: 10px;
}

.event-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.event-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.event-item strong {
  font-size: 14px;
}

.event-warning {
  border-color: #ead9bd;
  background: #fff9ee;
}

.scan-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.scan-summary-card {
  padding: 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scan-summary-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.scan-summary-card strong {
  font-size: 16px;
}

.scan-alert {
  margin: 12px 0 14px;
  padding: 12px 14px;
  color: var(--apricot-text);
  background: var(--apricot);
  border: 1px solid #ead9bd;
  border-radius: 13px;
  font-weight: 760;
}

.scan-alert > strong {
  display: block;
}

.missing-devices-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.missing-devices-list li {
  padding-left: 2px;
}

.missing-devices-list span,
.missing-devices-list small {
  display: block;
}

.missing-devices-list small {
  margin-top: 2px;
  color: #9a6a22;
  font-size: 12px;
  font-weight: 700;
}

.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inventory-help {
  margin-top: 8px !important;
  font-size: 13px;
}

.inventory-locked-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.inventory-locked-note[hidden] {
  display: none;
}

.scan-history-panel {
  margin-top: 16px;
}

.scan-history-list {
  display: grid;
  gap: 10px;
}

.scan-history-item {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.scan-history-item strong {
  font-size: 14px;
}

.scan-history-item span,
.scan-history-item small {
  color: var(--muted);
  font-weight: 760;
}

.technical-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.technical-card {
  padding: 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.technical-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.technical-card strong {
  font-size: 15px;
}

.technical-action-card {
  display: grid;
  gap: 10px;
  align-content: space-between;
}

.technical-action-card .btn {
  min-height: 36px;
  width: fit-content;
}

.devices-count {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.devices-count strong,
.devices-count span {
  display: block;
}

.devices-count span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.device-search {
  display: grid;
  gap: 6px;
  width: min(100%, 320px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.device-search input {
  min-height: 38px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
}

.device-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 99, 214, 0.09);
}

.device-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.device-filters button {
  min-height: 32px;
  padding: 0 11px;
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.device-filters button.active,
.device-filters button:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #d7e1f8;
}

.devices-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.devices-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.devices-table th {
  padding: 11px 12px;
  color: var(--muted);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.devices-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f6;
  vertical-align: middle;
}

.devices-table tbody tr:hover {
  background: #fbfcfe;
}

.devices-table tbody tr:last-child td {
  border-bottom: 0;
}

.editable-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.editable-name span {
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-device-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  color: #116329;
  background: #e6f5ea;
  border: 1px solid #c9e8d1;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.new-device-badge[hidden] {
  display: none;
}

.edit-name-button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0;
}

.edit-name-button::before {
  content: "✎";
  font-size: 12px;
  line-height: 1;
}

.edit-name-button:hover {
  color: var(--brand);
  border-color: var(--line-strong);
}

.edit-name-button::before {
  content: "\270e";
}

.device-name-form {
  width: min(260px, 100%);
}

.device-name-input {
  width: 100%;
  min-height: 32px;
  padding: 0 9px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: none;
}

.device-name-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 99, 214, 0.09);
}

.services-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.service-tag,
.service-empty {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.service-tag {
  color: var(--slate-blue-text);
  background: var(--slate-blue);
}

.service-empty {
  color: var(--muted);
  background: var(--paper-soft);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.table-actions button {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
}

.table-actions button:disabled,
.device-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.delete-device-button {
  color: #9d1c1c;
  background: #fff5f5;
  border-color: #f0caca;
}

.delete-device-button:hover {
  color: #7f1515;
  background: #ffe8e8;
}

.devices-grid {
  display: none;
}

.device-compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.show-all-devices {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  color: var(--brand);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-weight: 760;
}

.show-all-devices[hidden] {
  display: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: none;
  max-width: 360px;
  padding: 12px 15px;
  color: #fff;
  background: var(--brand);
  border-radius: 13px;
  box-shadow: var(--shadow);
  font-weight: 760;
}

.toast.show {
  display: block;
}

.properties-modal,
.diagnostic-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(8px);
}

.properties-modal[hidden],
.diagnostic-modal[hidden],
.diagnostic-details[hidden] {
  display: none;
}

.properties-dialog,
.diagnostic-dialog {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.24);
}

.properties-header,
.diagnostic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.properties-header p,
.diagnostic-header p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.properties-header h2,
.diagnostic-header h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.diagnostic-state {
  display: inline-flex;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.diagnostic-modal.success .diagnostic-state {
  color: var(--sage-text);
}

.diagnostic-modal.failure .diagnostic-state {
  color: var(--raspberry-text);
}

.diagnostic-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}

.diagnostic-modal.success .diagnostic-icon {
  color: var(--sage-text);
  background: var(--sage);
}

.diagnostic-modal.failure .diagnostic-icon {
  color: var(--raspberry-text);
  background: var(--raspberry);
}

.properties-close,
.diagnostic-close {
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.properties-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-height: min(62vh, 560px);
  overflow: auto;
  padding: 18px 20px;
}

.properties-body label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.properties-wide {
  grid-column: 1 / -1;
}

.properties-body input,
.properties-body textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  resize: vertical;
}

.properties-body input:focus,
.properties-body textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 99, 214, 0.09);
}

.properties-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
}

.diagnostic-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 20px 12px;
}

.diagnostic-summary article {
  padding: 12px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.diagnostic-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.diagnostic-summary strong {
  font-size: 15px;
}

.diagnostic-details-toggle {
  min-height: 36px;
  margin: 0 20px 12px;
  padding: 0 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid #d7e1f8;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.diagnostic-details {
  margin: 0 20px 14px;
}

.diagnostic-details pre {
  max-height: min(34vh, 280px);
  margin: 0;
  padding: 14px;
  overflow: auto;
  color: #d1d5db;
  background: #111827;
  border-radius: 13px;
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.diagnostic-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .sites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sites-grid,
  .status-grid,
  .scan-summary,
  .technical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-hero,
  .access-card,
  .technical-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .connectivity-summary {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .access-button {
    width: 100%;
  }

  .devices-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .device-search {
    width: 100%;
  }

  .devices-table-wrap {
    display: none;
  }

  .devices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .device-card {
    padding: 14px;
  }

  .device-head h3 {
    font-size: 16px;
  }

  .device-actions button,
  .table-actions button {
    font-size: 0;
  }

  .device-actions button::after,
  .table-actions button::after {
    content: attr(data-short-label);
    font-size: 12px;
  }

  .backup-step {
    grid-template-columns: 14px 1fr;
  }

  .backup-step small {
    grid-column: 2;
  }

  .scan-history-item,
  .event-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .properties-dialog,
  .diagnostic-dialog {
    max-height: calc(100vh - 32px);
  }

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

@media (max-width: 620px) {
  .app-header {
    min-height: 66px;
  }

  .brand strong,
  .user-area > span:not(.avatar) {
    display: none;
  }

  .app-shop-link {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .app-shop-label-full {
    display: none;
  }

  .app-shop-label-short {
    display: inline;
  }

  .page {
    width: min(100% - 28px, 1120px);
    padding-top: 24px;
  }

  .login-card,
  .site-card,
  .simple-block,
  .site-hero,
  .access-card {
    padding: 18px;
  }

  .accordion-title {
    font-size: 21px;
  }

  .login-links,
  .site-card-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-facts {
    grid-template-columns: 1fr;
  }

  .sites-grid,
  .status-grid,
  .scan-summary,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .properties-modal,
  .diagnostic-modal {
    padding: 12px;
  }

  .properties-header,
  .properties-actions,
  .diagnostic-header,
  .diagnostic-actions {
    padding-inline: 14px;
  }

  .properties-header,
  .diagnostic-header {
    align-items: flex-start;
  }

  .properties-actions,
  .diagnostic-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .properties-body {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .diagnostic-summary {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .diagnostic-details,
  .diagnostic-details-toggle {
    margin-inline: 14px;
  }

  .diagnostic-details pre {
    font-size: 12px;
  }
}

/* Landing page — uses the same product tokens and component language as the app. */
html { scroll-behavior: smooth; }
.landing-page { background: var(--paper); }
.landing-page img, .landing-page svg { max-width: 100%; }
.landing-page main, .landing-page section, .landing-page .landing-container { min-width: 0; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { margin-top: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--brand); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.landing-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.landing-header { position: sticky; top: 0; z-index: 20; width: 100%; color: #fff; background: rgba(37,56,95,.97); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); }
.landing-header-inner { position: relative; display: flex; width: min(1180px, calc(100% - 40px)); min-height: 74px; margin-inline: auto; align-items: center; justify-content: space-between; }
.landing-header .brand-mark { color: var(--brand); background-color: #fff; background-image: url("../images/rescuelan-r-logo-blue.svg"); }
.landing-nav { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 720; }
.landing-nav > a:not(.btn):hover { color: #fff; }
.footer-links a:hover { color: var(--blue); }
.landing-nav .btn { min-height: 38px; padding-inline: 13px; }
.landing-header .landing-nav .btn-secondary { color: var(--brand); background: #fff; border-color: #fff; }
.landing-header .language-switcher { color: rgba(255,255,255,.38); }
.landing-header .language-switcher button { color: rgba(255,255,255,.78); }
.landing-header .language-switcher button:hover, .landing-header .language-switcher button.active { color: #fff; background: rgba(255,255,255,.14); }
.language-switcher { display: flex; align-items: center; gap: 5px; color: var(--line-strong); }
.language-switcher button { padding: 5px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: 12px; font-weight: 800; }
.language-switcher button:hover, .language-switcher button.active { color: var(--brand); background: var(--brand-soft); }
.mobile-menu-button { display: none; width: 42px; height: 42px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); border-radius: 11px; font-size: 22px; }
.landing-hero { overflow: hidden; padding: clamp(72px, 10vw, 124px) 0; background: radial-gradient(circle at 80% 20%, rgba(47,99,214,.1), transparent 28%), linear-gradient(180deg,#fbfcfe,#f4f6fa); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(300px,.83fr); gap: clamp(40px,6vw,76px); align-items: center; }
.eyebrow { margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.landing-hero h1 { max-width: 800px; margin-bottom: 22px; font-size: clamp(36px,5vw,60px); line-height: 1.02; letter-spacing: -.055em; }
.landing-hero h1 span { display: block; white-space: nowrap; }
.hero-lead { max-width: 720px; margin-bottom: 18px; color: var(--muted); font-size: clamp(18px,2vw,21px); line-height: 1.6; }
.hero-lead strong { display: block; margin-bottom: 4px; color: var(--brand); }
.hero-lead span { display: block; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 16px; }
.hero-benefits span { padding: 8px 11px; color: var(--sage-text); background: var(--sage); border: 1px solid #cadecf; border-radius: 999px; font-size: 13px; font-weight: 800; }
.hero-tagline { max-width: 680px; margin: 0 0 24px; color: var(--brand); font-size: clamp(18px,2vw,22px); line-height: 1.35; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-large { min-height: 50px; padding-inline: 20px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-proof span { padding: 8px 11px; color: var(--sage-text); background: var(--sage); border: 1px solid #cadecf; border-radius: 999px; font-size: 13px; font-weight: 800; }
.microcopy { margin: 0; padding-top: 18px; color: var(--muted); font-size: 13px; }
.hero-product-visual { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.hero-product-visual img { display: block; width: 100%; height: auto; }
.landing-section { padding: clamp(70px,9vw,108px) 0; }.section-soft { background: var(--bg); border-block: 1px solid var(--line); }
.section-heading { max-width: 740px; margin-bottom: 36px; }.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .distributor-box h2, .final-cta h2 { margin-bottom: 14px; font-size: clamp(32px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
#how .section-heading { max-width: none; }
#how .section-heading h2 span { display: block; }
@media (min-width: 681px) {
  #how .section-heading h2 { white-space: nowrap; }
  #how .section-heading h2 span { display: inline; }
  #how .section-heading h2 span:first-child::after { content: " "; }
}
.section-heading > p:last-child, .distributor-box p, .final-cta p { color: var(--muted); font-size: 17px; line-height: 1.65; }
#how .section-heading p strong { color: var(--brand); font-weight: 800; }
.incident-strip { display: flex; align-items: center; gap: 13px; margin-top: 24px; color: var(--brand); font-size: clamp(18px,2vw,21px); line-height: 1.4; font-weight: 800; }
.incident-strip-icon { width: 32px; height: 32px; flex: 0 0 32px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.access-diagram { display: grid; grid-template-columns: max-content minmax(54px,1fr) max-content minmax(54px,1fr) max-content minmax(110px,1.35fr) max-content minmax(54px,1fr) minmax(190px,max-content); align-items: center; gap: 4px; margin-top: 38px; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(17,24,39,.045); }
.diagram-node { display: flex; min-width: 0; align-items: center; flex-direction: column; gap: 9px; color: var(--brand); text-align: center; }
.diagram-node > svg { width: 38px; height: 38px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diagram-node strong { font-size: 14px; line-height: 1.25; }
.diagram-link { position: relative; display: flex; align-items: center; width: 100%; }
.diagram-link > svg { display: block; width: 100%; height: 12px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.diagram-link > svg path { vector-effect: non-scaling-stroke; }
.diagram-link-secure .secure-label { position: absolute; bottom: 12px; left: 45%; width: max-content; color: var(--brand); font-size: 11px; font-weight: 800; text-align: center; transform: translateX(-50%); }
.equipment-types { display: grid; justify-items: center; gap: 5px; }
.equipment-row { display: flex; justify-content: center; gap: 5px; }
.equipment-types span { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; color: var(--muted); background: var(--paper-soft); border: 1px solid var(--line); border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.equipment-types svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.equipment-types i { font-style: normal; }
.comparison-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.comparison-card, .landing-card, .pricing-card, .distributor-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(17,24,39,.045); }
.comparison-card { padding: 28px; }.comparison-card h3 { font-size: 23px; }.comparison-card ul, .feature-list, .pricing-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.comparison-card li, .feature-list li, .pricing-card li { position: relative; padding-left: 28px; }.comparison-card li::before, .feature-list li::before, .pricing-card li::before { position: absolute; left: 0; content: "✓"; color: var(--green); font-weight: 900; }
.comparison-card.with { background: var(--green-soft); border-color: #cadecf; }.comparison-card.without li::before { content: "—"; color: var(--raspberry-text); }
.steps-grid, .benefits-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }.landing-card { padding: 24px; }.landing-card h3 { margin-bottom: 8px; font-size: 19px; }.landing-card p { margin: 0; color: var(--muted); }
.card-icon { display: block; width: 38px; height: 38px; margin-bottom: 22px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.landing-card p strong { color: var(--text); font-weight: 750; }
.protocols-block { margin-top: 30px; text-align: center; }
.protocols-block h3 { margin: 0 0 13px; color: var(--slate-blue-text); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.protocol-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.protocol-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--brand); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.protocol-pills svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.protocol-pills i { font-style: normal; }
.security-feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: clamp(44px,7vw,88px); }
.security-incident-strip { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 981px) { .security-incident-strip { white-space: nowrap; } }
.security-feature-copy h2 { margin: 0 0 20px; font-size: clamp(32px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
.security-feature-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.security-feature-copy .security-feature-conclusion { margin-top: 24px; color: var(--brand); font-size: clamp(19px,2vw,22px); line-height: 1.45; font-weight: 800; }
.security-feature-visual { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.security-feature-visual img { display: block; width: 100%; height: auto; }
.dashboard-preview { overflow: hidden; width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dashboard-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
.cloud-showcase { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0, #f7faff 48%, #eef5ff 100%); }
.cloud-showcase::after { position: absolute; z-index: 0; right: -8%; bottom: -115px; left: -8%; height: 190px; background: rgba(255,255,255,.62); border-radius: 50% 50% 0 0 / 42% 42% 0 0; content: ""; pointer-events: none; }
.cloud-showcase .landing-container { position: relative; z-index: 1; max-width: 1440px; }
.cloud-heading { max-width: 1240px; margin: 0 auto clamp(38px,5vw,58px); text-align: center; }
.cloud-heading h2 { margin: 0 0 16px; color: #071229; font-size: clamp(34px,4.1vw,59px); line-height: 1.06; letter-spacing: -.045em; }
.cloud-heading > p:last-child { margin: 0; color: #587099; font-size: clamp(17px,1.55vw,22px); line-height: 1.5; }
.cloud-eyebrow { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 25px; color: #2465df; font-size: 17px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.cloud-eyebrow::before, .cloud-eyebrow::after { width: 44px; height: 2px; background: #8eb4fa; content: ""; }
.cloud-stage { display: grid; grid-template-columns: minmax(175px,205px) minmax(0,1fr); gap: clamp(24px,3vw,42px); align-items: center; }
.cloud-benefits { display: grid; gap: clamp(36px,5vw,72px); }
.cloud-benefit { display: grid; gap: 12px; }
.cloud-benefit-icon { display: grid; width: 58px; height: 58px; place-items: center; color: #1762df; background: #eaf2ff; border-radius: 17px; }
.cloud-benefit-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cloud-benefit h3 { margin: 0 0 7px; color: #081734; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.cloud-benefit p { margin: 0; color: #587099; font-size: 15px; line-height: 1.45; }
.cloud-carousel { min-width: 0; }
.cloud-browser { overflow: hidden; background: #fff; border: 9px solid rgba(219,227,239,.9); border-radius: 24px; box-shadow: 0 22px 50px rgba(39,67,110,.16); }
.cloud-browser-bar { display: flex; height: 36px; align-items: center; gap: 8px; padding: 0 15px; background: linear-gradient(100deg,#0b1b35 0,#142b4b 33%,#f3f6fa 78%); }
.cloud-browser-bar i { width: 11px; height: 11px; background: #ff5f57; border-radius: 50%; }
.cloud-browser-bar i:nth-child(2) { background: #febc2e; }
.cloud-browser-bar i:nth-child(3) { background: #28c840; }
.cloud-carousel-slides { position: relative; overflow: hidden; aspect-ratio: 1.64; background: #f5f7fa; }
.cloud-carousel-slides img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transition: opacity .85s ease-in-out; }
.cloud-carousel-slides img.active { z-index: 1; opacity: 1; }
.cloud-carousel-dots { display: flex; justify-content: center; gap: 15px; padding-top: 28px; }
.cloud-carousel-dots button { width: 12px; height: 12px; padding: 0; background: #cdd8e8; border: 0; border-radius: 50%; cursor: pointer; transition: background-color .25s ease, transform .25s ease; }
.cloud-carousel-dots button:hover { transform: scale(1.2); }
.cloud-carousel-dots button.active { background: #1762df; }
.cloud-caption { margin-top: 28px; text-align: center; }
.cloud-caption h3 { margin: 0 0 6px; color: #081734; font-size: clamp(21px,2vw,28px); letter-spacing: -.035em; }
.cloud-caption p { margin: 0; color: #587099; font-size: 17px; }
.connectivity-feature { display: grid; grid-template-columns: minmax(320px,.85fr) minmax(0,1.15fr); gap: clamp(44px,7vw,88px); align-items: stretch; }
.connectivity-panel { display: grid; gap: 25px; align-content: center; min-height: 430px; padding: clamp(30px,5vw,52px); color: #fff; background: var(--brand); border-radius: 22px; box-shadow: var(--shadow); }
.connectivity-panel div { display: grid; gap: 3px; }
.connectivity-panel strong { font-size: clamp(24px,3vw,34px); line-height: 1.05; letter-spacing: -.035em; }
.connectivity-panel span { color: rgba(255,255,255,.78); font-size: 16px; }
.connectivity-panel small { margin-top: 4px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.5; }
.connectivity-copy { align-self: center; }
.connectivity-copy h2 { margin: 0 0 22px; font-size: clamp(32px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
.connectivity-copy p { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.connectivity-copy p:last-child { margin-bottom: 0; }
.connectivity-copy strong { color: var(--brand); font-weight: 800; }
.connectivity-note { display: block; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.professionals-heading { max-width: 960px; margin: 0 auto 34px; text-align: center; }
.professionals-heading h2 { margin: 0 0 18px; font-size: clamp(32px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
.professionals-heading p { margin: 0; color: var(--text); font-size: 17px; font-weight: 750; line-height: 1.65; }
.professionals-visual { padding: 34px 28px 0; background: #f0f1f3; border: 1px solid var(--line); border-radius: 22px; }
.professionals-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px; padding-bottom: 34px; }
.profession-item { display: grid; min-width: 0; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.profession-item svg { width: 28px; height: 28px; margin-bottom: 3px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.profession-item strong { font-size: 13px; letter-spacing: .035em; }
.profession-item span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.professionals-conclusion { margin: 0; padding: 28px 20px; color: var(--brand); border-top: 1px solid var(--line-strong); font-size: 16px; font-weight: 700; line-height: 1.6; text-align: center; }
.contact-page { min-height: 100vh; background: var(--bg); }
.contact-main { padding: clamp(56px,8vw,96px) 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(40px,7vw,88px); align-items: start; }
.contact-copy h1 { margin: 0 0 18px; font-size: clamp(40px,5vw,60px); line-height: 1.05; letter-spacing: -.05em; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-email { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 800; }
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: clamp(24px,4vw,38px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; color: #344054; font-size: 14px; font-weight: 750; }
.contact-form .full-field { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 11px; font: inherit; outline: none; }
.contact-form input { min-height: 46px; }.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,99,214,.1); }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.contact-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.contact-status { grid-column: 1 / -1; min-height: 22px; margin: 0; font-size: 14px; font-weight: 700; }.contact-status.success { color: var(--green); }.contact-status.error { color: var(--raspberry-text); }
.legal-main { padding: clamp(52px,7vw,88px) 0; background: var(--bg); }
.legal-hero { max-width: 850px; margin-bottom: 42px; }.legal-hero h1 { margin: 0 0 18px; font-size: clamp(40px,5vw,60px); line-height: 1.05; letter-spacing: -.05em; }.legal-hero p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.legal-notice { margin: 24px 0 0; padding: 18px 20px; color: #6f4c05; background: #fff8e6; border: 1px solid #f0dcad; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.legal-document { display: grid; gap: 18px; max-width: 960px; }
.legal-article { padding: clamp(24px,4vw,36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(17,24,39,.035); }.legal-article h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.25; }.legal-article p { margin: 0 0 12px; color: #465269; line-height: 1.72; }.legal-article p:last-child { margin-bottom: 0; }.legal-article .legal-item { position: relative; padding-left: 22px; }.legal-article .legal-item::before { position: absolute; left: 3px; content: "•"; color: var(--blue); font-weight: 900; }.legal-article.jurisdiction { border-width: 2px; border-color: var(--brand); }
.two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(50px,8vw,100px); }.feature-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.use-grid { display: flex; flex-wrap: wrap; gap: 9px; }.use-grid span { padding: 10px 13px; color: var(--slate-blue-text); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; }
#pricing { padding-top: clamp(80px,7vw,100px); }
.pricing-signature { max-width: 960px; margin: 0 auto; text-align: center; }
.pricing-signature p { margin: 0; }
.pricing-signature-first { color: var(--muted); font-size: clamp(18px,1.7vw,22px); font-weight: 500; line-height: 1.5; }
.pricing-signature .pricing-signature-second { margin-top: clamp(20px,2vw,24px); color: var(--brand); font-size: clamp(26px,3.2vw,38px); font-weight: 800; line-height: 1.22; letter-spacing: -.03em; }
.pricing-card { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 40px; align-items: center; max-width: 960px; margin-inline: auto; padding: clamp(28px,5vw,48px); }.pricing-name { color: var(--brand); font-size: 20px; font-weight: 850; }.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; }.price strong { font-size: clamp(40px,5vw,58px); letter-spacing: -.05em; }.price span, .pricing-card p { color: var(--muted); }.pricing-card > div:first-child p { font-size: 12px; }.full { width: 100%; }.pricing-volume { margin: 14px 0 0; font-size: 12px; line-height: 1.5; text-align: center;padding-top:8px;}
.pricing-volume a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.pricing-payback { margin: 0; padding-top: 20px; color: var(--brand); font-size: clamp(18px,2vw,22px); font-weight: 800; text-align: center; }
.pricing-cta { display: inline-flex; margin-top: clamp(28px,3vw,38px); }
.distributor-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px,5vw,48px); }.distributor-box > div { max-width: 700px; }.distributor-box p { margin-bottom: 0; }
.narrow { max-width: 900px; }
.faq-section { background: radial-gradient(circle at 50% 18%,#fff 0,#f8faff 48%,#f3f6fb 100%); }
.faq-section .landing-container { max-width: 1160px; }
.faq-heading { margin: 0 auto 34px; text-align: center; }
.faq-heading .eyebrow { margin: 0 0 6px; color: #1762df; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.faq-heading h2 { margin: 0 0 8px; color: #071229; font-size: clamp(34px,4vw,52px); line-height: 1.08; letter-spacing: -.045em; }
.faq-heading > p:last-child { margin: 0; color: #667796; font-size: 16px; }
.faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.faq-column { display: grid; gap: 16px; }
.faq-item { overflow: hidden; background: rgba(255,255,255,.9); border: 1px solid #e0e7f1; border-radius: 14px; box-shadow: 0 8px 24px rgba(37,59,94,.055); }
.faq-item summary { display: grid; grid-template-columns: 48px minmax(0,1fr) 24px; gap: 14px; align-items: center; padding: 18px 20px; color: #071631; font-size: 16px; font-weight: 820; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; width: 48px; height: 48px; place-items: center; color: #1762df; background: #edf4ff; border-radius: 50%; }
.faq-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq-marker { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq-marker::before, .faq-marker::after { position: absolute; top: 8px; left: 3px; width: 13px; height: 2px; background: #1762df; border-radius: 2px; content: ""; }
.faq-marker::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .faq-marker::after { transform: rotate(0); }
.faq-answer { padding: 0 20px 18px 82px; }
.faq-column:first-child .faq-item:first-child[open] .faq-answer { padding-bottom: 38px; }
.faq-answer > p { margin: 0; color: #60708c; font-size: 14px; line-height: 1.55; }
.faq-answer > p strong { color: #173156; font-weight: 850; }
.faq-answer .faq-note { position: relative; margin-top: 16px; padding: 13px 16px 13px 43px; color: #24569f; background: #edf4ff; border-radius: 8px; }
.faq-answer .faq-note::before { position: absolute; top: 13px; left: 16px; display: grid; width: 17px; height: 17px; place-items: center; border: 1.5px solid #1762df; border-radius: 50%; content: "i"; font-size: 11px; font-weight: 900; }
.faq-contact { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; gap: 16px; align-items: center; margin-top: 28px; padding: 18px 22px; background: rgba(255,255,255,.94); border: 1px solid #e0e7f1; border-radius: 14px; box-shadow: 0 8px 24px rgba(37,59,94,.055); }
.faq-contact-icon { display: grid; width: 48px; height: 48px; place-items: center; color: #139a76; background: #e6f8f2; border-radius: 50%; }
.faq-contact-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq-contact small { display: block; margin-bottom: 2px; color: #71819b; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.faq-contact h3 { margin: 0 0 4px; color: #071631; font-size: 19px; }
.faq-contact p { margin: 0; color: #667796; font-size: 13px; }
.faq-contact .btn { min-width: 166px; }
.final-cta { padding: clamp(64px,8vw,94px) 0; color: #fff; background: var(--brand); text-align: center; }.final-cta .landing-container { max-width: 800px; }.final-cta p { color: rgba(255,255,255,.74); }.final-cta .btn-primary { color: var(--brand); background: #fff; }
.landing-footer { width: 100%; padding: 48px 0; color: #fff; background: #121e36; border-top: 1px solid rgba(255,255,255,.16); }.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr 1fr; gap: 42px; }.footer-grid p { max-width: 340px; margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }.footer-brand p { padding-top: 8px; }.footer-links { display: grid; gap: 10px; align-content: start; color: rgba(255,255,255,.8); font-size: 14px; }.footer-column-title { margin-bottom: 4px; color: #fff; font-size: 14px; }.footer-information p { margin-top: 8px; }.footer-links a:hover { color: #fff; }.footer-languages { justify-content: flex-start; color: rgba(255,255,255,.45); }.footer-languages a { color: rgba(255,255,255,.8); }.footer-languages a.active, .footer-languages a:hover { color: #fff; }
.register-page { display: flex; min-height: 100vh; flex-direction: column; }
.register-main { flex: 1; padding: clamp(42px,6vw,76px) 0 clamp(64px,8vw,96px); background: radial-gradient(circle at 12% 8%,rgba(47,99,214,.09),transparent 25%),linear-gradient(180deg,#fbfcfe,var(--bg)); }
.register-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.8fr); gap: clamp(48px,8vw,96px); align-items: start; max-width: 1080px; margin-inline: auto; }
.register-copy { padding-top: clamp(8px,3vw,28px); }
.register-copy h1 { max-width: 650px; margin: 0 0 22px; font-size: clamp(40px,5vw,58px); line-height: 1.04; letter-spacing: -.05em; }
.register-intro { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.register-benefits { margin-top: 36px; padding: 24px 26px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius); }
.register-benefits h2 { margin: 0 0 18px; font-size: 18px; }
.register-benefits ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.register-benefits li { position: relative; padding-left: 27px; color: #465269; }
.register-benefits li::before { position: absolute; left: 0; color: var(--green); font-weight: 900; content: "✓"; }
.register-card { padding: clamp(26px,4vw,38px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.register-card > h2 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.025em; }
.register-form-intro { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.register-form { display: grid; }
.register-form > label:not(.register-consent) { margin-bottom: 8px; color: #344054; font-size: 14px; font-weight: 750; }
.register-form > input { width: 100%; min-height: 48px; margin-bottom: 18px; padding: 0 14px; color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 11px; outline: none; }
.register-form > input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,99,214,.1); }
.register-form > input[aria-invalid="true"] { border-color: var(--raspberry-text); }
.register-error { min-height: 20px; margin: -10px 0 14px; color: var(--raspberry-text); font-size: 13px; font-weight: 700; }
.register-consent { display: grid; grid-template-columns: 19px 1fr; gap: 11px; align-items: start; margin-bottom: 22px; color: #465269; font-size: 13px; line-height: 1.55; cursor: pointer; }
.register-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.register-consent a, .register-login a { color: var(--blue); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.register-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.register-login { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.welcome-shell { max-width: 980px; }
.welcome-intro { max-width: 760px; margin: 0 auto clamp(34px,5vw,52px); text-align: center; }
.welcome-intro h1 { margin: 0 0 20px; font-size: clamp(40px,5vw,58px); line-height: 1.04; letter-spacing: -.05em; }
.welcome-intro > p:last-child { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.7; }
.welcome-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,3vw,28px); }
.welcome-card { display: flex; min-width: 0; flex-direction: column; }
.welcome-card > p { margin: 10px 0 28px; color: var(--muted); line-height: 1.65; }
.welcome-card .btn { align-self: flex-start; margin-top: auto; }
.shop-heading { max-width: 760px; margin-bottom: clamp(34px,5vw,52px); }
.shop-heading h1 { margin: 0 0 18px; font-size: clamp(40px,5vw,58px); line-height: 1.04; letter-spacing: -.05em; }
.shop-heading > p:last-child { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.shop-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); gap: clamp(24px,4vw,44px); align-items: start; }
.shop-card { max-width: none; min-width: 0; }
.shop-product-visual { margin: 0 0 30px; overflow: hidden; background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.shop-product-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.shop-product-copy h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.03em; }
.shop-product-subtitle { margin: 0 0 20px; color: var(--brand); font-weight: 760; }
.shop-product-copy > p:not(.shop-product-subtitle) { margin-bottom: 26px; color: var(--muted); line-height: 1.7; }
.shop-product-copy .feature-list { margin-top: 0; color: #465269; }
.shop-order { position: sticky; top: 98px; }
.shop-price-block { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.shop-price-block p { margin: 0 0 5px; color: var(--muted); font-size: 13px; font-weight: 750; }
.shop-price-block strong { color: var(--brand); font-size: 31px; letter-spacing: -.035em; }
.shop-connectivity-note { margin: 18px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.shop-quantity { margin-bottom: 26px; }
.shop-quantity > label { display: block; margin-bottom: 9px; color: #344054; font-size: 14px; font-weight: 750; }
.shop-quantity-control { display: grid; grid-template-columns: 48px minmax(64px,1fr) 48px; gap: 8px; }
.shop-quantity-control button, .shop-quantity-control input { min-height: 48px; color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 11px; font: inherit; font-weight: 800; text-align: center; }
.shop-quantity-control button:hover:not(:disabled) { border-color: var(--blue); }
.shop-quantity-control button:disabled { opacity: .45; cursor: default; }
.shop-quantity-control input { width: 100%; padding: 0 8px; outline: none; }
.shop-quantity-control input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,99,214,.1); }
.shop-quantity-control input[aria-invalid="true"] { border-color: var(--raspberry-text); }
.shop-quantity-help { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.shop-summary { margin-bottom: 22px; padding: 20px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 14px; }
.shop-summary h2 { margin: 0 0 14px; font-size: 18px; }
.shop-summary dl { display: grid; gap: 11px; margin: 0; }
.shop-summary dl > div { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 14px; }
.shop-summary dt, .shop-summary dd { margin: 0; }
.shop-summary dd { color: var(--text); font-weight: 760; white-space: nowrap; }
.shop-summary .shop-summary-total { margin-top: 3px; padding-top: 14px; color: var(--text); border-top: 1px solid var(--line-strong); font-size: 17px; font-weight: 820; }
.shop-summary-total dd { color: var(--brand); }
.shop-payment-note { margin: 11px 0 18px; color: var(--muted); font-size: 12px; text-align: center; }
.shop-back-link { display: block; color: var(--blue); font-size: 14px; font-weight: 750; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.landing-page a:focus-visible, .landing-page button:focus-visible, .landing-page input:focus-visible, .faq-list summary:focus-visible { outline: 3px solid rgba(47,99,214,.35); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .cloud-carousel-slides img, .cloud-carousel-dots button { transition: none; } }
@media (max-width: 980px) {
  .landing-header-inner { gap: 16px; }
  .landing-header .brand { min-width: 0; flex: 0 1 auto; }
  .landing-header .brand-mark, .mobile-menu-button { flex: 0 0 auto; }
  .mobile-menu-button { display: grid; place-items: center; }.landing-nav { position: absolute; top: calc(100% - 9px); right: 20px; left: 20px; display: none; max-height: calc(100vh - 86px); overflow-y: auto; align-items: stretch; padding: 18px; color: #344054; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }.landing-nav[data-mobile-open="true"] { display: grid; }.landing-nav .language-switcher { justify-content: center; }.landing-nav .btn { width: 100%; }
  .landing-header .landing-nav > a:not(.btn):hover { color: var(--blue); }
  .landing-header .landing-nav .language-switcher { color: var(--line-strong); }
  .landing-header .landing-nav .language-switcher button { color: var(--muted); }
  .landing-header .landing-nav .language-switcher button:hover, .landing-header .landing-nav .language-switcher button.active { color: var(--brand); background: var(--brand-soft); }
  .hero-grid { grid-template-columns: 1fr; }
  .security-feature { grid-template-columns: 1fr; }
  .connectivity-feature { grid-template-columns: 1fr; }
  .cloud-stage { grid-template-columns: 1fr; align-items: start; }
  .cloud-carousel { grid-column: 1; grid-row: 1; }
  .cloud-benefits { grid-row: 2; gap: 28px; }
  .cloud-benefit { grid-template-columns: 58px 1fr; }
  .professionals-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .access-diagram { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-block: 24px; }
  .diagram-link { width: 34px; height: 34px; }
  .diagram-link > svg { width: 34px; transform: rotate(90deg); }
  .diagram-link-secure { margin-top: 28px; }
  .diagram-link-secure .secure-label { bottom: auto; top: -27px; left: 50%; }
  .diagram-node { width: 100%; }
  .steps-grid, .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.pricing-card { grid-template-columns: 1fr 1.2fr; }.pricing-card > div:last-child { grid-column: 1 / -1; }.footer-grid { grid-template-columns: 1fr 1fr; }
  .register-layout { grid-template-columns: 1fr; max-width: 700px; }.register-copy { padding-top: 0; }.register-card { max-width: 620px; width: 100%; margin-inline: auto; }.welcome-choices { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }.welcome-card { max-width: none; }.shop-layout { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }.shop-card { max-width: none; }.shop-order { position: static; }
}
@media (max-width: 680px) {
  .landing-container { width: calc(100% - 40px); }
  .landing-header-inner { width: calc(100% - 40px); min-height: 66px; }
  .landing-header .brand { gap: 10px; }
  .landing-header .brand-mark { width: 36px; height: 36px; }
  .landing-page .landing-header .brand strong { display: inline-block; flex: 0 1 auto; min-width: 0; font-size: 19px; white-space: nowrap; }
  .landing-nav { top: calc(100% - 5px); }
  .landing-hero { padding-block: 54px; }
  .landing-hero h1 { max-width: 100%; margin-bottom: 18px; font-size: clamp(31px, 8.6vw, 38px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .landing-hero h1 span { white-space: normal; }
  .hero-lead { max-width: 100%; margin-bottom: 17px; font-size: clamp(16px, 4.4vw, 18px); line-height: 1.58; }
  .hero-benefits span { max-width: 100%; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .btn, .distributor-box .btn, .pricing-card .btn.full { width: auto; max-width: 100%; }
  .landing-page .btn { min-width: 0; height: auto; padding-block: 12px; white-space: normal; text-align: center; }
  .landing-section { padding-block: 64px; }
  .cloud-heading { margin-bottom: 32px; }
  .cloud-heading h2 { font-size: clamp(31px,8vw,38px); overflow-wrap: anywhere; }
  .cloud-eyebrow { gap: 12px; font-size: 13px; letter-spacing: .16em; }
  .cloud-eyebrow::before, .cloud-eyebrow::after { width: 25px; }
  .cloud-stage { grid-template-columns: 1fr; }
  .cloud-carousel { grid-column: 1; }
  .cloud-benefits { grid-row: auto; }
  .cloud-benefits-left { grid-row: 2; }
  .cloud-browser { border-width: 5px; border-radius: 15px; }
  .cloud-browser-bar { height: 26px; padding-inline: 10px; }
  .cloud-browser-bar i { width: 8px; height: 8px; }
  .cloud-carousel-dots { gap: 10px; padding-top: 20px; }
  .cloud-carousel-dots button { width: 9px; height: 9px; }
  .cloud-caption { margin-top: 24px; }
  .cloud-benefit { grid-template-columns: 50px 1fr; }
  .cloud-benefit-icon { width: 50px; height: 50px; border-radius: 14px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .distributor-box h2, .final-cta h2, .security-feature-copy h2 { font-size: clamp(29px, 8vw, 36px); line-height: 1.12; overflow-wrap: anywhere; }
  .section-heading > p:last-child, .distributor-box p, .final-cta p, .security-feature-copy > p { font-size: 16px; line-height: 1.65; }
  .access-diagram { width: 100%; margin-top: 30px; padding: 24px 16px; }
  .diagram-node, .diagram-equipment, .equipment-types { max-width: 100%; }
  .equipment-row { max-width: 100%; flex-wrap: wrap; }
  .incident-strip { align-items: flex-start; font-size: 18px; }
  .hero-product-visual, .security-feature-visual, .dashboard-preview { max-width: 100%; }
  .connectivity-panel { min-height: 0; padding: 28px 24px; }
  .connectivity-copy h2 { font-size: clamp(29px,8vw,36px); }
  .connectivity-copy p { font-size: 16px; }
  .professionals-heading { margin-bottom: 28px; }
  .professionals-heading h2 { font-size: clamp(29px,8vw,36px); }
  .professionals-heading p { font-size: 16px; }
  .professionals-visual { padding: 26px 18px 0; }
  .professionals-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
  .professionals-conclusion { padding-inline: 0; font-size: 15px; }
  .comparison-grid, .steps-grid, .benefits-grid, .two-column, .pricing-card, .footer-grid { grid-template-columns: minmax(0,1fr); }.feature-list { grid-template-columns: 1fr; }.pricing-card > div:last-child { grid-column: auto; justify-self: start; }.distributor-box { align-items: flex-start; flex-direction: column; }.landing-card { padding: 20px; }
  .pricing-card { gap: 28px; padding: 24px 20px; }
  .price { flex-wrap: wrap; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-column { display: contents; }
  .faq-item { order: var(--faq-order); }
  .faq-list summary, .faq-list details p { overflow-wrap: anywhere; }
  .faq-item summary { grid-template-columns: 42px minmax(0,1fr) 20px; gap: 11px; padding: 16px; font-size: 15px; }
  .faq-icon { width: 42px; height: 42px; }
  .faq-answer { padding: 0 16px 16px 69px; }
  .faq-column:first-child .faq-item:first-child[open] .faq-answer { padding-bottom: 16px; }
  .faq-contact { grid-template-columns: 46px minmax(0,1fr); padding: 17px 16px; }
  .faq-contact .btn { grid-column: 1 / -1; width: 100%; }
  .contact-layout, .contact-form { grid-template-columns: 1fr; }.contact-form .full-field, .contact-form .btn, .contact-note, .contact-status { grid-column: auto; }.contact-form .btn { width: 100%; }
  .register-main { padding-top: 30px; }.register-copy h1, .welcome-intro h1, .shop-heading h1 { font-size: 39px; }.register-intro, .welcome-intro > p:last-child, .shop-heading > p:last-child { font-size: 16px; }.register-benefits { padding: 21px; }.register-card { padding: 24px 20px; border-radius: 18px; }.welcome-card .btn { width: 100%; }.shop-product-visual { margin-bottom: 24px; }.shop-product-copy .feature-list { grid-template-columns: 1fr; }.shop-summary { padding: 18px 16px; }
}
