/* Backyard marketing site — matches mobile/src/theme.ts exactly.
   Flat parchment backgrounds, ink borders, warm palette. No purple/blue
   gradients, no Inter-as-primary, no shadow-heavy SaaS-card look. */

:root {
  --ink: #241D12;
  --parchment-bg: #F4EFE1;
  --parchment-surface: #FBF7EA;
  --field-green: #3C4F35;
  --field-muted: #96805F;
  --field-border: #E2D9C2;
  --accent-rust: #8C3D22;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment-bg);
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.6;
}

.font-cursive { font-family: "Caveat", cursive; }
.font-serif { font-family: "Libre Baskerville", Georgia, serif; }
.font-serif-italic { font-family: "Libre Baskerville", Georgia, serif; font-style: italic; }
.font-sans { font-family: "Work Sans", -apple-system, sans-serif; }

a { color: var(--accent-rust); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — full-width bar, content inside constrained to max-width */
header.site-header {
  width: 100%;
  border-bottom: 1px solid var(--field-border);
  background: var(--parchment-bg);
}
/* Grid, not flex+matching-widths -- a 3-column grid can never let the
   nav and logo overlap regardless of how wide either one is, unlike
   the old flex approach which relied on a spacer div's width manually
   matching the nav's width to fake centering. */
header.site-header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
header.site-header .header-spacer {
  display: none;
}
header.site-header img.logo {
  grid-column: 2;
  width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
}
header.site-header nav.auth-nav {
  grid-column: 3;
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 19px;
  white-space: nowrap;
  justify-self: end;
}
header.site-header nav.auth-nav a {
  text-decoration: none;
  color: var(--ink);
}
header.site-header nav.auth-nav a.signup-link {
  background: var(--ink);
  color: var(--parchment-surface);
  padding: 12px 22px;
  border-radius: 10px;
}
@media (max-width: 720px) {
  header.site-header .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 16px;
  }
  header.site-header img.logo { grid-column: 1; width: 220px; }
  header.site-header nav.auth-nav { grid-column: 1; justify-self: center; flex-wrap: wrap; justify-content: center; }
}

/* Auth pages (login / signup / account) */
.wrap-narrow {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.auth-section { padding-top: 0; }
.auth-title {
  font-size: 44px;
  text-align: center;
  margin: 0 0 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form label {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  color: var(--field-muted);
  margin-top: 14px;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="date"] {
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--parchment-surface);
  color: var(--ink);
}
.auth-hint {
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  color: var(--field-muted);
  margin: 2px 0 0;
}
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
}
.auth-checkbox input { margin-top: 3px; }
.auth-submit {
  margin-top: 22px;
  border: none;
  cursor: pointer;
  font-size: 20px;
}
.auth-error {
  color: var(--accent-rust);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  margin-top: 14px;
}
.auth-success {
  color: var(--field-green);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  margin-top: 14px;
}
.auth-footnote {
  text-align: center;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  margin-top: 18px;
}
.auth-small {
  font-size: 12px;
  color: var(--field-muted);
  line-height: 1.5;
}
.auth-signout {
  font-size: 15px;
  padding: 8px 18px;
}

/* Account page */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.stat-tile {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 40px;
}
.stat-label {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  color: var(--field-muted);
}
.tour-card {
  background: var(--parchment-surface);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.tour-card h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px;
}
.tour-meta {
  font-size: 13px;
  color: var(--field-muted);
  margin: 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 24px 24px 48px;
}
.hero h1 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  margin: 8px 0 12px;
}
.hero p.lede {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto 8px;
}
.hero p.tagline {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--field-muted);
  max-width: 560px;
  margin: 16px auto 28px;
}
.cta-button {
  display: inline-block;
  background: var(--ink);
  color: var(--parchment-surface);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 12px;
}
.cta-button:hover { opacity: 0.9; }
#events-map {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  border: 1px solid var(--field-border);
  margin-bottom: 20px;
}
.event-summary-panel {
  background: var(--parchment-surface);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  padding: 20px 24px;
}
.event-summary-panel h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 30px;
  margin: 0 0 4px;
}
.soon-badge {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-rust);
  border: 1.5px solid var(--accent-rust);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.cta-subtext {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  color: var(--field-muted);
  margin: 12px 0 0;
}

/* Sections */
section {
  padding: 48px 0;
  border-top: 1px solid var(--field-border);
}
section h2 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 38px;
  text-align: center;
  margin: 0 0 32px;
}

/* Moods grid */
.moods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.mood-card {
  background: var(--parchment-surface);
  border: 1px solid var(--field-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}
.mood-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.mood-card h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 8px;
}
.mood-card p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 14.5px;
  color: var(--field-muted);
  margin: 0;
}

/* Feature rows */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 4px;
}
.feature-row h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 6px;
}
.feature-row p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 15px;
  margin: 0;
}

/* Screenshot gallery */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.gallery img {
  height: 420px;
  width: auto;
  border-radius: 20px;
  border: 1px solid var(--field-border);
  box-shadow: 0 12px 24px rgba(70, 50, 30, 0.18);
  flex-shrink: 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 24px;
}
.faq-item h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 6px;
}
.faq-item p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 15px;
  margin: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 24px 48px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  color: var(--field-muted);
}
footer nav {
  margin-bottom: 12px;
}
footer nav a {
  color: var(--field-muted);
  text-decoration: none;
  margin: 0 10px;
}
footer nav a:hover { color: var(--accent-rust); }

/* Press page specifics */
.boilerplate-block {
  background: var(--parchment-surface);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 15px;
}
.boilerplate-block .label {
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--field-muted);
  margin-bottom: 8px;
  display: block;
}
table.facts {
  width: 100%;
  border-collapse: collapse;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
}
table.facts td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--field-border);
}
table.facts td:first-child {
  color: var(--field-muted);
  width: 35%;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.download-grid a {
  display: block;
  text-align: center;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink);
}
.download-grid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--field-border);
  margin-bottom: 6px;
}

@media (max-width: 480px) {
  .hero h1 { font-size: 42px; }
  section h2 { font-size: 30px; }
  .gallery img { height: 340px; }
}
