/* ============================================================
   FAB ALERT — RESPONSIVE CLEAN DESIGN
   ============================================================ */

:root {
  --paper:      #121316;
  --surface:    #1A1B1F;
  --surface-hover: #22242A;
  --ink:        #F4F3EF;
  --ink-soft:   #A6A9B1;
  --ink-faint:  #6B6E77;
  --line:       #2A2C31;
  --accent:     #FF6B35;
  --accent-ink: #FFB68F;
  --accent-tint:rgba(255, 107, 53, 0.14);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  text-transform: lowercase;
  margin-bottom: 10px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  transform: translateY(-1px);
  background: #D8D6CF;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  transform: translateY(-1px);
  background: #E64E17;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink-faint);
  color: var(--ink);
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 19, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

main {
  padding-top: 64px;
}

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}

.nav__brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  white-space: nowrap;
}

.nav__links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav__cta .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Hamburger Button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.nav__burger:hover {
  background: var(--paper-light);
  border-color: var(--ink-faint);
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 0.25s ease-in-out;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Overlay (Solid opaque background, no bleed-through) */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #0f1013;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  z-index: 100;
  box-sizing: border-box;
}

.mobile-nav.is-open {
  max-height: 85vh;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav__content {
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.mobile-nav__link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.15s ease;
  display: block;
}

.mobile-nav__link:hover {
  color: var(--ink);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 8px;
}

.mobile-nav__actions .btn {
  height: 46px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mobile-nav__actions .btn--ghost {
  background: #18191f;
  border: 1px solid var(--line);
  color: var(--ink);
}

.mobile-nav__actions .btn--ghost:hover {
  background: #22242c;
  border-color: var(--ink-faint);
}

.btn--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 16ch;
}

.hero__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Timer panel */
.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(18px, 3vw, 26px);
  width: 100%;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-transform: lowercase;
  margin-bottom: 16px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
  vertical-align: middle;
}
.dot--live {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.dot--dnd {
  background: #ff3366;
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.2);
}
.dot--online {
  background: #00e676;
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.25);
  animation: pulseDot 2.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 230, 118, 0.08);
  }
}

.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.panel__status {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.status-ping {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #00e676;
  background: rgba(0, 230, 118, 0.1);
  padding: 2px 7px;
  border-radius: 3px;
}

.status-sub {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.status-sub strong {
  color: var(--ink-soft);
}

.status-security {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.cf-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1.5vw, 10px);
  margin-bottom: 14px;
}

.timer__unit {
  text-align: center;
  padding: 10px 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.timer__unit span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}

.timer__unit small {
  font-size: 0.65rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.panel__foot {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 8px;
}

.panel__stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.panel__stats dd {
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------------- Sections ---------------- */
.section {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.section--muted {
  background: var(--surface);
}

.section__head {
  margin-bottom: 28px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
}

/* ---------------- Asset log ---------------- */
.log {
  display: flex;
  flex-direction: column;
}

.log__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.log__row:first-child {
  border-top: 1px solid var(--line);
}

.log__thumb-wrap {
  width: 72px;
  height: 46px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.log__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s var(--ease);
}

.log__row:hover .log__thumb {
  transform: scale(1.08);
}

.log__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-ink);
  background: var(--accent-tint);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.log__main {
  min-width: 0;
}

.log__main a {
  color: var(--ink);
  word-break: break-word;
}

.log__title {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 2px;
  line-height: 1.35;
}

.log__meta {
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

.log__price {
  text-align: right;
  white-space: nowrap;
}

.log__original {
  text-decoration: line-through;
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-right: 6px;
}

.log__free {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.log__expiry {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.log__empty {
  padding: 32px 0;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
}

/* ---------------- Commands ---------------- */
.cmds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.cmd {
  background: var(--paper);
  padding: 20px;
  transition: background 0.15s ease;
}

.cmd:hover {
  background: #16171b;
}

.cmd code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
}

.cmd p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------------- How it works ---------------- */
.how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .how {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.how__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.how__item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #141518;
  transform: translateY(-2px);
}

.how__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  background: rgba(255, 92, 0, 0.08);
  border: 1px solid rgba(255, 92, 0, 0.2);
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  align-self: flex-start;
}

.how__item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--ink);
}

.how__item p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: auto;
}

.how__item code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ink);
}

/* ---------------- Permissions Section ---------------- */
.perms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.perm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.perm-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #141518;
  transform: translateY(-2px);
}

