/* ==========================================================================
   Tanggal Tua: Sisa 100 Ribu — Handcrafted Kosan Gouache-Vector Landing Page
   Day Mode (Warm Sunlit Kosan) <-> Night Mode (Saklar Lampu Mati / Ibu Kos!)
   ========================================================================== */

:root {
  --bg: #f6ead4;
  --bg-alt: #efe0c4;
  --surface: #fffaf0;
  --surface-soft: #f7efe0;
  --ink: #2b1b1e;
  --muted: #68534c;
  --border: #2b1b1e;
  --hero: #f07e42;
  --hero-deep: #d96429;
  --emerald: #2ec4b6;
  --emerald-deep: #149689;
  --gold: #ffd166;
  --hazard: #e63946;
  --shadow: 0 4px 0 #2b1b1e;
  --shadow-lg: 0 8px 0 #2b1b1e;
  --radius: 18px;
}

[data-theme='night'] {
  --bg: #171426;
  --bg-alt: #201c35;
  --surface: #26213e;
  --surface-soft: #2f2a4c;
  --ink: #fff8eb;
  --muted: #c2b8d6;
  --border: #ffd166;
  --shadow: 0 4px 0 #0c0a15;
  --shadow-lg: 0 8px 0 #0c0a15;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(43, 27, 30, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink);
  font-family: 'Avenir Next', 'SF Pro Rounded', 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1080px, 100% - 32px);
  margin: 0 auto;
}

/* --- IBU KOS EASTER EGG TOAST --- */
.ibu-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2b1b1e;
  color: #fffaf0;
  border: 2.5px solid #ffd166;
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  max-width: calc(100vw - 24px);
  animation: popToast 0.25s cubic-bezier(0.22, 1.25, 0.36, 1);
}

.ibu-toast-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffd166;
  color: #2b1b1e;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

@keyframes popToast {
  from {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* --- STICKY HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--border);
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 0 var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 11px;
  font-weight: 800;
  color: var(--hero);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--hero);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 2px 0 var(--border);
  transition: transform 0.08s ease;
}

.switch-pill:active {
  transform: translateY(2px);
  box-shadow: none;
}

.switch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd166;
  border: 1.6px solid #2b1b1e;
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.9);
}

[data-theme='night'] .switch-dot {
  background: #64748b;
  box-shadow: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ff8f52 0%, #ea6f33 100%);
  color: #fffaf0;
  border: 2.4px solid #2b1b1e;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 0 #2b1b1e;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2b1b1e;
}

.btn-primary.btn-sm {
  padding: 7px 11px;
  font-size: 11.5px;
  border-radius: 11px;
  white-space: nowrap;
  box-shadow: 0 2px 0 #2b1b1e;
}

.btn-primary.btn-full {
  width: 100%;
  min-height: 48px;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 36px 0 42px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.kicker-pill {
  display: inline-block;
  background: var(--gold);
  color: #2b1b1e;
  border: 2px solid #2b1b1e;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.kicker-pill.dark {
  background: #2b1b1e;
  color: #ffd166;
  border-color: #ffd166;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 6.2vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.highlight-rp {
  color: var(--hero);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 6px;
  text-underline-offset: 4px;
}

.hero-sub {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 540px;
}

.store-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.store-cta-group.centered {
  justify-content: center;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 10px 18px;
  border-radius: 15px;
  border: 2.5px solid #2b1b1e;
  box-shadow: 0 4px 0 #2b1b1e;
  text-align: left;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.store-badge-btn.ios {
  background: #1d1a2e;
  color: #fffaf0;
}

.store-badge-btn.android {
  background: #2ec4b6;
  color: #161423;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2b1b1e;
}

.store-badge-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2b1b1e;
}

.store-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  font-size: 10.5px;
  font-weight: 800;
  opacity: 0.85;
}

