:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --bg-warm: #fbf6ee;
  --surface: #ffffff;
  --surface-soft: #eef4f6;
  --ink: #15212b;
  --muted: #526473;
  --line: #d7e1e6;
  --navy: #091625;
  --navy-2: #101f32;
  --blue: #0b6f98;
  --teal: #0e8a88;
  --red: #c82834;
  --amber: #d98918;
  --focus: #1291c5;
  --shadow: 0 20px 54px rgba(14, 31, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 5.6rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.7rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(18px, calc((100vw - 1200px) / 2));
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(215, 225, 230, 0.9);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #314554;
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-button,
.button-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.nav-button:hover,
.button-link:hover,
button:hover {
  background: #a91f2a;
  border-color: #a91f2a;
}

.button-link.secondary {
  color: #e6f6ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(173, 211, 225, 0.46);
}

.button-link.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(222, 242, 250, 0.7);
}

button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: center;
  padding: 64px max(18px, calc((100vw - 1200px) / 2)) 58px;
  color: #ffffff;
  background:
    linear-gradient(102deg, rgba(18, 145, 197, 0.18), transparent 34%, rgba(200, 40, 52, 0.14) 72%, transparent),
    linear-gradient(120deg, #07111f 0%, #0d2436 50%, #1d1a20 100%),
    var(--navy);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent);
}

