/* =============================================================== */
/* Owed — Ritual Craft Landing Page                              */
/* Inspired by CoolLanding (World 03 Ritual Craft - MIT License)   */
/* =============================================================== */

:root {
  color-scheme: light;

  /* Shared raw palette tokens */
  --black: #050606;
  --void: #08090b;
  --ink: #0c0c0a;
  --paper: #f1ece0;
  --paper-warm: #ebe3cf;
  --white: #ffffff;
  --cyan: #5efbff;
  --orange: #ff3c08;
  --orange-ink: #c41f00;
  --pink: #ff7dbb;
  --blue: #0393ff;
  --blue-ink: #0058b8;
  --green: #5cc140;
  --yellow: #ffd743;
  --ivory: #f3eddc;

  /* World 03 Ritual Craft Tokens */
  --bg: #fde9c0;
  --fg: var(--ink);
  --fg-muted: rgba(12, 12, 10, 0.7);
  --accent: var(--pink);
  --accent-hot: var(--blue);
  --rule: var(--ink);

  /* Type Stacks */
  --font-display: Impact, Haettenschweiler, "Arial Black", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --font-body: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "GT Sectra", "Times New Roman", Georgia, serif;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fde9c0;
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: clip;
}

/* Kraft Paper Background */
main {
  background:
    url("/welcome/assets/ritual-paper-texture.png") repeat,
    radial-gradient(circle at 18% 18%, rgba(255, 125, 187, 0.55), transparent 35%),
    radial-gradient(circle at 86% 80%, rgba(3, 147, 255, 0.4), transparent 38%);
  background-size: 800px auto, 100% 100%, 100% 100%;
  background-blend-mode: multiply, normal, normal;
  min-height: 100vh;
}

/* =============================================================== */
/* TOP BAR                                                         */
/* =============================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5vw;
  pointer-events: none;
}

.brand,
.nav-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-spring), box-shadow 180ms var(--ease-spring);
  cursor: pointer;
}

.brand:hover,
.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--blue-ink);
  border-radius: 50%;
}

.brand-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.nav-cta-primary {
  background: var(--ink);
  color: var(--yellow);
}

.nav-cta-primary:hover {
  background: var(--void);
  color: var(--white);
}

/* =============================================================== */
/* HERO SECTION                                                    */
/* =============================================================== */
.rc-hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 5vw 80px;
  overflow: hidden;
}

.rc-doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

.rc-doodle-tl {
  left: 2vw;
  top: 14vh;
  width: clamp(180px, 22vw, 320px);
  transform: rotate(-12deg);
}

.rc-doodle-br {
  right: 0;
  bottom: -2vh;
  width: clamp(220px, 28vw, 360px);
  transform: rotate(8deg) scaleX(-1);
}

.rc-doodle-footer {
  left: 50%;
  top: -40px;
  width: clamp(220px, 30vw, 360px);
  transform: translateX(-50%) rotate(-2deg);
}

.rc-eyebrow {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
}

.rc-eyebrow .rc-tape {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.rc-headline {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  max-width: 980px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7.2vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.rc-headline-emph {
  color: var(--blue-ink);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
}

.rc-subtext {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 0 36px;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.rc-hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.rc-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--yellow);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 8px 8px 0 var(--yellow);
  text-decoration: none;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease-spring);
}

.rc-cta-main:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--yellow);
  background: #000;
  color: #fff;
}

/* =============================================================== */
/* STICKER PACK & APP PREVIEW FRAME                                */
/* =============================================================== */
.rc-sticker-pack {
  position: relative;
  z-index: 2;
  margin: 0 0 32px;
  padding: 24px;
  width: min(880px, 100%);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-0.8deg);
}

.rc-ledger-card {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rc-ledger-header {
  height: 40px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 3px solid var(--ink);
}

.rc-ledger-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.rc-ledger-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

.rc-ledger-stamp {
  position: absolute;
  top: 50px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(6deg);
  pointer-events: none;
}

/* Ruled notebook page styling */
.rc-ledger-page {
  position: relative;
  background-color: #faf6ee;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 49px,
    rgba(3, 147, 255, 0.22) 49px,
    rgba(3, 147, 255, 0.22) 51px
  );
  padding: 12px 18px 12px 28px;
}

