:root {
  --coral: #ff6f61;
  --coral-hover: #e95c4f;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-dim: #999;
  --text-faint: #bbb;
  --border: #e0dcd7;
  --border-light: #f0ece7;
  --white: #ffffff;
  --error: #ef4444;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(
      circle at top,
      rgba(255, 111, 97, 0.08),
      transparent 45%
    ),
    var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Layout ── */
.page {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
}

.page::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5rem;
  width: 18rem;
  height: 18rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: rgba(255, 111, 97, 0.1);
  filter: blur(56px);
  pointer-events: none;
}

.logo {
  position: relative;
  height: 5rem;
  width: auto;
  margin-bottom: 2.5rem;
}

.logo--lg {
  height: 5rem;
}

/* ── Typography ── */
h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 .coral {
  color: var(--coral);
}

.subline {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.status-pill {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.trust-line {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b6b6b;
}

.notice {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ── Buttons ── */
.cta-group {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn--coral:hover {
  background: var(--coral-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn--block {
  width: 100%;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Form ── */
.form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
}

.checkbox-input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--coral);
}

.input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder {
  color: var(--text-faint);
}

.input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}

/* ── Messages ── */
.error-msg {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--error);
}

.error-msg a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success-msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Navigation links ── */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-link--coral {
  color: var(--coral);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .cta-group {
    flex-direction: row;
    gap: 1.25rem;
  }

  .logo--lg {
    height: 7rem;
  }

  h1 {
    font-size: 3rem;
  }

  .subline {
    font-size: 1.125rem;
  }
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 24rem;
}

.hidden {
  display: none !important;
}