.hero::after {
  z-index: -1;
  opacity: 0.6;
  background:
    linear-gradient(132deg, transparent 0 30%, rgba(255, 125, 134, 0.34) 30.2%, transparent 30.8%),
    linear-gradient(149deg, transparent 0 52%, rgba(25, 211, 229, 0.24) 52.2%, transparent 53%),
    linear-gradient(28deg, transparent 0 64%, rgba(217, 137, 24, 0.24) 64.2%, transparent 65%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.get-intro .eyebrow,
.admin-band .eyebrow,
.private-section .eyebrow {
  color: #ff7d86;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(244, 250, 252, 0.88);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.availability-row,
.trust-list,
.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.availability-row {
  margin-top: 26px;
}

.availability-row span,
.trust-list span,
.stat-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.setup-progress-panel {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 430px;
  margin-top: 28px;
  padding: 12px;
  background: rgba(8, 22, 37, 0.68);
  border: 1px solid rgba(212, 233, 240, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.setup-progress-panel::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 34px;
  width: 2px;
  background: linear-gradient(180deg, rgba(126, 184, 202, 0.8), rgba(126, 184, 202, 0.16));
}

.setup-progress-panel span {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 3px 13px;
  min-height: 64px;
  padding: 8px 12px 8px 0;
  color: rgba(244, 250, 252, 0.66);
  font-size: 0.88rem;
  font-weight: 900;
}

.setup-progress-panel strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  color: #dce9ef;
  background: #112235;
  border: 1px solid rgba(212, 233, 240, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(8, 22, 37, 0.9);
  font-size: 0.86rem;
  font-weight: 1000;
}

.setup-progress-panel em {
  align-self: end;
  font-style: normal;
  line-height: 1.12;
}

.setup-progress-panel small {
  grid-column: 2;
  color: rgba(244, 250, 252, 0.64);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.setup-progress-panel span.active {
  color: #ffffff;
}

.setup-progress-panel span.active strong {
  color: #ffffff;
  background: #117da3;
  border-color: #7ed7f1;
  box-shadow:
    0 0 0 5px rgba(8, 22, 37, 0.9),
    0 0 0 9px rgba(25, 211, 229, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.28);
}

.setup-progress-panel span.active small {
  color: #8ee5f4;
}

.setup-progress-panel span.complete {
  color: rgba(255, 255, 255, 0.92);
}

.setup-progress-panel span.complete small {
  color: #aee8bb;
}

.setup-progress-panel span.complete strong {
  color: #ffffff;
  background: #278d42;
  border-color: rgba(172, 232, 187, 0.74);
  font-size: 0;
}

.setup-progress-panel span.complete strong::before {
  content: "\2713";
  font-size: 1rem;
}

.availability-row span {
  color: #f5fbff;
  border: 1px solid rgba(150, 203, 219, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.availability-row span:nth-child(2) {
  border-color: rgba(255, 125, 134, 0.42);
  background: rgba(200, 40, 52, 0.18);
}

.availability-row span:nth-child(3) {
  border-color: rgba(217, 137, 24, 0.46);
  background: rgba(217, 137, 24, 0.14);
}

.private-note {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(224, 237, 243, 0.78);
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.visual-grid {
  position: absolute;
  inset: -18px -24px 28px 34px;
  border: 1px solid rgba(154, 207, 224, 0.18);
  background:
    linear-gradient(90deg, rgba(154, 207, 224, 0.1) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(154, 207, 224, 0.08) 1px, transparent 1px) 0 0 / 64px 64px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 86%);
  opacity: 0.7;
}

.visual-grid span {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(25, 211, 229, 0.8), transparent);
  transform-origin: left center;
}

.visual-grid span:nth-child(1) {
  top: 22%;
  left: 8%;
  width: 58%;
  transform: rotate(14deg);
}

.visual-grid span:nth-child(2) {
  top: 58%;
  left: 16%;
  width: 72%;
  background: linear-gradient(90deg, transparent, rgba(255, 125, 134, 0.78), transparent);
  transform: rotate(-10deg);
}

.visual-grid span:nth-child(3) {
  right: 2%;
  bottom: 22%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(217, 137, 24, 0.78), transparent);
  transform: rotate(30deg);
}

.screen-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(220, 238, 246, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    #071121;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.desktop-frame {
  width: min(100%, 720px);
  aspect-ratio: 16 / 10;
  padding-top: 34px;
}

.frame-toolbar {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6a73;
  box-shadow: 16px 0 0 #d98918, 32px 0 0 #19d3e5;
}

.screen-media {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #071121;
}

.screen-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.screen-frame .screen-media,
.phone-media .screen-media,
.get-phone .screen-media {
  height: 100%;
}

.screen-frame .screen-media img,
.phone-media .screen-media img,
.get-phone .screen-media img {
  height: 100%;
}

.phone-frame {
  position: absolute;
  right: clamp(0px, 1.2vw, 18px);
  bottom: 22px;
  width: clamp(154px, 26%, 188px);
  aspect-ratio: 430 / 850;
  padding: 20px 7px 9px;
  border-width: 5px;
  border-color: #172536;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(210, 224, 231, 0.62);
  transform: translateX(-50%);
}

.phone-frame .screen-media,
.phone-media .screen-media,
.get-phone .screen-media {
  border-radius: 20px;
}

.phone-frame .screen-media {
  border-radius: 18px;
}

.phone-frame .screen-media img {
  object-fit: contain;
  object-position: top center;
}

.neris-section,
.section,
.device-section,
.split-section,
.admin-band,
.private-section,
.cta-band,
.get-shell {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.neris-section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 42px;
  padding: 30px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 35, 48, 0.08);
}

.neris-seal {
  width: 160px;
  height: auto;
}

.neris-copy h2 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

@media (max-width: 600px) {
  .neris-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .neris-seal {
    width: 120px;
  }
}

.section,
.device-section {
  padding: 70px 0 42px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.split-section p,
.admin-copy p,
.private-section p,
.cta-band p,
.form-heading p,
.next-panel li,
.get-intro p {
  color: var(--muted);
}

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

.feature-card,
.device-card,
.form-panel,
.next-panel,
.private-steps div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 35, 48, 0.08);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 74px;
  height: 42px;
  border-right: 2px solid rgba(18, 145, 197, 0.16);
  border-bottom: 2px solid rgba(18, 145, 197, 0.16);
  transform: skewX(-18deg);
}

.feature-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e7f3f6;
  border: 1px solid #b9d6e1;
}

.feature-mark::before,
.feature-mark::after {
  content: "";
  position: absolute;
  border-radius: 3px;
}

.incident-mark::before {
  inset: 9px 10px;
  border-left: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(-45deg);
}

.incident-mark::after {
  right: 8px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 999px;
}

.map-mark::before {
  left: 9px;
  top: 8px;
  width: 22px;
  height: 24px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  transform: skewY(-8deg);
}

.map-mark::after {
  left: 19px;
  top: 8px;
  width: 2px;
  height: 24px;
  background: var(--blue);
  transform: rotate(10deg);
}

.readiness-mark::before {
  left: 9px;
  top: 11px;
  width: 22px;
  height: 16px;
  border: 2px solid var(--teal);
}

.readiness-mark::after {
  left: 13px;
  top: 16px;
  width: 15px;
  height: 5px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.dashboard-mark::before {
  left: 8px;
  top: 10px;
  width: 26px;
  height: 18px;
  border: 2px solid #7b45df;
}

.dashboard-mark::after {
  left: 12px;
  top: 15px;
  width: 18px;
  height: 2px;
  background: #7b45df;
  box-shadow: 0 6px 0 #7b45df;
}

.audio-mark::before {
  left: 9px;
  top: 10px;
  width: 4px;
  height: 20px;
  background: var(--blue);
  box-shadow: 7px 6px 0 var(--blue), 14px -3px 0 var(--blue), 21px 3px 0 var(--blue);
}

.report-mark::before {
  left: 9px;
  top: 24px;
  width: 5px;
  height: 8px;
  background: var(--teal);
  box-shadow: 8px -8px 0 var(--teal), 16px -15px 0 var(--teal);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.device-section {
  border-top: 1px solid rgba(215, 225, 230, 0.8);
}

.sample-caption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.device-card {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f7fbfc 64%, #eef6f8);
}

.device-copy {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.device-copy span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.device-copy h3 {
  margin: 5px 0 0;
  font-size: 1.15rem;
}

.device-shot {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 18px;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(18, 145, 197, 0.1), transparent 42%),
    linear-gradient(315deg, rgba(200, 40, 52, 0.08), transparent 48%);
}

.device-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(18, 34, 48, 0.16);
  border-radius: 8px;
  background: #071121;
  box-shadow: 0 22px 50px rgba(14, 31, 44, 0.16);
}

.desktop-shot {
  align-items: start;
  aspect-ratio: 16 / 10;
}

.tablet-shot {
  aspect-ratio: 16 / 10;
}

.tablet-shot img {
  width: 100%;
}

.mobile-shot {
  aspect-ratio: 430 / 932;
}

.mobile-shot img {
  width: min(100%, 238px);
  border-radius: 24px;
}

.map-shot img {
  background: #dfeef1;
  object-position: top center;
}

.map-shot {
  aspect-ratio: 16 / 10;
}

.tac-shot img,
.command-shot img {
  object-position: top center;
}

.dashboard-section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0;
  border-top: 1px solid rgba(215, 225, 230, 0.8);
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  color: #edf9fc;
  background:
    linear-gradient(135deg, rgba(18, 145, 197, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(200, 40, 52, 0.18), transparent 46%),
    #071321;
  border: 1px solid rgba(168, 213, 226, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.dashboard-card-large {
  grid-area: auto;
}

.dashboard-card:nth-child(2) {
  grid-area: auto;
}

.dashboard-card:nth-child(3) {
  grid-area: auto;
}

.dashboard-copy,
.dashboard-shot {
  position: relative;
  z-index: 1;
}

.dashboard-copy {
  padding: 18px 18px 12px;
}

.dashboard-copy span {
  color: #6ed7ef;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-copy h3 {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: 1.22rem;
}

.dashboard-shot {
  display: grid;
  align-items: start;
  min-height: 0;
  padding: 0 18px 18px;
  aspect-ratio: 16 / 9;
}

.dashboard-card-large .dashboard-shot {
  aspect-ratio: 16 / 10;
}

.dashboard-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(219, 241, 247, 0.2);
  border-radius: 6px;
  background: #06101e;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.admin-dashboard-shot img {
  object-position: top center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 58px 0;
  border-top: 1px solid rgba(215, 225, 230, 0.8);
}

.split-section.reverse {
  grid-template-columns: minmax(360px, 0.7fr) minmax(0, 1fr);
}

.split-section p + p {
  margin-top: 14px;
}

.media-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(18, 145, 197, 0.08), transparent 44%),
    #0b1625;
  box-shadow: var(--shadow);
}

.media-panel .screen-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
}

.phone-media {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 390 / 844;
  padding: 28px 10px 12px;
  border: 7px solid #142235;
  border-radius: 32px;
}

.phone-media .screen-media img {
  max-height: none;
}

.admin-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 20px;
  padding: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #081523 0%, #123143 65%, #392b16 100%);
  border-radius: 8px;
}