.rc-ledger-margin-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(255, 60, 8, 0.4);
  pointer-events: none;
}

.rc-ledger-entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.rc-ledger-row {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.rc-ledger-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.rc-ledger-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.rc-ledger-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.2;
}

.rc-ledger-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rc-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rc-chip-overdue {
  background: #ff5f56;
  color: var(--white);
}

.rc-chip-active {
  background: var(--yellow);
  color: var(--ink);
}

.rc-chip-repaid {
  background: var(--green);
  color: var(--white);
}

.rc-ledger-amount {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 76px;
  text-align: right;
}

/* Totals bottom bar */
.rc-ledger-totals {
  background: var(--paper-warm);
  border-top: 3px solid var(--ink);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.rc-ledger-total-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-ledger-total-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.rc-ledger-total-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rc-ledger-total-item.highlight .rc-ledger-total-val {
  color: var(--orange-ink);
}

.rc-sticker-pack figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-align: center;
}

/* =============================================================== */
/* TACTILE STICKER BUTTONS                                         */
/* =============================================================== */
.rc-stickers {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 36px;
}

.rc-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--ink);
  cursor: pointer;
  transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-spring);
  user-select: none;
}

.rc-sticker-pink { background: var(--pink); transform: rotate(-2deg); }
.rc-sticker-blue { background: var(--blue); color: var(--white); transform: rotate(1.5deg); }
.rc-sticker-yellow { background: var(--yellow); transform: rotate(-1deg); }
.rc-sticker-green { background: var(--green); transform: rotate(2deg); }
.rc-sticker-orange { background: var(--orange); color: var(--white); transform: rotate(-2.4deg); }

.rc-sticker:hover {
  transform: translate(-3px, -3px) rotate(0deg);
  box-shadow: 10px 10px 0 var(--ink);
}

.rc-wobble:active {
  transform: scale(0.92) rotate(-1deg);
}

/* Signature mechanic dropped stamp */
.rc-stamp {
  position: fixed;
  z-index: 50;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
  transform-origin: center;
  box-shadow: 3px 4px 0 rgba(12,12,10,0.35);
  animation: rcStamp 520ms var(--ease-spring) forwards;
}

.rc-stamp.from-pink { background: var(--pink); }
.rc-stamp.from-blue { background: var(--blue); color: var(--white); }
.rc-stamp.from-yellow { background: var(--yellow); }
.rc-stamp.from-green { background: var(--green); }
.rc-stamp.from-orange { background: var(--orange); color: var(--white); }

@keyframes rcStamp {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(-20deg); }
  55% { opacity: 1; transform: translate(-50%, -50%) scale(1.22) rotate(calc(var(--stamp-rot, -4deg) - 4deg)); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--stamp-rot, -4deg)); }
}

.rc-confetti {
  position: fixed;
  z-index: 51;
  width: 9px;
  height: 12px;
  border-radius: 2px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* =============================================================== */
/* READOUT BAR                                                     */
/* =============================================================== */
.rc-readout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}

.rc-readout div span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
  font-weight: 700;
}

.rc-readout div p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

/* =============================================================== */
/* HOW IT WORKS / CHECKLIST CLIPBOARD                              */
/* =============================================================== */
.rc-checklist-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5vw 80px;
}

.rc-clipboard {
  position: relative;
  background: #fffdf6;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 8px 9px 0 rgba(12,12,10,0.22);
  padding: 28px 26px 22px;
  transform: rotate(-0.8deg);
}

.rc-clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: var(--ink);
  border-radius: 7px;
}

.rc-clip::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 10px;
  background: #cdc6b4;
  border-radius: 4px;
}

.rc-list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px dashed rgba(12,12,10,0.25);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.rc-list-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--ink);
  text-transform: uppercase;
}

