/* ==========================================================================
   Sunblink - "Sunlit sketchbook"
   Tokens, base, layout, header, buttons, claim form, hero
   ========================================================================== */

:root {
  /* colour */
  --paper: #fffbf0;
  --paper-2: #fff4d6;
  --card: #fffefa;
  --ink: #433b36;
  --sun: #feba53;
  --sun-soft: #ffebc9;
  --teal: #8bbabe; /* logo teal, lifted so ink text on it stays above 4.5:1 */
  --teal-soft: #e1efef;
  --orange: #f38e33;
  --orange-ink: #a84f0e;
  --orange-soft: #fde6d2;
  --line: #e9e1cc;
  --muted: #5e5a50;
  --danger: #a3361a;
  --ok: #1f6b3a;

  /* type */
  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Karla", "Segoe UI", "Helvetica Neue", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.3rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1vw, 1.8rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.35rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 4.5vw, 5rem);

  /* spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 5rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* shape */
  --r-sm: 8px;
  --r: 12px;
  --r-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 200ms;

  --wrap: 1180px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0 0 var(--s4);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--s3);
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin: 0 0 var(--s4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.lede {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 56ch;
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--s7);
}

.section-head p:last-child {
  margin-bottom: 0;
}

/* wobbly hand-drawn underline */
.wob {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' width='24' height='10'%3E%3Cpath d='M0 5 Q3 1.5 6 5 T12 5 T18 5 T24 5' fill='none' stroke='%23FEBA53' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 24px 10px;
  padding-bottom: 0.14em;
}

.wob--orange {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' width='24' height='10'%3E%3Cpath d='M0 5 Q3 1.5 6 5 T12 5 T18 5 T24 5' fill='none' stroke='%23F38E33' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* reveal on scroll (only when JS is running) */
html.js [data-reveal] {
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font: 700 var(--fs-base) / 1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}

.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 3px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: none;
}

.btn--primary {
  background: var(--sun);
}

.btn--primary:hover {
  background: #ffc774;
}

.btn--sm {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: var(--fs-sm);
}

.btn--static {
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 240, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo { display: block; width: auto; height: 30px; }
.site-footer .brand-logo { height: 38px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s3);
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 700 var(--fs-sm) var(--font-body);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s5) clamp(1.1rem, 4vw, 2rem) var(--s7);
  background: var(--paper);
  overflow-y: auto;
}

.site-nav.is-open {
  display: flex;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
}

.site-nav li a:not(.btn):hover {
  color: var(--orange-ink);
}

.site-nav .btn {
  margin-top: var(--s5);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--s5);
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .site-nav ul {
    flex-direction: row;
    gap: var(--s1);
  }

  .site-nav li a:not(.btn) {
    min-height: 44px;
    padding: 0 0.8rem;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
  }

  .site-nav li a:not(.btn):hover {
    background: var(--sun-soft);
    color: var(--ink);
  }

  .site-nav .btn {
    margin-top: 0;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    font-size: var(--fs-sm);
  }
}

/* ---------- Claim form ---------- */
.claim {
  width: 100%;
  max-width: 34rem;
}

.claim__fields {
  display: grid;
  gap: var(--s3);
}

.claim__field {
  min-width: 0;
}

.handle-box {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-left: var(--s4);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  transition: box-shadow var(--t) var(--ease);
}

.handle-box:focus-within {
  box-shadow: 0 0 0 3px var(--sun);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.handle-box__prefix {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
  color: var(--muted);
  user-select: none;
}

.handle-box input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 var(--s4) 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem) var(--font-body);
}

.handle-box input:focus-visible {
  outline: none;
}

.claim input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 var(--s4);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink);
  font: 500 var(--fs-base) var(--font-body);
}

.claim input[type="email"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--sun);
}

.claim input::placeholder {
  color: #6f6a5d;
  font-weight: 400;
}

.claim input[aria-invalid="true"],
.handle-box:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
}

.claim .btn {
  min-height: 56px;
  width: 100%;
}

