/*
Theme Name: Giveaway Tool Guide
Description: Source-backed giveaway platform comparison site.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
*/

:root {
  --ink: #13233f;
  --muted: #58677d;
  --paper: #f6f8fc;
  --line: #dce3ed;
  --accent: #5b48e8;
  --accent-dark: #3425a7;
  --mint: #dff8ee;
  --white: #fff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner, .site-main, .footer-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 700; }
.nav a { color: var(--ink); text-decoration: none; }
.site-main { padding: 64px 0 96px; }
.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 44px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 24px 70px rgba(24,39,75,.08); }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { margin: 12px 0 18px; font-size: clamp(42px, 7vw, 76px); }
h2 { margin-top: 56px; font-size: clamp(30px, 4vw, 44px); }
h3 { margin-top: 28px; font-size: 24px; }
.lead { color: var(--muted); font-size: 21px; max-width: 760px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; color: var(--white); background: var(--accent); font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(91,72,232,.24); }
.button:hover { background: var(--accent-dark); }
.disclosure { padding: 18px 20px; border-radius: 16px; background: #fff7db; color: #59470a; font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 24px 0; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.card h3 { margin-top: 0; }
.recommendation { background: var(--mint); border-color: #a7e4ce; }
.comparison { width: 100%; border-collapse: collapse; margin: 28px 0; background: var(--white); border-radius: 18px; overflow: hidden; }
.comparison th, .comparison td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: #edeafd; font-size: 14px; }
.source-note { color: var(--muted); font-size: 14px; }
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .hero, .card-grid { grid-template-columns: 1fr; } .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; } .site-main { padding-top: 32px; } }
