/* ==========================================================================
   tallow. — styles
   Brand: General Sans Bold (headings), system sans (body)
   ========================================================================== */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Bold.woff2") format("woff2"),
       url("../fonts/GeneralSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #BEE3F5;
  --blue-deep: #8FCBEA;
  --pink: #FCC3C3;
  --pink-deep: #F49E9E;
  --yellow: #FFF1B8;
  --mint: #CDEFDD;
  --lavender: #E2DAF7;
  --cream: #FFFBF6;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-soft: #3C3C3C;
  --muted: #5F5F5F;
  --line: rgba(17,17,17,.12);
  --error: #B42318;

  --font-head: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px -24px rgba(17,17,17,.25);
  --container: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .footer-title { font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-family: var(--font-head); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-soft); }
.placeholder { background: var(--yellow); border: 1px dashed rgba(17,17,17,.35); padding: 1px 8px; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; white-space: nowrap; }

/* ---------- Wordmark: live text + bull PNG as the full stop ---------- */
.wordmark { display: inline-flex; align-items: flex-end; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.045em; line-height: .8; white-space: nowrap; }
.wordmark__text { display: block; }
.wordmark picture { display: block; }
.wordmark__bull { width: .78em; height: auto; margin-left: .05em; margin-bottom: .005em; }
.wordmark--sm { font-size: 2rem; }
.wordmark--md { font-size: 3rem; }
.wordmark--xl { font-size: clamp(5.2rem, 22vw, 12rem); margin: 0 0 .18em; text-shadow: 0 2px 30px rgba(120,170,200,.25); }
.wordmark--xl .wordmark__bull { filter: drop-shadow(0 2px 16px rgba(120,170,200,.3)); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(17,17,17,.45); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: rgba(255,255,255,.55); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(190,227,245,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(17,17,17,.4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .site-nav { display: block; } }

/* ---------- Blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85; pointer-events: none; z-index: 0; }
.blob--pink { width: 520px; height: 520px; background: var(--pink); right: -160px; bottom: -140px; }
.blob--yellow { width: 340px; height: 340px; background: var(--yellow); left: -120px; top: -80px; opacity: .9; }
.blob--lavender { width: 300px; height: 300px; background: var(--lavender); right: 30%; top: 10%; opacity: .6; }
.blob--blue { width: 420px; height: 420px; background: var(--blue); left: -140px; top: -120px; }
.blob--mint { width: 360px; height: 360px; background: var(--mint); right: -120px; bottom: -100px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 36px) 0 64px; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 28px; text-align: center; justify-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-tagline { font-family: var(--font-head); font-size: clamp(1.35rem, 4.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: .45em; max-width: 22ch; }
.hero-sub { color: var(--ink-soft); max-width: 34ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--ink-soft); }
.hero-media { position: relative; width: min(78vw, 320px); margin-top: 8px; }
.halo { position: absolute; inset: 8% -18% -4%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); z-index: -1; }
.photo { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.photo--hero { box-shadow: 0 40px 80px -30px rgba(40,90,130,.45); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; width: 84px; height: 84px; border-radius: 50%; font-family: var(--font-head); font-size: .85rem; line-height: 1.05; letter-spacing: -0.01em; transform: rotate(12deg); box-shadow: var(--shadow); }
.sticker--pink { background: var(--pink); right: -18px; top: -18px; z-index: 2; }

@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 72px) 0 110px; min-height: 92vh; display: flex; align-items: center; }
  .hero-inner { grid-template-columns: 1.25fr .75fr; text-align: left; justify-items: start; align-items: center; gap: 40px; }
  .hero-copy { align-items: flex-start; }
  .hero-actions { justify-content: flex-start; }
  .hero-media { width: 420px; justify-self: center; }
  .sticker { width: 124px; height: 124px; font-size: 1.1rem; right: -44px; top: -30px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--pink); overflow: hidden; border-block: 1px solid rgba(17,17,17,.08); }
.marquee__track { display: flex; gap: 28px; width: max-content; padding: 16px 0; font-family: var(--font-head); font-size: clamp(1rem, 2.6vw, 1.35rem); letter-spacing: -0.01em; white-space: nowrap; animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 84px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* Product */
.product { background: var(--cream); }
.product-grid { display: grid; gap: 44px; align-items: center; }
.product-media { position: relative; border-radius: var(--radius); }
.product-media .photo { box-shadow: var(--shadow); }
.product-for { font-family: var(--font-head); font-size: 1.2rem; margin-top: -.2em; color: var(--ink-soft); }
.chips { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.chip--blue { background: var(--blue); } .chip--pink { background: var(--pink); } .chip--yellow { background: var(--yellow); } .chip--mint { background: var(--mint); }
.specs { margin: 0 0 30px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-head); }
.specs dd { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* Why */
.why { background: var(--white); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.benefit { border-radius: var(--radius); padding: 30px 26px 28px; transition: transform .3s ease; }
.benefit:hover { transform: translateY(-4px); }
.benefit p { margin: 0; color: var(--ink-soft); }
.benefit__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.7); margin-bottom: 18px; }
.benefit--yellow { background: var(--yellow); } .benefit--mint { background: var(--mint); } .benefit--lavender { background: var(--lavender); } .benefit--pink { background: var(--pink); }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .benefits { grid-template-columns: repeat(4, 1fr); } .benefit { min-height: 300px; } }

/* How */
.how { background: var(--cream); }
.steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step p { margin: 0; color: var(--ink-soft); }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 18px; }
.step:nth-child(2) .step__num { background: var(--pink); }
.step:nth-child(3) .step__num { background: var(--yellow); }
.fine-print { max-width: 720px; margin: 0 auto; text-align: center; font-size: .9rem; color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Story */
.story { background: var(--lavender); overflow: hidden; }
.story-grid { display: grid; gap: 44px; align-items: center; }
.story-card { position: relative; background: var(--pink); border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); overflow: hidden; max-width: 440px; margin: 0 auto; box-shadow: var(--shadow); }
.story-card .photo { border-radius: 0; }
.signature { font-family: var(--font-head); font-size: 1.15rem; margin-top: 1.4em; }
@media (min-width: 900px) { .story-grid { grid-template-columns: .9fr 1.1fr; gap: 90px; } }

