/* Dedicated small-screen experience. The desktop Council remains unchanged. */
.mobile-council {
  display: none;
}

.mobile-council-shell {
  width: min(100%, 640px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-bottom: 46px;
  /*background: 
    radial-gradient(520px 340px at 20% 2%, rgba(47, 107, 255, 0.22), transparent 62%),
    radial-gradient(460px 320px at 92% 46%, rgba(47, 107, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #0b1120 0%, #101a2e 58%, #0a1020 100%);*/
  font-family: "Archivo", var(--font-sans);
}

.mobile-council a {
  color: inherit;
  text-decoration: none;
}

.mobile-council a:focus-visible,
.mobile-council button:focus-visible,
.mobile-product summary:focus-visible {
  outline: 2px solid #9fc4ff;
  outline-offset: 4px;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgba(150, 185, 255, 0.14);
  /*background: rgba(11, 17, 32, 0.9);*/
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 12px 10px 20px;
}

.mobile-header-logo {
  display: block;
  width: auto;
  height: 40px;
}

.mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #cddcf3;
  transition: opacity 0.2s ease, transform 0.25s ease, width 0.25s ease;
}

.mobile-menu-button span:last-child {
  width: 13px;
  margin-left: 7px;
  background: #6d9bff;
}

.mobile-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] span:last-child {
  width: 20px;
  margin-left: 0;
  background: #cddcf3;
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 22px;
  border-bottom: 1px solid rgba(150, 185, 255, 0.18);
  background: rgba(9, 14, 26, 0.995);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(150, 185, 255, 0.1);
  color: #eaf1ff;
  font-family: "Michroma", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  padding-left: 6px;
  color: #9fc4ff;
}

.mobile-hero,
.mobile-council-section,
.mobile-human-gate,
.mobile-product-section,
.mobile-trust-strip,
.mobile-demo-card {
  scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px));
}

.mobile-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 46px 20px 34px;
}

.mobile-kicker,
.mobile-section-copy,
.mobile-agent-role,
.mobile-product-subtitle,
.mobile-stat-label,
.mobile-edr-copy,
.mobile-button {
  font-family: "JetBrains Mono", var(--font-mono);
}

.mobile-kicker {
  margin: 0;
  color: #6d9bff;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  line-height: 1.55;
}

.mobile-hero h1 {
  margin: 0;
  color: #f4f7ff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.06;
  text-wrap: pretty;
}

.mobile-hero > p:not(.mobile-kicker) {
  margin: 0;
  color: #bccbe2;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.66;
  text-wrap: pretty;
}

.mobile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.mobile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mobile-button:hover {
  transform: translateY(-2px);
}

