:root {
  --bg: #091018;
  --bg-soft: #0f1722;
  --surface: #111b27;
  --surface-2: #162230;
  --surface-3: #0d141d;
  --text: #f3f6fb;
  --muted: #9ba8b7;
  --line: #263446;
  --primary: #64d2ff;
  --primary-dark: #35b7eb;
  --accent: #c8f169;
  --danger: #ff8d8d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(100, 210, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(200, 241, 105, 0.1), transparent 24%),
    linear-gradient(180deg, #091018 0%, #0b121b 40%, #091018 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

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

code {
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary);
  font-size: 0.95em;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  max-width: 11ch;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}

p.lead,
.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(9, 16, 24, 0.82);
  border-bottom: 1px solid rgba(38, 52, 70, 0.95);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.nav a.is-current {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #081018;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(17, 27, 39, 0.7);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--primary);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(17, 27, 39, 0.8);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.hero,
.page-hero {
  padding: 54px 0 88px;
  background:
    linear-gradient(180deg, rgba(100, 210, 255, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(200, 241, 105, 0.04), transparent 40%);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy,
.page-hero-copy {
  position: relative;
}

.page-hero-copy h1 {
  max-width: 13ch;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-points,
.bullet-panels {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-point,
.bullet-panel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 27, 39, 0.72);
}

.hero-point strong,
.bullet-panel strong {
  color: var(--accent);
  min-width: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 28px;
}

.grid-2,
.grid-3,
.grid-4,
.topic-grid,
.article-grid,
.stat-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

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

.dashboard {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(100, 210, 255, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(13, 20, 29, 0.96));
  position: relative;
  overflow: hidden;
}

.dashboard::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(100, 210, 255, 0.12);
  border-radius: 4px;
  pointer-events: none;
}

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

.hero-visual {
  display: grid;
  gap: 14px;
}

.hero-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(100, 210, 255, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(13, 20, 29, 0.96));
  box-shadow: var(--shadow);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.hero-shot-meta p {
  margin: 0;
  max-width: 34ch;
}

.hero-shot-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(100, 210, 255, 0.35);
  background: rgba(100, 210, 255, 0.08);
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
}

.mini-card,
.topic-card,
.article-card,
.search-shell,
.text-box,
.feature-card,
.contact-card,
.form-card,
.doc-card,
.toc-card,
.faq-card,
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-card,
.topic-card,
.article-card,
.search-shell,
.text-box,
.feature-card,
.contact-card,
.form-card,
.doc-card,
.toc-card,
.faq-card,
.callout {
  padding: 24px;
}

.mini-title,
.meta-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.metric {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700;
}

.status-list,
.signal-list,
.list-clean,
.link-list,
.doc-list,
.faq-list {
  display: grid;
  gap: 10px;
}

.status-row,
.signal-pill,
.link-list a,
.doc-list li,
.toc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.link-list,
.doc-list,
.toc-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list a:hover,
.toc-list a:hover {
  border-color: rgba(100, 210, 255, 0.4);
  color: var(--primary);
}

.signal-pill strong,
.status-row strong {
  color: var(--text);
}

.signal-good {
  color: var(--accent);
  font-weight: 700;
}

.signal-live {
  color: var(--primary);
  font-weight: 700;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.topic-card:hover,
.article-card:hover {
  transform: translateY(-4px);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(100, 210, 255, 0.16), rgba(200, 241, 105, 0.14));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.topic-card p,
.article-card p,
.feature-card p,
.doc-card p,
.faq-card p,
.callout p:last-child {
  margin-bottom: 0;
}

.pricing-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

thead th {
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
}

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

tbody tr:hover td {
  background: rgba(100, 210, 255, 0.03);
}

.plan-box {
  background: rgba(17, 27, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.plan-box.featured {
  border-color: rgba(100, 210, 255, 0.45);
  box-shadow: 0 10px 24px rgba(53, 183, 235, 0.12);
}

.price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0;
}

.yes {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(200, 241, 105, 0.12);
  border: 1px solid rgba(200, 241, 105, 0.35);
  font-weight: 700;
  color: var(--accent);
}

.contact-grid,
.doc-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.doc-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 98px;
}

.doc-main {
  display: grid;
  gap: 24px;
}

.doc-section {
  scroll-margin-top: 110px;
}

.doc-figure {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow);
}

.doc-figure img {
  width: 100%;
  height: auto;
}

.doc-figure figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.doc-card > .callout {
  margin-top: 24px;
}

.doc-card > .callout + .callout {
  margin-top: 16px;
}

.gallery-shell {
  display: grid;
  gap: 24px;
}

.carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.carousel-copy h3,
.gallery-copy h3 {
  margin-bottom: 10px;
}

.carousel-copy p,
.gallery-copy p {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.carousel-dot:hover {
  background: rgba(100, 210, 255, 0.5);
}

.carousel-dot.is-active {
  transform: scale(1.25);
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(100, 210, 255, 0.14);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: rgba(100, 210, 255, 0.45);
  color: var(--primary);
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 52vw);
  gap: 24px;
  overflow-x: auto;
  padding: 8px clamp(20px, 9vw, 120px) 18px;
  scroll-padding-inline: clamp(20px, 9vw, 120px);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: start;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0.36;
  transform: scale(0.9);
  filter: saturate(0.6);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery-card:focus-visible {
  outline: 2px solid rgba(100, 210, 255, 0.6);
  outline-offset: 4px;
}

.gallery-frame {
  background: var(--surface-3);
  aspect-ratio: 16 / 10;
}

.gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.is-near {
  opacity: 0.7;
  transform: scale(0.96);
  filter: saturate(0.88);
}

.gallery-card.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
  border-color: rgba(100, 210, 255, 0.5);
  box-shadow: 0 18px 42px rgba(7, 12, 20, 0.42);
}

.carousel-detail {
  text-align: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.carousel-detail h3 {
  margin-bottom: 10px;
}

.carousel-detail p {
  margin: 0 auto;
  max-width: 58ch;
}

.carousel-hint {
  margin-top: 14px;
  font-size: 14px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 20, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  background: #0b131c;
}

.lightbox-figure figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
  background: rgba(17, 27, 39, 0.96);
  color: var(--muted);
}

.lightbox-figure strong {
  color: var(--text);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(17, 27, 39, 0.92);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #7b8796;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(100, 210, 255, 0.14);
  border-color: rgba(100, 210, 255, 0.5);
}

.search-shell {
  display: grid;
  gap: 18px;
}

.help-results-head {
  margin: 28px 0 32px;
}

.search-toolbar {
  display: grid;
  gap: 14px;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1 1 280px;
}

.search-meta {
  color: var(--muted);
  font-size: 14px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip,
.role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.filter-chip {
  cursor: pointer;
}

.filter-chip:hover {
  color: var(--text);
  border-color: rgba(100, 210, 255, 0.35);
}

.filter-chip.is-active {
  border-color: rgba(100, 210, 255, 0.55);
  color: var(--primary);
  background: rgba(100, 210, 255, 0.08);
}

.role-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.role-tag-user {
  color: var(--accent);
  border-color: rgba(200, 241, 105, 0.35);
  background: rgba(200, 241, 105, 0.08);
}

.role-tag-superuser {
  color: var(--primary);
  border-color: rgba(100, 210, 255, 0.35);
  background: rgba(100, 210, 255, 0.08);
}

.role-tag-admin {
  color: #ffcf8a;
  border-color: rgba(255, 207, 138, 0.35);
  background: rgba(255, 207, 138, 0.08);
}

.search-empty {
  display: none;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 141, 141, 0.45);
  border-radius: var(--radius-sm);
  color: #ffcccc;
  background: rgba(255, 141, 141, 0.06);
}

.search-empty.is-visible {
  display: block;
}

.topic-tag,
.article-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(100, 210, 255, 0.08);
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 14px;
}

.topic-card a,
.article-card a,
.inline-link {
  color: var(--primary);
}

.topic-card a:hover,
.article-card a:hover,
.inline-link:hover {
  color: var(--accent);
}

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

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 241, 105, 0.12);
}

