/* ============================================
   Cobalt Creek Creative — Pre-launch Landing Page
   Design tokens (colors sampled directly from logo)
   ============================================ */

:root {
  /* Color, sampled from the logo */
  --green-dark: #3b6e11;
  --green-light: #96c458;
  --blue-dark: #195fa5;
  --blue-light: #85b7ea;
  --navy: #0d4276;
  --blue-mid: #3a88da;

  /* Supporting neutrals, warm rather than stark */
  --bg: #fdfbf6;
  --bg-card: #ffffff;
  --text: #2c2c28;
  --text-dim: #6b6b62;
  --border: #e8e3d6;

  /* Layout */
  --max-width: 1100px;
  --gutter: 1.5rem;
  --radius: 14px;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }

p {
  color: var(--text-dim);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  padding: 1.75rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header img {
  height: 40px;
  width: auto;
}

.site-header .wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
}

.site-header .wordmark span {
  color: var(--blue-mid);
  font-weight: 400;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero-logo {
  width: 140px;
  margin: 0 auto 2rem;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(133, 183, 234, 0.18);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero p.lede {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--text-dim);
}

/* ============================================
   Signup form
   ============================================ */

.signup-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 12px 32px -16px rgba(13, 66, 118, 0.15);
}

.signup-card h3 {
  margin-bottom: 0.5rem;
}

.signup-card p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.signup-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
}

.signup-form input[type="email"]::placeholder {
  color: #a8a294;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--blue-dark);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.signup-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.9rem;
}

/* ============================================
   Wave divider (signature motif)
   ============================================ */

.wave-divider {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 auto;
}

/* ============================================
   What we make section
   ============================================ */

.section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 760px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
}

.category-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.category-card h3 {
  margin-bottom: 0.6rem;
}

.category-card p {
  font-size: 0.92rem;
}

.icon-kids { background: rgba(150, 196, 88, 0.22); }
.icon-home { background: rgba(133, 183, 234, 0.25); }
.icon-planners { background: rgba(25, 95, 165, 0.14); }

/* ============================================
   First product spotlight
   ============================================ */

.spotlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.spotlight-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(150, 196, 88, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.spotlight-visual {
  background: linear-gradient(160deg, rgba(133,183,234,0.25), rgba(150,196,88,0.18));
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spotlight-visual img {
  max-height: 100%;
  width: auto;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer img {
  height: 32px;
  margin: 0 auto 1rem;
}

.site-footer p {
  font-size: 0.85rem;
}

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
