@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/PixelifySans-latin.woff2') format('woff2');
}

:root {
  --bg: #f4ede0;
  --panel: #ffffff;
  --ink: #2a2722;
  --muted: #6f695f;
  --line: #ebe3d2;
  --line-soft: #f3ecdc;
  --accent: #3a72c8;
  --shadow: 0 18px 50px -20px rgba(50, 35, 10, 0.18), 0 2px 6px -2px rgba(50, 35, 10, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --display-font: 'Pixelify Sans', ui-monospace, 'SF Mono', Menlo, monospace;
  --body-font: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 214, 154, 0.45), transparent 32%),
    radial-gradient(circle at 18% 18%, rgba(26, 103, 210, 0.45), transparent 36%),
    radial-gradient(circle at 70% 86%, rgba(255, 188, 126, 0.18), transparent 36%),
    linear-gradient(135deg, rgb(106, 168, 235) 0%, rgb(188, 220, 244) 48%, #fff0d1 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 74%, rgba(255, 255, 255, 0.62), transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(255, 240, 209, 0.58), transparent 30%),
    radial-gradient(ellipse at center, rgba(5, 10, 20, 0) 50%, rgba(5, 10, 20, 0.12) 100%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header {
  position: absolute;
  top: 24px;
  left: 32px;
  right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: block;
  width: clamp(176px, 18vw, 260px);
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(20, 30, 50, 0.18));
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 24px 56px -16px rgba(40, 50, 80, 0.30);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.site-nav a,
.primary-action,
.secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}

.site-nav a:hover,
.secondary-action:hover {
  background: rgba(255, 255, 255, 0.55);
}

.site-nav a:active,
.primary-action:active,
.secondary-action:active {
  transform: translateY(1px);
}

.site-nav a:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.scroll-cue:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.86), 0 0 0 6px rgba(23, 107, 235, 0.28);
}

.site-nav .nav-cta,
.primary-action {
  color: #ffffff;
  background: linear-gradient(180deg, #2d7ef5 0%, var(--accent) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -4px 0 rgba(17, 51, 128, 0.22),
    0 12px 24px -14px rgba(22, 76, 170, 0.68);
}

.site-nav .nav-cta:hover,
.primary-action:hover {
  background: linear-gradient(180deg, #3c8afa 0%, #2c67bd 100%);
}
.site-nav .landing-account-chip[hidden] { display: none !important; }
.site-nav .landing-account-chip {
  min-height: 48px;
  max-width: 210px;
  padding: 4px 13px 4px 5px;
  justify-content: flex-start;
  gap: 9px;
  color: #172033;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 247, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 28px -20px rgba(20, 50, 90, 0.42);
}
.site-nav .landing-account-chip:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.9));
}
.landing-account-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #2d7ef5, #7fd0ff);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 -6px 12px rgba(17, 51, 128, 0.16);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  object-fit: cover;
}
.landing-account-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.landing-account-copy strong,
.landing-account-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landing-account-copy strong {
  max-width: 138px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.05;
}
.landing-account-copy small {
  max-width: 138px;
  color: #5f6c82;
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
}
.site-nav.has-account .landing-account-chip { display: inline-flex; }
.site-nav.has-account .nav-cta { display: none; }

.primary-action svg,
.secondary-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secondary-action {
  color: #164a9d;
  background: rgba(255, 255, 255, 0.38);
}

.hero-section {
  position: relative;
  min-height: min(900px, 92svh);
  display: grid;
  align-items: center;
  padding: 124px 32px 112px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(220, 239, 255, 0.86) 0%, rgba(220, 239, 255, 0.52) 34%, rgba(220, 239, 255, 0) 66%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 14%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 14%, #000 38%, #000 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin-left: max(0px, calc((100vw - 1200px) / 2));
}

.hero-copy h1 {
  margin: 0;
  color: #111b45;
  font-family: var(--display-font);
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 2px 22px rgba(255, 255, 255, 0.88);
}

.hero-copy h1 span {
  display: block;
  color: #155dd4;
}

