:root {
  --cream: #faf8f3;
  --cream-dark: #f2ede2;
  --ink: #1d2547;
  --ink-soft: #4d5578;
  --accent: #f2662a;
  --accent-dark: #d34e14;
  --blue: #2f9fd8;
  --yellow: #f7c948;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 37, 71, 0.10);
  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29,37,71,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  border: none; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242,102,42,0.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(29,37,71,0.20); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 14px; background: var(--ink); color: #fff; }
.btn-small:hover { background: #10162e; }
.btn-block { display: block; width: 100%; margin-top: 6px; }

/* Hero */
.hero { padding: 70px 0 70px; position: relative; overflow: hidden; }
.hero-inner { max-width: 720px; position: relative; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 600;
  background: #fdf3d7; border: 1px solid rgba(247,201,72,0.55);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; color: var(--ink);
}
.hero h1 { font-size: clamp(48px, 8vw, 84px); font-weight: 700; margin-bottom: 20px; }
.hero h1 .hl-blue { color: var(--blue); }
.hero h1 .hl-orange { color: var(--accent); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.paint-dots { display: flex; gap: 8px; margin-left: 6px; }
.paint-dots span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.paint-dots .d1 { background: var(--yellow); }
.paint-dots .d2 { background: var(--blue); }
.paint-dots .d3 { background: var(--accent); }

/* Shop */
.shop { padding: 30px 0 80px; }
.shop h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 36px; max-width: 640px; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  position: relative; background: var(--card);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column;
  border-top: 5px solid var(--accent);
}
.card:nth-child(2) { border-top-color: var(--blue); }
.card:nth-child(3) { border-top-color: var(--yellow); }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(29,37,71,0.16); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.card-img-link { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-dark); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tag { font-size: 13px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.card:nth-child(2) .card-tag { color: var(--accent-dark); }
.card-body h3 { font-size: 23px; }
.card-blurb { color: var(--ink-soft); font-size: 15px; flex: 1; }
.card-meta { font-size: 16px; margin: 4px 0 8px; }
.card-meta span { color: var(--ink-soft); font-size: 14px; }

.coming-soon {
  text-align: center; margin-top: 44px; color: var(--ink); font-size: 16px; font-weight: 500;
  background: #fdf3d7; border: 1px solid rgba(247,201,72,0.5); border-radius: var(--radius); padding: 20px;
}

/* About */
.about { background: var(--ink); color: var(--cream); padding: 80px 0; }
.about h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 16px;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--yellow); color: var(--ink); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: rgba(250,248,243,0.72); font-size: 15px; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid rgba(29,37,71,0.08); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-note, .copyright { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 44px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* About page */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.story { padding: 10px 0 80px; }
.story-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}
.story-text h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.story-text p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.story-text p strong { color: var(--ink); }
.story-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px; text-align: center;
  border-top: 5px solid var(--yellow);
  position: sticky; top: 100px;
}
.story-card img { width: 100%; max-width: 260px; height: auto; }
.story-card-cap { color: var(--ink-soft); font-size: 14px; margin-top: 16px; }

.how-business { background: var(--ink); color: var(--cream); padding: 80px 0; }
.how-business h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 36px; }

.values { padding: 80px 0; }
.values h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 32px; }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-bottom: 56px;
}
.value-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.value-card:nth-child(1) { border-top: 5px solid var(--accent); }
.value-card:nth-child(2) { border-top: 5px solid var(--blue); }
.value-card:nth-child(3) { border-top: 5px solid var(--yellow); }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 15px; }

.about-cta { text-align: center; }
.about-cta p { font-family: var(--font-head); font-size: 22px; font-weight: 500; margin-bottom: 18px; }

@media (max-width: 760px) {
  .story-inner { grid-template-columns: 1fr; }
  .story-card { position: static; }
}

/* Product pages */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--accent); }

.product-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding: 28px 0 72px; align-items: start;
}
.product-hero img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.product-tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin: 0 0 10px;
}
.product-info h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; margin: 0 0 14px; }
.product-price { font-size: 20px; margin: 18px 0 22px; }
.product-price span { color: var(--ink-soft); font-size: 15px; font-weight: 400; }
.btn-large { padding: 14px 34px; font-size: 16px; }
.secure-note { color: var(--ink-soft); font-size: 13px; margin: 12px 0 0; }
.kid-note {
  margin-top: 18px; font-size: 14px; background: var(--card);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow);
  display: inline-block;
}
.kid-note a { color: var(--accent); font-weight: 600; }

.product-details { padding: 0 0 72px; }
.product-details h2, .related h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 24px; }
.details-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.detail-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.detail-card h3 { font-size: 18px; margin: 0 0 8px; }
.detail-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.related { padding-bottom: 80px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
}

/* Email signup modal */
.coming-soon-line { font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.loop-sub { color: var(--ink-soft); font-size: 14px; margin-top: 14px; }

.signup-modal {
  border: none; padding: 0;
  border-radius: var(--radius);
  width: calc(100% - 48px); max-width: 760px;
  box-shadow: 0 30px 80px rgba(29, 37, 71, 0.35);
  color: var(--ink);
}
.signup-modal::backdrop {
  background: rgba(29, 37, 71, 0.55);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: var(--cream);
  padding: 40px 36px 32px;
}
.modal-card h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 8px; padding-right: 40px; }
.modal-sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 6px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(29, 37, 71, 0.15);
  background: var(--card); color: var(--ink);
  font-size: 16px; cursor: pointer; line-height: 1;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.modal-close:hover { border-color: var(--ink); transform: scale(1.06); }
.signup-panels {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 24px;
}
.signup-panel {
  background: var(--card); border-radius: 14px;
  box-shadow: var(--shadow); padding: 24px 22px;
  border-top: 5px solid var(--accent);
}
.signup-panel:nth-child(2) { border-top-color: var(--blue); }
.signup-panel h3 { font-size: 20px; margin-bottom: 10px; }
.signup-panel p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.signup-panel .formkit-form { max-width: 100% !important; }
.modal-fine {
  text-align: center; color: var(--ink-soft);
  font-size: 13px; margin-top: 24px;
}

@media (max-width: 640px) {
  .signup-panels { grid-template-columns: 1fr; }
  .modal-card { padding: 32px 22px 26px; }
}
