/* Public pages restyle inspired by dispatcher SaaS layouts. */
:root {
  --ds-topbar: #004b7a;
  --ds-nav: #10395d;
  --ds-hero: #252454;
  --ds-section: #0c0c22;
  --ds-section-alt: #111726;
  --ds-card: rgba(13, 43, 72, 0.92);
  --ds-card-soft: #202443;
  --ds-line: rgba(116, 132, 169, 0.24);
  --ds-line-strong: rgba(118, 156, 210, 0.35);
  --ds-ink: #f7f8ff;
  --ds-muted: #a8acbf;
  --ds-muted-strong: #c9cede;
  --ds-blue: #3f8fd7;
  --ds-blue-soft: #2d77ad;
  --ds-red: #c73342;
  --ds-red-dark: #9d2632;
  --ds-green: #48a97d;
  --ds-amber: #c99a3b;
  --ds-shadow: 0 26px 58px rgba(0, 0, 0, 0.34);
  --ds-shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.22);
}

body.landing-page,
body {
  background:
    linear-gradient(180deg, var(--ds-hero) 0%, var(--ds-section) 44%, #090b14 100%),
    var(--ds-section);
  color: var(--ds-ink);
  font-family: "DM Sans", "Outfit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.landing-page nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(180deg, var(--ds-topbar), #004671);
  border-bottom: 1px solid rgba(120, 174, 220, 0.28);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

body.landing-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

body.landing-page .logo-icon {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

body.landing-page img.logo-icon,
body.public-info-page img.logo-icon {
  width: 200px;
  height: 70px;
  max-width: 200px;
  max-height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}

body.landing-page .logo-icon img {
  width: auto;
  height: auto;
  display: block;
}

body.landing-page .logo-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

body.landing-page .logo-region {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
}

body.landing-page .nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

body.landing-page .btn,
body.landing-page .auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 40px;
  color: inherit;
  font-family: "DM Sans", "Outfit", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body.landing-page .btn:hover,
body.landing-page .auth-btn:hover {
  transform: translateY(-1px);
}

body.landing-page .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

body.landing-page .nav-link:hover {
  color: #9bd8ff;
  text-shadow: 0 0 16px rgba(63, 143, 215, 0.5);
}

body.landing-page .btn-red,
body.landing-page .btn-primary,
body.landing-page .auth-btn.btn-red,
body.landing-page .auth-btn.red {
  background: linear-gradient(180deg, var(--ds-blue-soft), #236895);
  border-color: rgba(107, 176, 226, 0.45);
  color: #fff;
  box-shadow: 0 14px 26px rgba(25, 116, 181, 0.28);
}

body.landing-page .btn-red:hover,
body.landing-page .btn-primary:hover,
body.landing-page .auth-btn.btn-red:hover,
body.landing-page .auth-btn.red:hover {
  background: linear-gradient(180deg, #52b6ff, #2677b8);
  border-color: rgba(144, 210, 255, 0.72);
  box-shadow: 0 16px 34px rgba(63, 143, 215, 0.42);
}

body.landing-page .btn-white,
body.landing-page .btn-entry,
body.landing-page .btn-ghost,
body.landing-page .btn-outline-red {
  background: rgba(38, 42, 82, 0.72);
  border: 1px solid rgba(196, 207, 238, 0.42);
  color: #ffffff;
}

body.landing-page .btn-white:hover,
body.landing-page .btn-entry:hover,
body.landing-page .btn-ghost:hover,
body.landing-page .btn-outline-red:hover {
  background: rgba(63, 143, 215, 0.3);
  border-color: rgba(144, 210, 255, 0.72);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(63, 143, 215, 0.28);
}

body.landing-page .btn-discord {
  background: #16476c;
}

body.landing-page .btn-discord:hover {
  background: linear-gradient(180deg, #5865f2, #3440b8);
  border-color: rgba(157, 168, 255, 0.7);
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.34);
}

body.landing-page .hero .btn-red:hover,
body.landing-page nav .btn-red:hover,
body.landing-page nav .auth-btn.btn-red:hover,
body.landing-page nav .auth-btn.red:hover {
  background: linear-gradient(180deg, #55c987, #218b52);
  border-color: rgba(126, 224, 166, 0.72);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(72, 169, 125, 0.38);
}

body.landing-page .hero .btn-entry:hover,
body.landing-page nav .btn-white:hover,
body.landing-page nav .btn-outline-red:hover {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  color: #102033;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.16);
}

body.landing-page .btn-orange,
body.landing-page .auth-btn.btn-orange {
  background: linear-gradient(180deg, #f0a73b, #c5761f);
  border-color: rgba(255, 205, 132, 0.5);
  color: #ffffff;
}

body.landing-page .btn-orange:hover,
body.landing-page .auth-btn.btn-orange:hover {
  background: linear-gradient(180deg, #ffc15f, #d98221);
  border-color: rgba(255, 221, 158, 0.72);
  box-shadow: 0 16px 34px rgba(240, 167, 59, 0.34);
}

body.landing-page .hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px clamp(18px, 4vw, 48px) 28px;
}

body.landing-page .hero-banner {
  min-height: min(620px, calc(100vh - 138px));
  border-radius: 8px;
  border: 1px solid rgba(116, 132, 169, 0.18);
  background:
    linear-gradient(180deg, rgba(37, 36, 84, 0.82), rgba(37, 36, 84, 0.96)),
    var(--ds-hero);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

body.landing-page .hero-banner::after {
  background:
    linear-gradient(180deg, rgba(37, 36, 84, 0.76), rgba(37, 36, 84, 0.9)),
    linear-gradient(90deg, rgba(37, 36, 84, 0.92), rgba(37, 36, 84, 0.58));
}

body.landing-page .hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 124px) clamp(24px, 7vw, 86px);
  text-align: center;
}

body.landing-page .chip {
  border-radius: 8px;
  background: linear-gradient(180deg, #3c91db, #2b78c7);
  border-color: rgba(134, 190, 255, 0.36);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(43, 120, 199, 0.22);
}

body.landing-page h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #ffffff;
}

body.landing-page .hero-desc {
  max-width: 660px;
  color: var(--ds-muted-strong);
  font-size: 19px;
  font-weight: 500;
}

body.landing-page .hero-btns {
  justify-content: center;
  flex-wrap: wrap;
}

body.landing-page .hero-audio-toggle {
  border-radius: 8px;
}

.landing-section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.landing-section-wide {
  width: min(1380px, calc(100vw - 40px));
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker,
body.landing-page .section-tag {
  color: var(--ds-blue);
  font-family: "JetBrains Mono", "DM Sans", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--ds-ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--ds-muted);
  font-size: 17px;
  line-height: 1.7;
}

body.landing-page .stats {
  width: min(980px, calc(100vw - 40px));
  max-width: none;
  margin: 28px auto 0;
  padding: 18px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: rgba(24, 28, 50, 0.78);
  box-shadow: var(--ds-shadow-soft);
}

body.landing-page .stat {
  border-color: var(--ds-line);
}

body.landing-page .stat-n {
  color: var(--ds-blue);
  font-size: 34px;
}

body.landing-page .stat-n em,
body.landing-page h1 em {
  color: #ffffff;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.action-shot {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
}

.action-shot img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #edf1f6;
}

.action-shot figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.action-shot strong {
  color: #ffffff;
  font-size: 16px;
}

.action-shot span {
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 1.5;
}

body.landing-page .features {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  padding: 64px 0;
}

body.landing-page .grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
  border-radius: 0;
}

body.landing-page .feat {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 32, 52, 0.96), rgba(20, 23, 38, 0.96));
  box-shadow: var(--ds-shadow-soft);
}

body.landing-page .feat:hover {
  background: linear-gradient(180deg, rgba(33, 39, 66, 0.98), rgba(21, 26, 46, 0.98));
  transform: translateY(-2px);
}

body.landing-page .feat-icon {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(63, 143, 215, 0.14);
  color: #74b7ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

body.landing-page .feat-title {
  color: #ffffff;
  font-size: 16px;
}

body.landing-page .feat-text {
  color: var(--ds-muted);
  font-size: 14px;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: quick-step;
}

.quick-step {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
  counter-increment: quick-step;
}

.quick-step::before {
  content: counter(quick-step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ds-red);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.quick-step strong {
  font-size: 17px;
}

.quick-step span {
  color: var(--ds-muted);
  line-height: 1.55;
}

.community-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(63, 143, 215, 0.1), rgba(37, 36, 84, 0.36)),
    var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
}

.community-band p {
  max-width: 760px;
  color: var(--ds-muted);
  line-height: 1.65;
}

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

.faq-item {
  padding: 22px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
}

.faq-item strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.faq-item p {
  color: var(--ds-muted);
  line-height: 1.6;
}

body.landing-page .auth {
  width: min(1080px, calc(100vw - 40px));
  max-width: none;
  padding: 64px 0;
}

body.landing-page .auth-title,
body.landing-page .auth-title-red,
body.landing-page .auth-tag,
body.landing-page .auth-tag-dark,
body.landing-page .auth-form label,
body.landing-page .auth-subform label,
body.landing-page .newsletter-optin-title {
  color: #ffffff;
}

body.landing-page .auth-sub,
body.landing-page .newsletter-optin-copy,
body.landing-page .auth-feedback,
body.landing-page .footer-copy,
body.landing-page .footer-links a {
  color: var(--ds-muted);
}

body.landing-page .auth-card,
body.landing-page .auth-subform,
body.landing-page .auth-reset {
  border-radius: 8px;
  border-color: var(--ds-line);
  box-shadow: var(--ds-shadow-soft);
  background: var(--ds-card);
}

body.landing-page .auth-card-red {
  border-color: rgba(63, 143, 215, 0.38);
  background:
    linear-gradient(135deg, rgba(63, 143, 215, 0.18), rgba(255, 255, 255, 0)),
    var(--ds-card-soft);
}

body.landing-page .auth-reset {
  background: rgba(17, 23, 38, 0.88);
}

body.landing-page input:not([type="checkbox"]):not([type="radio"]) {
  border-radius: 8px;
  border-color: rgba(196, 207, 238, 0.26);
  background: rgba(7, 9, 22, 0.44);
  color: #ffffff;
}

body.landing-page footer {
  border-top: 1px solid var(--ds-line);
  background: rgba(7, 9, 22, 0.78);
}

body[data-operative-center-page="true"] .co-main {
  width: min(1440px, calc(100vw - 40px));
  padding-top: 112px;
}

body[data-operative-center-page="true"] .map-panel,
body[data-operative-center-page="true"] .panel,
body[data-operative-center-page="true"] .summary-card,
body[data-operative-center-page="true"] .co-card,
body[data-operative-center-page="true"] .request-card,
body[data-operative-center-page="true"] .region-banner {
  border-radius: 8px;
  border-color: var(--ds-line);
  box-shadow: var(--ds-shadow-soft);
  background: var(--ds-card);
}

body[data-operative-center-page="true"] .map-panel {
  background:
    linear-gradient(180deg, rgba(28, 32, 52, 0.94), rgba(17, 23, 38, 0.94)),
    var(--ds-card);
}

body[data-operative-center-page="true"] .hero-title {
  color: var(--ds-ink);
  letter-spacing: 0;
}

body[data-operative-center-page="true"] .hero-copy,
body[data-operative-center-page="true"] .side-copy,
body[data-operative-center-page="true"] .region-banner-copy,
body[data-operative-center-page="true"] .summary-label,
body[data-operative-center-page="true"] .request-copy {
  color: var(--ds-muted);
}

body[data-operative-center-page="true"] .side-title,
body[data-operative-center-page="true"] .summary-value,
body[data-operative-center-page="true"] .region-banner-title,
body[data-operative-center-page="true"] .request-title {
  color: #ffffff;
}

body[data-operative-center-page="true"] .eyebrow,
body[data-operative-center-page="true"] .mini-title {
  color: var(--ds-blue);
}

body.public-info-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--ds-hero), var(--ds-section));
  color: var(--ds-ink);
  font-family: "DM Sans", "Outfit", system-ui, sans-serif;
}

