/* PartyForge Kits — coral orange identity (12-site color law).
   Tokens: coral #FF6B4A primary, deep coral for text-safe accents, peach ground.
   Body type: Atkinson Hyperlegible (designed for low-vision readers — the
   LS2030 audience). Headings: Lexend. No third-party CSS or JS frameworks. */

:root {
  --coral: #FF6B4A;
  --coral-deep: #C93A1D;
  --coral-ink: #9C2B10;
  --coral-soft: #FFE3D6;
  --cream: #FFF7F0;
  --paper: #FFFFFF;
  --ink: #33231C;
  --ink-soft: #6B5546;
  --line: #F2C9B4;
  --good: #2F7D3B;
  --radius-md: 16px;
  --radius-lg: 22px;
  --soft-shadow: 0 10px 30px rgba(156, 43, 16, .13);
  --lift-shadow: 0 16px 40px rgba(156, 43, 16, .19);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #FFF7F0;
  background-image:
    radial-gradient(circle at 10% 16%, rgba(255,107,74,.18) 0 90px, transparent 92px),
    radial-gradient(circle at 90% 6%, rgba(255,176,32,.20) 0 130px, transparent 132px),
    radial-gradient(circle at 82% 58%, rgba(255,107,74,.12) 0 170px, transparent 172px),
    radial-gradient(circle at 6% 82%, rgba(255,140,66,.14) 0 120px, transparent 122px),
    radial-gradient(circle at 45% 38%, rgba(255,205,150,.20) 0 200px, transparent 202px),
    linear-gradient(180deg, #FFEFE2 0%, #FFF7F0 45%, #FFE7D2 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Lexend", "Atkinson Hyperlegible", sans-serif;
  line-height: 1.18;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--coral-ink); }
img, svg { max-width: 100%; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 247, 240, .92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px;
}
.wordmark {
  margin: 0; font-family: "Lexend", sans-serif; font-weight: 800;
  font-size: 1.35rem; color: var(--ink); white-space: nowrap;
}
.wordmark span { color: var(--coral-deep); }
.wordmark .wordmark-kits {
  color: #fff; background: var(--coral-deep); border-radius: 8px;
  padding: 1px 8px 2px; font-size: .92em;
}
.wordmark-sm { font-size: 1.1rem; }
.nav-list {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center;
}
.nav-list a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; font-size: .98rem;
}
.nav-list a:hover { background: var(--coral-soft); }
.nav-list a.nav-cta {
  background: var(--coral); color: var(--ink);
  box-shadow: 0 3px 0 var(--coral-deep);
}
.nav-list a.nav-cta:hover { background: #FF8266; }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-block; font-family: "Lexend", sans-serif; font-weight: 700;
  font-size: 1rem; line-height: 1.25; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--paper);
  border: 2px solid var(--coral-deep); border-radius: 999px;
  padding: 12px 22px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.btn-primary { background: var(--coral); border-color: var(--coral-deep); box-shadow: 0 4px 0 var(--coral-deep); }
