/* corapi — archivo / registro. Sin look SaaS genérico. */
:root {
  --ink: #141414;
  --paper: #e7e5df;
  --paper-2: #ddd9d0;
  --mute: #5c5a54;
  --rule: #141414;
  --stamp: #b42318;
  --ok: #1f6b4a;
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  /* Overscroll arriba: oscuro del hero, no el papel del body */
  background: #0a0a0a;
  overscroll-behavior-y: none;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  overflow-x: clip;
  max-width: 100%;
}

a {
  color: inherit;
}

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

/* Ruido de papel sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Hero: una sola composición ——— */
.hero {
  position: relative;
  min-height: calc(100vh - 3.15rem);
  min-height: calc(100dvh - 3.15rem);
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  color: #f4f2ec;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
  filter: grayscale(0.35) contrast(1.05) brightness(0.72);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 42%, rgba(10, 10, 10, 0.72) 100%);
}

.hero__top,
.hero__body {
  position: relative;
  z-index: 1;
  padding-inline: var(--pad);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.25rem;
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}

.hero__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(2rem, 8vh, 4.5rem);
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 14vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(0.6rem);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: min(28ch, 100%);
  margin: 0 0 0.85rem;
  opacity: 0;
  transform: translateY(0.5rem);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: min(52ch, 100%);
  color: rgba(244, 242, 236, 0.82);
  font-size: 1.02rem;
  opacity: 0;
  transform: translateY(0.4rem);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: baseline;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border: 1px solid #f4f2ec;
  background: #f4f2ec;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cta:hover {
  background: transparent;
  color: #f4f2ec;
  border-color: #f4f2ec;
}

.cta--ghost {
  background: transparent;
  color: #f4f2ec;
  border-color: rgba(244, 242, 236, 0.55);
  font-weight: 600;
  font-size: 0.92rem;
}

.cta--ghost:hover {
  background: rgba(244, 242, 236, 0.12);
  border-color: #f4f2ec;
}

/* ——— Secciones ——— */
.section {
  padding: clamp(3.5rem, 10vh, 6rem) var(--pad);
  max-width: var(--max);
  margin-inline: auto;
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok);
  margin: 0 0 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 22ch;
}

.section__text {
  margin: 0 0 1.75rem;
  color: var(--mute);
  max-width: 42ch;
}

.rule {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 0;
  opacity: 0.18;
}

/* Curl — sin cards */
.sample.codeblock {
  font-size: clamp(0.72rem, 1.8vw, 0.86rem);
}

.sample pre {
  font-size: inherit;
  line-height: 1.55;
}

.sample span {
  color: #9ad0b8;
}

/* Pricing: filas, no cards */
.plans {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.plans th,
.plans td {
  text-align: left;
  padding: 0.95rem 0.5rem 0.95rem 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  vertical-align: top;
}

.plans th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}

.plans td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  width: 16%;
}

.plans td:nth-child(2),
.plans td:nth-child(3) {
  white-space: nowrap;
}

.plans .price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.plans .note {
  color: var(--mute);
  font-size: 0.92rem;
}

.plans-contact {
  margin: 1.25rem 0 0;
  color: var(--mute);
  font-size: 0.95rem;
  max-width: 36rem;
}

.plans-contact a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

.plans-contact a:hover {
  color: var(--stamp);
}

/* Site bar — sticky top + page menu */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f4f2ec;
  border-bottom: 1px solid rgba(232, 230, 223, 0.12);
}

.site-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0.85rem var(--pad);
  box-sizing: border-box;
}

.site-bar__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}

.site-bar__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

.site-bar__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(232, 230, 223, 0.65);
  white-space: nowrap;
}

.site-bar__toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(232, 230, 223, 0.28);
  background: transparent;
  color: #f4f2ec;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  line-height: 1;
}

.site-bar__toggle:hover,
.site-bar.is-open .site-bar__toggle {
  border-color: rgba(232, 230, 223, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.site-bar__menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-bar__menu a {
  display: block;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  color: rgba(232, 230, 223, 0.72);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-bar__menu a:hover,
.site-bar__menu a[aria-current="page"] {
  color: #f4f2ec;
}

@media (max-width: 720px) {
  .site-bar__toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-bar__menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 11.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0;
    background: #111110;
    border: 1px solid rgba(232, 230, 223, 0.16);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }

  .site-bar.is-open .site-bar__menu {
    display: flex;
  }

  .site-bar__menu a {
    padding: 0.7rem 1rem;
  }

  .site-bar__menu a:hover,
  .site-bar__menu a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* Docs page — same content width as home */
.docs-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  padding-block: 2.5rem 4rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.docs-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.18);
}

.docs-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
}

.docs-nav span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.docs-wrap h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 8vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.docs-wrap h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2.25rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.docs-wrap p,
.docs-wrap li {
  color: var(--mute);
}

.docs-wrap code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.1em 0.35em;
}