body.public-info-page nav,
body.public-info-page footer {
  width: min(1120px, calc(100vw - 40px));
}

body.public-info-page nav {
  margin-top: 16px;
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-topbar);
  box-shadow: var(--ds-shadow-soft);
}

body.public-info-page .logo-icon {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

body.public-info-page .logo-icon img {
  width: auto;
  height: auto;
  display: block;
}

body.landing-page .logo-region,
body.public-info-page .logo-region {
  white-space: nowrap;
}

.public-product-page {
  min-height: 100vh;
}

.public-page-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 112px 0 64px;
}

.public-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 42px;
}

.public-page-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: rgba(10, 27, 45, 0.96);
  box-shadow: var(--ds-shadow-soft);
}

.public-page-copy h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
}

.public-page-copy p {
  color: var(--ds-muted);
  font-size: 18px;
  line-height: 1.7;
}

.public-page-aside {
  display: grid;
  gap: 14px;
}

.public-page-card {
  padding: 24px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
}

.public-page-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
}

.public-page-card strong {
  display: block;
  margin-bottom: 8px;
}

.public-page-card p,
.public-page-card li {
  color: var(--ds-muted);
  line-height: 1.6;
}

.public-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

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

.home-link-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--ds-shadow-soft);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.home-link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow);
}

