/* CNCF brand palette — https://www.cncf.io/brand-guidelines/ */
@font-face {
  font-family: "Clarity City";
  src: url("assets/fonts/ClarityCity-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clarity City";
  src: url("assets/fonts/ClarityCity-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cncf-blue: #0086ff;
  --cncf-black: #000000;
  --cncf-turquoise: #93eaff;
  --cncf-pink: #d62293;
  --cncf-stone: #e5e5e5;
  --cncf-white: #ffffff;

  --bg: var(--cncf-stone);
  --card-bg: var(--cncf-white);
  --primary: var(--cncf-blue);
  --primary-hover: #006acc;
  --text: var(--cncf-black);
  --muted: #4a4a4a;
  --border: #cfcfcf;
  --error: #d62293;
  --success: #007a5a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Clarity City is CNCF's typeface; fall back to system sans-serif. */
  background: linear-gradient(160deg, var(--cncf-stone) 0%, #f6fbff 100%);
  color: var(--text);
  font-family: "Clarity City", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  padding: 1rem;
}

.card {
  background: var(--card-bg);
  width: 100%;
  max-width: 480px;
  padding: 3.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 134, 255, 0.12);
  border-top: 4px solid var(--cncf-blue);
  text-align: center;
}

.logo {
  height: auto;
  max-width: 220px;
  margin: 0 auto 2.5rem;
  display: block;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cncf-black);
}

.subtitle {
  margin: 0 0 2.5rem;
  color: var(--muted);
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--cncf-blue);
}

a {
  color: var(--cncf-blue);
  font-weight: 600;
}

button {
  padding: 0.95rem 1rem;
  margin-top: 0.5rem;
  background: var(--cncf-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover:not(:disabled) {
  background: var(--primary-hover);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.message.error {
  color: var(--error);
}

.message.success {
  color: var(--success);
}