.docs-wrap pre,
.codeblock pre {
  background: transparent;
  color: #e8e6df;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
}

.codeblock {
  position: relative;
  background: var(--ink);
  color: #e8e6df;
  padding: 1rem 1.1rem;
  margin: 0.85rem 0 1.1rem;
  max-width: 100%;
  overflow: hidden;
}

.codeblock pre {
  margin: 0;
  padding-right: 2.25rem;
  overflow-x: auto;
  max-width: 100%;
}

.docs-wrap .codeblock pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.codeblock__copy {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 230, 223, 0.18);
  border-radius: 0.35rem;
  background: rgba(20, 20, 20, 0.55);
  color: #b8b5ad;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.codeblock__copy:hover {
  color: #f4f2ec;
  border-color: rgba(232, 230, 223, 0.45);
  background: rgba(40, 40, 40, 0.85);
}

.codeblock__copy svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.codeblock__copy .icon-check {
  display: none;
}

.codeblock__copy.is-copied {
  color: #9ad0b8;
  border-color: rgba(154, 208, 184, 0.45);
}

.codeblock__copy.is-copied .icon-copy {
  display: none;
}

.codeblock__copy.is-copied .icon-check {
  display: block;
}

/* Signup embebido en home */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (max-width: 800px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }
}

/* Key + curl: wrap so the full command stays visible */
.signup-ok .codeblock pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-right: 2.5rem;
}

.signup-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.4rem;
}

.signup-form input {
  width: 100%;
  padding: 0.75rem 0;
  margin-bottom: 1.15rem;
  border: 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.signup-form input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.signup-form input::placeholder {
  color: #9a978f;
}

.signup-form button[type="submit"] {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #f4f2ec;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.signup-form button[type="submit"]:hover {
  background: transparent;
  color: var(--ink);
}

.signup-form button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.signup-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--mute);
}

.signup-err {
  margin-top: 0.85rem;
  color: var(--stamp);
  font-size: 0.92rem;
}

.signup-ok h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ok);
  margin: 0 0 0.65rem;
}

.signup-key {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
  overflow-wrap: anywhere;
  background: var(--ink);
  color: #e8e6df;
  padding: 1rem 1.1rem;
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

/* Status page — full black board (Zernio-like shell) */
.status-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #e8e6df;
  background: #070707;
  position: relative;
  isolation: isolate;
}

.status-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(62, 207, 142, 0.16), transparent 62%),
    radial-gradient(55% 45% at 85% 80%, rgba(180, 35, 24, 0.08), transparent 60%),
    #070707;
  animation: status-glow 10s ease-in-out infinite alternate;
}

.status-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.status-wrap {
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
  padding-block: 2.5rem 3rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.status-page .docs-nav {
  max-width: none;
  width: 100%;
  flex: 0 0 auto;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom-color: rgba(232, 230, 223, 0.16);
}

.status-page .docs-nav a {
  color: #f4f2ec;
}

.status-page .docs-nav span {
  font-variant-numeric: tabular-nums;
  color: rgba(232, 230, 223, 0.55);
}

.status-panel {
  background: transparent;
  color: #e8e6df;
  padding: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  box-shadow: none;
}

.status-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vh, 2.25rem);
}

.status-panel .section__label {
  margin: 0;
  color: rgba(232, 230, 223, 0.55);
}

.status-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #8a8680;
  box-shadow: 0 0 0 0 rgba(138, 134, 128, 0.35);
}

.status-panel[data-state="checking"] .status-dot {
  animation: status-dot-pulse 1.4s ease-in-out infinite;
}

.status-panel[data-state="ok"] .status-dot {
  background: #3ecf8e;
  box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.45);
  animation: status-dot-live 2.2s ease-out infinite;
}

.status-panel[data-state="down"] .status-dot {
  background: #f07178;
  box-shadow: 0 0 0 0 rgba(240, 113, 120, 0.55);
  animation: status-dot-down 1.1s ease-out infinite;
}

@keyframes status-dot-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes status-dot-live {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(62, 207, 142, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 207, 142, 0);
  }
}

@keyframes status-dot-down {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 113, 120, 0.55);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 0.65rem rgba(240, 113, 120, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 113, 120, 0);
  }
}

.status-panel__hero {
  margin-bottom: 1.75rem;
}

.status-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 7.5rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 0;
}

.status-panel[data-state="ok"] .status-word {
  color: #3ecf8e;
}

.status-panel[data-state="down"] .status-word {
  color: #f07178;
}

.status-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding: 1.15rem 0 1.35rem;
  border-top: 1px solid rgba(232, 230, 223, 0.14);
  border-bottom: 1px solid rgba(232, 230, 223, 0.14);
}

@media (max-width: 640px) {
  .status-readout {
    grid-template-columns: 1fr;
  }
}

.status-readout__item {
  min-width: 0;
}

.status-readout__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 230, 223, 0.48);
  margin-bottom: 0.45rem;
}

