:root {
  color-scheme: dark;
  --bg: #101114;
  --bg-soft: #15161a;
  --surface: #1b1c21;
  --surface-2: #202126;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --muted: #8d929e;
  --muted-strong: #c4c8d0;
  --accent: #b3073d;
  --accent-hot: #e20b4f;
  --green: #26d07c;
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  --font-display: "Rajdhani", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(179, 7, 61, 0.22), transparent 34rem),
    linear-gradient(180deg, #18191d 0, var(--bg) 24rem);
  color: var(--text);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255, 255, 255, 0.04) 45% 45.25%, transparent 45.25% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px);
  opacity: 0.55;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  width: 100%;
  min-height: 78px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, auto) minmax(180px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(24, 25, 29, 0.92);
  backdrop-filter: blur(16px);
}

.mode-switch {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(16, 17, 20, 0.86);
}

.mode-switch[hidden] {
  display: none;
}

.mode-switch button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mode-switch button:hover,
.mode-switch button:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  outline: none;
}

.mode-switch button.is-active {
  background: var(--accent);
  color: #fff;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  outline: none;
}

.site-nav svg,
.header-discord svg,
.btn svg,
.icon-btn svg,
.nav-toggle svg,
.panel-icon svg,
.social-links svg {
  width: 16px;
  height: 16px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav-status {
  display: grid;
  gap: 2px;
  padding-right: 10px;
  border-right: 1px solid var(--line-strong);
  text-align: right;
  text-transform: uppercase;
}

.nav-status strong {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
}

.nav-status strong::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--accent-hot);
  content: "";
  vertical-align: middle;
}

.nav-status span {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.header-discord,
.btn,
.icon-btn,
.filter-btn,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.header-discord {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section,
.hero {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-band {
  position: relative;
}

.section-band::before {
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  background: rgba(255, 255, 255, 0.018);
  transform: translateX(-50%);
}

.hero {
  display: grid;
  min-height: 88svh;
  align-items: center;
  padding: 118px 0 48px;
}

.hero-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 780px;
  justify-items: center;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: clamp(112px, 18vw, 180px);
  margin-bottom: 26px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-hot);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: 0.82;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.96;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

h4 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  width: 100%;
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted-strong);
  font-size: 1.05rem;
  overflow-wrap: break-word;
}

.hero-actions,
.link-row,
.filter-bar,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn {
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn[hidden] {
  display: none;
}

.btn:disabled:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.header-discord:hover {
  background: var(--accent-hot);
}

.btn-secondary,
.btn-ghost,
.btn-card {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
}

.btn-card {
  width: 100%;
  margin-top: auto;
}

.full-width {
  width: 100%;
}

.status-card {
  display: grid;
  width: min(100%, 620px);
  gap: 15px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(27, 28, 33, 0.9);
}

.status-top,
.status-foot,
.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(38, 208, 124, 0.12);
  color: #adffd2;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.status-badge.is-offline {
  background: rgba(227, 11, 79, 0.14);
  color: #ffd4df;
}

.status-badge.is-offline span {
  background: var(--accent-hot);
}

.status-region {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.status-number strong {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.9;
}

.status-number span {
  color: var(--muted);
  font-weight: 800;
}

.ip-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
}

code {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #15161a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.info-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: 14px;
}

.info-panel,
.staff-card,
.price-card,
.timeline-card,
.status-section,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.info-panel {
  padding: 24px;
}

.panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(179, 7, 61, 0.34);
  border-radius: var(--radius);
  background: rgba(179, 7, 61, 0.12);
  color: #ff8aaa;
}

.check-list,
.steps,
.price-card ul,
.timeline-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.75;
}

.steps {
  padding-left: 20px;
}

.link-row {
  justify-content: flex-start;
  margin-top: 18px;
}

.link-row a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

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

.staff-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 18px;
}

.staff-card h3 {
  margin-bottom: 4px;
  padding-bottom: 2px;
  line-height: 1.15;
}

.avatar {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #15161a;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.role,
.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-card > .role {
  margin-bottom: 12px;
}

.product-tag {
  margin-bottom: 12px;
}

.role.owner,
.product-tag {
  background: rgba(179, 7, 61, 0.15);
  color: #ffabc0;
}

.role.coowner {
  color: #ffd1dc;
}

.role.management {
  background: rgba(255, 255, 255, 0.08);
  color: #f4d9ff;
}

.role.developer {
  color: #ffc9a8;
}

.role.car-dev {
  color: #ffe6a8;
}

.role.lead {
  color: #bfe8ff;
}

.role.head,
.role.admin {
  color: #dbe3ff;
}

.role.support {
  color: #c6f8dc;
}

.discord-id {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.price-card {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  padding: 22px;
}

.price-card.featured {
  border-color: rgba(179, 7, 61, 0.58);
  background: linear-gradient(180deg, rgba(179, 7, 61, 0.12), rgba(27, 28, 33, 1));
}

.price {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.price-card ul {
  margin-bottom: 24px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 128px;
  width: 1px;
  content: "";
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 38px;
}

.timeline-item::before {
  position: absolute;
  top: 10px;
  left: 123px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent-hot);
  content: "";
}

.timeline-item time,
.console-row span,
.news-body span,
.gallery-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item time {
  padding-top: 8px;
  text-align: right;
}

.timeline-card {
  padding: 22px;
}

.timeline-card > span {
  color: #ff8aaa;
  font-weight: 900;
}

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

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
}

.status-console {
  display: grid;
  gap: 10px;
}

.admin-history-section {
  display: grid;
  gap: 18px;
  padding-top: 34px;
}

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

.admin-history-heading p:last-child {
  margin-bottom: 0;
}

.forms-history-list {
  display: grid;
  gap: 14px;
}

.history-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(27, 28, 33, 0.9);
}