.store-badge-text strong {
  font-size: 15px;
  font-weight: 900;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

/* --- PHONE MOCKUP --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 14px 0;
}

.phone-mockup {
  width: min(312px, 86vw);
  background: #1d1a2e;
  border: 4px solid #2b1b1e;
  border-radius: 34px;
  padding: 12px 10px 12px;
  box-shadow:
    0 12px 0 #2b1b1e,
    0 24px 50px rgba(43, 27, 30, 0.28);
}

.phone-mockup.compact {
  width: min(296px, 84vw);
}

.phone-notch-bar {
  width: 84px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 250, 240, 0.22);
  margin: 0 auto 10px;
}

.phone-screen-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 250, 240, 0.14);
  background: #151226;
  aspect-ratio: 9 / 16;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.phone-caption-bar {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
}

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 24px;
  height: 7px;
  border-radius: 99px;
  border: none;
  background: rgba(255, 250, 240, 0.28);
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: #ffd166;
}

.floating-tag {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 2.4px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow);
  z-index: 4;
}

.floating-tag.tag-top {
  top: 14px;
  left: -26px;
  transform: rotate(-2.5deg);
}

.floating-tag.tag-bottom {
  bottom: 74px;
  right: -24px;
  transform: rotate(2.2deg);
}

.tag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tag-dot.red {
  background: var(--hazard);
}

.tag-dot.emerald {
  background: var(--emerald);
}

/* --- STORY STRIP (BUKTI TRANSFER TGL 19) --- */
.story-strip {
  padding: 8px 0 28px;
}

.story-card {
  background: var(--surface);
  border: 2.6px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.story-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-step strong {
  font-size: 15px;
  font-weight: 900;
}

.story-step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.story-arrow {
  display: none;
  font-size: 20px;
  font-weight: 900;
  color: var(--hero);
  text-align: center;
}

.step-tag {
  display: inline-block;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1.5px solid #2b1b1e;
  color: #2b1b1e;
}

.step-tag.green {
  background: #dcfce7;
}
.step-tag.orange {
  background: #ffedd5;
}
.step-tag.gold {
  background: #fef3c7;
}
.step-tag.emerald {
  background: #ccfbf1;
}

/* --- GENERIC SECTION LAYOUT --- */
.section-pad {
  padding: 54px 0;
}

.alt-surface {
  background: var(--bg-alt);
  border-top: 2.5px solid var(--border);
  border-bottom: 2.5px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--hero);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4.5vw, 36px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* --- 3-PHASE DAILY LOOP TABS --- */
.loop-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.loop-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loop-tab {
  width: 100%;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 2.4px solid color-mix(in srgb, var(--border) 30%, transparent);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.loop-tab.active {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.loop-time {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--hero);
  margin-bottom: 3px;
}

.loop-tab strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
}

.loop-tab p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.loop-preview-stage {
  display: flex;
  justify-content: center;
}

/* --- INTERACTIVE MAGIC COM 450VA TOY --- */
.toy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.toy-panel {
  background: var(--surface);
  border: 2.6px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toy-panel.is-tripped {
  animation: shakeJeklek 0.36s ease;
  border-color: var(--hazard);
}

@keyframes shakeJeklek {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.toy-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.toy-panel-head strong {
  font-size: 14.5px;
  font-weight: 900;
}

.mini-ghost-btn {
  background: transparent;
  color: var(--muted);
  border: 1.8px solid color-mix(in srgb, var(--border) 35%, transparent);
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 800;
}

.ing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ing-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 10px;
  background: var(--surface-soft);
  color: var(--ink);
  border: 2px solid color-mix(in srgb, var(--border) 40%, transparent);
  border-radius: 13px;
  text-align: left;
  transition: transform 0.08s ease, border-color 0.12s ease, background 0.12s ease;
}

.ing-btn.selected {
  background: #fef3c7;
  color: #2b1b1e;
  border-color: #2b1b1e;
  box-shadow: 0 3px 0 #2b1b1e;
}

.ing-swatch {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1.8px solid #2b1b1e;
  display: grid;
  place-items: center;
  color: #2b1b1e;
  flex-shrink: 0;
}

.ing-swatch svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ing-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ing-meta strong {
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.15;
}

.ing-meta small {
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.78;
}

.fan-toggle-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 2px dashed color-mix(in srgb, var(--border) 40%, transparent);
}

.fan-toggle-row strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.fan-toggle-row small {
  font-size: 11.5px;
  color: var(--muted);
}

.fan-toggle-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 2px solid #2b1b1e;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 2px 0 #2b1b1e;
  background: #e2e8f0;
  color: #2b1b1e;
}

.fan-toggle-btn.is-on {
  background: #ffd166;
}

.watt-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #065f46;
  border: 1.6px solid #2b1b1e;
}

.watt-pill.warn {
  background: #fef3c7;
  color: #92400e;
}

.watt-pill.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.watt-gauge-wrap {
  display: flex;
  justify-content: center;
}

.watt-svg {
  width: 220px;
  height: auto;
}

.watt-svg #toy-needle {
  transition: transform 0.35s cubic-bezier(0.22, 1.3, 0.36, 1);
}

