/* Caddy marketing/legal site — tokens from DESIGN.md (light mode) */

:root {
  --paper: #FBFAF7;      /* Theme.background, light (home canvas) */
  --ink: #1A1A1A;        /* primary text on light */
  --slate: #68706B;      /* secondary text */
  --divider: #E8E8E3;    /* hairlines */
  --pine: #163300;       /* accentText, light — wordmark + links */
  --green: #D7EA58;      /* Caddy Green — small accents + CTAs */
  --deep-fairway: #0E2A1D; /* text on green fills */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Wordmark */
.logo { display: block; height: 48px; width: auto; }
.logo-link { text-decoration: none; }

/* Type */
h1, h2, .display {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
}
h1 { font-size: 44px; margin: 32px 0 8px; }
h2 { font-size: 24px; margin: 40px 0 12px; }
h3 { font-family: "Inter", sans-serif; font-size: 17px; font-weight: 600; margin: 28px 0 8px; }

.eyebrow {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--pine);
}

p, li { color: var(--ink); }
.muted { color: var(--slate); font-size: 14px; }

a { color: var(--pine); text-decoration-color: var(--green); text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--pine); }

strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--divider); margin: 40px 0; }

/* Capsule CTA (matches the app's green capsule buttons) */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--deep-fairway);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
}
.btn:hover { filter: brightness(0.96); }
.btn.secondary {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--divider);
}
.btn.secondary:hover { border-color: var(--pine); filter: none; }

/* Home layout */
.home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.home .logo { height: 84px; }
.home .tagline { margin: 20px 0 4px; }
.home .sub { max-width: 420px; color: var(--slate); margin: 8px 0 32px; }
.home nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.home footer { position: fixed; bottom: 20px; left: 0; right: 0; }

/* Subpage header */
header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 20px;
}
header.site .logo { height: 34px; }
header.site nav { display: flex; gap: 20px; font-size: 14px; }

footer.site {
  border-top: 1px solid var(--divider);
  margin-top: 56px;
  padding-top: 20px;
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .home .logo { height: 64px; }
}
