:root {
  --bg: #0f172a;            /* slate-900 */
  --card: #020617;          /* slate-950 */
  --text: #e5e7eb;          /* gray-200 */
  --muted: #94a3b8;         /* slate-400 */
  --accent: #2563eb;        /* blue-600 */
  --border: #1e293b;        /* slate-800 */
  --link: #93c5fd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% 10%, #1e3a8a 0%, transparent 40%),
    radial-gradient(1200px 600px at 90% 90%, #0f766e 0%, transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 24px;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-row {
  display: flex;
  gap: 0;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: 240px;
  display: block;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--border);
  text-decoration: none;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(37, 99, 235, 0.15);
  color: var(--link);
}

h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.section {
  margin-top: 32px;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.list {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.85);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  appearance: none;
  border: 1px solid rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.25);
  color: var(--text);
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.button:hover {
  background: rgba(37, 99, 235, 0.35);
}

.mini {
  font-size: 13px;
  color: var(--muted);
}

.notice {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.35);
  color: var(--text);
}

@media (max-width: 520px) {
  .container {
    padding: 28px 20px;
  }

  h1 {
    font-size: 32px;
  }

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

  .nav {
    justify-content: flex-start;
  }
}
