/* GoAttractor — minimal Phase 1 styling */

/* Hero: always show the full image (with GOATTRACTOR.com brand text on top).
   Use max-height to prevent it from dominating on tall portrait viewports;
   on wide screens, image scales down within max-height with dark letterbox
   sides that match the image's own background. */
section.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 65vh;
  overflow: hidden;
  line-height: 0;
}

section.hero img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  section.hero {
    max-height: 55vh;
  }
  section.hero img {
    max-height: 55vh;
  }
}


:root {
  --ink: #1a1a1a;
  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --muted: #6b6b6b;
  --rule: #e5dfd0;
  --max-w: 720px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f0ece0;
    --paper: #1a1a1a;
    --paper-2: #242424;
    --accent: #fb923c;
    --accent-dark: #f97316;
    --muted: #9a9a9a;
    --rule: #333;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

header.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 20px 24px;
  background: var(--paper);
}

header.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

header.site-header a.brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

header.site-header a.brand span { color: var(--accent); }

header.site-header nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}

header.site-header nav a:hover { color: var(--accent); }

h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 24px 0 16px;
  font-weight: 800;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 32px 0 8px;
  font-weight: 700;
}

p, ul, ol { margin: 0 0 16px; }

ul, ol { padding-left: 24px; }

li { margin-bottom: 6px; }

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

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

strong { font-weight: 700; }
em { font-style: italic; }

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

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 32px;
}

.cta {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.cta h3 {
  margin-top: 0;
  font-size: 18px;
}

.cta .keyword {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.05em;
}

.cta .num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin: 8px 4px 8px 0;
}

.btn:hover { background: var(--accent-dark); color: white; }

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn.ghost:hover { background: var(--accent); color: white; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  font-weight: 700;
  background: var(--paper-2);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  color: var(--muted);
  font-style: italic;
}

code {
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size: 0.9em;
}

.fineprint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 24px;
  background: var(--paper-2);
  margin-top: 80px;
}

footer.site-footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

footer.site-footer .inner a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer.site-footer .inner a:hover { color: var(--accent); }

footer.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 600px) {
  header.site-header nav a {
    margin-left: 10px;
    font-size: 13px;
    padding: 8px 4px;
    display: inline-block;
  }
  header.site-header .inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  header.site-header a.brand { font-size: 20px; }

  .wrap { padding: 20px 18px 60px; }
  .cta { padding: 20px; }

  /* Wide tables get horizontal scroll instead of breaking layout */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
    max-width: 100%;
  }

  /* Body copy stays readable */
  body { font-size: 16px; }

  /* Buttons stay tap-friendly */
  .btn {
    padding: 14px 24px;
    font-size: 16px;
    margin: 6px 4px 6px 0;
    min-height: 44px;
    line-height: 1.2;
  }

  /* Footer link row wraps cleanly */
  footer.site-footer .row {
    flex-direction: column;
    gap: 10px;
  }

  /* CTA keyword and number stay readable */
  .cta .num { white-space: nowrap; }
}

@media (max-width: 380px) {
  header.site-header nav a { font-size: 12px; margin-left: 6px; padding: 8px 2px; }
  header.site-header a.brand { font-size: 18px; }
}