.admin-copy p {
  color: rgba(232, 244, 249, 0.82);
}

.stat-list {
  margin-top: 22px;
}

.stat-list span {
  color: #eaf7fb;
  border: 1px solid rgba(133, 203, 221, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.admin-screen {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: 34px 10px 10px;
  border-radius: 8px;
  border: 1px solid rgba(226, 241, 247, 0.22);
  background: #071121;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.admin-screen .screen-media img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
}

.private-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1fr);
  gap: 32px;
  align-items: start;
  padding: 62px 0 42px;
}

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

.private-steps div {
  min-height: 112px;
  padding: 18px;
}

.private-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
}

.private-steps span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 62px;
  padding: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #102639, #0f4d5a 58%, #7e2a31);
  border-radius: 8px;
}

.cta-band p {
  color: rgba(240, 249, 251, 0.84);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 18px 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.site-footer a {
  text-decoration: none;
}

.get-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(440px, 1fr);
  gap: 28px;
  padding: 44px 0 70px;
}

.get-shell.form-first {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.get-shell.form-first .form-panel {
  width: 100%;
}

.get-intro {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(200, 40, 52, 0.2), transparent 34%),
    linear-gradient(24deg, rgba(18, 145, 197, 0.22), transparent 42%),
    linear-gradient(180deg, #081625, #092a37),
    var(--navy);
  border-radius: 8px;
  overflow: visible;
}

.get-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.get-intro .setup-progress-panel {
  position: sticky;
  top: 18px;
  z-index: 4;
}

.get-intro h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: 4.3rem;
}