.rc-list-prog {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-ink);
}

.rc-list-prog b {
  color: var(--green);
  font-size: 16px;
}

.rc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc-list li {
  border-bottom: 1px solid rgba(12,12,10,0.12);
}

.rc-check {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 4px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform 200ms var(--ease);
}

.rc-check:hover {
  transform: translateX(4px);
}

.rc-box {
  flex: none;
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  position: relative;
}

.rc-check-label {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
}

.rc-check-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
  font-weight: normal;
}

.rc-check.is-done .rc-box {
  background: var(--green);
}

.rc-check.is-done .rc-box::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}

.rc-check.is-done .rc-check-label {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: rgba(12,12,10,0.45);
}

.rc-list-foot {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(12,12,10,0.6);
}

.rc-list-aside {
  align-self: center;
  padding: 10px 6px;
}

.rc-list-aside p {
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  margin: 18px 0;
}

.rc-list-aside em {
  color: var(--blue-ink);
  font-style: normal;
  font-weight: 700;
}

.rc-list-doodle {
  font-size: 26px;
  color: var(--pink);
  letter-spacing: 0.3em;
}

/* =============================================================== */
/* HORIZONTAL STICKY TRACK (THREE HOW-IT-WORKS CARDS)              */
/* =============================================================== */
.rc-track-section {
  position: relative;
  height: 300vh;
  background: var(--ink);
  color: var(--white);
}

.rc-track-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.rc-track {
  display: flex;
  width: 300vw;
  height: 100%;
  will-change: transform;
}

.rc-panel {
  position: relative;
  display: grid;
  width: 100vw;
  height: 100%;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 110px 6vw 70px;
  overflow: hidden;
}

.rc-panel-pink { background: var(--pink); color: var(--ink); }
.rc-panel-blue { background: var(--blue); color: var(--white); }
.rc-panel-yellow { background: var(--yellow); color: var(--ink); }

.rc-panel-text {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.rc-panel-num {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rc-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: none;
}

.rc-panel p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 500px;
}

.rc-window {
  position: relative;
  z-index: 2;
  width: min(580px, 92%);
  justify-self: center;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
  font-family: var(--font-mono);
}

.rc-window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 3px solid var(--ink);
  background: var(--white);
}

.rc-window-bar span { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.rc-window-bar span:nth-child(2) { background: var(--green); }
.rc-window-bar span:nth-child(3) { background: var(--blue); }
.rc-window-bar strong { margin-left: auto; font-family: var(--font-display); }

.rc-window-grid { display: grid; grid-template-columns: 90px 1fr; }
.rc-window-grid span, .rc-window-grid b {
  min-height: 60px;
  padding: 16px;
  border-bottom: 2px solid var(--ink);
}
.rc-window-grid span { border-right: 2px solid var(--ink); background: var(--yellow); }

.rc-tape-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  justify-self: center;
  width: min(440px, 92%);
}

.rc-tape-card {
  display: block;
  padding: 20px 26px;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--ink);
}
.rc-tape-1 { transform: rotate(-2deg); }
.rc-tape-2 { background: var(--yellow); transform: rotate(1.5deg); }
.rc-tape-3 { background: var(--orange); color: var(--white); transform: rotate(-1.2deg); }

.rc-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 16px 26px;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--ink);
  text-decoration: none;
  transition: transform 180ms var(--ease-spring), box-shadow 180ms var(--ease-spring);
}

.rc-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 var(--ink);
}

/* =============================================================== */
/* PRIVACY SECTION                                                 */
/* =============================================================== */
.rc-privacy-section {
  position: relative;
  z-index: 2;
  padding: 90px 5vw;
  max-width: 1040px;
  margin: 0 auto;
}

.rc-privacy-card {
  background: var(--white);
  border: 3px solid var(--ink);
  padding: 40px;
  box-shadow: 12px 12px 0 var(--ink);
}

.rc-privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.rc-privacy-item {
  border-left: 3px solid var(--blue-ink);
  padding-left: 18px;
}