.hero-copy p {
  width: min(500px, 100%);
  margin: 26px 0 0;
  color: #25304c;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action,
.cta-actions .primary-action,
.cta-actions .secondary-action {
  min-height: 56px;
  padding: 0 24px;
  font-size: 16px;
}

/* -------- hero live-worlds feed panel -------- */
.hero-feed {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(28px, calc((100vw - 1200px) / 2));
  transform: translateY(-50%);
  width: 320px;
  max-width: calc(100vw - 56px);
  max-height: calc(100vh - 112px);
  overflow: visible;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px -28px rgba(17, 27, 69, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.hero-feed.is-expanded {
  top: 92px;
  transform: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.hero-feed.is-expanded::-webkit-scrollbar { width: 6px; }
.hero-feed.is-expanded::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 27, 69, 0.22);
}

.hero-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-feed-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f8a4c;
}
.hero-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25c264;
  box-shadow: 0 0 0 0 rgba(37, 194, 100, 0.5);
  animation: heroFeedPulse 1.8s infinite;
}
@keyframes heroFeedPulse {
  70% { box-shadow: 0 0 0 7px rgba(37, 194, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 194, 100, 0); }
}
.hero-feed-title {
  font-size: 13px;
  font-weight: 650;
  color: #25304c;
}

.hero-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-feed-item { margin: 0; }
.hero-feed-item.is-expanded {
  padding: 6px;
  border-radius: 16px;
  background: rgba(8, 15, 31, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}
.hero-feed-link {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 8px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.14s ease;
}
.hero-feed-link:hover,
.hero-feed-link:focus-visible { background: rgba(255, 255, 255, 0.7); }
.hero-feed-link:focus-visible {
  outline: 2px solid rgba(21, 93, 212, 0.5);
  outline-offset: 2px;
}
.hero-feed-item.is-expanded .hero-feed-link { background: rgba(255, 255, 255, 0.64); }
.hero-feed-map {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  flex-shrink: 0;
  image-rendering: pixelated;
  box-shadow: inset 0 0 0 1px rgba(17, 27, 69, 0.12);
}
.hero-feed-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.hero-feed-name {
  font-size: 14px;
  font-weight: 700;
  color: #111b45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-feed-meta {
  font-size: 11.5px;
  font-weight: 500;
  color: #6b7488;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-feed-stats {
  display: flex;
  gap: 10px;
  margin-top: 3px;
}
.hero-feed-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #8a90a0;
}
.hero-feed-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2c6d0;
}
.hero-feed-stat.is-live { color: #1f8a4c; }
.hero-feed-stat.is-live .hero-feed-pip { background: #25c264; }
.hero-feed-expand-cue {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(17, 27, 69, 0.08);
  color: #56617a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-feed-item.is-expanded .hero-feed-expand-cue {
  background: rgba(21, 93, 212, 0.13);
  color: #155dd4;
  font-size: 13px;
  line-height: 1;
}
.hero-feed-cctv {
  margin-top: 7px;
  overflow: hidden;
  border-radius: 14px;
  background: #070a08;
  border: 1px solid rgba(9, 19, 35, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(230, 255, 220, 0.08),
    0 18px 36px -28px rgba(0, 0, 0, 0.75);
}
.hero-feed-cctv-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  image-rendering: pixelated;
  background: #050705;
}
.hero-feed-cctv-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 8px 10px 9px;
  border-top: 1px solid rgba(214, 246, 205, 0.12);
  color: rgba(235, 255, 229, 0.78);
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-feed-cctv-meta strong {
  color: rgba(246, 255, 241, 0.95);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.hero-feed-cctv-meta a {
  width: max-content;
  color: #a5ffb5;
  text-decoration: none;
}
.hero-feed-cctv-meta a:hover { text-decoration: underline; }
.hero-feed-cctv-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #25c264;
  box-shadow: 0 0 12px rgba(37, 194, 100, 0.72);
}

.hero-feed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(21, 93, 212, 0.1);
  color: #155dd4;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.14s ease;
}
.hero-feed-foot:hover { background: rgba(21, 93, 212, 0.18); }
.hero-feed-foot svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Below the wide hero layout, drop the panel into normal flow under the copy. */
@media (max-width: 1080px) {
  .hero-feed {
    position: static;
    transform: none;
    margin: 36px 0 0;
    width: min(420px, 100%);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 34px -18px rgba(20, 30, 50, 0.38);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features-section,
.workflow-section,
.cta-section {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.features-section {
  padding: 24px 0 72px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  margin-bottom: 24px;
}

.section-head h2,
.cta-copy h2 {
  margin: 0;
  color: #111b45;
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.section-head p,
.cta-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

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

.feature-card {
  min-height: 280px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 20px 52px -20px rgba(40, 50, 80, 0.30);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.feature-card h3,
.workflow-steps h3 {
  margin: 0;
  color: #111b45;
  font-family: var(--display-font);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.feature-card p,
.workflow-steps p {
  margin: 0;
  color: #44506b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.feature-visual {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}

.feature-visual img {
  width: min(100%, 178px);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  mix-blend-mode: multiply;
}

.workflow-section {
  padding: 8px 0 70px;
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 24px 56px -18px rgba(40, 50, 80, 0.28);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-radius: 14px;
  background: linear-gradient(180deg, #2d7ef5 0%, var(--accent) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -4px 0 rgba(17, 51, 128, 0.22),
    0 12px 24px -14px rgba(22, 76, 170, 0.68);
}

.workflow-steps h3 {
  margin-bottom: 6px;
}

.cta-section {
  margin-bottom: 48px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 24px 56px -18px rgba(40, 50, 80, 0.28);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.cta-copy p {
  max-width: 560px;
  margin-top: 12px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .site-header {
    left: 20px;
    right: 20px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 118px 20px 64px;
  }

  .hero-media {
    opacity: 0.62;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 62%, transparent 100%);
  }

  .hero-media img {
    object-position: 68% center;
  }

  .features-section,
  .workflow-section,
  .cta-section {
    width: min(100% - 32px, 720px);
  }

  .section-head,
  .cta-section {
    display: grid;
    align-items: start;
  }

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

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps li {
    padding: 12px;
  }

  .cta-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .site-logo {
    width: 154px;
  }

  .site-nav {
    padding: 6px;
    border-radius: var(--radius-lg);
  }

  .site-nav .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-section {
    padding: 104px 16px 52px;
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(220, 239, 255, 0.94) 0%, rgba(220, 239, 255, 0.84) 48%, rgba(220, 239, 255, 0.18) 100%);
  }

  .hero-copy h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-copy p {
    font-size: 19px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action,
  .cta-actions .primary-action,
  .cta-actions .secondary-action {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .features-section {
    padding-top: 8px;
  }

  .section-head {
    gap: 10px;
  }

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

  .feature-card {
    min-height: 240px;
  }

  .workflow-steps {
    padding: 10px;
    border-radius: var(--radius-lg);
  }

  .workflow-steps li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 17px;
  }

  .cta-section {
    padding: 20px;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
  }
}

/* -------- roadmap page -------- */

.page-hero-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 124px 0 56px;
  text-align: center;
}

.page-hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--display-font);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: #111b45;
}

.page-hero-copy p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.roadmap-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 24px 56px -18px rgba(40, 50, 80, 0.28);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.roadmap-list li:hover {
  background: rgba(255, 255, 255, 0.44);
}

.roadmap-list h3 {
  margin: 0 0 6px;
}

.roadmap-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 3px;
}

.roadmap-status--done {
  background: #e6f4ea;
  color: #1a6632;
  border: 1px solid #b7dfbe;
}

.roadmap-status--active {
  background: #e8f0fe;
  color: #1a4fcf;
  border: 1px solid #b3cafd;
}

.roadmap-status--planned {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

/* -------- docs page -------- */

.docs-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.docs-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  row-gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 1px 2px rgba(20, 30, 50, 0.05),
    0 12px 32px -12px rgba(40, 50, 80, 0.22);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  color: inherit;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.docs-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 4px rgba(20, 30, 50, 0.06),
    0 20px 48px -14px rgba(40, 50, 80, 0.3);
}

.docs-card-coming {
  opacity: 0.6;
  pointer-events: none;
}

.docs-card-icon {
  grid-row: 1;
  grid-column: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(23, 107, 235, 0.1);
  color: #1862d4;
}

.docs-card-icon svg {
  width: 18px;
  height: 18px;
}

.docs-card h3 {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111b45;
}

.docs-card p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.docs-card-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #1862d4;
  margin-top: 4px;
}

.docs-card-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 4px;
  width: fit-content;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* -------- roadmap loading spinner -------- */
.roadmap-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px;
  color: var(--muted);
  font-size: 14px;
}

.roadmap-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(23, 107, 235, 0.18);
  border-top-color: #1862d4;
  border-radius: 50%;
  animation: roadmap-spin 0.7s linear infinite;
}

@keyframes roadmap-spin {
  to { transform: rotate(360deg); }
}

/* -------- admin users -------- */
.admin-users-page .site-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: min(1200px, calc(100% - 48px));
  margin: 22px auto 0;
  align-items: center;
  gap: 18px;
}

.admin-users-page .site-logo {
  width: clamp(168px, 18vw, 230px);
}

.admin-users-page .site-nav {
  max-width: min(100%, 620px);
  margin-left: auto;
  overflow: hidden;
  justify-content: flex-end;
}

.admin-users-page .site-nav a {
  padding: 0 13px;
  color: #2f2b25;
}

.admin-users-page .site-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(180deg, #2d7ef5 0%, #3a72c8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -3px 0 rgba(17,51,128,.18);
}

.admin-users-hero {
  width: min(1040px, calc(100% - 48px));
  min-height: 0;
  padding: 72px 0 26px;
}

.admin-users-hero .page-hero-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 5.4vw, 64px);
}