.get-intro p {
  max-width: 470px;
  color: rgba(245, 251, 253, 0.84);
  font-size: 1.04rem;
}

.setup-progress-panel,
.trust-list {
  margin-top: 24px;
}

.trust-list.secondary {
  margin-top: 8px;
  opacity: 0.82;
}

.trust-list span {
  color: #ffffff;
  border: 1px solid rgba(212, 233, 240, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.access-lines {
  position: relative;
  height: 92px;
  margin: 28px 0 4px;
}

.access-lines span {
  position: absolute;
  left: 4%;
  display: block;
  width: 88%;
  height: 2px;
  background: linear-gradient(90deg, rgba(25, 211, 229, 0), rgba(25, 211, 229, 0.9), rgba(25, 211, 229, 0));
  transform-origin: left center;
}

.access-lines span:nth-child(1) {
  top: 18px;
  transform: rotate(7deg);
}

.access-lines span:nth-child(2) {
  top: 44px;
  background: linear-gradient(90deg, rgba(255, 125, 134, 0), rgba(255, 125, 134, 0.9), rgba(255, 125, 134, 0));
  transform: rotate(-9deg);
}

.access-lines span:nth-child(3) {
  top: 70px;
  background: linear-gradient(90deg, rgba(217, 137, 24, 0), rgba(217, 137, 24, 0.86), rgba(217, 137, 24, 0));
  transform: rotate(4deg);
}

.get-phone {
  position: relative;
  width: min(310px, 78%);
  aspect-ratio: 390 / 844;
  margin: 20px auto 0;
  overflow: hidden;
  padding: 24px 9px 11px;
  border: 6px solid #142235;
  border-radius: 30px;
  background: #071121;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.form-panel {
  padding: 28px;
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.request-form {
  display: grid;
  gap: 18px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 2px;
}

.wizard-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  color: #244154;
  background: #eef6f8;
  border: 1px solid #cfe1e7;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.wizard-progress span.active {
  background: #e7f3f6;
  border-color: #7eb8ca;
}

.wizard-progress span.complete {
  color: #174826;
  background: #e6f6e9;
  border-color: #add8b8;
}

.wizard-progress strong,
.install-wizard strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.wizard-progress span.complete strong {
  background: #278d42;
  font-size: 0;
}

.wizard-progress span.complete strong::before {
  content: "\2713";
  font-size: 0.82rem;
}

.wizard-stack {
  display: grid;
  gap: 14px;
}

.wizard-step {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #fbfdfe;
  border: 1px solid #d6e4e9;
  border-radius: 8px;
}

.wizard-step-heading {
  display: grid;
  gap: 8px;
}

.wizard-step-heading span {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 5px 9px;
  color: #0f6f92;
  background: #e7f3f6;
  border: 1px solid #b8dbe5;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.wizard-step-heading h3 {
  margin: 0;
  font-size: 1.16rem;
}

.wizard-step-heading p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
label span {
  display: block;
  margin-bottom: 7px;
  color: #2c3e4b;
  font-size: 0.9rem;
  font-weight: 900;
}

.field-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.agency-detail-field[hidden] {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd8df;
  border-radius: 8px;
  font: inherit;
}

select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #516777 50%),
    linear-gradient(135deg, #516777 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 23px,
    calc(100% - 17px) 23px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.agency-select {
  font-weight: 850;
  background-color: #ffffff;
  border-width: 2px;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(18, 145, 197, 0.24);
  outline-offset: 2px;
}

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

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

.choice-grid.account-grid {
  grid-template-columns: 1fr;
}

.choice {
  display: flex;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.choice.compact {
  align-items: flex-start;
}

.choice input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.choice strong {
  display: block;
  font-size: 0.96rem;
}

.choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.choice:has(input:checked) {
  background: #e7f3f6;
  border-color: #7eb8ca;
  box-shadow: inset 0 0 0 1px #7eb8ca;
}

.choice:has(input:checked) strong {
  color: #183c50;
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.apple-id-note,
.apple-store-help {
  padding: 14px;
  background: #fffaf0;
  border: 1px solid #efd8a7;
  border-radius: 8px;
}

.apple-id-note[hidden] {
  display: none;
}

.apple-id-note span,
.apple-store-help span {
  display: block;
  margin-bottom: 5px;
  color: #925b0f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-id-note p,
.apple-store-help p {
  color: #4c3b1d;
  font-size: 0.92rem;
  font-weight: 800;
}

.terms input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form-actions {
  display: grid;
  gap: 10px;
  align-items: start;
}

#formMessage {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

#formMessage.success {
  color: #116329;
  font-weight: 900;
}

#formMessage.error {
  color: #a31824;
  font-weight: 900;
}

.install-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px;
  background: #f6fbfc;
  border: 1px solid #cfe1e7;
  border-radius: 8px;
}

.install-panel[hidden] {
  display: none;
}

.install-panel.ready {
  background: #f3fbf5;
  border-color: #b9ddc1;
}

.install-panel.error {
  background: #fff5f5;
  border-color: #f0b6bd;
}

.install-panel.verify {
  background: #ffffff;
  border-color: #d4e0e5;
}

.install-status span,
.code-card span,
.android-note span,
.account-guidance span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-status h3 {
  margin-bottom: 6px;
  font-size: 1.28rem;
}

.install-status p,
.android-note p,
.account-guidance p {
  color: var(--muted);
}

.account-guidance {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d2e2e7;
  border-radius: 8px;
}

.code-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #cbdde4;
  border-radius: 8px;
}

.redeem-code {
  display: block;
  overflow-wrap: anywhere;
  color: #0d2738;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

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

.secondary-button {
  color: #123246;
  background: #ffffff;
  border-color: #b8ccd5;
}

.secondary-button:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.install-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #334b5a;
  font-weight: 800;
}

.install-wizard {
  display: grid;
  gap: 10px;
}

.install-wizard div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d6e4e9;
  border-radius: 8px;
}

.install-wizard span {
  display: block;
  color: #2b4657;
  font-size: 0.92rem;
  font-weight: 850;
}

.android-note {
  padding: 14px;
  background: #fffaf0;
  border: 1px solid #efd8a7;
  border-radius: 8px;
}

.install-help {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.close-note {
  color: #213746;
  font-size: 1.04rem;
  font-weight: 900;
}

.install-complete-icon {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 2px solid #b8dfc1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 99, 41, 0.12), transparent 58%),
    #f3fbf5;
}

.install-complete-icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  width: 17px;
  height: 27px;
  border-right: 4px solid #116329;
  border-bottom: 4px solid #116329;
  transform: rotate(45deg);
}

.claim-form {
  display: grid;
  gap: 14px;
}

.claim-form button {
  width: 100%;
}

.claim-form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.claim-form-message.error {
  color: #a31824;
  font-weight: 900;
}

.access-page.install-mode {
  background: #f5f8f9;
}

.access-page.install-mode .site-header {
  position: static;
  justify-content: center;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.access-page.install-mode .site-nav,
.access-page.install-mode .get-intro,
.access-page.install-mode .form-heading,
.access-page.install-mode .next-panel,
.access-page.install-mode #accessForm {
  display: none;
}

.access-page.install-mode .get-shell {
  display: block;
  width: min(100%, 560px);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 34px 18px 56px;
}

.access-page.install-mode .form-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.access-page.install-mode .install-panel {
  margin: 0;
  padding: 24px;
  background: #ffffff;
  border-color: #d4e0e5;
  box-shadow: 0 18px 48px rgba(17, 35, 48, 0.1);
}

.access-page.install-mode .install-panel.ready,
.access-page.install-mode .install-panel.downloading {
  background: #ffffff;
  border-color: #d4e0e5;
}

.access-page.install-mode .install-panel.downloading {
  text-align: center;
}

.access-page.install-mode .install-status h3 {
  font-size: 1.8rem;
}

.access-page.install-mode .install-actions,
.access-page.install-mode .install-actions .button-link {
  width: 100%;
}

.access-page.install-mode .button-link {
  min-height: 54px;
}

.next-panel {
  margin-top: 22px;
  padding: 20px;
  background: var(--surface-soft);
  box-shadow: none;
}

.next-panel h2 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.next-panel ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.screen-reader-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.firenav-admin-page {
  min-height: 100vh;
  background: #eef4f6;
}

.firenav-admin-page [hidden] {
  display: none !important;
}

.firenav-admin-page h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.firenav-admin-page h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.admin-topbar-actions,
.admin-row-actions,
.admin-form-actions,
.admin-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-console {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 0.45fr);
  gap: 24px;
  align-items: start;
  margin-top: 34px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 35, 50, 0.1);
}

