:root {
  --bg: #0b0b0d;
  --bg-soft: #101014;
  --card: #16161b;
  --card-hover: #1d1d23;
  --card-active: #202027;
  --text: #f3f3f4;
  --text-soft: #b7b7bd;
  --muted: #7d7d86;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #dedede;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --container: 1160px;
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 16% 4%, rgba(167, 167, 178, 0.10), transparent 24rem),
    linear-gradient(180deg, #101014 0%, var(--bg) 34rem, #09090b 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 76%);
}

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

button {
  font: inherit;
}

button {
  border: 0;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.floating-logos {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.floating-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(54px, 6vw, 86px);
  height: clamp(54px, 6vw, 86px);
  border-radius: 24%;
  opacity: 0.13;
  filter: grayscale(1) saturate(0.4);
  box-shadow: 0 18px 55px rgba(255, 255, 255, 0.08);
  will-change: transform;
}

.floating-logo--two {
  width: clamp(42px, 5vw, 70px);
  height: clamp(42px, 5vw, 70px);
  opacity: 0.1;
}

.floating-logo--three {
  width: clamp(36px, 4vw, 58px);
  height: clamp(36px, 4vw, 58px);
  opacity: 0.075;
}

.floating-logo--four {
  width: clamp(48px, 5vw, 74px);
  height: clamp(48px, 5vw, 74px);
  opacity: 0.09;
}

.floating-logo--five {
  width: clamp(34px, 3.7vw, 54px);
  height: clamp(34px, 3.7vw, 54px);
  opacity: 0.07;
}

.floating-logo--six {
  width: clamp(58px, 6vw, 90px);
  height: clamp(58px, 6vw, 90px);
  opacity: 0.085;
}

.floating-logo--seven {
  width: clamp(38px, 4vw, 60px);
  height: clamp(38px, 4vw, 60px);
  opacity: 0.075;
}

.floating-logo--eight {
  width: clamp(44px, 4.5vw, 68px);
  height: clamp(44px, 4.5vw, 68px);
  opacity: 0.08;
}

.site-header {
  padding-top: 4px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28);
}

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

.topbar-actions,
.support-actions,
.quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-button,
.category-button,
.copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease);
}

.link-button {
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 620;
  white-space: nowrap;
}

.link-button:hover,
.category-button:hover,
.copy-link:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.link-button--light {
  border-color: rgba(255, 255, 255, 0.68);
  color: #121216;
  background: var(--accent);
}

.link-button--light:hover {
  color: #0f0f12;
  background: #eeeeef;
}