.field-error {
  margin: var(--s2) 0 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--danger);
}

.field-error[hidden] {
  display: none;
}

.claim__note {
  margin: var(--s3) 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.claim__status {
  margin: 0;
  font-weight: 700;
  color: var(--ok);
}

.claim__status:not(:empty) {
  margin-top: var(--s3);
  padding: var(--s3) var(--s4);
  background: #e7f5ea;
  border: 2px solid var(--ok);
  border-radius: var(--r);
}

@media (min-width: 560px) {
  .claim__fields {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .claim__field--handle {
    grid-column: 1 / -1;
  }

  .claim .btn {
    width: auto;
    white-space: nowrap;
  }
}

/* wide variant used in the final call-to-action band */
.claim--wide {
  max-width: 52rem;
}

@media (min-width: 960px) {
  .claim--wide .claim__fields {
    grid-template-columns: 1.1fr 1fr auto;
  }

  .claim--wide .claim__field--handle {
    grid-column: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem);
}

.hero__grid {
  display: grid;
  gap: var(--s7);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--s5);
}

.hero .lede {
  margin-bottom: var(--s6);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  margin: var(--s5) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

.hero__facts svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.hero__visual {
  position: relative;
  overflow: clip;
  padding: var(--s3) var(--s3) var(--s6);
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1.02fr 1fr;
    gap: var(--s6);
  }
}

/* ---------- Shared bits ---------- */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.pill--sun { background: var(--sun); }
.pill--ok { background: #dff3e4; border-color: var(--ok); color: #14502a; }
.pill--orange { background: var(--orange-soft); border-color: var(--danger); color: #7a2610; }

.ticks {
  margin: var(--s5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s3);
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--s3);
  align-items: start;
}

.ticks svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
}

/* ---------- Hero mockup ---------- */
.hero__visual > * { position: relative; }
.hero__visual { margin: 0; }
.hero__grid > * { min-width: 0; }

.mock-page {
  max-width: 460px;
  margin-inline: auto;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transform: rotate(-1.2deg);
  box-shadow: 6px 8px 0 var(--ink);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.mock-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-url { margin-left: 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }

.mock-banner svg { width: 100%; height: 118px; }

.mock-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 16px 4px;
  margin-top: -22px;
}

.mock-avatar { width: 48px; height: 48px; background: var(--card); border-radius: 50%; }
.mock-name { margin: 22px 0 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.mock-role { margin: 0; font-size: var(--fs-xs); color: var(--muted); }

.mock-status {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-self: start;
  margin: 8px 0 0;
  padding: 4px 12px 4px 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: var(--sun);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.mock-slots { display: inline-flex; gap: 3px; }
.mock-slots i, .slots-mock__row i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}
.mock-slots i.on, .slots-mock__row i.on { background: var(--ink); }

.mock-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
}

.mock-tier {
  border: 1.5px dashed var(--ink);
  border-radius: var(--r-sm);
  padding: 6px;
  background: var(--paper);
}

.mock-tier svg { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 4px; }
.mock-tier__name { margin: 6px 0 0; font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; }
.mock-tier__price { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }

.mock-addons {
  margin: 0 16px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
}

.mock-addons li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}

.mock-addons li span:last-child { font-weight: 700; }

.mock-cta {
  display: block;
  margin: 14px 16px 16px;
  padding: 11px;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
}

.mock-board {
  width: min(100%, 360px);
  margin: -64px 0 0 auto;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--teal-soft);
  box-shadow: 4px 5px 0 var(--ink);
  transform: rotate(1.8deg);
}

.mock-board__title { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 700; display: flex; justify-content: space-between; }
.mock-board__title span { color: var(--muted); }
.mock-board__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-col__name { margin: 0 0 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.q-card {
  padding: 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--card);
}