.status-readout__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
  color: #f4f2ec;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-readout__value small {
  font-size: 0.55em;
  margin-left: 0.2em;
  color: rgba(232, 230, 223, 0.5);
}

.status-readout__value.is-empty small {
  display: none;
}

.status-chart {
  margin-top: 1.35rem;
  flex: 0 0 auto;
}

.status-chart__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.status-wave-label,
.status-wave-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 230, 223, 0.45);
}

.status-wave-meta {
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(232, 230, 223, 0.55);
}

.status-chart__body {
  position: relative;
}

.status-chart__y {
  position: absolute;
  left: 0.45rem;
  top: 0.2rem;
  height: 6.6rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(232, 230, 223, 0.55);
  text-align: left;
  text-shadow: 0 0 6px rgba(8, 8, 8, 0.9), 0 1px 2px rgba(8, 8, 8, 0.85);
}

.status-chart__plot {
  position: relative;
  width: 100%;
  min-width: 0;
}

.status-wave {
  display: block;
  width: 100%;
  height: 7rem;
  overflow: visible;
  border: 1px solid rgba(232, 230, 223, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.status-wave__grid {
  stroke: rgba(232, 230, 223, 0.1);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.status-wave__line {
  fill: none;
  stroke: rgba(232, 230, 223, 0.35);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.status-wave__fill {
  stroke: none;
  fill: rgba(232, 230, 223, 0.06);
}

.status-chart__hit {
  position: absolute;
  inset: 0 0 auto 0;
  height: 7rem;
  cursor: crosshair;
}

.status-chart__marks {
  position: absolute;
  inset: 0 0 auto 0;
  height: 7rem;
  pointer-events: none;
}

.status-chart__mark {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: rgba(232, 230, 223, 0.55);
  box-shadow: 0 0 0 1px rgba(8, 8, 8, 0.55);
  transition: transform 0.12s ease, background 0.12s ease;
}

.status-chart__mark.is-active {
  transform: scale(1.55);
  background: #f4f2ec;
}

.status-chart__guide {
  position: absolute;
  top: 0;
  height: 7rem;
  width: 1px;
  margin-left: -0.5px;
  background: rgba(232, 230, 223, 0.28);
  pointer-events: none;
  opacity: 0;
}

.status-chart__guide.is-on {
  opacity: 1;
}

.status-chart__tip {
  position: absolute;
  z-index: 3;
  top: 0.35rem;
  left: 0;
  transform: translateX(-50%);
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(232, 230, 223, 0.18);
  background: rgba(10, 10, 10, 0.92);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: #f4f2ec;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}

.status-chart__tip.is-on {
  opacity: 1;
}

.status-chart__x {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(232, 230, 223, 0.45);
}

.status-panel[data-state="ok"] .status-wave__line {
  stroke: #3ecf8e;
}

.status-panel[data-state="ok"] .status-wave__fill {
  fill: rgba(62, 207, 142, 0.14);
}

.status-panel[data-state="ok"] .status-chart__mark {
  background: #3ecf8e;
}

.status-panel[data-state="ok"] .status-chart__mark.is-active {
  background: #8ef0c0;
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.22);
}

.status-panel[data-state="ok"] .status-chart__guide {
  background: rgba(62, 207, 142, 0.45);
}

.status-panel[data-state="down"] .status-wave__line {
  stroke: #f07178;
}

.status-panel[data-state="down"] .status-wave__fill {
  fill: rgba(240, 113, 120, 0.14);
}

.status-panel[data-state="down"] .status-chart__mark {
  background: #f07178;
}

.status-panel[data-state="down"] .status-chart__mark.is-active {
  background: #ffb0b5;
  box-shadow: 0 0 0 3px rgba(240, 113, 120, 0.22);
}

.status-panel[data-state="down"] .status-chart__guide {
  background: rgba(240, 113, 120, 0.45);
}

.status-page .footer {
  max-width: var(--max);
  width: 100%;
  border-top-color: rgba(232, 230, 223, 0.14);
  color: rgba(232, 230, 223, 0.5);
}

.status-page .footer a:hover {
  color: #f4f2ec;
}

.docs-page .footer {
  max-width: var(--max);
  width: 100%;
}

@keyframes status-glow {
  from {
    filter: saturate(0.9) brightness(0.92);
    transform: scale(1);
  }
  to {
    filter: saturate(1.15) brightness(1.05);
    transform: scale(1.03);
  }
}

.footer {
  box-sizing: border-box;
  width: 100%;
  padding: 2rem var(--pad) 2.5rem;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer a:hover {
  border-bottom-color: currentColor;
  color: var(--ink);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.2%, 0.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .brand,
  .headline,
  .lede,
  .cta-row,
  .status-page::before,
  .status-dot {
    animation: none !important;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero__meta {
    display: none;
  }

  .plans td:first-child {
    width: 30%;
  }
}

@media (max-width: 720px) {
  .site-bar__meta {
    display: none;
  }
}