.link-button--ghost {
  color: var(--text-soft);
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  inset: auto 8% -46% 42%;
  height: 260px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  filter: blur(20px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(30px, 5vw, 52px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.12rem, 3vw, 1.55rem);
  line-height: 1.15;
  font-weight: 690;
  letter-spacing: 0;
}

.hero-text {
  max-width: 580px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.62;
}

.hero-insights {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: clamp(26px, 3.4vw, 42px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.018);
}

.hero-dashboard {
  display: grid;
  gap: 22px;
  width: 100%;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(16, 16, 20, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 60px rgba(0, 0, 0, 0.26);
}

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

.metric {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.metric-value {
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  font-weight: 760;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1.3;
  white-space: nowrap;
}

.service-uptime {
  display: grid;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.uptime-label {
  color: var(--text);
  max-width: 520px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  font-weight: 680;
  line-height: 1.35;
}

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

.uptime-part {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 78px;
  padding: 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.uptime-number {
  color: var(--text);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.uptime-unit {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
  line-height: 1.15;
  white-space: nowrap;
}

.category-section,
.content-grid,
.support-card {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.section-head--faq {
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  white-space: nowrap;
}

.category-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 620;
}

.category-button.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  color: #121216;
  background: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--card);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.20);
  transition:
    background-color var(--ease),
    border-color var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.faq-card:hover {
  border-color: var(--line-strong);
  background-color: var(--card-hover);
  transform: translateY(-1px);
}

.faq-card.is-open {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: var(--card-active);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  padding: 20px;
  color: var(--text);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.category-tag,
.popular-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 650;
}

.popular-tag {
  color: var(--text-soft);
}

.question-title {
  display: block;
  font-size: clamp(1rem, 2vw, 1.13rem);
  font-weight: 660;
  line-height: 1.36;
}

.toggle-indicator {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.toggle-indicator::before,
.toggle-indicator::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--text-soft);
  transform: translate(-50%, -50%);
  transition: opacity var(--ease), transform var(--ease);
}

.toggle-indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-card.is-open .toggle-indicator {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.faq-card.is-open .toggle-indicator::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-card.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.answer-inner {
  overflow: hidden;
}

.answer-body {
  padding: 0 20px 20px;
  color: var(--text-soft);
}

.answer-body p {
  max-width: 760px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.copy-link {
  min-height: 38px;
  padding: 0 14px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.empty-state {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)),
    var(--card);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.empty-state p {
  max-width: 420px;
  margin: 0 auto 20px;
  color: var(--text-soft);
  line-height: 1.6;
}

.quick-panel {
  position: relative;
}

.quick-panel-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.10), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    var(--card);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.quick-panel h2 {
  margin-bottom: 12px;
}

.quick-panel p {
  color: var(--text-soft);
  line-height: 1.65;
}

.quick-actions {
  align-items: stretch;
  flex-direction: column;
  margin: 22px 0;
}

.quick-actions .link-button {
  width: 100%;
}

.quick-note {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  gap: 14px;
  padding-top: 2px;
}

.quick-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-note-line {
  width: 1px;
  min-height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
}

.support-card {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.support-card h2 {
  max-width: 620px;
}

.site-footer {
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer p {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  max-width: calc(100% - 36px);
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(22, 22, 27, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease);
  backdrop-filter: blur(14px);
}

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

:focus-visible {
  outline: 3px solid rgba(222, 222, 222, 0.42);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, var(--container));
    padding-bottom: 32px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .support-actions {
    width: 100%;
  }

  .topbar-actions .link-button,
  .support-actions .link-button {
    flex: 1 1 0;
    padding: 0 12px;
  }

  .support-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .support-actions .link-button {
    width: 100%;
    min-width: 0;
  }

  .hero {
    margin-top: 26px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 30px 22px;
  }

  .hero-insights {
    padding: 18px;
  }

  .hero-dashboard {
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
  }

  .hero-metrics {
    gap: 10px;
  }

  .metric {
    min-height: 118px;
    padding: 14px;
  }

  .metric-value {
    font-size: 2.55rem;
  }

  .metric-label {
    font-size: 0.76rem;
    line-height: 1.22;
    white-space: normal;
  }

  .service-uptime {
    gap: 14px;
    padding-top: 16px;
  }

  .uptime-label {
    font-size: 0.96rem;
  }

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

  .uptime-part {
    min-height: 74px;
    padding: 11px 8px 9px;
  }

  .uptime-number {
    font-size: 1.75rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-head p {
    text-align: left;
  }

  .section-head--faq {
    flex-direction: row;
    align-items: center;
  }

  .status-pill {
    display: none;
  }

  .faq-question {
    padding: 18px 16px;
  }

  .answer-body {
    padding: 0 16px 18px;
  }

  .quick-panel-inner {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .quick-panel h2 {
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .quick-panel p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .support-card {
    gap: 20px;
    padding: 26px 18px;
    border-radius: 24px;
  }

  .support-card h2 {
    font-size: 1.38rem;
    line-height: 1.18;
  }
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.9fr);
  }

  .hero-insights {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
  }

  .quick-panel {
    position: sticky;
    top: 20px;
  }

  .support-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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

  .floating-logos {
    display: none;
  }
}