.mobile-button-primary {
  background: linear-gradient(92deg, #8fbcff, #2f6bff);
  color: #06111f !important;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.16);
}

.mobile-button-secondary {
  border-color: rgba(150, 185, 255, 0.32);
  color: #cddcf3 !important;
}

.mobile-button-secondary:hover {
  border-color: rgba(159, 196, 255, 0.7);
}

.mobile-workforce-statement {
  margin: 0 20px;
  padding: 22px 20px;
  border-top: 1px solid rgba(150, 185, 255, 0.18);
  border-bottom: 1px solid rgba(150, 185, 255, 0.18);
  color: #eaf1ff;
  font-family: "Michroma", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
}

.mobile-workforce-statement span {
  color: transparent;
  background: linear-gradient(92deg, #8fbcff 0%, #2f6bff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.mobile-council-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 44px 0 10px;
}

.mobile-section-heading {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-inline: 20px;
}

.mobile-section-heading h2 {
  margin: 0;
  color: #eaf1ff;
  font-family: "Michroma", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1.55;
}

.mobile-section-copy {
  margin: 0;
  color: #8b9bb8;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  line-height: 1.55;
}

.mobile-agent-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 20px 16px;
  scrollbar-width: none;
  scroll-padding-inline: 20px;
  scroll-snap-type: inline mandatory;
  -webkit-overflow-scrolling: touch;
}

.mobile-agent-scroller::-webkit-scrollbar {
  display: none;
}

.mobile-agent-card {
  display: flex;
  align-items: center;
  flex: 0 0 134px;
  flex-direction: column;
  gap: 12px;
  padding: 18px 14px;
  border: 1px solid rgba(150, 185, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  scroll-snap-align: start;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mobile-agent-card:hover,
.mobile-agent-card:focus-visible {
  border-color: rgba(150, 185, 255, 0.42);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.mobile-agent-card img {
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(60, 120, 255, 0.3);
}

.mobile-agent-card strong {
  color: #f4f7ff;
  font-family: "Michroma", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.mobile-agent-role {
  color: #8b9bb8;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-align: center;
}

.mobile-agent-card-gold {
  border-color: rgba(255, 205, 110, 0.34);
  background: linear-gradient(180deg, rgba(255, 205, 110, 0.09), rgba(255, 205, 110, 0.02));
}

.mobile-agent-card-gold img {
  box-shadow: 0 0 26px rgba(255, 205, 110, 0.32);
}

.mobile-agent-card-gold strong {
  color: #ffe6bb;
}

.mobile-agent-card-gold .mobile-agent-role {
  color: #d9b268;
}

.mobile-human-gate {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 14px 20px 0;
  padding: 20px;
  border: 1px solid rgba(255, 205, 110, 0.3);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 205, 110, 0.09), rgba(255, 205, 110, 0.015));
}

.mobile-gate-mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
}

.mobile-gate-pulse,
.mobile-gate-core {
  position: absolute;
  top: 50%;
  left: 50%;
}

.mobile-gate-pulse {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 213, 149, 0.5);
  border-radius: 50%;
  animation: mobile-gate-pulse 2.6s ease-out infinite;
}

.mobile-gate-core {
  width: 12px;
  height: 12px;
  border: 1.5px solid #ffd995;
  background: #0a0e18;
  box-shadow: 0 0 16px rgba(255, 213, 149, 0.55);
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-human-gate > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mobile-human-gate h2 {
  margin: 0;
  color: #ffe6bb;
  font-family: "Michroma", sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.mobile-human-gate p {
  margin: 0;
  color: #e0cfa8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}

.mobile-product-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 20px 10px;
}

.mobile-product-section .mobile-section-heading {
  padding: 0;
}

.mobile-product-list {
  display: flex;
  flex-direction: column;
}

.mobile-product {
  border-bottom: 1px solid rgba(150, 185, 255, 0.14);
}

.mobile-product summary {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-product summary::-webkit-details-marker {
  display: none;
}

.mobile-product summary::marker {
  content: "";
}

.mobile-product summary > img {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.9);
  object-fit: cover;
  box-shadow: 0 0 18px var(--mobile-product-glow, rgba(79, 140, 255, 0.28));
}

.mobile-product-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mobile-product-title strong {
  color: #f4f7ff;
  font-family: "Michroma", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  overflow-wrap: anywhere;
}

.mobile-product-subtitle {
  color: var(--mobile-product-color, #7fa8ff);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.mobile-product-chevron {
  flex: 0 0 22px;
  width: 22px;
  color: #6d8fce;
  font: 400 16px/1 var(--font-mono);
  text-align: center;
}

.mobile-product-chevron::before {
  content: "+";
}

.mobile-product[open] .mobile-product-chevron::before {
  content: "−";
}

.mobile-product-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 15px 67px;
  padding: 14px 16px;
  border-left: 1px solid rgba(150, 185, 255, 0.28);
  animation: mobile-panel-in 0.22s ease-out;
}

.mobile-product-panel p {
  margin: 0;
  color: #adbdd6;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.mobile-product-panel strong {
  color: #d5e5ff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}

.mobile-product-link {
  align-self: flex-start;
  margin-top: 2px;
  color: var(--mobile-product-color, #9fc4ff) !important;
  font: 600 9px/1.5 var(--font-mono);
  letter-spacing: 0.18em;
}

.mobile-product-cne {
  --mobile-product-color: #b7d2ff;
  --mobile-product-glow: rgba(159, 196, 255, 0.28);
}

.mobile-product-soair {
  --mobile-product-color: #6fdcae;
  --mobile-product-glow: rgba(70, 211, 154, 0.26);
}

.mobile-product-vatos {
  --mobile-product-color: #e8c775;
  --mobile-product-glow: rgba(227, 183, 79, 0.24);
}

.mobile-product-cryptolog {
  --mobile-product-color: #8fdde3;
  --mobile-product-glow: rgba(111, 208, 216, 0.26);
}

.mobile-product-cryptospot {
  --mobile-product-color: #ff8fb4;
  --mobile-product-glow: rgba(255, 79, 139, 0.22);
}

.mobile-product-unitmon {
  --mobile-product-color: #74c9ff;
  --mobile-product-glow: rgba(56, 182, 255, 0.26);
}

.mobile-edr {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
}

.mobile-edr-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px dashed rgba(150, 185, 255, 0.42);
  border-radius: 50%;
  color: #a3b6d4;
  font-family: "Michroma", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.mobile-edr-copy {
  color: #8b9bb8;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  line-height: 1.5;
}

.mobile-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  margin: 30px 20px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(150, 185, 255, 0.18);
}

.mobile-stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.mobile-stat strong {
  color: #f4f7ff;
  font-family: "Michroma", sans-serif;
  font-size: 19px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.mobile-stat-gold strong {
  color: #ffd995;
}

.mobile-stat-label {
  color: #8b9bb8;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.mobile-demo-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 20px 0;
  padding: 30px 22px;
  border: 1px solid rgba(150, 185, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(47, 107, 255, 0.16), rgba(47, 107, 255, 0.03));
}

.mobile-demo-card h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  text-wrap: pretty;
}

.mobile-demo-card p {
  margin: 0;
  color: #bccbe2;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}

.mobile-demo-card .mobile-button {
  background: #eaf1ff;
  color: #0a0e18 !important;
}

@keyframes mobile-gate-pulse {
  0% { opacity: 0.85; transform: translate(-50%, -50%) scale(0.6); }
  70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

@keyframes mobile-panel-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .council-page {
    display: none;
  }

  .mobile-council {
    display: block;
    min-height: 100vh;
    min-height: 100svh;
    overflow: clip;
    background: #070a12;
    color: #eef4ff;
  }
}

@media (min-width: 560px) and (max-width: 1024px) {
  .mobile-header-bar,
  .mobile-nav,
  .mobile-hero,
  .mobile-product-section {
    padding-inline: 32px;
  }

  .mobile-workforce-statement,
  .mobile-human-gate,
  .mobile-trust-strip,
  .mobile-demo-card {
    margin-inline: 32px;
  }

  .mobile-section-heading {
    padding-inline: 32px;
  }

  .mobile-agent-scroller {
    padding-inline: 32px;
    scroll-padding-inline: 32px;
  }

  .mobile-agent-card {
    flex-basis: 144px;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .mobile-hero h1 {
    font-size: 30px;
  }

  .mobile-agent-card {
    flex-basis: 126px;
    padding-inline: 10px;
  }

  .mobile-product-panel {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-council *,
  .mobile-council *::before,
  .mobile-council *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .mobile-gate-pulse,
  .mobile-product-panel {
    animation: none;
  }
}