.admin-login h1 {
  font-size: 2.4rem;
}

.admin-login-form,
.admin-form,
.admin-dialog form {
  display: grid;
  gap: 14px;
}

.admin-auth-stack {
  display: grid;
  gap: 16px;
}

.admin-setup-panel,
.admin-created-token {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f6fafb;
  border: 1px solid #d8e7ed;
  border-radius: 8px;
}

.admin-created-token {
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1fr) auto;
  align-items: end;
  margin-bottom: 14px;
  background: #ffffff;
}

.admin-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 6px 0 16px;
}

.admin-search {
  width: min(360px, 100%);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-stats div {
  min-height: 88px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stats span,
.admin-table small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-stats strong {
  display: block;
  margin-top: 5px;
  color: #0c2a3b;
  font-size: 1.9rem;
  line-height: 1;
}

.admin-message {
  min-height: 22px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-message.success {
  color: #116329;
}

.admin-message.error {
  color: #a31824;
}

.admin-tabs {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs button {
  min-height: 42px;
  color: #213746;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.admin-tabs button:hover,
.admin-tabs button.active {
  color: #0a5f84;
  background: #e7f3f6;
  border-bottom-color: var(--blue);
}

.admin-view {
  display: grid;
  gap: 14px;
}

.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5edf1;
  font-size: 0.88rem;
}

.admin-table th {
  color: #385161;
  background: #f7fafb;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.admin-table strong {
  display: block;
  color: #132a39;
}

.admin-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.admin-mini-button {
  min-height: 34px;
  padding: 0 10px;
  color: #123246;
  background: #ffffff;
  border-color: #b8ccd5;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-mini-button:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.admin-mini-button.danger:hover {
  background: var(--red);
  border-color: var(--red);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-badge.good {
  color: #0d5a25;
  background: #e6f6e9;
  border: 1px solid #b8dfc1;
}

.admin-badge.warn {
  color: #7a4b04;
  background: #fff4d8;
  border: 1px solid #edd28f;
}

.admin-badge.bad {
  color: #92202a;
  background: #fff0f1;
  border: 1px solid #efb5bc;
}

.admin-badge.neutral {
  color: #385161;
  background: #eef4f6;
  border: 1px solid #d4e0e5;
}

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

.deliverability-panel {
  display: grid;
  gap: 14px;
}

.deliverability-summary,
.deliverability-checks {
  display: grid;
  gap: 10px;
}

.deliverability-summary {
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deliverability-summary span,
.deliverability-check h3 {
  display: block;
  margin: 0 0 4px;
  color: #385161;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deliverability-summary strong {
  display: block;
  color: #132a39;
  font-size: 1.05rem;
}

.deliverability-summary small,
.deliverability-check small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.deliverability-check {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deliverability-check > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deliverability-check p {
  color: #2b4657;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-form {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compact-form {
  grid-template-columns: minmax(180px, 0.35fr) minmax(260px, 1fr) auto;
  align-items: end;
}

.compact-form .admin-section-heading {
  grid-column: 1 / -1;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-top: 22px;
}

.admin-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.admin-check span {
  margin: 0;
}

.admin-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.03em;
}

.admin-dialog {
  width: min(640px, calc(100% - 28px));
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(5, 18, 30, 0.28);
}

.admin-dialog::backdrop {
  background: rgba(9, 22, 37, 0.42);
}

.admin-dialog form {
  padding: 18px;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero,
  .admin-band,
  .private-section,
  .get-shell {
    grid-template-columns: 1fr;
  }

  .get-intro .setup-progress-panel {
    position: relative;
    top: auto;
  }

  .wizard-progress {
    position: sticky;
    top: 0;
    z-index: 9;
    margin: -4px -4px 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d6e4e9;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(17, 35, 48, 0.1);
    backdrop-filter: blur(14px);
  }

  .hero-visual {
    min-height: 440px;
  }

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

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

  .device-card {
    min-height: 0;
  }

  .dashboard-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "status"
      "incident"
      "admin";
  }

  .dashboard-card-large .dashboard-shot {
    aspect-ratio: 16 / 9;
  }

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .admin-band {
    padding: 30px;
  }

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

  .admin-two-column,
  .compact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.88rem;
  }

  .nav-button {
    flex: 1 1 100%;
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding: 58px 18px 44px;
    gap: 34px;
  }

  h1,
  .get-intro h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-visual {
    display: grid;
    gap: 22px;
    min-height: 0;
  }

  .visual-grid {
    inset: 0;
  }

  .phone-frame {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: center;
    width: min(220px, 70%);
    min-width: 0;
  }

  /* Let each mobile preview follow the screenshot's own proportions. */
  .site-home .desktop-frame,
  .site-home .phone-frame,
  .site-home .phone-media,
  .site-home .device-shot,
  .site-home .dashboard-shot {
    aspect-ratio: auto;
  }

  .site-home .screen-media,
  .site-home .screen-media img,
  .site-home .admin-screen .screen-media img,
  .site-home .device-shot img,
  .site-home .dashboard-shot img {
    height: auto;
    max-height: none;
  }

  .feature-grid,
  .private-steps,
  .choice-grid,
  .choice-grid.three {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .section,
  .device-section,
  .dashboard-section,
  .split-section,
  .private-section {
    padding: 42px 0 28px;
  }

  .device-card {
    min-height: 0;
  }

  .device-shot {
    padding: 12px;
  }

  .dashboard-copy {
    padding: 16px 14px 10px;
  }

  .dashboard-copy h3 {
    font-size: 1.05rem;
  }

  .dashboard-shot {
    padding: 0 12px 12px;
  }

  .admin-band,
  .cta-band,
  .form-panel,
  .get-intro {
    padding: 22px;
  }

  .code-card {
    grid-template-columns: 1fr;
  }

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

  .wizard-progress span {
    min-height: 36px;
    gap: 6px;
    padding: 7px 8px;
    font-size: 0.74rem;
  }

  .wizard-progress strong {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .install-actions,
  .install-actions .button-link,
  .install-actions .secondary-button {
    width: 100%;
  }

  .admin-screen .screen-media img {
    max-height: 430px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    margin-bottom: 42px;
  }

  .get-shell {
    padding: 24px 0 48px;
  }

  .get-intro {
    min-height: auto;
  }

  .get-phone {
    width: min(260px, 86%);
  }

  .admin-topbar,
  .admin-heading,
  .admin-login,
  .admin-created-token {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-console {
    width: min(100% - 20px, 1320px);
  }

  .admin-topbar-actions,
  .admin-topbar-actions button,
  .admin-tabs button,
  .admin-form-actions button {
    width: 100%;
  }

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

  .deliverability-summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    border-bottom: 1px solid #dce7ec;
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
  }

  .admin-table td::before {
    content: attr(data-label);
    color: #526473;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .admin-row-actions {
    justify-content: flex-start;
  }

  .admin-mini-button {
    flex: 1 1 44%;
  }

  .admin-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  h1,
  .get-intro h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .hero-actions .button-link,
  .cta-band .button-link {
    width: 100%;
  }

  .availability-row,
  .trust-list,
  .stat-list {
    display: grid;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

.admin-table td {
    grid-template-columns: 1fr;
  }
}

.approval-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
}

.approval-summary div {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #dce7ec;
}

.approval-summary dt {
  color: #526473;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.approval-summary dd {
  margin: 0;
  color: #172332;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Current interface captures retain their complete source proportions. */
.workflow-preview { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #e9eff2; }
.workflow-preview img { display: block; width: 100%; height: auto; border-radius: 8px; }
.workflow-preview figcaption { padding-top: 14px; color: var(--muted); font-size: .9rem; }
.availability-note { padding: 28px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.06); }
.availability-note p + p { margin-top: 18px; }
.get-intro a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }
.get-shell > *, .form-panel, .choice { min-width: 0; }
@media (max-width: 760px) { .get-shell { grid-template-columns: minmax(0,1fr); } .workflow-preview, .availability-note { padding: 14px; } }