.q-card + .q-card { margin-top: 8px; }
.q-card__who { margin: 0; font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; }
.q-card__meta { margin: 0; font-size: 0.72rem; color: var(--muted); line-height: 1.3; }
.q-card__tag {
  display: inline-block;
  margin: 6px 0 0;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--sun);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
}
.q-card__tag--ok { background: #dff3e4; color: #14502a; }
.q-card--tilt-a { transform: rotate(-2deg); }
.q-card--tilt-b { transform: rotate(1.5deg); }
.q-card--tilt-c { transform: rotate(-1deg); }
.q-card--done { opacity: 0.85; }

@media (min-width: 1000px) {
  .mock-board { margin-right: -6px; }
  .mock-page { margin-left: 0; }
}

/* ---------- Before / after ---------- */
.before { background: var(--paper-2); border-block: 1px solid var(--line); }
.before__grid { display: grid; gap: var(--s6); align-items: start; }

.dm {
  max-width: 440px;
  padding: var(--s4);
  border: 2px dashed var(--ink);
  border-radius: var(--r);
  background: var(--card);
  transform: rotate(-1deg);
}

.dm__head { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font-size: var(--fs-sm); font-weight: 700; }
.dm__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.dm__count { margin-left: auto; padding: 0 8px; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; }
.dm__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dm__msg { max-width: 82%; padding: 8px 14px; border-radius: 16px 16px 16px 4px; background: var(--line); font-size: var(--fs-sm); }
.dm__msg--out { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--teal); }
.dm__msg:nth-child(odd):not(.dm__msg--out) { transform: translateX(6px); }

.req {
  max-width: 520px;
  padding: var(--s5);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: 6px 7px 0 var(--ink);
}

.req__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s4); font-family: var(--font-display); font-size: 1.5rem; }
.req__rows { margin: 0; }
.req__rows > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.req__rows dt { color: var(--muted); font-weight: 700; }
.req__rows dd { margin: 0; }
.ref-thumbs { display: flex; gap: 6px; margin-bottom: 6px; }
.ref-thumbs svg { width: 40px; height: 40px; }
.req__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.req__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.req__btn--accept { background: var(--sun); }

@media (min-width: 860px) {
  .before__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s7); }
  .req { justify-self: end; }
}

/* ---------- How ---------- */
.steps {
  display: grid;
  gap: var(--s6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step { position: relative; padding-top: var(--s5); border-top: 2px solid var(--ink); }
.step__n {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--s3);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.step h3 { margin-bottom: var(--s2); }
.step p { margin: 0; color: var(--muted); }
.step:nth-child(even) .step__n { background: var(--teal); }

@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s7); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); } .step:nth-child(2) { margin-top: 28px; } .step:nth-child(4) { margin-top: 28px; } }

/* ---------- Feature deep-dives ---------- */
.feature { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.feature__grid { display: grid; gap: var(--s6); align-items: center; }
.feature__copy { max-width: 36rem; }
.feature__copy h2 { margin-bottom: var(--s4); }
.feature__copy .lede { margin-bottom: 0; }
.feature__art { min-width: 0; }

.feature--slots { background: var(--sun-soft); }
.feature--queue { background: var(--teal-soft); }
.feature--invoices { background: var(--orange-soft); }

@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .feature--flip .feature__copy { order: 2; }
  .feature--queue .feature__grid { grid-template-columns: 0.8fr 1.4fr; }
}

.sketch-frame {
  padding: var(--s4);
  border: 2px dashed var(--ink);
  border-radius: var(--r);
  transform: rotate(1deg);
}

.form-mock, .slots-mock, .preview-mock, .invoice-mock, .board {
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--card);
}

