:root {
  --font-sans: "IBM Plex Sans", sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  --page-bg-top: #fbfbf9;
  --page-bg-bottom: #efefeb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: rgba(247, 247, 244, 0.86);
  --line: #d9d9d3;
  --line-strong: #c4c4bd;
  --text: #121210;
  --muted: #66665f;
  --muted-strong: #474740;
  --accent: #141412;
  --accent-contrast: #ffffff;
  --focus-ring: rgba(20, 20, 18, 0.14);
  --danger: #8a3538;
  --danger-soft: #f8eded;
  --ok: #335948;
  --ok-soft: #eef5f1;
  --shadow-soft: 0 24px 56px rgba(18, 18, 16, 0.08);
  --shadow-card: 0 14px 28px rgba(18, 18, 16, 0.06);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --transition-fast: 0.18s ease;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg-bottom);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(70rem 30rem at 14% -12%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.7) 34%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-bottom) 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
}

input,
textarea,
select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--line-strong);
}

:focus-visible {
  outline: none;
  border-color: var(--muted-strong);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

::selection {
  background: rgba(20, 20, 18, 0.14);
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.site-page {
  padding-bottom: 48px;
}

.site-header {
  padding: 30px 0 20px;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}

.site-mark {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-title {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.site-subtitle {
  margin: 12px 0 0;
  max-width: 46rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.status-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.status-card {
  width: min(520px, 100%);
  padding: 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.status-code {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.status-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
  }

  .site-page {
    padding-bottom: 28px;
  }

  .site-header {
    padding: 24px 0 16px;
  }

  .site-title {
    font-size: clamp(26px, 10vw, 36px);
  }
}
