:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #526070;
  --line: #d7dee8;
  --accent: #1768ac;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 6vw, 80px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 56px);
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

nav {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

main {
  width: min(1040px, calc(100% - 40px));
  margin: 32px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.panel {
  margin-bottom: 20px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.center {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

label {
  display: grid;
  gap: 8px;
  max-width: 360px;
  color: var(--muted);
}

input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

button {
  margin-top: 14px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

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