.status-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero */
.status-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.status-hero h1 {
  font-size: 2.25rem;
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}

.status-hero p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1.0625rem;
}

.hero-emoji {
  display: block;
  margin: 0 auto 0.25rem;
  font-size: 3.5rem;
  line-height: 1;
  text-align: center;
}

/* Monitor grid */
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.monitor-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.monitor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.625rem;
}

.monitor-name {
  font-weight: 600;
  font-size: 1rem;
}

.monitor-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-value {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Footer (status pages + marketing site share the same outer styles;
   .lang-menu styles live in app.css so every layout gets them). */
.status-footer,
.site-footer {
  margin-top: auto;
  padding-top: 3rem;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.status-footer a,
.site-footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.status-footer a:hover,
.site-footer-link:hover {
  color: var(--text);
}

.status-footer > span + .lang-menu {
  margin-top: 0.5rem;
}

.site-footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer-legal {
  display: flex;
  gap: 1.25rem;
}

/* Site top nav - shared across marketing pages (landing, pricing) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0 0.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
  color: var(--text);
}

.site-brand-icon {
  font-size: 1.375rem;
  line-height: 1;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1rem;
  flex: 1;
}

.site-nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.375rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  /* Fixed width so active/inactive + different labels + EN/KO
     all render the same size and nothing shifts on hover or route change. */
  min-width: 6rem;
  text-align: center;
}

.site-nav-link:hover {
  color: var(--text);
  text-decoration: none;
}

.site-nav-link.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.site-nav-auth {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Compact button for top nav */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-top: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--btn-bg);
}

.btn-block {
  display: flex;
  width: 100%;
}

@media (max-width: 640px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .site-nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin-left: 0;
  }
  .site-nav-auth {
    margin-left: auto;
  }
}

/* Marketing pages (landing, pricing, about) share the same outer width
   so the top nav stays put and menu clicks feel static. Prose-heavy
   pages constrain their readable column with an inner wrapper. */
.site-shell {
  max-width: 1100px;
}

.site-prose {
  max-width: 720px;
  margin: 0 auto;
}

/* About page */
.about-hero {
  text-align: center;
  padding: 5rem 0 2rem;
}

.about-hero h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-lede {
  color: var(--text-muted);
  font-size: 1.1875rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Korean needs more width to fit the lede on one line since CJK
   glyphs run wider than Latin at the same font-size. */
:lang(ko) .about-lede {
  max-width: 920px;
  padding: 0 1rem;
}

.about-body {
  padding: 2rem 0 3rem;
}

.about-body h2 {
  font-size: 1.375rem;
  margin: 2.25rem 0 0.625rem;
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Pricing page (shell width comes from .site-shell) */

.pricing-hero {
  text-align: center;
  padding: 5rem 0 3rem;
}

.pricing-hero h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pricing-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.pricing-card-coming {
  opacity: 0.55;
  filter: saturate(0.6);
}

.pricing-card-coming:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.pricing-card-coming .pricing-amount,
.pricing-card-coming h3 {
  color: var(--text-muted);
}

.pricing-badge-soon {
  background: var(--text-muted);
}

.pricing-card .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin: 0;
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.pricing-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.pricing-cadence {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-compare {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  overflow-x: auto;
  margin-bottom: 3rem;
}

.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pricing-compare th,
.pricing-compare td {
  padding: 0.875rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-compare tbody tr:last-child th,
.pricing-compare tbody tr:last-child td {
  border-bottom: none;
}

.pricing-compare thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.pricing-compare tbody th {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.pricing-compare td {
  color: var(--text-muted);
}

.pricing-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.pricing-cross {
  color: var(--text-muted);
  opacity: 0.5;
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero h1 {
    font-size: 2.25rem;
  }
}

/* Landing page */
.landing-hero {
  text-align: center;
  padding: 6rem 0 4rem;
}

.landing-icon {
  font-size: 4rem;
  display: block;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.landing-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.landing-tagline {
  color: var(--text-muted);
  font-size: 1.1875rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  white-space: nowrap;
}

.landing-cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.landing-cta .btn {
  text-decoration: none;
  min-width: 160px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--card-bg);
  border-color: var(--text-muted);
}

/* Uptime bars - Bar #1: 30-day + hourly (40/60 split) */
.uptime-bars {
  display: flex;
  gap: 8px;
  margin: 0.625rem 0;
  height: 28px;
}

.uptime-daily {
  flex: 0 0 40%;
  display: flex;
  gap: 1px;
  align-items: stretch;
}

.uptime-hourly {
  flex: 0 0 calc(60% - 8px);
  display: flex;
  gap: 2px;
  align-items: stretch;
}

.uptime-daily .bar,
.uptime-hourly .bar {
  flex: 1;
  border-radius: 2px;
  min-width: 0;
  position: relative;
  cursor: default;
}

.bar-up   { background: var(--accent); }
.bar-warn { background: var(--warn); }
.bar-down { background: var(--error); }
.bar-nodata { background: var(--border); opacity: 0.5; }

/* Tooltip on hover/focus */
.bar[data-tooltip] {
  position: relative;
}
.bar[data-tooltip]:hover::after,
.bar[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.6875rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.bar:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
