/* Falano — holding page styles. */

@font-face {
  font-family: "Lora Local";
  src: url("fonts/Lora-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish Local";
  src: url("fonts/Mulish-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --color-cream: #F7F5F0;
  --color-paper: #FFFFFF;
  --color-ink: #1C1917;
  --color-ink-light: #44403C;
  --color-ink-muted: #6F6862;
  --color-jade: #1B6B5A;
  --color-jade-dark: #155A4A;
  --color-border: #E7E5E4;

  /* System serif and sans first, bundled faces behind them, so most
   * platforms download no font file at all. */
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Lora Local", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", "Mulish Local", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1rem 3rem;
}

/* Mirrors `.home-hero` in apps/web/app/globals.css: one column on a phone,
   copy and artwork side by side from the tablet breakpoint up. */
.hero {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.hero-copy { min-width: 0; }

/* Pages with no artwork keep a readable single-column measure. */
.page-narrow { max-width: 680px; }

.hero-art {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  /* The illustration is drawn on this exact cream, so the box it sits in
     must not show a seam against the page while it loads. */
  background: var(--color-cream);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.mark img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.mark span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  color: var(--color-jade);
  font-size: 0.875rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-jade);
}

h1 {
  margin: 0;
  max-width: 11em;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 .accent { color: var(--color-jade); }

.lede {
  margin: 1.75rem 0 0;
  max-width: 34em;
  color: var(--color-ink-light);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.note {
  margin: 1.25rem 0 0;
  max-width: 34em;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

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

a:hover { color: var(--color-jade-dark); }

a:focus-visible {
  outline: 2px solid var(--color-jade);
  outline-offset: 2px;
  border-radius: 2px;
}

footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-paper);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .page { padding: 4rem 2rem; }
  .footer-inner { padding: 1.5rem 2rem; }
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }

  .page { padding: 5rem 2rem; }
}