.callout {
  background:
    linear-gradient(135deg, rgba(100, 210, 255, 0.09), transparent 70%),
    rgba(17, 27, 39, 0.92);
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-meta {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.doc-card ul:not(.check-list),
.doc-card ol {
  padding-left: 22px;
  color: var(--muted);
}

.doc-card li + li {
  margin-top: 10px;
}

.footer-meta {
  display: grid;
  gap: 6px;
  max-width: 52ch;
}

.footer-meta p {
  margin: 0;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--primary);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-search-item].is-hidden {
  display: none;
}

[data-role-target].is-hidden-by-role {
  display: none;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .doc-layout,
  .grid-4,
  .grid-3,
  .grid-2,
  .topic-grid,
  .article-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: none;
  }

  .doc-sidebar {
    position: static;
  }

  .hero-shot-meta,
  .carousel-head {
    align-items: start;
    flex-direction: column;
  }

  .gallery-strip {
    grid-auto-columns: minmax(260px, 84vw);
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .header-row {
    min-height: 68px;
  }

  .hero,
  .page-hero {
    padding-top: 32px;
  }

  .hero-point,
  .bullet-panel,
  .status-row,
  .signal-pill,
  .link-list a,
  .toc-list a {
    padding: 12px 14px;
  }

  .mini-card,
  .topic-card,
  .article-card,
  .search-shell,
  .text-box,
  .feature-card,
  .contact-card,
  .form-card,
  .doc-card,
  .toc-card,
  .faq-card,
  .callout {
    padding: 20px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
  }
}