.perm-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.perm-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.perm-card__badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.perm-card__badge--required {
  background: var(--accent-tint);
  color: var(--accent-ink);
  border-color: rgba(255, 107, 53, 0.3);
}

.perm-card__desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}

.perm-card__why {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent);
  padding: 6px 10px;
  border-radius: 0 3px 3px 0;
  margin-top: auto;
}

.perms-guarantee {
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 6px;
  padding: 24px;
  margin-top: 24px;
}

.perms-guarantee__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.perms-guarantee__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #00e676;
}

.perms-guarantee__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.perms-guarantee__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.perms-guarantee__icon {
  color: #00e676;
  flex-shrink: 0;
  margin-top: 2px;
}

.perms-guarantee__text h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.perms-guarantee__text p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------------- Studio & Open Source Section ---------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trust-card__header {
  margin-bottom: 16px;
}

.trust-card__tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-ink);
  background: var(--accent-tint);
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.trust-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.trust-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.trust-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.trust-link:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
  background: var(--surface-hover);
}

.trust-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.trust-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------------- Disclaimers ---------------- */
.disclaimer-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin: 24px 0 0;
}

.disclaimer-banner a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.disclaimer-banner a:hover {
  color: var(--ink);
}

.disclaimer-icon {
  flex-shrink: 0;
  color: var(--ink-faint);
}

/* ---------------- Documentation / Legal Pages Layout ---------------- */
.doc-page {
  padding: clamp(40px, 6vw, 72px) 0 80px;
}

.doc-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  transition: color 0.15s ease;
}

.doc-nav-back:hover {
  color: var(--ink);
}

.doc-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.doc-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}

.doc-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.doc-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.doc-section {
  margin-bottom: 40px;
}

.doc-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 12px;
}

.doc-section p {
  margin-bottom: 16px;
}

.doc-section ul,
.doc-section ol {
  margin: 0 0 20px 24px;
}

.doc-section li {
  margin-bottom: 8px;
}

.doc-section strong {
  color: var(--ink);
}

.doc-section code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ink);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.88rem;
}

.doc-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  border: 1px solid var(--line);
  font-family: var(--font-display);
}

.doc-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.doc-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.01);
}

.doc-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
}

.doc-callout--success {
  border-left-color: #00e676;
  background: rgba(0, 230, 118, 0.04);
}

.doc-callout p:last-child {
  margin-bottom: 0;
}

/* ---------------- Status Page ---------------- */
.status-overview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.status-main-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-badge-lg--degraded {
  background: rgba(255, 165, 2, 0.1);
  border-color: rgba(255, 165, 2, 0.3);
  color: #ffa502;
}

.status-badge-lg--offline {
  background: rgba(255, 51, 102, 0.1);
  border-color: rgba(255, 51, 102, 0.3);
  color: #ff3366;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.service-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.service-desc {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.service-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.service-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(0, 230, 118, 0.1);
  color: #00e676;
}

.service-latency {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------------- Upgraded Multi-Column Footer ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  background: var(--paper);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__columns {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.footer__col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}

.footer__status:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.footer__brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.footer__brand-tagline {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 32ch;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-links a {
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.footer__col-links a:hover {
  color: var(--ink);
}

.footer__disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer__copy {
  color: var(--ink-faint);
}

.footer__tech-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Tablet & Smaller Laptops */
@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .nav__btn-support,
  .nav__btn-add {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero__title {
    max-width: 100%;
  }

  .hero__desc {
    max-width: 100%;
  }

  .how {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer__col-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .doc-wrap {
    padding: 0 16px;
  }

  .nav__row {
    padding: 10px 16px;
    gap: 8px;
  }

  .nav__status-text {
    display: none;
  }

  .nav__status {
    padding: 6px 8px;
  }

  .nav__burger {
    width: 36px;
    height: 36px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  /* Stack Log Rows cleanly on mobile */
  .log__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .log__thumb-wrap {
    width: 100%;
    height: 140px;
    border-radius: 4px;
  }

  .log__tag {
    align-self: flex-start;
  }

  .log__price {
    text-align: left;
  }

  .log__expiry .btn {
    width: 100%;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-status {
    width: 100%;
    justify-content: space-between;
  }

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

  .doc-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small phones (< 400px) */
@media (max-width: 400px) {
  .nav__mark {
    font-size: 1rem;
  }

  .nav__cta .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .timer__unit {
    padding: 8px 2px;
  }

  .timer__unit span {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}