.rc-privacy-item h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
}

.rc-privacy-item p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* =============================================================== */
/* FOOTER                                                          */
/* =============================================================== */
.rc-footer {
  position: relative;
  z-index: 2;
  padding: 120px 5vw 60px;
  text-align: center;
  background:
    url("/welcome/assets/ritual-paper-texture.png") repeat,
    radial-gradient(circle at 50% 100%, rgba(255, 215, 67, 0.8), transparent 40%),
    #fde9c0;
  background-size: 800px auto, 100% 100%, 100% 100%;
  background-blend-mode: multiply, normal, normal;
  border-top: 3px solid var(--ink);
}

.rc-footer-eyebrow {
  margin: 24px 0 26px;
}

.rc-footer-h {
  margin: 0 auto 18px;
  max-width: 880px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  text-transform: none;
  color: var(--ink);
}

.rc-footer-lede {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.rc-stamp-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}

.rc-stamp-meter b {
  color: var(--blue-ink);
  font-size: 18px;
}

.rc-clear {
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms, color 180ms;
}

.rc-clear:hover {
  background: var(--ink);
  color: var(--white);
}

.rc-guestbook {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto 40px;
}

.rc-gb-entry {
  display: inline-block;
  padding: 12px 22px;
  border: 3px solid var(--ink);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.rc-gb-pink { background: var(--pink); transform: rotate(-3deg); }
.rc-gb-blue { background: var(--blue); color: var(--white); transform: rotate(2deg); }
.rc-gb-yellow { background: var(--yellow); transform: rotate(-1.5deg); }
.rc-gb-green { background: var(--green); transform: rotate(1deg); }
.rc-gb-orange { background: var(--orange); color: var(--white); transform: rotate(-2.5deg); }
.rc-gb-hand {
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  transform: rotate(-2deg);
}

.rc-footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 2px dashed rgba(12,12,10,0.25);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}

.rc-footer-base a {
  color: var(--blue-ink);
  text-decoration: none;
  font-weight: 600;
}

.rc-footer-base a:hover {
  text-decoration: underline;
}

/* =============================================================== */
/* RESPONSIVE & MOBILE                                             */
/* =============================================================== */
@media (max-width: 880px) {
  .topbar {
    padding: 12px 4vw;
  }
  .brand, .nav-cta {
    padding: 8px 12px;
    font-size: 11px;
  }
  .rc-hero {
    padding-top: 100px;
  }
  .rc-sticker-pack {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    box-shadow: 6px 6px 0 var(--ink);
    transform: none;
  }
  .rc-ledger-card {
    box-shadow: 3px 3px 0 var(--ink);
  }
  .rc-ledger-stamp {
    top: 48px;
    right: 8px;
    font-size: 9px;
    padding: 3px 8px;
  }
  .rc-ledger-page {
    padding: 10px 12px 10px 22px;
  }
  .rc-ledger-margin-line {
    left: 14px;
  }
  .rc-ledger-name {
    font-size: 14px;
  }
  .rc-ledger-amount {
    font-size: 13px;
    min-width: 60px;
  }
  .rc-ledger-totals {
    padding: 8px 12px;
    gap: 8px;
  }
  .rc-ledger-total-label {
    font-size: 9px;
  }
  .rc-ledger-total-val {
    font-size: 12px;
  }
  .rc-readout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rc-checklist-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rc-track-section {
    height: auto;
  }
  .rc-track-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }
  .rc-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: none !important;
  }
  .rc-panel {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    padding: 60px 5vw;
  }
  .rc-window,
  .rc-tape-stack {
    width: 100%;
  }
  .rc-footer {
    padding-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rc-track-section {
    height: auto !important;
  }
  .rc-track-sticky {
    position: static !important;
    height: auto !important;
  }
  .rc-track {
    flex-direction: column !important;
    width: 100% !important;
    transform: none !important;
  }
  .rc-panel {
    width: 100% !important;
    height: auto !important;
    grid-template-columns: 1fr !important;
  }
}
