:root {
  --bg: #0b0d10;
  --fg: #f3f4f6;
  --muted: #9ca3af;
  --accent: #e0b84a;
  --line: #1f2937;
  --input: #111418;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero {
  margin-top: auto;
  margin-bottom: auto;
  padding: 48px 0;
}

h1 {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

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

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 32px;
}

.login {
  display: flex;
  gap: 8px;
  max-width: 460px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 220px;
  background: var(--input);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}

input[type="email"]:focus {
  border-color: var(--accent);
}

button {
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

button:hover { filter: brightness(1.08); }
button:disabled { opacity: 0.6; cursor: wait; }

.status {
  margin-top: 14px;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--muted);
}

.foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.wrap--wide {
  max-width: 1040px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__right { margin: 0; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--accent);
  filter: none;
}

main { padding: 16px 0 32px; }

.panel {
  margin-top: 32px;
}

.panel__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s, transform 0.1s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.card__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.card__desc {
  font-size: 12px;
  color: var(--muted);
}

.note {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

.note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.links a {
  display: block;
  padding: 10px 14px;
  color: var(--fg);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}

.links a:hover {
  border-color: var(--line);
  background: var(--input);
}
