:root {
  color-scheme: dark;
  --bg: #11100e;
  --bg-soft: #191715;
  --surface: rgba(255, 252, 245, 0.075);
  --surface-strong: rgba(255, 252, 245, 0.12);
  --text: #f5f0e7;
  --muted: #bdb4a7;
  --line: rgba(245, 240, 231, 0.16);
  --accent: #d6b77a;
  --accent-strong: #f1d89a;
  --shadow: rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1e1b17;
  --muted: #6e665c;
  --line: rgba(30, 27, 23, 0.14);
  --accent: #8d6a2c;
  --accent-strong: #4f3714;
  --shadow: rgba(58, 46, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(214, 183, 122, 0.16), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent-strong);
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.theme-toggle,
.button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.theme-toggle:hover,
.button:hover {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 36px;
  align-items: stretch;
  padding: 70px 0 42px;
}

.hero-copy,
.status-panel,
.surface {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 44px;
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #17130c;
}

.button.secondary {
  background: transparent;
}

.status-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: 28px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #76d68b;
  box-shadow: 0 0 0 7px rgba(118, 214, 139, 0.12);
}

.metrics {
  display: grid;
  gap: 14px;
  margin: 0;
}

.metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metrics dt {
  color: var(--muted);
}

.metrics dd {
  margin: 0;
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 80px;
}

.surface {
  min-height: 330px;
  padding: 30px;
  border-radius: 24px;
}

.check-list,
.lock-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.check-list li,
.lock-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.check-list strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 36px, 1180px);
  }

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

  .hero-copy,
  .status-panel,
  .surface {
    border-radius: 20px;
    padding: 24px;
  }

  h1 {
    font-size: 38px;
  }

  .button,
  .theme-toggle {
    width: 100%;
  }
}
