/* Landlord — Jabpa */
:root {
  --bg-deep: #0c1210;
  --bg-card: #141c19;
  --bg-elevated: #1a2420;
  --text: #e8ebe9;
  --text-muted: #9aa8a2;
  --accent: #2d6a4f;
  --accent-bright: #40916c;
  --gold: #d4a84b;
  --gold-dim: #a67c2a;
  --border: rgba(212, 168, 75, 0.18);
  --danger: #c94c4c;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e8c56e;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 18, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

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

.nav .btn--small {
  margin-left: 0.25rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--space);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(145deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.35);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(64, 145, 108, 0.45);
}

.btn--gold {
  background: linear-gradient(145deg, #e0b85c, var(--gold));
  color: #1a1205;
}

.btn--gold:hover {
  color: #1a1205;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

main {
  overflow-x: hidden;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--space);
}

.section--tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Screenshots row: edge-to-edge; heading stays in normal content width */
.section--shots-fullbleed {
  padding-left: 0;
  padding-right: 0;
}

.section__inner--shots-intro {
  margin-bottom: 1.5rem;
  padding-left: var(--space);
  padding-right: var(--space);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section__lead {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: var(--space);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 106, 79, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212, 168, 75, 0.12), transparent),
    var(--bg-deep);
  z-index: 0;
}

.hero__mesh {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 40%, rgba(64, 145, 108, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(212, 168, 75, 0.08) 0%, transparent 40%);
  z-index: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%23d4a84b' stroke-width='0.5'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

.hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 0 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  font-family: var(--font-display);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__board-preview {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__board-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 16, 0.92) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero__board-preview p,
.hero__preview-caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
}

.hero__horizon-logo {
  position: absolute;
  /* Sit on skyline / horizon band (between sky and towers) */
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(36%, 104px);
  max-width: 40%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

@media (min-width: 600px) {
  .hero__horizon-logo {
    width: min(32%, 118px);
  }
}

.feature-list--compact {
  margin-bottom: 1.75rem;
}

.feature-list--compact li {
  font-size: 0.95rem;
}

.section__note {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 65ch;
  margin: -1rem 0 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.event-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.event-strip__item {
  flex: 0 0 auto;
  width: min(132px, 42vw);
  scroll-snap-align: start;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.5rem 0.75rem;
}

.event-strip__item img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.45rem;
}

.event-strip__item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.perk-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}

.perk-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.perk-tile img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto;
}

.perk-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}

.perk-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.perk-tile--wide {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .perk-tile--wide {
    grid-column: span 2;
  }
}

.perk-tile__pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.perk-tile__pair img {
  max-height: 120px;
  max-width: 45%;
}

/* Screenshots */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.shot-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.shot-grid figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.shot-grid figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.shot-grid figcaption strong {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.shot-grid--fullbleed {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--space);
  box-sizing: border-box;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space);
  background: transparent;
}

.shot-grid--fullbleed figure {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 0;
}

.shot-grid--fullbleed figure img {
  aspect-ratio: auto;
  min-height: min(52vh, 520px);
  max-height: min(70vh, 640px);
  object-fit: cover;
}

@media (max-width: 900px) {
  .shot-grid--fullbleed {
    grid-template-columns: 1fr;
  }

  .shot-grid--fullbleed figure img {
    min-height: 280px;
    max-height: none;
    aspect-ratio: 9 / 16;
  }
}

.shot-placeholder {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.shot-placeholder strong {
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

/* Steps / how to play */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Flow diagram */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.flow__node {
  padding: 0.45rem 0.85rem;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

.flow__arrow {
  color: var(--gold-dim);
  font-size: 0.9rem;
}

/* Accordions */
.accordions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.accordion__btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.accordion__btn::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.accordion.is-open .accordion__btn::after {
  content: "−";
}

.accordion__panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.accordion.is-open .accordion__panel {
  display: block;
}

.accordion__panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* Character cards */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.char-card__visual {
  /* Tall frame; image uses contain so head + torso stay visible (cover + bottom was cropping to feet) */
  aspect-ratio: 3 / 4;
  min-height: 260px;
  background: linear-gradient(135deg, var(--accent) 0%, #1b4332 100%);
  position: relative;
  overflow: hidden;
}

.char-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 16, 0.4) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.char-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  max-width: none;
}

.char-card__body {
  padding: 1.25rem 1.25rem 1.25rem;
}

.char-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.char-card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.difficulty {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.difficulty--easy {
  color: var(--accent-bright);
}

.difficulty--medium {
  color: var(--gold);
}

.difficulty--hard {
  color: var(--danger);
}

.char-card__backstory {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.char-card__lists {
  display: grid;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.char-card__lists dt {
  font-weight: 800;
  color: var(--accent-bright);
  margin-bottom: 0.2rem;
}

.char-card__lists dd {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.char-card__lists .faults dt {
  color: var(--danger);
}

/* Bullets / why */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  font-size: 0.98rem;
}

.feature-list strong {
  color: var(--text);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__q::after {
  content: "+";
  color: var(--gold);
}

.faq-item.is-open .faq-item__q::after {
  content: "−";
}

.faq-item__a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-deep));
  border-top: 1px solid var(--border);
}

.cta-band .section__title {
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem var(--space);
  border-top: 1px solid var(--border);
  background: #080d0b;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer__links a:hover {
  color: var(--gold);
}

.site-footer__legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.5;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-page {
  padding: 2rem var(--space) 4rem;
}

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

/* Wishlist */
.wishlist-hero {
  text-align: center;
  padding: 3rem var(--space) 2rem;
}

.wishlist-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

.wishlist-grid {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

/* Firebase auth (wishlist) */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.auth-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  background: var(--bg-deep);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-tab + .auth-tab {
  border-left: 1px solid var(--border);
}

.auth-tab.is-active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

.auth-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.auth-pane {
  margin-top: 0.25rem;
}

.auth-pane:not(.is-active) {
  display: none;
}

.auth-signed-in {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.auth-signed-in strong {
  color: var(--text);
}

.form-note--ok {
  color: #b8e0cc;
  margin-bottom: 1rem;
}

.card-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.card-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.card-block p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-row input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-row input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: rgba(45, 106, 79, 0.35);
  color: #b8e0cc;
}

.form-status--err {
  background: rgba(201, 76, 76, 0.25);
  color: #f0b0b0;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space);
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  margin: 0;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}