/* FAQ */
.faq { background: var(--white); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item[open] { background: #FFF6F6; border-color: var(--pink-deep); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-body p { margin: 0; }

/* Pre-order */
.preorder { background: var(--pink); overflow: hidden; }
.preorder-grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: start; }
.preorder-copy .lead { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.preorder-photo { margin: 32px 0 0; max-width: 260px; }
.preorder-photo .photo { box-shadow: var(--shadow); transform: rotate(-3deg); }
@media (max-width: 899px) { .preorder-photo { display: none; } }
.ticks li { position: relative; padding-left: 36px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .preorder-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } .preorder-copy { padding-top: 24px; } .form-card { padding: 40px; } }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1.3fr 1fr; } }
label { font-weight: 600; font-size: .95rem; }
.req { color: var(--pink-deep); }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid rgba(17,17,17,.2); border-radius: 14px; background: var(--cream); font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #FFF5F4; }
.field-error { margin: 0; min-height: 0; color: var(--error); font-size: .88rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { margin: 0; font-size: .82rem; color: var(--muted); }
.qty { display: grid; grid-template-columns: 52px 1fr 52px; gap: 6px; }
.qty input { text-align: center; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { min-height: 52px; border-radius: 14px; border: 1.5px solid rgba(17,17,17,.2); background: var(--blue); font-size: 1.4rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.qty__btn:hover { background: var(--blue-deep); }
.field--check { grid-template-columns: 26px 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--ink-soft); }
.field--check .field-error { grid-column: 2; }
.form-error-summary { background: #FFF0EE; border: 1.5px solid var(--error); color: var(--error); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: .95rem; }
.form-error-summary ul { margin: 6px 0 0; padding-left: 20px; font-weight: 400; }
.form-error-summary a { color: inherit; }
.form-foot { margin: 0; text-align: center; font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 16px 4px; }
.form-success:focus { outline: none; }
.success-bull { width: 120px; margin: 0 auto 18px; background: var(--blue); border-radius: 50%; padding: 26px 18px; box-sizing: content-box; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.form-success p { color: var(--ink-soft); }
.demo-note { font-size: .85rem; background: var(--yellow); border-radius: 12px; padding: 10px 14px; }

/* Footer */
.site-footer { background: var(--ink); color: #f2f2f2; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { color: #bdbdbd; margin-top: 16px; max-width: 30ch; }
.footer-title { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: #f2f2f2; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #9b9b9b; }
.footer-base p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--blue); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Reveal on scroll (progressive enhancement: only hidden once JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Legal pages */
.legal-body { padding-top: 48px; padding-bottom: 96px; }
.legal-body h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal-body .notice { background: var(--yellow); border-radius: var(--radius-sm); padding: 16px 20px; font-weight: 600; }
.page-legal .hero-mini { background: var(--blue); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 30px) 0 40px; }
.page-legal .hero-mini h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 0; }
/* ---------- Mobile compaction ---------- */
@media (max-width: 639px) {
  .benefit { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px; }
  .benefit__icon { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .benefit__icon svg { width: 32px; height: 32px; }
  .benefit h3 { margin-bottom: .3em; align-self: end; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 22px 20px; }
  .step__num { width: 48px; height: 48px; margin: 0; grid-row: span 2; font-size: 1.25rem; }
  .step h3 { margin-bottom: .25em; align-self: end; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
}