.admin-users-hero .page-hero-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto;
  color: #4f5c70;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.5;
}

.admin-users-hero .eyebrow {
  margin: 0 0 8px;
  color: #5f5a50;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-users-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 56px;
  padding: 18px;
  background: rgba(248, 252, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.admin-users-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-users-toolbar label,
.admin-user-editor label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #39445b;
  font-size: 12px;
  font-weight: 800;
}

.admin-users-toolbar label {
  flex: 1 1 420px;
}

.admin-users-toolbar input,
.admin-user-editor input[type="text"],
.admin-user-editor input[type="email"],
.admin-user-editor input[type="url"],
.admin-user-editor textarea {
  width: 100%;
  border: 1px solid rgba(45, 83, 130, 0.18);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.86);
  color: #172033;
  font: 650 14px/1.2 var(--body-font);
  outline: none;
}

.admin-users-toolbar input:focus,
.admin-user-editor input:focus,
.admin-user-editor textarea:focus {
  border-color: rgba(45, 126, 245, 0.62);
  box-shadow: 0 0 0 4px rgba(45, 126, 245, 0.12);
}

.admin-users-status {
  min-height: 20px;
  margin: 0 0 18px;
  color: #52627d;
  font-weight: 700;
}

.admin-users-status[data-tone="error"] { color: #b73535; }
.admin-users-status[data-tone="warn"] { color: #9a6513; }

.admin-users-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 16px;
  align-items: start;
}

.admin-users-list-wrap {
  overflow: auto;
  border: 1px solid rgba(45, 83, 130, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  table-layout: fixed;
}

.admin-users-table th:nth-child(1),
.admin-users-table td:nth-child(1) { width: 26%; }
.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) { width: 26%; }
.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3) { width: 23%; }
.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) { width: 12%; }
.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5) { width: 13%; text-align: right; }