.gauge-tick {
  font-size: 10px;
  font-weight: 900;
  fill: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.gauge-tick.danger {
  fill: var(--hazard);
}

.pot-slots {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 2px dashed color-mix(in srgb, var(--border) 35%, transparent);
}

.pot-placeholder {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.pot-chip {
  background: var(--gold);
  color: #2b1b1e;
  border: 1.8px solid #2b1b1e;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

.recipe-result-box {
  background: var(--surface-soft);
  border: 2px solid color-mix(in srgb, var(--border) 35%, transparent);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
}

.recipe-result-box.good {
  background: #dcfce7;
  color: #14532d;
  border-color: #15803d;
}

.recipe-result-box.bad {
  background: #fee2e2;
  color: #7f1d1d;
  border-color: #b91c1c;
}

.recipe-result-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 3px;
}

.recipe-result-sub {
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0.9;
}

/* --- ASMR SOUNDBOARD BAR --- */
.asmr-bar {
  margin-top: 22px;
  background: var(--surface);
  border: 2.4px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asmr-label strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.asmr-label span {
  font-size: 12.5px;
  color: var(--muted);
}

.asmr-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.asmr-btn {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid #2b1b1e;
  background: var(--gold);
  color: #2b1b1e;
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 3px 0 #2b1b1e;
  transition: transform 0.08s ease;
}

.asmr-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #2b1b1e;
}

/* --- 4 ANAK KOS ROSTER --- */
.char-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.char-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 2.5px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.char-profile-card img {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 2.2px solid #2b1b1e;
  flex-shrink: 0;
}

.char-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  color: var(--hero);
  margin-bottom: 2px;
}

.char-profile-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.char-profile-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.modifiers-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mod-chip {
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--border) 50%, transparent);
  border-radius: 14px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mod-chip strong {
  font-size: 13.5px;
  font-weight: 900;
}

.mod-chip span {
  font-size: 12px;
  color: var(--muted);
}

/* --- VIRAL RECEIPT SHOWCASE --- */
.receipt-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.receipt-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.5vw, 36px);
  line-height: 1.12;
  font-weight: 900;
}

.receipt-copy p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.receipt-copy code {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 35%, transparent);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
}

.receipt-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
}

.receipt-toggle {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 2.2px solid #2b1b1e;
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 3px 0 #2b1b1e;
}

.receipt-toggle.active {
  background: var(--emerald);
  color: #161423;
}

.endings-mini-list {
  font-size: 12.5px;
  color: var(--muted);
}

.endings-mini-list span {
  font-weight: 900;
  color: var(--ink);
  margin-right: 6px;
}

.endings-mini-list em {
  font-style: normal;
  font-weight: 700;
}

.receipt-stage {
  display: flex;
  justify-content: center;
}

#demo-receipt-canvas {
  width: min(350px, 92vw);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(43, 27, 30, 0.25));
}

/* --- FAIR PLAY & FAQ --- */
.fair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.fair-card {
  background: var(--surface);
  border: 2.4px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.fair-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--emerald);
  color: #161423;
  border: 1.5px solid #2b1b1e;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.fair-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.fair-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 2.2px solid var(--border);
  border-radius: 15px;
  padding: 14px 16px;
}

.faq-item summary {
  font-size: 14.5px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 900;
  color: var(--hero);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* --- FINAL CTA & FOOTER --- */
.final-cta-section {
  padding: 24px 0 56px;
}

.final-cta-card {
  background: linear-gradient(135deg, #ffd166 0%, #f6a452 55%, #f07e42 100%);
  color: #2b1b1e;
  border: 3px solid #2b1b1e;
  border-radius: 28px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 8px 0 #2b1b1e;
}

.final-cta-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.08;
  font-weight: 900;
}

.final-cta-card p {
  margin: 0 auto 22px;
  max-width: 520px;
  font-size: 15px;
  font-weight: 700;
}

.cta-utility-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.press-link-btn {
  background: rgba(255, 250, 240, 0.9);
  color: #2b1b1e;
  border: 2px solid #2b1b1e;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 2px 0 #2b1b1e;
  transition: transform 0.08s ease;
}

.press-link-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.modal-input,
.modal-textarea,
.modal-select {
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
}

.modal-textarea {
  min-height: 82px;
  resize: vertical;
}

.site-footer {
  border-top: 2.5px solid var(--border);
  background: var(--surface);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
}

.footer-brand span {
  font-size: 12.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--hero);
}

/* --- MODAL --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 15, 30, 0.78);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-box {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--border);
  border-radius: 24px;
  padding: 24px 22px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.modal-box h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
}

.modal-box p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.modal-action-slot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-info-card {
  background: var(--surface-soft);
  border: 2px dashed color-mix(in srgb, var(--border) 45%, transparent);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
}

.modal-footnote {
  font-size: 11.5px !important;
  opacity: 0.75;
  margin-bottom: 0 !important;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (min-width: 720px) {
  .story-card {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    padding: 20px 22px;
  }
  .story-arrow {
    display: block;
  }
  .ing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .asmr-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .asmr-buttons {
    grid-template-columns: repeat(4, auto);
  }
  .char-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modifiers-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }
  .fair-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 920px) {
  .header-nav {
    display: flex;
  }
  .hero-section {
    padding: 52px 0 58px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
  }
  .floating-tag {
    display: inline-flex;
  }
  .loop-showcase {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 36px;
  }
  .toy-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .receipt-showcase-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
  }
  .fair-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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