/* TommyTaps public landing — family site foundation, TommyTaps navy skin.
   Tokens: canvas #F5F7FB, ink #101523, accent #16335B, hairline ink@16%. */

:root {
  --canvas: #f5f7fb;
  --ink: #101523;
  --accent: #16335b;
  --hairline: rgba(16, 21, 35, 0.16);
}

.landing {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.landing * {
  margin: 0;
  box-sizing: border-box;
}

.shell {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ruled {
  border-bottom: 1px solid var(--hairline);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a:hover {
  opacity: 0.6;
}

/* Hero */
.hero .shell {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .hero .shell {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.hero h1 {
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(16, 21, 35, 0.7);
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(16, 21, 35, 0.05);
}

.status-line {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(16, 21, 35, 0.5);
}

/* Sections */
.section .shell {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section .shell {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(16, 21, 35, 0.6);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.pillars {
  display: grid;
  gap: 3rem 3rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}

.pillar h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.pillar p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(16, 21, 35, 0.8);
}

.prose {
  max-width: 42rem;
}

.prose p {
  line-height: 1.625;
  color: rgba(16, 21, 35, 0.8);
}

.prose p + p {
  margin-top: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  opacity: 0.7;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  color: rgba(16, 21, 35, 0.6);
}

@media (min-width: 640px) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