.history-card-top,
.history-meta,
.history-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-card h3,
.history-card p {
  margin-bottom: 0;
}

.history-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.history-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-status.is-waiting {
  color: #ffe4aa;
}

.history-status.is-allowlisted {
  color: #bfffd6;
}

.history-status.is-rejected {
  color: #ffc4d2;
}

.history-answers {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.history-answers[hidden] {
  display: none;
}

.history-answer {
  display: grid;
  gap: 4px;
}

.history-answer strong {
  color: #fff;
}

.history-answer p {
  color: var(--muted-strong);
}

.history-actions {
  justify-content: flex-end;
}

.console-row {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.console-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.filter-bar {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  border-color: rgba(179, 7, 61, 0.66);
  background: rgba(179, 7, 61, 0.14);
  color: #fff;
  outline: none;
}

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

.gallery-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  background-position: center;
  background-size: cover;
  transition: border-color 160ms ease, transform 160ms ease;
}

.gallery-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78));
}

.gallery-card > * {
  position: relative;
  z-index: 1;
}

.gallery-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.gallery-card.is-hidden {
  display: none;
}

.shot-downtown {
  background-image: linear-gradient(135deg, #241820, #111216 58%, #6c1230);
}

.shot-event {
  background-image: linear-gradient(135deg, #21191a, #401221 50%, #15161a);
}

.shot-cars {
  background-image: linear-gradient(135deg, #191b20, #2c2f38 52%, #4e1030);
}

.shot-gangs {
  background-image: linear-gradient(135deg, #15161a, #35111f 52%, #101114);
}

.shot-lspd {
  background-image: linear-gradient(135deg, #151a22, #25324c 46%, #101114);
}

.shot-ems {
  background-image: linear-gradient(135deg, #151b19, #1f4232 45%, #22121a);
}

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

.news-card {
  overflow: hidden;
}

.news-image {
  min-height: 160px;
  background-position: center;
  background-size: cover;
}

.news-update {
  background-image: linear-gradient(135deg, #3a1222, #17181d 52%, #7e1239);
}

.news-event {
  background-image: linear-gradient(135deg, #191b21, #2d1730 52%, #5e1230);
}

.news-hiring {
  background-image: linear-gradient(135deg, #181b1f, #253042 52%, #3c1130);
}

.news-body {
  padding: 20px;
}

.news-body span {
  color: #ff8aaa;
}

.site-footer {
  display: grid;
  width: var(--container);
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--text);
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted-strong);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: #777c86;
  font-size: 0.84rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  padding: 13px 16px;
  border: 1px solid rgba(38, 208, 124, 0.3);
  border-radius: var(--radius);
  background: #15161a;
  color: #c7ffd8;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .dashboard-header {
    grid-template-columns: minmax(170px, 1fr) auto minmax(240px, 1fr);
    justify-content: stretch;
  }

  .dashboard-header .site-nav,
  .dashboard-header .header-actions {
    display: flex;
  }

  .dashboard-header .header-actions {
    justify-content: flex-end;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 14px;
  }

  .site-nav.is-open a {
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .site-header:has(.site-nav.is-open) {
    min-height: auto;
    padding-top: 12px;
  }

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

  .info-layout,
  .status-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dashboard-header {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 18px;
  }

  .dashboard-header .brand,
  .dashboard-header .site-nav,
  .dashboard-header .header-actions {
    justify-content: center;
  }

  .dashboard-header .header-actions {
    flex-wrap: wrap;
  }

  .admin-history-heading,
  .history-card-top,
  .history-meta,
  .history-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(1160px, calc(100vw - 28px));
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-logo {
    width: 116px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

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

  .change-columns,
  .gallery-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 34px;
  }

  .timeline-item::before {
    left: 3px;
  }

  .timeline-item time {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
  }

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

  .brand span {
    max-width: 190px;
  }

  .site-nav.is-open,
  .staff-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.35rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .status-card,
  .status-section,
  .info-panel,
  .price-card,
  .timeline-card {
    padding: 18px;
  }

  .status-top,
  .console-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-number {
    justify-content: flex-start;
  }

  .console-row {
    justify-content: center;
    padding: 12px 14px;
  }

  .console-row strong {
    text-align: left;
  }

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

  .filter-btn {
    width: 100%;
  }
}
