/* Greenlit — shared styles. Warm Paper visual language. No framework, no build step. */

:root {
  --paper: #F6F1E8;
  --paper-elevated: #FBF8F2;
  --paper-subtle: #F2EDE4;
  --green: #557A5B;
  --sage: #DDE8D9;
  --sage-strong: #C9D8C4;
  --forest: #3F6047;
  --charcoal: #22231F;
  --text-secondary: #77786F;
  --text-muted: #A8A39A;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --content-width: 680px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  text-decoration: none;
  margin-bottom: 3rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--forest);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 16px;
  height: 16px;
}

.card {
  background: var(--paper-elevated);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 2px rgba(34, 35, 31, 0.04), 0 8px 24px rgba(34, 35, 31, 0.06);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.subheadline {
  font-size: 1.15rem;
  color: var(--green);
  font-weight: 500;
  margin: 0 0 1.25rem;
}

p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.supporting {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.05s ease;
}

.button:active {
  transform: scale(0.99);
}

.button-primary {
  background: var(--green);
  color: var(--paper-elevated);
}

.button-primary:hover {
  opacity: 0.92;
}

.button-secondary {
  background: var(--sage);
  color: var(--forest);
}

.button-secondary:hover {
  opacity: 0.9;
}

.button:disabled,
.button[aria-disabled="true"] {
  background: var(--sage-strong);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.button-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
}

.notice {
  background: var(--paper-subtle);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
}

a {
  color: var(--forest);
}

@media (min-width: 480px) {
  .actions {
    flex-direction: row;
  }

  .button {
    width: auto;
    flex: 1;
  }
}