.btn-primary:hover { background: #FF8266; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

input[type="email"], input[type="text"], select {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
input[type="email"]:focus, input[type="text"]:focus, select:focus {
  outline: 3px solid var(--coral); outline-offset: 1px; border-color: var(--coral-deep);
}
input[aria-invalid="true"] { border-color: #B3261E; }

.micro { font-size: .9rem; color: var(--ink-soft); }
.form-msg { min-height: 1.4em; font-weight: 700; margin: 10px 0 0; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: #B3261E; }

/* ---------- hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero-banner {
  margin: 0; position: relative; line-height: 0;
  border-bottom: 5px solid var(--coral);
}
.hero-scene { width: 100%; height: clamp(300px, 56vh, 560px); display: block; }
.hero-banner .sticker {
  position: absolute; right: 22px; bottom: 20px; line-height: 1.3;
  background: var(--paper); color: var(--ink); font-family: "Lexend", sans-serif;
  font-weight: 700; font-size: .95rem; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--coral-deep); transform: rotate(-3deg);
  box-shadow: var(--soft-shadow);
}
.hero-inner { padding: 40px 20px 8px; text-align: center; }
.hero-copy { max-width: 46rem; margin: 0 auto; }
.eyebrow {
  font-family: "Lexend", sans-serif; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; font-size: .85rem; color: var(--coral-ink); margin-bottom: 14px;
}
.hero .hl {
  background: linear-gradient(transparent 62%, var(--coral) 62%, var(--coral) 94%, transparent 94%);
  padding: 0 .08em;
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 40rem; margin: 0 auto 22px; }
.hero-form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px;
}
.hero-form input[type="email"] { min-width: min(320px, 100%); flex: 0 1 320px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt {
  background-color: #FFE9DC;
  background-image:
    radial-gradient(rgba(201,58,29,.13) 2.2px, transparent 2.4px),
    radial-gradient(rgba(255,140,66,.16) 2.2px, transparent 2.4px),
    linear-gradient(180deg, #FFE9DC, #FFDFCB);
  background-size: 26px 26px, 26px 26px, 100% 100%;
  background-position: 0 0, 13px 13px, 0 0;
}
.section h2 { text-align: center; }
.section-sub {
  text-align: center; color: var(--ink-soft); max-width: 42rem;
  margin: 0 auto 34px; font-size: 1.08rem;
}

/* kit card */
.kit-card {
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: stretch;
  background: linear-gradient(180deg, #FFFFFF, #FFF3E9); border: 2px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow); padding: 30px; max-width: 60rem; margin: 0 auto;
}
.kit-kicker {
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 8px;
}
.kit-list { margin: 0 0 20px; padding-left: 1.3rem; }
.kit-list li { margin: .35rem 0; }
.kit-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.kit-peek {
  background: var(--cream); border: 2px dashed var(--coral-deep); border-radius: var(--radius-md);
  padding: 20px 22px; font-family: "Lexend", sans-serif; align-self: center;
  transform: rotate(1.2deg);
}
.peek-title { font-weight: 800; letter-spacing: .04em; margin-bottom: 12px; color: var(--ink); }
.peek-row { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 12px; }
.peek-line { flex: 1; border-bottom: 3px dotted #DFA98F; height: 1px; }
.peek-foot { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); font-family: "Atkinson Hyperlegible", sans-serif; }

/* steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: linear-gradient(180deg, #FFFFFF, #FFF3E9); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--soft-shadow); position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--coral-deep);
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px;
}
.step p { color: var(--ink-soft); margin: 0; }

/* rules */
.rules {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.rule {
  background: linear-gradient(180deg, #FFFFFF, #FFF3E9); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--soft-shadow);
}
.rule h3 { color: var(--coral-ink); }
.rule p { color: var(--ink-soft); margin: 0; }

/* privacy box */
.privacy-box {
  max-width: 46rem; margin: 0 auto; background: linear-gradient(180deg, #FFFFFF, #FFF3E9);
  border: 2px solid var(--line); border-left: 8px solid var(--coral);
  border-radius: var(--radius-md); padding: 24px 26px; box-shadow: var(--soft-shadow);
}
.privacy-box p { margin: 0; }

/* faq */
.faq-list { max-width: 46rem; margin: 0 auto; }
.faq-list details {
  background: linear-gradient(180deg, #FFFFFF, #FFF3E9); border: 2px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq-list summary {
  font-family: "Lexend", sans-serif; font-weight: 700; cursor: pointer; font-size: 1.05rem;
}
.faq-list details p { margin: 10px 0 2px; color: var(--ink-soft); }

/* waitlist */
.waitlist-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.status-note {
  background: var(--paper); border: 2px dashed var(--coral-deep); border-radius: var(--radius-md);
  padding: 16px 18px; text-align: left; font-size: .98rem; margin-bottom: 22px;
}
.waitlist-form { text-align: left; }
.waitlist-form .field { margin-bottom: 14px; }
.waitlist-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.waitlist-form input { width: 100%; }
.waitlist-form .micro { text-align: center; }

/* ---------- kit index page (kit.html) ---------- */
.piece-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 60rem; margin: 0 auto;
}
.piece {
  background: linear-gradient(180deg, #FFFFFF, #FFF3E9); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--soft-shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.piece h3 { margin: 0; }
.piece .piece-meta {
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: .85rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--coral-ink); margin: 0;
}
.piece p { color: var(--ink-soft); margin: 0 0 10px; }
.piece .btn { margin-top: auto; align-self: flex-start; }
.host-box {
  max-width: 60rem; margin: 26px auto 0; background: var(--paper);
  border: 2px solid var(--line); border-left: 8px solid var(--coral);
  border-radius: var(--radius-md); padding: 24px 26px; box-shadow: var(--soft-shadow);
}
.host-box p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--cream); border-top: 2px solid var(--line);
  padding: 36px 0 30px; text-align: center;
}
.site-footer .trust { max-width: 40rem; margin: 8px auto 10px; color: var(--ink-soft); }
.site-footer .micro { margin: 2px 0; }

/* ---------- motion (W-18): float, hover, scroll reveal — no JS library ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
}
.hero-banner .sticker { animation: floaty 5s ease-in-out infinite; }
.step, .rule, .piece { transition: transform .18s ease, box-shadow .18s ease; }
.step:hover, .rule:hover, .piece:hover { transform: translateY(-4px); box-shadow: var(--lift-shadow); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-banner .sticker { animation: none; }
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .step:hover, .rule:hover, .piece:hover, .btn:hover { transform: none; }
}

/* ---------- responsive (W-16) ---------- */
@media (max-width: 760px) {
  .wordmark { font-size: 1.08rem; }
  .nav-list a.nav-cta { white-space: nowrap; padding: 8px 11px; font-size: .92rem; }
  .kit-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .piece-grid { grid-template-columns: 1fr; }
  .nav-list li:not(:last-child) { display: none; }
  .section { padding: 48px 0; }
  .hero-inner { padding-top: 30px; }
  .hero-scene { height: 300px; }
  .hero-banner .sticker { right: 12px; bottom: 12px; font-size: .85rem; }
}