.form-mock { padding: var(--s4); display: grid; gap: var(--s3); }
.form-mock__title { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.form-mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-mock__field { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.form-mock__field span { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.form-mock__field b { font-size: var(--fs-sm); font-weight: 500; }
.form-mock__drop { display: flex; align-items: center; justify-content: center; gap: var(--s2); padding: var(--s4); border: 2px dashed var(--teal); border-radius: var(--r-sm); background: var(--teal-soft); font-size: var(--fs-sm); font-weight: 700; }
.form-mock__drop svg { width: 20px; height: 20px; }
.form-mock__terms { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: var(--fs-sm); }
.tick { width: 18px; height: 18px; flex: none; border: 2px solid var(--ink); border-radius: 4px; background: var(--sun); position: relative; }
.tick::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.slots-mock { padding: var(--s5); }
.slots-mock__head { display: flex; justify-content: space-between; margin: 0 0 var(--s3); font-family: var(--font-display); font-size: 1.3rem; }
.slots-mock__head span { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.slots-mock__row { display: flex; gap: 8px; margin-bottom: var(--s4); }
.slots-mock__row i { width: 26px; height: 26px; }
.slots-mock__state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); font-size: var(--fs-sm); }
.waitlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.waitlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s3); padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 700; }
.waitlist li:first-child { border-color: var(--ink); background: var(--sun-soft); }
.waitlist b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: var(--fs-xs); }
.waitlist span { margin-left: auto; font-weight: 400; color: var(--muted); }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: var(--s3); padding: var(--s3); overflow-x: auto; }
.board__col { padding: 8px; border-radius: var(--r-sm); background: var(--paper-2); min-height: 180px; }
.board__name { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.board__name b { color: var(--ink); }

.preview-mock { overflow: hidden; box-shadow: 6px 7px 0 var(--ink); }
.preview-mock__img { position: relative; }
.preview-mock__img svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.preview-mock__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 2vw, 2.2rem);
  color: rgba(67, 59, 54, 0.28);
  transform: rotate(-18deg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.preview-mock__bar { padding: var(--s3) var(--s4) var(--s4); border-top: 2px solid var(--ink); }
.preview-mock__bar p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s3); font-size: var(--fs-sm); font-weight: 700; }
.preview-mock__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.invoice-mock { padding: var(--s5); max-width: 440px; transform: rotate(1deg); box-shadow: 6px 7px 0 var(--ink); }
.invoice-mock__head { display: flex; justify-content: space-between; margin: 0 0 var(--s3); font-family: var(--font-display); font-size: 1.5rem; }
.invoice-mock__head span { color: var(--muted); }
.invoice-mock__line, .invoice-mock__total { display: flex; justify-content: space-between; gap: var(--s3); padding: 9px 0; border-top: 1px dotted var(--ink); font-size: var(--fs-sm); }
.invoice-mock__total { border-top: 2px solid var(--ink); font-size: var(--fs-base); font-weight: 700; }
.invoice-mock__how { margin: var(--s3) 0 0; font-size: var(--fs-sm); }
.invoice-mock__fee { margin: var(--s3) 0 0; padding: 6px 12px; border-radius: var(--r-sm); background: var(--sun); font-size: var(--fs-sm); }

/* ---------- Made for ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--card);
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.chip b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; }
.chip span { font-size: var(--fs-sm); color: var(--muted); }
.chip:hover { background: var(--sun-soft); transform: rotate(-1deg) translateY(-2px); }
.chip:nth-child(3n+2) { margin-top: 10px; }
.chip:nth-child(3n) { border-style: dashed; }
@media (max-width: 520px) { .chip { width: 100%; border-radius: var(--r); } .chip:nth-child(3n+2) { margin-top: 0; } }

/* ---------- Pricing ---------- */
.billing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s6); font-weight: 700; }
.switch {
  position: relative;
  width: 64px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
}
.switch::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--card);
  transition: background-color var(--t) var(--ease);
}
.switch[aria-checked="true"]::before { background: var(--sun); }
.switch__knob {
  position: absolute;
  top: 12px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform var(--t) var(--ease);
}
.switch[aria-checked="true"] .switch__knob { transform: translateX(32px); }
.billing__label[data-on="true"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.plans { display: grid; gap: var(--s5); max-width: 880px; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s6); border: 2px solid var(--ink); border-radius: var(--r); background: var(--card); }
.plan .ticks { flex: 1; margin-bottom: var(--s5); }
.plan__for { margin: 0; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: var(--s2); margin: var(--s3) 0 var(--s2); }
.plan__amount { font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 3vw, 4rem); line-height: 1; }
.plan__per { color: var(--muted); font-weight: 700; }
.plan__alt { margin: 0 0 var(--s2); color: var(--muted); font-size: var(--fs-sm); }
.plan--studio { background: var(--sun-soft); box-shadow: 6px 7px 0 var(--ink); }
.plan__flag { position: absolute; top: -14px; left: var(--s5); margin: 0; padding: 3px 12px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--sun); font-size: var(--fs-xs); font-weight: 700; transform: rotate(-1.5deg); }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } .plan--studio { transform: translateY(-8px); } }