.admin-users-table th,
.admin-users-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(45, 83, 130, 0.10);
  text-align: left;
  vertical-align: middle;
}

.admin-users-table th {
  color: #5b6880;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-users-table td {
  color: #22304a;
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-users-table strong,
.admin-users-table small {
  display: block;
}

.admin-users-table small {
  margin-top: 3px;
  color: #6f7d94;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-users-table td > strong,
.admin-users-table td:nth-child(2),
.admin-users-table td:nth-child(3) {
  overflow-wrap: anywhere;
}

.admin-users-empty {
  padding: 42px !important;
  text-align: center !important;
  color: var(--muted) !important;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(78, 91, 112, 0.10);
  color: #5d6777;
  font-size: 11px;
  font-weight: 900;
}

.admin-badge.ok {
  background: rgba(31, 150, 92, 0.14);
  color: #16714a;
}

.admin-user-editor {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid rgba(45, 83, 130, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-user-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-user-editor h2 {
  margin: 0;
  color: #172033;
  font-family: var(--display-font);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
}

.admin-user-editor-head span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(45, 126, 245, 0.12);
  color: #245da8;
  font-size: 11px;
  font-weight: 900;
}

.admin-user-check {
  flex-direction: row !important;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(45, 126, 245, 0.08);
}

.admin-user-check input {
  width: 18px;
  height: 18px;
}

.admin-reset-note {
  margin: 0;
  color: #6f7d94;
  font-size: 12px;
  font-weight: 700;
}

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

.admin-user-actions .primary-action,
.admin-user-actions .secondary-action {
  flex: 1 1 150px;
}

@media (max-width: 1180px) {
  .admin-users-page .site-header {
    width: min(1040px, calc(100% - 36px));
  }

  .admin-users-page .site-nav {
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
  }

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

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

  .admin-user-editor-head,
  .admin-user-editor label:nth-of-type(7),
  .admin-user-check,
  .admin-reset-note,
  .admin-user-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .admin-users-page .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-users-page .site-logo {
    width: 190px;
  }

  .admin-users-page .site-nav {
    width: 100%;
  }

  .admin-users-hero,
  .admin-users-shell {
    width: calc(100% - 28px);
  }

  .admin-users-hero {
    padding-top: 44px;
  }

  .admin-users-toolbar .primary-action,
  .admin-users-toolbar .secondary-action {
    flex: 1 1 120px;
  }

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