/* Fluid Art Kids brand tokens (brand kit, Oct 2026). Small text is always ink on cream. */
:root {
  --ink: #024853;
  --aqua: #02A3AB;
  --orange: #FA7623;
  --cream: #F6EFE5;
  --paper: #FCF8F2;
  --line: #E6DCCD;
  --radius: 24px;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Rubik", system-ui, sans-serif;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; position: relative; }
.band { background: var(--paper); }
.center { text-align: center; }
.sub { max-width: 60ch; margin: 0 auto 2rem; }
.eyebrow { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; margin-bottom: .75rem; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 32px; height: 4px; border-radius: 4px; background: var(--orange); }
.center .eyebrow { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 239, 229, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.logo img { width: 120px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a:not(.button) { font-weight: 700; text-decoration: none; }
.nav a:not(.button):hover { text-decoration: underline; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .logo img { width: 100px; } }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.6rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--cream); font: 700 1rem "Rubik", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.button:hover { background: var(--cream); color: var(--ink); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: var(--cream); }
.button-sm { min-height: 44px; padding: .5rem 1.2rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.center .actions { justify-content: center; }

/* hero: full banner, never cropped. On phones the isolated logo sits above live text. */
.hero { padding: 0; }
.hero-banner { width: 100%; }
.hero-banner img { width: 100%; height: auto; }
.hero-mobile { display: none; padding: 32px 0 8px; }
.hero-mobile img { width: min(260px, 70%); margin: 0 auto 8px; }
.hero-copy { padding: 40px 0 72px; text-align: center; }
.hero-copy .lead { font-size: 1.25rem; max-width: 46ch; margin: 0 auto 1.5rem; }
@media (max-width: 720px) {
  .hero-banner { display: none; }
  .hero-mobile { display: block; }
  .hero-copy { padding: 8px 0 56px; }
}

/* cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 32px; }
.band .card { background: var(--cream); }
section:not(.band) .card { background: var(--paper); }
.card p:last-child { margin-bottom: 0; }

/* kits */
.kit-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.kit-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--aqua); opacity: .9; }
.kit-card.alt::after { background: var(--orange); }
.kit-card > * { position: relative; z-index: 1; }
.price { font-size: 2.75rem; font-weight: 700; line-height: 1; margin: 4px 0 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding: 8px 0 8px 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--aqua); }
.checks li:nth-child(even)::before { background: var(--orange); }
.kit-card .button { margin-top: auto; align-self: flex-start; }

/* market menu */
.menu { max-width: 720px; margin: 0 auto; }
.menu-group { margin-bottom: 32px; }
.menu-group h3 { display: flex; align-items: center; gap: 14px; }
.menu-group h3::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: var(--orange); }
.menu-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-row span:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
.menu-row small { display: block; font-weight: 400; font-size: .875rem; }

/* steps */
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--aqua); color: var(--ink); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 16px; }
.step-num.o { background: var(--orange); }
.step-num.i { background: var(--ink); color: var(--cream); }

/* story */
.story { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.story img { width: 100%; }
.story blockquote { margin: 0; font-size: 1.125rem; }
.story .by { font-weight: 700; }
@media (max-width: 720px) { .story { grid-template-columns: 1fr; gap: 24px; } .story img { width: 140px; } }

/* decorative edge blobs (brand: large rounded fluid forms at section edges) */
.deco { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; }
.deco-a { width: 220px; height: 220px; background: var(--aqua); left: -110px; top: 40px; }
.deco-o { width: 180px; height: 180px; background: var(--orange); right: -90px; bottom: 40px; }
section > .wrap { position: relative; z-index: 1; }
@media (max-width: 720px) { .deco { display: none; } }

/* forms */
.form-card { max-width: 600px; margin: 0 auto; }
form label { display: block; font-weight: 700; margin: 16px 0 6px; }
form input, form select, form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; font: inherit; background: #fff; color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
form .button { width: 100%; margin-top: 24px; }
.form-msg { margin-top: 14px; font-weight: 700; min-height: 1.4em; }
.form-msg.err { color: #9b1c1c; }
.fine { font-size: .875rem; margin-top: 10px; }

/* how-to page */
.page-hero { padding: 56px 0 32px; }
.page-hero .lead { font-size: 1.25rem; max-width: 52ch; }
.download { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-top: 24px; position: relative; overflow: hidden; }
.download::before { content: ""; position: absolute; left: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--orange); }
.download > * { position: relative; }
.download p { margin: 0; padding-left: 40px; }
.guide-steps { counter-reset: s; display: grid; gap: 16px; }
.gstep { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.gstep::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; background: var(--aqua); color: var(--ink); font-weight: 700; font-size: 1.35rem; display: grid; place-items: center; }
.gstep:nth-child(3n+2)::before { background: var(--orange); }
.gstep:nth-child(3n)::before { background: var(--ink); color: var(--cream); }
.gstep p:last-child, .gstep ul:last-child { margin-bottom: 0; }
.gstep ul { padding-left: 20px; margin: 0 0 1em; }
.gstep li { margin: 6px 0; }
.chapter { margin: 48px 0 16px; }
.chapter:first-child { margin-top: 0; }
.note { background: var(--paper); border-left: 6px solid var(--orange); border-radius: 12px; padding: 12px 16px; margin-top: 10px; }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* footer */
footer { padding: 48px 0; background: var(--ink); color: var(--cream); }
footer a { color: var(--cream); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer .tag { font-weight: 700; font-size: 1.125rem; }