.zero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin: var(--s8) 0 var(--s4); }
.zero__num { font-family: var(--font-display); font-size: clamp(6rem, 3rem + 16vw, 15rem); line-height: 0.85; color: var(--ink); text-shadow: 6px 6px 0 var(--sun); }
.zero__text { font-family: var(--font-display); font-size: clamp(1.8rem, 1rem + 3.5vw, 3.6rem); line-height: 1.05; }
.zero__text em { font-style: normal; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' width='24' height='10'%3E%3Cpath d='M0 5 Q3 1.5 6 5 T12 5 T18 5 T24 5' fill='none' stroke='%23F38E33' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: 0 100%; background-size: 24px 10px; padding-bottom: 0.14em; }
.zero__note { max-width: 52ch; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: var(--s6); }
.faq .section-head { margin-bottom: 0; }
.faq__list { display: grid; gap: var(--s3); }
details { border: 2px solid var(--ink); border-radius: var(--r); background: var(--card); }
summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 56px 12px var(--s4);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before, summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 16px;
  height: 2.5px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t) var(--ease);
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
summary:hover { background: var(--sun-soft); border-radius: 10px; }
details p { margin: 0; padding: 0 var(--s4) var(--s4); color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.7fr 1.3fr; gap: var(--s7); } .faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* ---------- Final CTA ---------- */
.cta__band { position: relative; overflow: clip; padding: clamp(2rem, 1rem + 5vw, 5rem); border: 2px solid var(--ink); border-radius: var(--r); background: var(--sun); box-shadow: 8px 9px 0 var(--ink); }
.cta__band h2 { max-width: 16ch; margin-bottom: var(--s4); }
.cta__band .lede { color: var(--ink); margin-bottom: var(--s6); }
.cta__sun { position: absolute; right: -28px; top: -28px; width: 150px; height: 150px; opacity: 0.55; pointer-events: none; }
.cta .claim { position: relative; }
.cta .claim__status:not(:empty) { background: var(--card); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s7); }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--sun); }
.site-footer a:hover { text-decoration-color: var(--sun); }
.site-footer .brand { color: var(--paper); }
.footer__inner { display: grid; gap: var(--s5); }
.footer__brand p { margin: var(--s2) 0 0; color: #cfc9b8; max-width: 34ch; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin: 0; padding: 0; list-style: none; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__copy { margin: 0; font-size: var(--fs-sm); color: #cfc9b8; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 1.6fr auto; align-items: start; } .footer__nav ul { justify-content: flex-end; } }

/* ---------- Legal & 404 ---------- */
.legal { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.legal__body { max-width: 70ch; }
.legal h1 { font-size: clamp(2.3rem, 1.5rem + 3.5vw, 4rem); margin-bottom: var(--s3); }
.legal h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: var(--s7) 0 var(--s3); }
.legal__updated { color: var(--muted); font-weight: 700; margin-bottom: var(--s6); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: var(--s2); }
.notfound { min-height: 60vh; display: grid; align-items: center; padding-block: var(--s8); }
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 3rem + 16vw, 14rem); line-height: 0.9; margin: 0; text-shadow: 6px 6px 0 var(--sun); }
.notfound h1 { font-size: var(--fs-h2); margin: var(--s4) 0; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}
