/* ===== Tokens ===== */
:root {
  --sun: #FFC93C;
  --sun-dark: #E8A317;
  --coral: #FF6B4A;
  --coral-dark: #E14E30;
  --sky: #3EC6E0;
  --sky-dark: #1FA8C4;
  --leaf: #4CAF7D;
  --leaf-dark: #338A5E;
  --cream: #FFFBF0;
  --white: #FFFFFF;
  --ink: #2B2620;
  --ink-soft: #6B6053;
  --shadow: 0 10px 30px rgba(43, 38, 32, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .btn {
  font-family: 'Baloo 2', sans-serif;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* ===== Background blobs (ambient, quiet) ===== */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.blob-1 { width: 420px; height: 420px; background: var(--sun); top: -140px; left: -120px; }
.blob-2 { width: 360px; height: 360px; background: var(--sky); bottom: -120px; right: -100px; opacity: 0.25; }
.blob-3 { width: 300px; height: 300px; background: var(--coral); top: 45%; right: 10%; opacity: 0.15; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 251, 240, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(43,38,32,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-sun { color: var(--sun-dark); font-size: 1.3rem; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  padding: 8px 10px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(43,38,32,0.06); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--coral-dark); }
.nav-help { color: var(--leaf-dark) !important; }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px 24px 40px;
}
.eyebrow {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--coral-dark);
  background: rgba(255, 107, 74, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .hl { color: var(--sun-dark); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px rgba(255,107,74,0.35); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-outline { background: var(--white); border-color: rgba(43,38,32,0.15); color: var(--ink); box-shadow: var(--shadow); }
.btn-outline:hover { border-color: var(--sky-dark); color: var(--sky-dark); }

.hero-art { display: flex; justify-content: center; }
.sunburst { width: 100%; max-width: 340px; animation: spin 60s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sunburst { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Sections ===== */
.section { padding: 64px 24px; }
.section-alt { background: rgba(62, 198, 224, 0.08); }
.section-eyebrow {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--sky-dark);
  letter-spacing: 0.03em;
  margin: 0 0 6px;
  text-align: center;
}
.eyebrow-help { color: var(--leaf-dark); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  margin: 0 0 12px;
  font-weight: 700;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 36px;
}

/* ===== Today's pick card ===== */
.pick-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.pick-badge {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}
.pick-name { font-size: 1.3rem; margin: 0 0 8px; font-weight: 700; }
.pick-tagline { color: var(--ink-soft); margin: 0 0 18px; }
.pick-link {
  display: inline-block;
  font-weight: 700;
  background: var(--sun);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}
.pick-link:hover { background: var(--sun-dark); }

/* ===== Quote card ===== */
.quote-card {
  max-width: 640px;
  margin: 0 auto 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px 36px;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: 'Baloo 2', sans-serif;
  font-size: 3.2rem;
  color: var(--sun);
  line-height: 0.5;
  display: block;
  margin-bottom: 12px;
}
.quote-text { font-size: 1.3rem; font-weight: 600; margin: 0 0 14px; }
.quote-author { color: var(--ink-soft); font-weight: 600; }
.shuffle-btn { display: block; margin: 0 auto; }

/* ===== Creator grid ===== */
.creator-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.creator-card {
  flex: 1 1 240px;
  max-width: 280px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease;
}
.creator-card:hover { transform: translateY(-4px); }
.creator-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--white);
}
.creator-card h3 { margin: 0; font-size: 1.05rem; }
.creator-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* badge color variants */
.bg-sun { background: var(--sun-dark); }
.bg-coral { background: var(--coral); }
.bg-sky { background: var(--sky-dark); }
.bg-leaf { background: var(--leaf); }

/* ===== Help section ===== */
.section-help { background: rgba(76, 175, 125, 0.08); }
.help-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}
.help-card {
  flex: 1 1 250px;
  max-width: 320px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  border-top: 4px solid var(--leaf);
}
.help-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.help-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.92rem; }
.help-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--leaf-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--leaf);
}
.help-link:hover { color: var(--ink); border-color: var(--ink); }
.help-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
  padding: 36px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-inner p { margin: 4px 0; }
.footer-copyright { font-size: 0.8rem; color: var(--ink-soft); opacity: 0.8; margin-top: 10px !important; }

/* ===== Responsive ===== */

/* Tablet and below */
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; }
  .hero-art { order: -1; max-width: 200px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .site-nav { font-size: 0.9rem; }
  .pick-card { flex-direction: column; align-items: center; text-align: center; }
  .section { padding: 48px 20px; }
}

/* Small phones */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .header-inner { justify-content: center; text-align: center; }
  .logo { font-size: 1rem; }
  .site-nav { width: 100%; justify-content: center; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-art { max-width: 160px; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 1.5rem; }
  .pick-card, .quote-card { padding: 24px 20px; }
  .pick-badge { width: 60px; height: 60px; font-size: 1.2rem; }
  .quote-text { font-size: 1.05rem; }
  .creator-card { flex-basis: 100%; max-width: 100%; }
  .help-card { flex-basis: 100%; max-width: 100%; }
  .shuffle-btn { width: 100%; }
}

/* Extra-safe minimum tap target for all interactive elements on touch devices */
@media (hover: none) and (pointer: coarse) {
  .creator-card, .help-link, .pick-link { min-height: 44px; }
}

/* ===== Accessibility ===== */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sky-dark);
  outline-offset: 2px;
}