.home-link-card span {
  color: var(--ds-blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.home-link-card strong {
  font-size: 18px;
}

.home-link-card p {
  color: var(--ds-muted);
  line-height: 1.55;
}

body.public-info-page .logo-name {
  color: #ffffff;
  font-weight: 800;
}

body.public-info-page .logo-region {
  color: rgba(255, 255, 255, 0.72);
}

body.public-info-page .nav-link,
body.public-info-page .footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

body.public-info-page .nav-link {
  min-height: 38px;
  border: 1px solid rgba(116, 132, 169, 0.28);
  border-radius: 8px;
  background: rgba(18, 22, 38, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

body.public-info-page .nav-link:hover {
  border-color: rgba(63, 143, 215, 0.45);
  background: rgba(26, 32, 54, 0.98);
  color: #ffffff;
}

body.public-info-page main {
  width: min(1120px, calc(100vw - 40px));
  padding-top: 34px;
}

body.public-info-page .hero,
body.public-info-page .section,
body.public-info-page .card {
  border-radius: 8px;
  border-color: var(--ds-line);
  background: var(--ds-card);
  box-shadow: var(--ds-shadow-soft);
}

body.public-info-page .hero h1,
body.public-info-page .section h2,
body.public-info-page .card h2 {
  color: var(--ds-ink);
  letter-spacing: 0;
}

body.public-info-page .eyebrow {
  color: var(--ds-blue);
  font-weight: 800;
}

body.public-info-page .hero p {
  color: var(--ds-muted-strong);
}

body.public-info-page .section p,
body.public-info-page .section li,
body.public-info-page .section td {
  color: var(--ds-muted);
}

body.public-info-page .section strong {
  color: var(--ds-ink);
}

body.public-info-page .section a {
  color: #ffffff;
}

body.public-info-page .section th {
  color: var(--ds-ink);
}

body.public-info-page .badge-row {
  gap: 8px;
}

body.public-info-page .badge {
  border-radius: 8px;
  border-color: rgba(63, 143, 215, 0.28);
  background: rgba(63, 143, 215, 0.14);
  color: #dcecff;
}

body.public-info-page .contact-box {
  border-radius: 8px;
  border-color: rgba(116, 132, 169, 0.24);
  background: linear-gradient(180deg, rgba(18, 22, 38, 0.96), rgba(13, 16, 28, 0.98));
}

body.public-info-page .contact-box strong,
body.public-info-page .contact-box a {
  color: #ffffff;
}

body.public-info-page .contact-label {
  color: var(--ds-blue);
}

body.public-info-page footer {
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid var(--ds-line);
  background: rgba(7, 9, 22, 0.78);
}

body.public-info-page .footer-cookie-button {
  border-radius: 8px;
  border-color: rgba(116, 132, 169, 0.24);
  background: rgba(18, 22, 38, 0.92);
  color: #ffffff;
}

body.public-info-page .footer-cookie-button:hover {
  border-color: rgba(63, 143, 215, 0.42);
  background: rgba(26, 32, 54, 0.98);
}

@media (max-width: 960px) {
  body.landing-page .nav-link {
    display: none;
  }

  body.landing-page .hero-content {
    padding: 64px 24px 54px;
  }

  body.landing-page .hero-banner::after {
    background: linear-gradient(180deg, rgba(37, 36, 84, 0.82), rgba(37, 36, 84, 0.92));
  }

  .action-grid,
  .quick-start-grid,
  .faq-grid,
  .public-page-hero,
  .public-page-grid,
  .home-link-grid {
    grid-template-columns: 1fr;
  }

  body.landing-page .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.landing-page nav {
    min-height: 64px;
  }

  body.landing-page .hero {
    padding: 86px 16px 22px !important;
  }

  body.landing-page .hero-banner {
    min-height: 500px !important;
  }

  body.landing-page h1 {
    font-size: 42px !important;
  }

  body.landing-page .hero-btns {
    align-items: stretch;
  }

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

  .landing-section,
  .landing-section-wide,
  body.landing-page .features,
  body.landing-page .auth {
    width: min(100% - 32px, 1180px);
    padding: 42px 0;
  }

  .community-band {
    padding: 24px;
  }
}

/* SIM Dispatcher-like public skin refinements. Keep this block last to override older landing rules. */
:root {
  --ds-hero: #171a3a;
  --ds-section: #15183e;
  --ds-section-alt: #172342;
  --ds-card: rgba(13, 43, 72, 0.92);
  --ds-card-soft: #1f2444;
  --ds-hero-blue: #06365b;
  --ds-deep-blue: #08192f;
}

body.landing-page,
body.public-product-page,
body.public-info-page {
  background: linear-gradient(180deg, var(--ds-hero-blue) 0%, var(--ds-deep-blue) 34%, var(--ds-section) 72%, #070a12 100%);
}

body.landing-page .hero {
  max-width: none;
  padding: 72px 0 0;
}

body.landing-page .hero-banner {
  min-height: min(650px, calc(100vh - 72px));
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(6, 54, 91, 0.9), rgba(8, 25, 47, 0.96)),
    var(--ds-hero-blue);
  box-shadow: none;
}

body.landing-page .hero-banner::after {
  background:
    linear-gradient(180deg, rgba(6, 54, 91, 0.76), rgba(8, 25, 47, 0.92)),
    linear-gradient(90deg, rgba(6, 54, 91, 0.86), rgba(8, 25, 47, 0.64));
}

body.landing-page .hero-content {
  max-width: 900px;
  padding: clamp(86px, 10vw, 132px) 24px 72px;
}

body.landing-page .hero-content h1 {
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
}

body.landing-page .ticker-bar {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  margin: 34px auto 20px;
  border: 1px solid rgba(116, 132, 169, 0.32);
  border-radius: 8px;
  background: rgba(19, 23, 39, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.landing-page .ticker-track {
  padding: 12px 18px;
}

body.landing-page .ticker-item {
  color: var(--ds-muted-strong);
}

body.landing-page .ticker-sep {
  color: rgba(201, 206, 222, 0.52);
}

body.landing-page .ticker-tag {
  border-radius: 8px;
}

body.landing-page .ticker-tag.rosso {
  background: #9d2632;
}

body.landing-page .ticker-tag.giallo {
  background: #b1832c;
}

body.landing-page .ticker-tag.verde {
  background: #27744f;
}

body.landing-page .ticker-tag.blu {
  background: #2d77ad;
}

body.landing-page .ticker-tag.arancione {
  background: #a85a28;
}

body.landing-page .landing-section,
body.landing-page .features,
body.landing-page .auth {
  padding-top: 78px;
  padding-bottom: 78px;
}

body.landing-page .auth {
  display: grid;
  gap: 18px;
}

body.landing-page .auth-intro {
  max-width: 820px;
  margin: 0 auto;
}

body.landing-page .auth-feedback {
  min-height: 24px;
  margin: 0;
  text-align: center;
}

body.landing-page .auth-grid {
  margin-top: 6px;
}

body.landing-page .auth-reset {
  margin-top: 18px;
}

.public-page-shell {
  padding: 88px 0 56px;
}

.public-page-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 30px;
  padding: 24px;
  border: 1px solid rgba(116, 132, 169, 0.26);
  border-radius: 8px;
  background: rgb(8 28 47 / 60%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.public-page-copy {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.public-product-page .public-page-copy h1 {
  max-width: 700px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
  margin: 0;
}

body.public-product-page .public-page-copy > p:not(.section-kicker) {
  max-width: 660px;
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
}

.public-page-copy .hero-btns {
  margin-top: 4px;
}

.public-page-aside {
  align-content: stretch;
}

.public-page-aside .public-page-card {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.public-page-card,
.quick-step,
.faq-item,
.home-link-card,
body.landing-page .feat,
body.landing-page .auth-card,
body.landing-page .auth-subform,
body.landing-page .auth-reset,
body[data-operative-center-page="true"] .map-panel,
body[data-operative-center-page="true"] .panel {
  border-color: rgba(116, 132, 169, 0.26);
  background: rgba(13, 43, 72, 0.92);
}

.public-page-card img {
  max-height: 210px;
  padding: 0;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 14px;
}

.public-page-grid {
  gap: 14px;
}

.public-page-grid .public-page-card,
.faq-grid .faq-item {
  min-height: 152px;
}

.public-page-grid .public-page-card,
.quick-step,
.faq-item {
  padding: 18px;
}

.quick-start-grid {
  gap: 14px;
}

.quick-step {
  gap: 8px;
}

.quick-step::before {
  width: 30px;
  height: 30px;
}

.quick-start-guide {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: rgba(13, 43, 72, 0.92);
  box-shadow: var(--ds-shadow-soft);
}

.quick-start-guide .public-page-copy {
  gap: 10px;
}

.quick-start-guide .public-page-copy h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
}

.quick-start-guide .public-page-copy p {
  margin: 0;
  color: var(--ds-muted);
  line-height: 1.6;
}

.quick-start-guide-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-start-guide-card,
.quick-start-guide-card-block,
.quick-start-guide-note {
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: rgba(8, 28, 47, 0.72);
  box-shadow: var(--ds-shadow-soft);
}

.quick-start-guide-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.quick-start-guide-card strong,
.quick-start-guide-card-block h3 {
  color: #ffffff;
}

.quick-start-guide-card span,
.quick-start-guide-card-block li,
.quick-start-guide-note li {
  color: var(--ds-muted);
  line-height: 1.6;
}

.quick-start-guide-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.quick-start-guide-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
  align-self: start;
}

.quick-start-guide-block,
.quick-start-guide-content {
  display: grid;
  gap: 14px;
}

.quick-start-guide-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-start-guide-nav {
  display: grid;
  gap: 8px;
}

.quick-start-guide-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(38, 42, 82, 0.35);
  border: 1px solid rgba(116, 132, 169, 0.22);
}

.quick-start-guide-link:hover {
  background: rgba(63, 143, 215, 0.18);
  border-color: rgba(144, 210, 255, 0.36);
}

.quick-start-guide-num,
.quick-start-guide-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ds-red);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.quick-start-guide-num {
  width: 34px;
  min-width: 34px;
  height: 28px;
  font-size: 13px;
}

.quick-start-guide-card-block {
  padding: 20px;
}

.quick-start-guide-card-num {
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  font-size: 14px;
}

.quick-start-guide-card-block h3 {
  margin: 0;
  font-size: 20px;
}

.quick-start-guide-card-block ul,
.quick-start-guide-card-block ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.quick-start-guide-card-block ul ul {
  margin-top: 8px;
}

.quick-start-guide-note {
  padding: 18px;
}

.quick-start-guide-note ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.quick-start-guide-note a {
  color: #9bd8ff;
}

@media (max-width: 960px) {
  .quick-start-guide,
  .quick-start-guide-grid,
  .quick-start-guide-strip {
    grid-template-columns: 1fr;
  }

  .quick-start-guide-sidebar {
    position: static;
  }
}

@media (max-width: 960px) {
  .public-page-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .public-page-copy {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .public-page-shell {
    width: calc(100vw - 28px);
    padding: 84px 0 42px;
  }

  .public-page-hero {
    padding: 18px;
    margin-bottom: 18px;
  }

  body.public-product-page .public-page-copy h1 {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  .public-page-card img {
    max-height: 180px;
  }
}

/* Operative center page: normalize legacy inline styles into the same SIM Dispatcher skin. */
body[data-operative-center-page="true"] {
  background: linear-gradient(180deg, var(--ds-hero-blue) 0%, var(--ds-deep-blue) 34%, var(--ds-section) 72%, #070a12 100%);
}

body[data-operative-center-page="true"] nav {
  background: linear-gradient(180deg, var(--ds-topbar), #004671);
  border-bottom-color: rgba(120, 174, 220, 0.28);
}

body[data-operative-center-page="true"] .status-pill,
body[data-operative-center-page="true"] .auth-user-badge,
body[data-operative-center-page="true"] .btn-danger {
  border-color: rgba(196, 207, 238, 0.24);
  background: rgba(16, 57, 93, 0.82);
  color: #ffffff;
  box-shadow: none;
}

body[data-operative-center-page="true"] .auth-user-badge-name {
  color: rgba(255, 255, 255, 0.62);
}

body[data-operative-center-page="true"] .auth-user-badge-meta {
  color: #ffffff;
}

body[data-operative-center-page="true"] .btn-danger {
  background: #9d2632;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-operative-center-page="true"] .shell {
  align-items: stretch;
}

body[data-operative-center-page="true"] .map-panel,
body[data-operative-center-page="true"] .panel {
  background: linear-gradient(180deg, rgba(21, 25, 37, 0.98), rgba(13, 17, 29, 0.98));
  border-color: rgba(116, 132, 169, 0.26);
}

body[data-operative-center-page="true"] .hero-title {
  color: #ffffff;
  letter-spacing: 0;
}

body[data-operative-center-page="true"] .hero-copy,
body[data-operative-center-page="true"] .hero-meta,
body[data-operative-center-page="true"] .side-copy {
  color: var(--ds-muted);
}

body[data-operative-center-page="true"] .map-stage {
  border-radius: 8px;
  border-color: rgba(116, 132, 169, 0.28);
  background:
    radial-gradient(circle at 22% 18%, rgba(63, 143, 215, 0.14), transparent 26%),
    linear-gradient(rgba(116, 132, 169, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 132, 169, 0.07) 1px, transparent 1px),
    #111726;
  background-size: auto, 40px 40px, 40px 40px, auto;
}

body[data-operative-center-page="true"] .map-overlay {
  background: linear-gradient(180deg, rgba(9, 10, 24, 0), rgba(9, 10, 24, 0.26));
}

body[data-operative-center-page="true"] .region-shape {
  fill: #263044;
  stroke: #3a4862;
}

body[data-operative-center-page="true"] .map-region.is-covered .region-shape {
  fill: #104b7a;
  stroke: #66aee8;
}

body[data-operative-center-page="true"] .map-region.is-selected .region-shape {
  fill: #2d7fd3;
  stroke: #d5f0ff;
}

body[data-operative-center-page="true"] .map-region:not(.is-covered):hover .region-shape,
body[data-operative-center-page="true"] .map-region:not(.is-covered).is-hovered .region-shape {
  fill: #334158;
  stroke: #53657e;
}

body[data-operative-center-page="true"] .legend-item {
  border-color: rgba(116, 132, 169, 0.28);
  background: rgba(21, 25, 37, 0.92);
  color: var(--ds-muted-strong);
}

body[data-operative-center-page="true"] .summary-card,
body[data-operative-center-page="true"] .region-banner,
body[data-operative-center-page="true"] .request-card,
body[data-operative-center-page="true"] .co-card {
  border-color: rgba(116, 132, 169, 0.26);
  background: rgba(18, 22, 34, 0.92);
  box-shadow: none;
}

body[data-operative-center-page="true"] .summary-value {
  color: #ffffff;
}

body[data-operative-center-page="true"] .region-banner-chip {
  border-color: rgba(116, 132, 169, 0.28);
  background: rgba(38, 42, 82, 0.72);
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-card {
  grid-template-columns: 156px minmax(0, 1fr) auto;
  border-left: 4px solid var(--co-card-accent, var(--ds-blue));
  background:
    linear-gradient(90deg, var(--co-card-accent-soft, rgba(63, 143, 215, 0.14)), transparent 42%),
    rgba(18, 22, 34, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 28px rgba(0, 0, 0, 0.14);
}

body[data-operative-center-page="true"] .co-card::before {
  display: block;
  opacity: 0.48;
}

body[data-operative-center-page="true"] .co-card:hover,
body[data-operative-center-page="true"] .co-card.is-selected {
  border-color: var(--co-card-accent, rgba(63, 143, 215, 0.64));
  background:
    linear-gradient(90deg, var(--co-card-accent-soft, rgba(63, 143, 215, 0.2)), transparent 48%),
    rgba(24, 31, 49, 0.98);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    0 0 0 1px var(--co-card-accent-soft, rgba(63, 143, 215, 0.2));
}

body[data-operative-center-page="true"] .co-card h3 {
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-card-thumb-overlay {
  border: 1px solid rgba(116, 132, 169, 0.26);
  background: rgba(15, 19, 31, 0.88);
  box-shadow: none;
}

body[data-operative-center-page="true"] .co-card-thumb-code {
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-card-thumb-region,
body[data-operative-center-page="true"] .co-agency-title {
  color: var(--ds-muted);
}

body[data-operative-center-page="true"] .co-agency-chip {
  border-radius: 8px;
  border-color: rgba(116, 132, 169, 0.28);
  background: rgba(16, 22, 36, 0.9);
  color: var(--ds-muted-strong);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type],
body[data-operative-center-page="true"] .co-agency-chip.is-selected[data-agency-type] {
  background: rgba(16, 22, 36, 0.9);
  border-color: rgba(116, 132, 169, 0.28);
  color: var(--ds-muted-strong);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="118"] {
  border-color: rgba(80, 177, 235, 0.36);
  background: rgba(31, 80, 122, 0.22);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="115"] {
  border-color: rgba(239, 132, 72, 0.36);
  background: rgba(132, 62, 31, 0.22);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="112_113"] {
  border-color: rgba(86, 203, 137, 0.36);
  background: rgba(38, 108, 75, 0.22);
}

body[data-operative-center-page="true"] .co-agency-chip:hover:not(.is-selected):not(:disabled) {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="118"]:hover:not(.is-selected):not(:disabled) {
  border-color: rgba(108, 198, 255, 0.68);
  background: rgba(42, 117, 176, 0.34);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="115"]:hover:not(.is-selected):not(:disabled) {
  border-color: rgba(255, 165, 98, 0.68);
  background: rgba(166, 79, 37, 0.34);
}

body[data-operative-center-page="true"] .co-agency-chip[data-agency-type="112_113"]:hover:not(.is-selected):not(:disabled) {
  border-color: rgba(111, 226, 162, 0.68);
  background: rgba(46, 135, 88, 0.34);
}

body[data-operative-center-page="true"] .co-agency-chip.is-selected[data-agency-type="118"] {
  background: linear-gradient(180deg, #3f9fde, #236895);
  border-color: rgba(130, 211, 255, 0.74);
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-agency-chip.is-selected[data-agency-type="115"] {
  background: linear-gradient(180deg, #e17839, #9c3d28);
  border-color: rgba(255, 175, 112, 0.72);
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-agency-chip.is-selected[data-agency-type="112_113"] {
  background: linear-gradient(180deg, #49bd7d, #23764e);
  border-color: rgba(130, 230, 172, 0.72);
  color: #ffffff;
}

body[data-operative-center-page="true"] .co-agency-chip.is-selected::after {
  background: rgba(255, 255, 255, 0.72);
}

body[data-operative-center-page="true"] .co-launch,
body[data-operative-center-page="true"] .btn-primary {
  background: linear-gradient(180deg, var(--ds-blue-soft), #236895);
  border-color: rgba(107, 176, 226, 0.45);
  color: #ffffff;
  box-shadow: none;
}

/* Public auth and feedback modals */
body.landing-page .auth-modal-backdrop,
body.public-info-page .auth-modal-backdrop {
  background:
    linear-gradient(180deg, rgba(0, 75, 122, 0.36), rgba(9, 10, 24, 0.82)),
    rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(8px);
}

body.landing-page .auth-modal-content,
body.public-info-page .auth-modal-content,
body.landing-page .modal-content,
body.public-info-page .modal-content {
  border: 1px solid rgba(116, 132, 169, 0.32) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #171b2a, #111726) !important;
  color: #ffffff !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.46) !important;
}

body.landing-page .auth-modal-content .modal-header,
body.public-info-page .auth-modal-content .modal-header,
body.landing-page .modal-content .modal-header,
body.public-info-page .modal-content .modal-header {
  border-bottom: 1px solid rgba(116, 132, 169, 0.26) !important;
}

body.landing-page .auth-modal-content h2,
body.public-info-page .auth-modal-content h2,
body.landing-page .modal-content h2,
body.public-info-page .modal-content h2 {
  color: #ffffff !important;
}

body.landing-page .auth-modal-content .auth-tag,
body.public-info-page .auth-modal-content .auth-tag,
body.landing-page .modal-content .auth-tag,
body.public-info-page .modal-content .auth-tag {
  color: var(--ds-blue) !important;
}

body.landing-page .auth-feedback-banner,
body.public-info-page .auth-feedback-banner,
body.landing-page .mandatory-disclaimer-banner,
body.public-info-page .mandatory-disclaimer-banner {
  border: 1px solid rgba(199, 51, 66, 0.36) !important;
  border-radius: 8px !important;
  background: rgba(157, 38, 50, 0.16) !important;
  color: #ffffff !important;
}

body.landing-page .auth-feedback-banner[data-tone="success"],
body.public-info-page .auth-feedback-banner[data-tone="success"] {
  border-color: rgba(72, 169, 125, 0.36);
  background: rgba(72, 169, 125, 0.14);
}

body.landing-page .auth-feedback-banner[data-tone="warning"],
body.public-info-page .auth-feedback-banner[data-tone="warning"] {
  border-color: rgba(201, 154, 59, 0.36);
  background: rgba(201, 154, 59, 0.14);
}

body.landing-page .auth-modal-content .btn-ghost,
body.public-info-page .auth-modal-content .btn-ghost,
body.landing-page .modal-content .ghost,
body.public-info-page .modal-content .ghost {
  border-color: rgba(196, 207, 238, 0.28);
  background: rgba(38, 42, 82, 0.72);
  color: #ffffff;
}

body.landing-page .auth-modal-content .btn-red,
body.public-info-page .auth-modal-content .btn-red,
body.landing-page .auth-modal-content .primary,
body.public-info-page .auth-modal-content .primary,
body.landing-page .modal-content .primary,
body.public-info-page .modal-content .primary {
  background: linear-gradient(180deg, var(--ds-blue-soft), #236895);
  border-color: rgba(107, 176, 226, 0.45);
  color: #ffffff;
  box-shadow: none;
}

body.landing-page .disclaimer-checkbox,
body.public-info-page .disclaimer-checkbox {
  color: var(--ds-muted-strong);
}

/* Shared public chrome: keep the topbar and page rhythm identical everywhere. */
body.landing-page nav,
body.public-product-page nav,
body[data-operative-center-page="true"] nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 64px;
  height: 64px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #004b7a, #004671);
  border-bottom: 1px solid rgba(120, 174, 220, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

body.landing-page .logo {
  gap: 10px;
  min-width: 0;
}

body.landing-page .logo-name {
  font-size: 15px;
  white-space: nowrap;
}

body.landing-page .logo-region {
  font-size: 12px;
  opacity: 0.78;
}

body.landing-page .nav-right {
  gap: 8px;
  flex-wrap: nowrap;
}

body.landing-page .nav-link,
body.public-product-page .nav-link,
body[data-operative-center-page="true"] .nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(4, 24, 44, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

body.landing-page .nav-link:hover,
body.public-product-page .nav-link:hover,
body[data-operative-center-page="true"] .nav-link:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.public-product-page .landing-user-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

body.public-product-page .landing-user-controls[hidden],
body.public-product-page [data-landing-auth-state="user"][hidden],
body.public-product-page [data-landing-auth-state="guest"][hidden] {
  display: none !important;
}

body.public-product-page .landing-user-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(207, 225, 244, 0.95);
  background: #f2f7fd;
  color: #1c3854;
  padding: 6px 12px 6px 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

body.public-product-page .landing-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(24, 68, 102, 0.24);
  background: rgba(13, 54, 86, 0.95);
  color: #f6fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}

body.public-product-page .landing-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.public-product-page .landing-user-label {
  display: grid;
  gap: 0;
  text-align: left;
}

body.public-product-page .landing-user-greeting {
  display: block;
  color: #1b3451;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

body.public-product-page .landing-user-meta {
  display: block;
  font-size: 11px;
  color: #4f6f8f;
  line-height: 1.05;
}

body.public-product-page .landing-user-chevron {
  color: #466987;
  font-size: 11px;
}

body.public-product-page .landing-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(12, 29, 48, 0.18);
  overflow: hidden;
  z-index: 120;
  display: none;
}

body.public-product-page .landing-user-controls.is-open .landing-user-menu {
  display: block;
}

body.public-product-page .landing-user-menu-item {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #1f3754;
  text-align: left;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

body.public-product-page .landing-user-menu-item:hover {
  background: #f1f6fc;
}

body.public-product-page .landing-user-menu-item.logout {
  color: #9f1c2c;
}

body.public-product-page .hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

body.public-product-page .hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #f4f8ff;
}

body.public-product-page .nav-menu {
  position: fixed;
  top: 60px;
  left: 12px;
  right: 12px;
  z-index: 110;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(116, 132, 169, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

body.public-product-page .nav-menu.active {
  display: flex;
}

body.public-product-page .nav-menu .btn {
  width: 100%;
  min-height: 42px;
}

body.landing-page .btn,
body.landing-page .auth-btn,
body[data-operative-center-page="true"] .status-pill,
body[data-operative-center-page="true"] .auth-user-badge {
  height: 36px;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1;
  align-self: center;
}

body.landing-page .btn-discord,
body.public-product-page .btn-discord,
body.public-info-page .btn-discord,
body[data-operative-center-page="true"] .btn-discord {
  background: linear-gradient(180deg, #6572ff, #5865f2);
  border-color: rgba(176, 183, 255, 0.42);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(88, 101, 242, 0.28);
}

body.landing-page .btn-discord:hover,
body.public-product-page .btn-discord:hover,
body.public-info-page .btn-discord:hover,
body[data-operative-center-page="true"] .btn-discord:hover {
  background: linear-gradient(180deg, #7681ff, #4752c4);
  border-color: rgba(200, 205, 255, 0.58);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.38);
}

body.landing-page .hero {
  padding-top: 64px;
}

.public-page-shell {
  padding-top: 88px;
}

.public-page-hero {
  align-items: stretch;
  margin-bottom: 30px;
}

.public-page-copy {
  padding-top: 0;
}

body[data-operative-center-page="true"] .co-main {
  padding-top: 92px;
}

body[data-operative-center-page="true"] .shell {
  gap: 24px;
}

body[data-operative-center-page="true"] .map-panel {
  min-height: auto;
  padding: 28px;
}

body[data-operative-center-page="true"] .hero-title {
  max-width: 610px;
  margin-top: 14px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

body[data-operative-center-page="true"] .hero-copy {
  max-width: 570px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
}

body[data-operative-center-page="true"] .hero-actions {
  margin-top: 18px;
}

body[data-operative-center-page="true"] .hero-meta {
  margin-top: 16px;
}

body[data-operative-center-page="true"] .map-stage {
  margin-top: 22px;
  min-height: 600px;
}

body[data-operative-center-page="true"] #italy-map-shell {
  top: 18px;
  right: 24px;
  bottom: 64px;
  left: 24px;
  width: auto;
  max-width: none;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-operative-center-page="true"] #italy-map-shell > svg {
  width: auto !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  flex: 0 1 auto;
  object-fit: contain;
}

body[data-operative-center-page="true"] .panel {
  padding: 22px;
}

@media (max-width: 1180px) {
  body.landing-page nav,
  body.public-product-page nav,
  body[data-operative-center-page="true"] nav {
    padding: 0 22px;
  }

  body.landing-page .logo-region {
    display: none;
  }

  body[data-operative-center-page="true"] .map-stage {
    min-height: 560px;
  }

  body[data-operative-center-page="true"] #italy-map-shell > svg {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  body.landing-page nav,
  body.public-product-page nav,
  body[data-operative-center-page="true"] nav {
    min-height: 60px;
    height: 60px;
    padding: 0 16px;
  }

  body.landing-page .logo,
  body.public-product-page .logo,
  body[data-operative-center-page="true"] .logo {
    min-width: 0;
    flex: 0 1 auto;
  }

  body.landing-page img.logo-icon,
  body.public-info-page img.logo-icon {
    width: 154px;
    height: 54px;
    max-width: 154px;
    max-height: 54px;
  }

  body.public-product-page nav .nav-link,
  body.public-product-page nav .btn-discord,
  body.public-product-page nav .landing-user-meta {
    display: none;
  }

  body.public-product-page nav .btn-red,
  body.public-product-page nav .btn-outline-red,
  body.public-product-page nav .landing-user-controls {
    display: none !important;
  }

  body.public-product-page .hamburger {
    display: flex;
  }

  body[data-operative-center-page="true"] nav .nav-link,
  body[data-operative-center-page="true"] nav .status-pill {
    display: none;
  }

  body.public-product-page .nav-right,
  body[data-operative-center-page="true"] .nav-right {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
  }

  body.public-product-page .landing-user-controls {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
  }

  body.public-product-page .landing-user-menu-toggle {
    max-width: 100%;
    justify-content: space-between;
    min-height: 42px;
  }

  body.public-product-page .landing-user-label {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.public-product-page .landing-user-greeting,
  body.public-product-page .landing-user-meta {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.public-product-page .landing-user-menu {
    position: fixed;
    top: 68px;
    left: 8px;
    right: 8px;
    min-width: 0;
    width: auto;
    max-height: calc(100vh - 84px);
    overflow: auto;
  }

  body.landing-page .hero {
    padding-top: 60px;
  }

  .public-page-shell,
  body[data-operative-center-page="true"] .co-main {
    padding-top: 84px;
  }

  body[data-operative-center-page="true"] .map-panel,
  body[data-operative-center-page="true"] .panel {
    padding: 20px 16px;
  }

  body[data-operative-center-page="true"] .co-main {
    width: calc(100vw - 16px);
    padding-top: 80px;
  }

  body[data-operative-center-page="true"] .auth-user-badge {
    min-width: 0;
    width: auto;
    padding: 8px 10px !important;
  }

  body[data-operative-center-page="true"] .auth-user-badge-label {
    min-width: 0;
  }

  body[data-operative-center-page="true"] .hero-title {
    font-size: clamp(30px, 11vw, 38px);
  }

  body[data-operative-center-page="true"] #italy-map-shell {
    top: 14px;
    right: 14px;
    bottom: 70px;
    left: 14px;
  }

  body[data-operative-center-page="true"] .co-card {
    grid-template-columns: 1fr !important;
  }

  body[data-operative-center-page="true"] .co-card-thumb {
    min-height: 138px;
  }

  body[data-operative-center-page="true"] .co-card-main {
    padding: 0 16px 14px;
  }

  body[data-operative-center-page="true"] .co-agency-picker {
    width: 100%;
  }

  body[data-operative-center-page="true"] .co-agency-chip {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  body[data-operative-center-page="true"] .co-actions {
    align-self: stretch;
    padding: 0 16px 16px;
    justify-content: flex-start;
  }

  .public-page-grid .public-page-card,
  .faq-grid .faq-item {
    min-height: 0;
    padding: 16px;
  }
}

/* Homepage section layout: scoped so simulator screens and modals are untouched. */
body.sectioned-homepage[data-auth-mode="landing"] {
  background:
    linear-gradient(180deg, #06365b 0, #08192f 150px, #090d18 150px, #070a12 100%),
    #070a12;
  --home-section-hero: #071a2d;
  --home-section-dark: #070a12;
  --home-section-mid: #0b101c;
  --home-section-blue: #071a2d;
  --home-section-soft: #0d1322;
  --home-section-line: rgba(116, 132, 169, 0.2);
  --modal-backdrop-bg: rgba(4, 9, 16, 0.72);
  --modal-shell-bg: linear-gradient(180deg, #141b2b 0%, #0e1422 100%);
  --modal-shell-border: 1px solid rgba(116, 132, 169, 0.34);
  --modal-shell-shadow: 0 30px 76px rgba(0, 0, 0, 0.54);
  --modal-header-border: rgba(116, 132, 169, 0.22);
  --modal-title-color: #f4f7ff;
  --modal-label-color: #9fb4cc;
  --modal-copy-color: #b8c2d4;
  --modal-close-bg: #252a42;
  --modal-close-border: rgba(196, 207, 238, 0.22);
  --modal-close-color: #ffffff;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: auto;
  padding: 12px 0 0;
  background:
    linear-gradient(180deg, #155477 0%, #252454 2%, #252454 86%, #15153a 100%);
  box-shadow: inset 0 -1px 0 var(--home-section-line);
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-banner {
  width: 100%;
  min-height: 646px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(72, 118, 232, 0.22), transparent 42%),
    linear-gradient(180deg, #242b63 0%, #252454 54%, #252454 100%);
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-banner::after {
  background:
    linear-gradient(180deg, rgba(19, 21, 62, 0.12), rgba(19, 21, 62, 0.34)),
    linear-gradient(90deg, rgba(9, 10, 38, 0.2), rgba(9, 10, 38, 0.04), rgba(9, 10, 38, 0.2));
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-content {
  max-width: 1320px;
  padding: 80px 24px 56px;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-content h1 {
  color: #ffffff;
  max-width: 1320px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 4px;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-desc {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: var(--ds-muted-strong);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

body.sectioned-homepage[data-auth-mode="landing"] .chip {
  gap: 0;
  margin-bottom: 28px;
  padding: 9px 21px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4d94ff, #2e77dd);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(52, 121, 226, 0.34);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

body.sectioned-homepage[data-auth-mode="landing"] .chip .dot {
  display: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-btns {
  gap: 12px;
  margin-bottom: 42px;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero .btn-lg {
  min-width: 258px;
  padding: 15px 28px;
  border-radius: 2px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: center;
  margin: 0 auto 40px;
  color: rgba(214, 218, 235, 0.72);
  font-size: 15px;
  font-weight: 700;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 10px;
  max-width: 1120px;
  margin: 0 auto;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-feature-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(205, 211, 238, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(236, 239, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

body.sectioned-homepage[data-auth-mode="landing"] .hero-proof > span > span,
body.sectioned-homepage[data-auth-mode="landing"] .hero-feature-pills > span > span {
  flex: 0 0 auto;
  opacity: 0.86;
}

body.sectioned-homepage[data-auth-mode="landing"] .ticker-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto 0;
  border-width: 1px 0;
  border-color: rgba(116, 132, 169, 0.16);
  border-radius: 0;
  background: #061626;
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .ticker-track {
  padding: 11px max(20px, calc((100vw - 1160px) / 2));
}

body.sectioned-homepage[data-auth-mode="landing"] .ticker-bar + #in-azione {
  margin-top: 0;
}

body.sectioned-homepage[data-auth-mode="landing"] #in-azione {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 8vw, 96px) 20px 86px;
  border-top: 1px solid rgba(116, 132, 169, 0.14);
  border-bottom: 1px solid rgba(116, 132, 169, 0.22);
  background:
    radial-gradient(circle at 50% 0, rgba(31, 54, 94, 0.18), transparent 34%),
    linear-gradient(180deg, var(--home-section-mid) 0%, #090e19 100%);
}

body.sectioned-homepage[data-auth-mode="landing"] #in-azione .section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

body.sectioned-homepage[data-auth-mode="landing"] #in-azione .section-heading h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
}

body.sectioned-homepage[data-auth-mode="landing"] #in-azione .section-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
}

body.sectioned-homepage[data-auth-mode="landing"] .home-link-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  gap: 14px;
}

body.sectioned-homepage[data-auth-mode="landing"] .home-link-card {
  min-height: 166px;
  padding: 22px;
  border-color: rgba(116, 132, 169, 0.26);
  background: rgba(18, 23, 38, 0.78);
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .home-stats-band {
  padding: 10px 20px 28px;
  background:
    linear-gradient(180deg, #071a2d 0%, #0a0f1b 100%);
  box-shadow:
    inset 0 1px 0 rgba(116, 132, 169, 0.2),
    inset 0 -1px 0 rgba(116, 132, 169, 0.16);
}

body.sectioned-homepage[data-auth-mode="landing"] .stats {
  width: min(960px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(116, 132, 169, 0.24);
  border-radius: 8px;
  background: rgba(24, 28, 50, 0.78);
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .stats .stat {
  max-width: 320px;
}

body.sectioned-homepage[data-auth-mode="landing"] .stat-n {
  color: #3f8fd7;
}

body.sectioned-homepage[data-auth-mode="landing"] .features {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 84px max(20px, calc((100vw - 1180px) / 2)) 78px;
  background:
    radial-gradient(circle at 50% 0, rgba(116, 183, 255, 0.08), transparent 30%),
    linear-gradient(180deg, var(--home-section-dark) 0%, #060912 100%);
  box-shadow: inset 0 -1px 0 rgba(116, 132, 169, 0.14);
}

body.sectioned-homepage[data-auth-mode="landing"] .features .section-heading {
  margin-left: auto;
  margin-right: auto;
}

body.sectioned-homepage[data-auth-mode="landing"] #quick-start {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(116, 132, 169, 0.18);
  border-bottom: 1px solid rgba(116, 132, 169, 0.16);
  background:
    radial-gradient(circle at 18% 12%, rgba(63, 143, 215, 0.09), transparent 34%),
    linear-gradient(180deg, var(--home-section-soft) 0%, #0a0f1b 100%);
}

body.sectioned-homepage[data-auth-mode="landing"] #quick-start .section-heading {
  max-width: 760px;
}

body.sectioned-homepage[data-auth-mode="landing"] #quick-start .quick-start-grid {
  width: min(1180px, 100%);
}

body.sectioned-homepage[data-auth-mode="landing"] #supporto {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 60px max(20px, calc((100vw - 1180px) / 2)) 86px;
  background:
    linear-gradient(180deg, #060912 0%, var(--home-section-dark) 100%);
  box-shadow: inset 0 -1px 0 rgba(116, 132, 169, 0.14);
}

body.sectioned-homepage[data-auth-mode="landing"] #supporto .community-band {
  width: min(1180px, 100%);
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(63, 143, 215, 0.16), rgba(31, 36, 66, 0.78)),
    #141928;
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 88px max(20px, calc((100vw - 1080px) / 2)) 84px;
  border-top: 1px solid rgba(116, 132, 169, 0.18);
  background:
    radial-gradient(circle at 50% 0, rgba(63, 143, 215, 0.12), transparent 32%),
    linear-gradient(180deg, #0d1322 0%, #09101d 100%);
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-grid,
body.sectioned-homepage[data-auth-mode="landing"] .auth-reset {
  width: min(1080px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-card,
body.sectioned-homepage[data-auth-mode="landing"] .auth-subform,
body.sectioned-homepage[data-auth-mode="landing"] .auth-reset {
  background: rgba(18, 23, 38, 0.86);
  border-color: rgba(116, 132, 169, 0.26);
  box-shadow: none;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-card-red {
  background:
    linear-gradient(135deg, rgba(63, 143, 215, 0.2), rgba(24, 28, 50, 0.9)),
    #141928;
  border-color: rgba(116, 183, 255, 0.32);
}

body.sectioned-homepage[data-auth-mode="landing"] footer {
  margin: 0;
  background: #050811;
  box-shadow: inset 0 1px 0 rgba(116, 132, 169, 0.16);
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-modal-backdrop {
  background:
    linear-gradient(180deg, rgba(0, 47, 76, 0.52), rgba(5, 8, 17, 0.86)),
    rgba(5, 8, 17, 0.74) !important;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-feedback-modal .auth-modal-content,
body.sectioned-homepage[data-auth-mode="landing"] #disclaimer-modal .auth-modal-content {
  border-radius: 18px !important;
  background: linear-gradient(180deg, #141b2b 0%, #0f1524 100%) !important;
  color: #f4f7ff !important;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-feedback-modal .modal-header,
body.sectioned-homepage[data-auth-mode="landing"] #disclaimer-modal .modal-header {
  background: transparent !important;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-feedback-banner,
body.sectioned-homepage[data-auth-mode="landing"] .mandatory-disclaimer-banner {
  background: rgba(157, 38, 50, 0.18) !important;
  border-color: rgba(199, 51, 66, 0.42) !important;
  color: #f6dfe3 !important;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-feedback-banner[data-tone="success"] {
  background: rgba(72, 169, 125, 0.16) !important;
  border-color: rgba(72, 169, 125, 0.42) !important;
  color: #dff7e9 !important;
}

body.sectioned-homepage[data-auth-mode="landing"] .auth-feedback-banner[data-tone="warning"] {
  background: rgba(201, 154, 59, 0.16) !important;
  border-color: rgba(201, 154, 59, 0.42) !important;
  color: #fff0cf !important;
}

@media (max-width: 960px) {
  body.sectioned-homepage[data-auth-mode="landing"] .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sectioned-homepage[data-auth-mode="landing"] .community-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.sectioned-homepage[data-auth-mode="landing"] .hero {
    padding: 12px 0 0;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-banner {
    min-height: auto;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-content {
    padding: 54px 16px 46px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-content h1 {
    letter-spacing: 2px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-desc {
    font-size: 17px;
    margin-bottom: 30px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-btns {
    margin-bottom: 30px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero .btn-lg {
    width: min(100%, 320px);
    min-width: 0;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-proof {
    gap: 12px 16px;
    margin-bottom: 28px;
    font-size: 13px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-feature-pills {
    gap: 10px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .hero-feature-pills > span {
    width: min(100%, 360px);
    justify-content: center;
    text-align: center;
    font-size: 13px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .ticker-bar {
    width: 100%;
    margin-bottom: 18px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] #in-azione {
    padding: 52px 14px 60px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .home-link-grid {
    grid-template-columns: 1fr;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .home-stats-band {
    padding: 20px 14px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .stats {
    flex-direction: column;
    align-items: stretch;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .stats .stat {
    max-width: none;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(116, 132, 169, 0.22);
  }

  body.sectioned-homepage[data-auth-mode="landing"] .stats .stat:last-child {
    border-bottom: 0;
  }

  body.sectioned-homepage[data-auth-mode="landing"] .features {
    padding: 58px 16px 54px;
  }

  body.sectioned-homepage[data-auth-mode="landing"] #quick-start,
  body.sectioned-homepage[data-auth-mode="landing"] #supporto,
  body.sectioned-homepage[data-auth-mode="landing"] .auth {
    padding-left: 16px;
    padding-right: 16px;
  }
}
