/* ============================================================
   TOKENS
   ============================================================ */
:root{
  --paper:      #EEF3EC;
  --paper-card: #FFFFFF;
  --ink:        #1B2A22;
  --ink-soft:   #4B5C51;
  --ink-faint:  #8C998F;

  --dark-bg:    #16241C;
  --dark-card:  #203327;

  --coral:  #FF5D5D;
  --yellow: #FFCD3C;
  --teal:   #2FA890;
  --pink:   #FF6FA0;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-sticker: 0 10px 0 rgba(27,42,34,0.9);
  --shadow-soft: 0 18px 40px rgba(27,42,34,0.10);

  --font-display: "Baloo 2", ui-rounded, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --maxw: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

a{ color: inherit; }

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

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

/* subtle paper grain */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar{
  position: sticky; top: 0; z-index: 100;
  background: rgba(238,243,236,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,42,34,0.08);
}
.topbar-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 8px;
}
.brand-mark{ color: var(--coral); }
.topnav{ display: flex; gap: 22px; }
.topnav a{
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.topnav a:hover, .topnav a.is-active{
  color: var(--ink);
  border-bottom-color: var(--coral);
}
.progress-rail{
  height: 3px; width: 100%;
  background: transparent;
}
.progress-fill{
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal), var(--pink));
  transition: width 0.1s linear;
}

@media (max-width: 640px){
  .topnav{ gap: 14px; }
  .topnav a{ font-size: 0.7rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 110px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 14px;
}
.eyebrow--light{ color: var(--yellow); }

.display{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.display .hl{
  color: var(--coral);
  position: relative;
  white-space: nowrap;
}

.hero-sub{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }
.btn{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 100px;
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary{
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 0 rgba(27,42,34,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); }
.btn-ghost{
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }

/* sticker sheet cluster in hero */
.sticker-sheet{
  position: relative;
  height: 340px;
}
.die-cut{
  position: absolute;
  background: var(--paper-card);
  border-radius: 999px 999px 40% 999px;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow-sticker);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 190px;
  transition: transform 0.35s ease;
}
.die-cut span{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.die-cut em{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.die-cut--1{ top: 0; left: 10%; transform: rotate(-9deg); background: #FFF; border-color: var(--coral); z-index: 3; }
.die-cut--2{ top: 90px; left: 42%; transform: rotate(6deg); background: #FFF; border-color: var(--teal); z-index: 2; }
.die-cut--3{ top: 190px; left: 6%; transform: rotate(-4deg); background: #FFF; border-color: var(--pink); z-index: 1; }
.die-cut:hover{ transform: translateY(-6px) rotate(0deg); }

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; padding-top: 48px; }
  .sticker-sheet{ height: 300px; margin-top: 10px; }
}

/* perforated divider ("tear here" sticker-sheet seam) */
.perf{
  height: 22px;
  background-image: radial-gradient(circle, var(--paper) 3px, transparent 3.5px);
  background-size: 22px 22px;
  background-position: center;
  background-color: var(--ink-faint);
  opacity: 0.35;
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section{ padding: 92px 0; }
.section-inner{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section--dark{ background: var(--dark-bg); color: var(--paper); }

.h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.h2--light{ color: #fff; }
.section-lede{
  color: #C7D6CC;
  max-width: 60ch;
  margin: 0 0 48px;
  font-size: 1.05rem;
}

/* reveal-on-scroll */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ============================================================
   WHY GRID
   ============================================================ */
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.why-card{
  background: var(--paper-card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}
.why-icon{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral);
  display: block;
  margin-bottom: 14px;
}
.why-card h3{
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.why-card p{
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 900px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .why-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   TOOL ROWS (dark section)
   ============================================================ */
.tool-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.tool-row:last-child{ border-bottom: 1px solid rgba(255,255,255,0.12); }
.tool-num{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--yellow);
  padding-top: 4px;
}
.tool-body h3{
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: #fff;
}
.tool-body p{
  color: #C7D6CC;
  margin: 0;
  max-width: 62ch;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps{
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  counter-reset: step;
}
.step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-bottom: 44px;
  position: relative;
}
.step::before{
  content: "";
  position: absolute;
  left: 31px; top: 56px; bottom: -4px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink-faint) 0 6px, transparent 6px 12px);
  opacity: 0.5;
}
.step:last-child::before{ display: none; }
.step-num{
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.step-body h3{
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 6px 0 8px;
}
.step-body p{ color: var(--ink-soft); margin: 0 0 10px; max-width: 62ch; }
.step-list{
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}
.step-list li{ margin-bottom: 4px; }

@media (max-width: 600px){
  .step{ grid-template-columns: 46px 1fr; gap: 14px; }
  .step-num{ width: 44px; height: 44px; font-size: 1rem; }
  .step::before{ left: 22px; top: 42px; }
}

/* prompt box */
.prompt-box{
  margin-top: 16px;
  background: var(--ink);
  color: #EAF1EC;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.prompt-box-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #B9C9BF;
  text-transform: uppercase;
}
.copy-btn{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.copy-btn:hover{ transform: translateY(-1px); }
.copy-btn.is-copied{ background: var(--teal); color: #fff; }
#promptText{
  margin: 0;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  color: #DCEBE1;
}

/* queue demo */
.queue-demo{
  margin-top: 18px;
  background: var(--paper-card);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}
.queue-row{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.queue-dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
}
.queue-dot.is-done{ background: var(--teal); }
.queue-dot.is-active{
  background: var(--coral);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(255,93,93,0.5); }
  50%{ box-shadow: 0 0 0 6px rgba(255,93,93,0); }
}
.queue-label{ flex: 1; color: var(--ink); }
.queue-state{ color: var(--ink-faint); font-size: 0.75rem; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap{ margin-top: 32px; overflow-x: auto; }
.platform-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-width: 560px;
}
.platform-table th, .platform-table td{
  text-align: left;
  padding: 16px 20px;
  font-size: 0.92rem;
}
.platform-table thead th{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border-bottom: 2px solid var(--paper);
}
.platform-table tbody tr + tr td{ border-top: 1px solid var(--paper); }
.platform-table td:nth-child(2), .platform-table td:nth-child(3){ color: var(--ink-soft); }

.tag{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 100px;
  color: #fff;
  display: inline-block;
}
.tag--etsy{ background: var(--coral); }
.tag--gumroad{ background: var(--teal); }
.tag--beacons{ background: var(--pink); }
.tag--pinterest{ background: #E0455C; }

.rights-note{
  margin-top: 36px;
  padding: 24px 26px;
  background: rgba(47,168,144,0.10);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
}
.rights-note h3{ font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; }
.rights-note p{ margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion{ margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.accordion-item{
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper-card);
  border: none;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-body);
  position: relative;
}
.accordion-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.accordion-icon{
  position: absolute;
  right: 22px; top: 18px;
  color: var(--coral);
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.accordion-item[aria-expanded="true"] .accordion-icon{ transform: rotate(45deg); }
.accordion-panel{
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}
.accordion-item[aria-expanded="true"] .accordion-panel{
  max-height: 200px;
  margin-top: 12px;
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing{
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  text-align: center;
}
.closing-inner{ max-width: 720px; }
.closing-copy{
  font-size: 1.1rem;
  color: #D6E4DA;
  margin: 0 auto 18px;
}
.closing-copy--small{ font-size: 0.98rem; color: #A9BCB0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--dark-bg); padding: 24px 0; }
.footer-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #7C8E82;
}
.footer-inner a{ text-decoration: none; color: #A9BCB0; }
.footer-inner a:hover{ color: #fff; }
