:root {
  --bg: #060b12;
  --bg-soft: #0d1623;
  --card: #111f31;
  --card-2: #12263c;
  --line: #223a57;
  --text: #deecff;
  --muted: #90a9c8;
  --accent: #40d9c6;
  --accent-2: #ff7f4d;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 90% -15%, rgba(255, 127, 77, 0.18), transparent 60%),
    radial-gradient(860px 560px at 5% -10%, rgba(64, 217, 198, 0.16), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, #08111c 100%);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin: 14px auto 0;
  width: min(1120px, 95vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: rgba(10, 19, 30, 0.84);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: .04em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #2a476a;
  background: #0f1b2b;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

nav a:hover,
nav a.active {
  border-color: #3a628f;
  background: #12253a;
}

main {
  padding: 32px 0 48px;
}

.hero {
  min-height: 50vh;
  display: block;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(130deg, rgba(64, 217, 198, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(255, 127, 77, 0.12), transparent 34%),
    #0b1624;
}

.hero h1 {
  margin: 0 0 12px;
  font: 800 clamp(2rem, 6vw, 4rem) "Space Grotesk", sans-serif;
  max-width: 9ch;
}

.hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: center;
}

.hero-timer-square {
  border: 1px solid #47709b;
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(64, 217, 198, 0.2), transparent 45%),
    #10253a;
  padding: 14px;
  box-shadow: 0 20px 34px rgba(4, 14, 24, 0.45);
}

.hero-timer-title {
  margin: 0 0 10px;
  font: 800 1.05rem "Space Grotesk", sans-serif;
  text-align: center;
}

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

.hero-timer-cell {
  border: 1px solid #4f78a3;
  border-radius: 14px;
  background: #0f2032;
  text-align: center;
  padding: 14px 8px;
}

.hero-timer-cell span {
  display: block;
  font: 800 clamp(1.8rem, 5vw, 2.7rem) "Space Grotesk", sans-serif;
  line-height: 1;
}

.hero-timer-cell small {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-eyebrow {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  color: var(--text);
  border: 1px solid #355980;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #11263b;
}

.btn:hover {
  background: #17324e;
}

.btn-accent {
  background: linear-gradient(130deg, var(--accent), #1fa89a);
  border-color: transparent;
  color: #041419;
}

.btn-accent:hover {
  filter: brightness(1.05);
}

.section-block {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0c1827;
  padding: clamp(18px, 3vw, 30px);
}

.section-title {
  margin: 0 0 14px;
  font: 800 clamp(1.4rem, 3vw, 2rem) "Space Grotesk", sans-serif;
}

.timer-block {
  margin-top: 18px;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(850px 280px at 50% -40%, rgba(64, 217, 198, 0.15), transparent 62%),
    #0c1827;
}

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

.timer-row-big {
  margin-top: 8px;
  margin-bottom: 10px;
}

.timer-box {
  border: 1px solid #36587e;
  border-radius: 14px;
  background: #102335;
  text-align: center;
  padding: 22px 8px;
}

.timer-box span {
  display: block;
  font: 800 clamp(2.2rem, 8vw, 4rem) "Space Grotesk", sans-serif;
  line-height: 1;
  text-shadow: 0 0 20px rgba(64, 217, 198, 0.24);
}

.timer-box small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.scroll-arrow {
  margin: 0;
  width: 148px;
  text-decoration: none;
  color: var(--text);
  display: grid;
  justify-items: center;
  gap: 4px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #61e5d6;
  background: linear-gradient(140deg, rgba(64, 217, 198, 0.35), rgba(20, 63, 95, 0.92));
  box-shadow:
    0 0 0 0 rgba(64, 217, 198, 0.6),
    0 10px 24px rgba(8, 20, 33, 0.55);
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  animation: arrow-bounce 1.35s ease-in-out infinite, arrow-pulse 1.8s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.scroll-arrow:hover {
  border-color: #8ef8eb;
  filter: brightness(1.08);
}

.scroll-arrow:active {
  transform: translateX(-50%) scale(0.95);
}

.social-title {
  margin: 18px 0 10px;
}

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

.social-card {
  text-decoration: none;
  color: var(--text);
  border: 1px solid #2f4f72;
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(64, 217, 198, 0.12), transparent 48%),
    #0f2031;
  padding: 14px 10px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.social-card svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #53d7c7;
  box-shadow: 0 14px 28px rgba(8, 20, 33, 0.48);
}

.social-card:active {
  transform: translateY(1px) scale(0.98) rotate(-1deg);
}

.roadmap-flow {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
}

.roadmap-step {
  position: relative;
  min-width: 0;
}

.roadmap-node {
  min-width: 0;
  width: 100%;
  border: 1px solid #355980;
  border-radius: 14px;
  background: #102337;
  padding: 12px;
}

.roadmap-node h3 {
  margin: 0 0 6px;
  font: 800 1.08rem "Space Grotesk", sans-serif;
}

.roadmap-node p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.roadmap-task-mini-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.roadmap-task-mini {
  border: 1px solid #2e4f71;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: .88rem;
  color: #c9def4;
  background: #102539;
}

.roadmap-task-mini span {
  font-weight: 800;
  color: #8ec8ea;
  margin-right: 6px;
}

.roadmap-task-mini.done {
  color: #84b0cf;
  text-decoration: line-through;
}

.roadmap-task-mini.empty {
  color: var(--muted);
}

.roadmap-node.done {
  border-color: #4ad6c8;
  background:
    linear-gradient(145deg, rgba(64, 217, 198, 0.2), transparent 48%),
    #0f2837;
}

.admin-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--muted);
}

.admin-form input,
.admin-form select {
  width: 100%;
  border: 1px solid #355980;
  border-radius: 12px;
  background: #102336;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.login-form {
  grid-template-columns: 1fr;
  max-width: 440px;
}

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

.auth-hint {
  margin: 10px 0 0;
}

.auth-message {
  margin: 8px 0 0;
  min-height: 1.25rem;
  font-weight: 700;
}

.auth-message.error {
  color: #ff9a9a;
}

.auth-message.success {
  color: #7df0c2;
}

.owner-tabs-wrap {
  background:
    radial-gradient(720px 220px at 20% -20%, rgba(64, 217, 198, 0.14), transparent 55%),
    #0c1827;
}

.owner-tabs-layout {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.owner-tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid #33597f;
  border-radius: 999px;
  background: #0d2134;
}

.owner-tabs-side {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 18px;
}

.owner-tab-btn {
  width: 50px;
  height: 50px;
  border: 1px solid #3c6289;
  border-radius: 50%;
  background: linear-gradient(145deg, #102842, #0d1f31);
  color: #b7dfff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.owner-tab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.owner-tab-btn:hover {
  transform: translateY(-2px);
  border-color: #54d7c8;
  color: #e8fffb;
  box-shadow: 0 10px 24px rgba(4, 19, 30, 0.45);
}

.owner-tab-btn.is-active {
  color: #04141c;
  border-color: #65efde;
  background: linear-gradient(135deg, #5ff0df, #31b8a8);
  box-shadow: 0 12px 24px rgba(16, 95, 88, 0.38);
}

.owner-tab-panel {
  margin-top: 16px;
  min-height: 260px;
  border: 1px solid #315475;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(64, 217, 198, 0.08), transparent 45%),
    #0f2135;
  display: none;
  animation: fade-up .35s ease;
}

.owner-tab-panel.is-active {
  display: block;
}

.owner-tabs-content {
  min-width: 0;
}

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

.metric-card {
  border: 1px solid #355980;
  border-radius: 14px;
  background: #102337;
  padding: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: #58dccc;
  box-shadow: 0 14px 26px rgba(6, 20, 32, 0.45);
}

.metric-card h3 {
  margin: 0 0 8px;
  font: 800 1.05rem "Space Grotesk", sans-serif;
}

.metric-card strong {
  display: block;
  font: 800 2rem "Space Grotesk", sans-serif;
  margin-bottom: 6px;
}

.rings-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ring-card {
  border: 1px solid #355980;
  border-radius: 14px;
  background: #102337;
  padding: 14px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.ring-card p {
  margin: 0;
  color: var(--muted);
}

.progress-ring {
  width: 108px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#40d9c6 0deg, #25435f 0deg);
  position: relative;
  animation: ring-pulse 2.4s ease-in-out infinite;
}

.progress-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #0f2135;
}

.progress-ring span {
  position: relative;
  font: 800 1rem "Space Grotesk", sans-serif;
}

.host-controls {
  margin-top: 12px;
  padding: 14px;
}

.host-controls h3 {
  margin: 0 0 10px;
  font: 800 1rem "Space Grotesk", sans-serif;
}

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

.host-actions .btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.15);
}

.host-log-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.host-log-item {
  border: 1px solid #2c4d6f;
  border-radius: 10px;
  padding: 8px 10px;
  background: #12283c;
  color: #bcd8f5;
  font-size: .9rem;
  transition: transform .18s ease, border-color .18s ease;
}

.host-log-item:hover {
  transform: translateX(4px);
  border-color: #4f79a0;
}

.animate-in {
  animation: fade-up .28s ease;
}

.schedule-wrap {
  margin-top: 12px;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 10px;
}

.schedule-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.gray { background: #6d7d90; }
.dot.red { background: #ef4f63; }
.dot.green { background: #3cd090; }

.schedule-board {
  margin-top: 8px;
  overflow: auto;
  border: 1px solid #365980;
  border-radius: 14px;
  background: #10253a;
}

.schedule-row {
  display: grid;
  grid-template-columns: 160px repeat(28, minmax(52px, 1fr));
  min-width: 1400px;
}

.schedule-cell {
  border-right: 1px solid #244561;
  border-bottom: 1px solid #244561;
  padding: 8px 6px;
  font-size: .78rem;
  color: #cbe4fc;
  text-align: center;
}

.schedule-header .schedule-cell {
  font-weight: 800;
  background: #112b43;
}

.user-head,
.user-name {
  text-align: left;
  padding-left: 10px;
}

.user-name {
  font-weight: 700;
  background: #11283f;
}

.schedule-state {
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.schedule-state.gray {
  background: linear-gradient(145deg, #445161, #3a4655);
  color: #d8e2ed;
}

.schedule-state.red {
  background: linear-gradient(145deg, #8e2a37, #cb3f52);
  color: #ffe3e7;
  animation: pulse-red 1.8s ease-in-out infinite;
}

.schedule-state.green {
  background: linear-gradient(145deg, #1d6c4f, #3ac38d);
  color: #dbfff1;
  animation: pulse-green 1.8s ease-in-out infinite;
}

.schedule-state:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(4, 18, 30, 0.42);
}

.admin-actions {
  margin-top: 10px;
}

.admin-task-board {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.admin-stage {
  border: 1px solid #315474;
  border-radius: 14px;
  background: #0f2032;
  padding: 12px;
}

.admin-stage h3 {
  margin: 0 0 8px;
  font: 800 1.05rem "Space Grotesk", sans-serif;
}

.admin-task-list {
  display: grid;
  gap: 6px;
}

.admin-task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid #28445f;
  background: #10283b;
}

.task-point {
  min-width: 18px;
  color: #8ec8ea;
  font-weight: 800;
}

.admin-task-item.done span {
  color: #cfe5fb;
}

.admin-task-item button {
  margin-left: auto;
  border: 1px solid #4d708f;
  border-radius: 8px;
  background: #132f47;
  color: var(--text);
  padding: 4px 8px;
  cursor: pointer;
}

.roadmap-arrow {
  position: absolute;
  color: #7fb8d6;
  font: 800 1.35rem "Space Grotesk", sans-serif;
  line-height: 1;
}

.roadmap-arrow.right {
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
}

.roadmap-arrow.down {
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.roadmap-arrow.left {
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64, 217, 198, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(64, 217, 198, 0); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 120, 140, 0.2); }
  50% { box-shadow: inset 0 0 0 999px rgba(255, 120, 140, 0.08); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(115, 255, 200, 0.2); }
  50% { box-shadow: inset 0 0 0 999px rgba(115, 255, 200, 0.08); }
}

@keyframes arrow-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(64, 217, 198, 0.55),
      0 10px 24px rgba(8, 20, 33, 0.55);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(64, 217, 198, 0),
      0 10px 24px rgba(8, 20, 33, 0.55);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(64, 217, 198, 0),
      0 10px 24px rgba(8, 20, 33, 0.55);
  }
}

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

.feature-card {
  border: 1px solid #2f4d70;
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(64, 217, 198, 0.08), transparent 45%),
    #101f31;
}

.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

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

.status-item {
  border: 1px solid #2f4d70;
  border-radius: 16px;
  padding: 14px;
  background: #101f31;
}

.status-item span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 6px;
}

.status-item strong {
  font-size: 1.06rem;
}

.cta-block {
  text-align: center;
  display: grid;
  gap: 12px;
  place-items: center;
}

.cta-block h2 {
  margin: 0;
  font: 800 clamp(1.5rem, 3.2vw, 2.2rem) "Space Grotesk", sans-serif;
}

.cta-block p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.placeholder {
  min-height: 64vh;
  border: 1px dashed #2f4d70;
  border-radius: 24px;
  background: linear-gradient(180deg, #0e1d2f 0%, #0a1522 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.placeholder h1 {
  margin: 0 0 8px;
  font: 800 clamp(1.8rem, 5vw, 3rem) "Space Grotesk", sans-serif;
}

.placeholder p {
  margin: 0;
  color: var(--muted);
}

.team-hierarchy {
  overflow: hidden;
}

.role-lane {
  margin-top: 14px;
}

.role-lane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.role-lane-tag {
  white-space: nowrap;
  border: 1px solid #4f78a3;
  border-radius: 999px;
  background: #102338;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cbe8ff;
}

.role-lane-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #5d88af, transparent);
}

.org-level {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.org-top {
  justify-content: center;
}

.org-owner {
  width: min(360px, 100%);
}

.org-middle {
  margin-top: 8px;
  gap: 16px;
}

.org-bottom {
  margin-top: 12px;
  gap: 12px;
}

.org-card {
  border: 1px solid #355a81;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(64, 217, 198, 0.14), transparent 42%),
    #0f2033;
  padding: 14px;
  width: 250px;
  max-width: 100%;
}

.org-card h2,
.org-card h3 {
  margin: 6px 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.org-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.org-role {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid #4d789f;
  border-radius: 999px;
  padding: 4px 8px;
  color: #bfe8ff;
}

.site-footer {
  width: min(1120px, 92vw);
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0a1522;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.socials a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid #33557a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.socials a:hover {
  background: #12253a;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: .9;
}

.footer-legal {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
  color: var(--text);
  border-bottom-color: #4f7196;
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 20px;
    top: 8px;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .timer-block {
    margin-top: 18px;
  }

  .org-card {
    width: min(320px, 100%);
  }

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

  .roadmap-step {
    min-width: 0;
  }

  .roadmap-flow {
    grid-template-columns: 1fr;
  }

  .roadmap-step { grid-column: 1 !important; grid-row: auto !important; }

  .roadmap-arrow { display: none; }

  .owner-tabs-layout {
    grid-template-columns: 1fr;
  }

  .owner-tabs-side {
    display: inline-flex;
    grid-template-columns: none;
    border-radius: 999px;
  }

  .monitor-grid,
  .rings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .org-level {
    justify-content: stretch;
  }

  .org-card {
    width: 100%;
  }
}
