/* ==========================================================================
   alchemystay.com: site-only layout.
   The 78 UI Kit owns the components; theme.css (generated) owns every color.
   This file only places things and uses the kit's tokens, so light and dark
   come for free.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page rhythm
   -------------------------------------------------------------------------- */
.site-section {
  padding: 64px var(--space-4);
}
.site-section--tint {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.site-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
}
.site-wrap--narrow { max-width: 780px; }

.site-section__head {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.site-section__head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  line-height: 1.2;
  margin: 0;
}
.site-section__head p {
  color: var(--dim);
  margin: var(--space-3) 0 0;
}

/* --------------------------------------------------------------------------
   Top bar + footer: the tile mark, and the wordmark with "Stay" in the accent
   (the family's way: Alchemy + a colored second word).
   -------------------------------------------------------------------------- */
._78-topbar-brand .site-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.site-wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-wordmark span { color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: var(--space-5) var(--space-4);
}
.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer p a { color: var(--accent); }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.site-footer__links a {
  color: var(--dim);
  font-size: var(--fs-sm);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.site-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) var(--space-4) clamp(8px, 2vw, 24px);
  text-align: center;
}
/* A soft accent wash behind the headline; a token, so it follows the theme */
.site-hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 440px;
  background: radial-gradient(ellipse at 50% 60%, var(--accent-lo), transparent 70%);
  pointer-events: none;
}
.site-hero > * { position: relative; }

.site-hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 20ch;
  text-wrap: balance;
}
.site-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.site-hero__pitch {
  max-width: 60ch;
  margin: var(--space-4) auto 0;
  color: var(--text);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}
.site-hero__state {
  max-width: 60ch;
  margin: var(--space-2) auto var(--space-5);
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Key points
   -------------------------------------------------------------------------- */
.site-points {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
/* The kit spaces stacked cards with `._78-card + ._78-card { margin-top }`;
   in a grid that pushes every card after the first down. */
.site-points > ._78-card { margin: 0; }
.site-point h2 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-2);
}
.site-point p {
  margin: 0;
  color: var(--dim);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.site-point__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-3);
  border-radius: var(--radius);
  background: var(--accent-lo);
  color: var(--accent);
}
.site-point__icon svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Buttons in a row
   -------------------------------------------------------------------------- */
.site-follow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.site-follow--left { justify-content: flex-start; margin-top: var(--space-5); }
.site-follow ._78-btn { white-space: normal; text-align: center; }

/* --------------------------------------------------------------------------
   The contact form. Fields, labels, errors and the card are the kit's; this
   only lays them out.
   -------------------------------------------------------------------------- */
.site-form-card { padding: var(--space-5); }
.site-optional { font-weight: 400; }
/* The honeypot: off screen rather than display:none, which some bots skip */
.site-gotcha {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-form { position: relative; }
.site-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}
.site-form__foot p { margin: 0; flex: 1 1 260px; }
.site-form__foot a { color: var(--accent); }
.site-form__error { margin: 0 0 var(--space-4); }
.site-form__thanks {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  outline: none;
}
.site-form__thanks h3 { margin: 0 0 var(--space-2); font-size: var(--fs-lg); }
.site-form__thanks p { margin: 0; color: var(--dim); }

@media (max-width: 520px) {
  .site-form-card { padding: var(--space-4); }
  .site-form__foot ._78-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Privacy (plain prose)
   -------------------------------------------------------------------------- */
.site-prose h1 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}
.site-prose h2 {
  font-size: var(--fs-lg);
  margin: var(--space-6, 32px) 0 var(--space-2);
}
.site-prose p { line-height: 1.7; margin: 0 0 var(--space-3); }
.site-prose a { color: var(--accent); }
.site-prose__lead { color: var(--dim); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.site-404 {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.site-404__code {
  font-size: clamp(4rem, 3rem + 5vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.site-404 .site-follow { margin-top: var(--space-5); }

@media (max-width: 720px) {
  .site-section { padding: 48px var(--space-4); }
}
