/* Home page — / (load after /fonts/fonts.css)
 * Shared chrome (topbar, .logo, .nav, .nav a, helpers) lives in fonts.css.
 * This file only adds the marketing layout (hero + footer).
 */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 17px/1.55 var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Topbar gets a baseline border on the marketing page only */
.topbar {
  border-bottom: 1px solid var(--border);
}

/* Inline welcome chip (only on marketing nav) */
.nav .welcome {
  color: var(--muted);
  display: none;
  border: none;
  padding-left: 0;
  font-size: 0.9rem;
}

/* Hero ------------------------------------------------------------------ */
main.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-size: clamp(1.85rem, 5.2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.hero .marketing {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 34rem;
}
.hero .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.65rem;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  box-shadow: var(--shadow-deboss);
  transition: border-color var(--dur-base) var(--ease-out);
}
.hero .cta:hover {
  border-color: var(--border-strong);
}
.hero .cta-sub {
  margin-top: 1rem;
  font-size: 0.92rem;
}
.hero .cta-sub a {
  color: var(--muted);
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: color-mix(in srgb, var(--fg) 5%, var(--paper));
  border-top: 1px solid var(--border);
  box-shadow: inset 0 2px 10px rgba(var(--ink-rgb), 0.06);
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}
.footer-brand .mark {
  font-size: 1.75rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand strong {
  font-weight: 400;
  font-family: var(--font-headline-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.footer-brand p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 22rem;
}
.footer-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-weight: 400;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.45rem;
}
.footer-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.footer-links a:hover {
  border-bottom-color: color-mix(in srgb, var(--fg) 35%, var(--border));
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.82rem;
  box-shadow: var(--shadow-deboss);
  transition: border-color var(--dur-base) var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--border-strong);
}
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.footer-bottom a:hover {
  color: var(--fg);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
