:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #d9e1ee;
  --brand: #0969da;
  --danger: #b42318;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

main {
  width: min(420px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(20, 32, 55, .12);
}

.product-link { display: block; width: fit-content; margin: -8px auto 8px; }
.product-logo { display: block; width: 190px; height: auto; }
h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: 0; }
p { margin: 0 0 22px; color: var(--muted); }
label { display: block; margin: 14px 0 6px; font-weight: 650; }

input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

button {
  width: 100%;
  height: 42px;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.error {
  min-height: 20px;
  margin-top: 12px;
  color: var(--danger);
  font-size: 14px;
}

.overview-link {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.overview-link:hover { text-decoration: underline; }
