:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #edf2f7;
  --ink: #17202a;
  --muted: #647184;
  --line: #d9e1ea;
  --green: #14845d;
  --teal: #1c7f8e;
  --coral: #c65e48;
  --yellow: #d89a24;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(28, 127, 142, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(198, 94, 72, 0.11), transparent 32%),
    var(--bg);
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 3px solid rgba(28, 127, 142, 0.55);
  outline-offset: 4px;
}

.topbar,
main,
.footer {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand,
.nav,
.status-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  display: block;
}

.nav {
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
  min-height: min(620px, calc(100svh - 116px));
  padding: 64px 0 44px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(20, 132, 93, 0.24);
  border-radius: 6px;
  color: var(--green);
  background: rgba(20, 132, 93, 0.08);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 12vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.status-panel,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-panel {
  padding: 22px;
}

.status-row {
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 800;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(20, 132, 93, 0.12);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 0 56px;
}

.note-card {
  min-height: 220px;
  padding: 22px;
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.note-card:nth-child(2) .card-index {
  background: var(--coral);
}

.note-card:nth-child(3) .card-index {
  background: var(--yellow);
}

.note-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 24px, 680px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

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

  .nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 26px;
  }

  .status-panel {
    max-width: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .note-card {
    min-height: 180px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
