:root {
  /* -- palette -- */
  --ivory: #F4F2F0;
  --linen: #ECE6E1;
  --header-bg: #E4C2B9;
  --plum: #3E2A22;
  --plum-soft: #6B4C40;
  --orange: #EE5613;
  --rose-deep: #D9704A;
  --sage: #94A17E;
  --gold: #C98A3E;

  /* -- type -- */
  --font-display: 'Genty', 'Cormorant Garamond', cursive;
  --font-body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  margin: 0;
  background: var(--ivory);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(201,139,150,0.07), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(147,163,130,0.08), transparent 40%);
  color: var(--plum);
  letter-spacing: 0.01em;
}

header {
  background: var(--header-bg);
  color: var(--plum);
  padding: 1.125rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
header::after {
  content: "";
  order: 10;
  width: 3rem;
  height: 0.0625rem;
  background: var(--orange);
  margin-top: 0.25rem;
  opacity: 0.6;
}

header a:not(.header-btn) {
  color: var(--orange);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

header .tagline,
header .user-status {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.55);
  border: 0.0625rem solid rgba(62, 42, 34, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-btn:hover {
  background: #fff;
  border-color: var(--orange);
}
.header-btn:focus-visible {
  outline: 0.125rem solid var(--gold);
  outline-offset: 0.125rem;
}

@media (max-width: 30rem) {
  header {
    padding: 1rem 1rem 0.875rem;
  }
  header a:not(.header-btn) {
    font-size: 2rem;
  }
  .header-btn {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
    font-size: 0.68rem;
    padding: 0.45rem 0.875rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--plum);
  margin: 0 0 1.125rem;
}

footer {
  text-align: center;
  padding: 1.75rem 1rem 2.25rem;
  color: var(--plum-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
footer::before {
  content: "❤";
  display: block;
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.alert {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  background: var(--linen);
  border-left: 0.1875rem solid var(--sage);
  margin-bottom: 1.125rem;
}

.alert-error {
  border-left-color: var(--orange);
}

.alert-success {
  border-left-color: var(--sage);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
