:root {
  --sage: #d5e3c8;
  --sage-grid: rgba(90, 110, 72, 0.18);
  --sage-deep: #9aaf86;
  --cream: #fbf6ee;
  --cream-dark: #f0e4d4;
  --pink: #f4b3cc;
  --pink-hot: #ef8ab3;
  --pink-deep: #e56b9c;
  --pink-light: #ffd9e8;
  --cocoa: #4a3228;
  --cocoa-soft: #6d4e42;
  --tan: #c9b8a8;
  --white: #fffdf8;
  --shadow: rgba(74, 50, 40, 0.28);
  --pixel: "Pixelify Sans", "Trebuchet MS", sans-serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --taskbar-h: 46px;
  --bar-pink: #f3b7cd;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--sage);
  color: var(--cocoa);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow: hidden; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] { display: none !important; }

button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

/* ---------- boot ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, #fdeef4 0%, var(--sage) 62%);
}

.boot-card {
  text-align: center;
  padding: 24px;
}

.boot-logo {
  display: block;
  width: min(200px, 58vw);
  height: auto;
  margin: 0 auto 12px;
}

.boot-heart {
  width: 36px;
  height: 32px;
  margin: 0 auto 16px;
}

.boot-heart svg { display: block; margin: 0 auto; }

.boot-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

.boot-title {
  margin: 0;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 700;
  color: var(--pink-hot);
  line-height: 0.9;
}

.logo-wics {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-os {
  font-family: var(--pixel);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.boot-sub {
  margin: 10px 0 22px;
  font-family: var(--pixel);
  font-size: 18px;
  color: var(--cocoa);
}

.boot-bar {
  width: min(240px, 70vw);
  height: 16px;
  margin: 0 auto;
  padding: 3px;
  border: 2px solid var(--cocoa);
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--shadow);
}

.boot-fill {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--pink-hot) 0 8px,
    var(--pink-light) 8px 10px
  );
  animation: bootload 1.6s steps(12, end) forwards;
}

.boot-status {
  margin: 12px 0 0;
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--cocoa-soft);
}

.boot-out {
  animation: fadeup 0.45s ease forwards;
}

@keyframes bootload {
  to { width: 100%; }
}

@keyframes fadeup {
  to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .boot-fill { animation: none; width: 100%; }
  .boot-out { animation: none; }
}

/* ---------- desktop ---------- */
.desktop {
  position: fixed;
  inset: 0;
  background-color: var(--sage);
  background-image:
    linear-gradient(var(--sage-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sage-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  padding-bottom: var(--taskbar-h);
}

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

/* ---------- icons ---------- */
.icons {
  position: absolute;
  top: 20px;
  left: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 96px;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--cocoa);
}

.icon:hover,
.icon:focus-visible,
.icon.selected {
  background: rgba(255, 253, 248, 0.45);
  border-color: rgba(74, 50, 40, 0.25);
}

.icon:hover .icon-art {
  transform: translateY(-2px);
}

.icon-art {
  width: 48px;
  height: 48px;
  transition: transform 0.15s ease;
}

.icon-logo {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-logo img {
  display: block;
  width: 72px;
  height: auto;
}

.icon-art svg {
  display: block;
  width: 48px;
  height: 48px;
}

.icon-label {
  font-family: var(--pixel);
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  padding: 1px 5px;
  background: rgba(251, 246, 238, 0.86);
  border: 1px solid rgba(74, 50, 40, 0.12);
}

/* ---------- sticky note ---------- */
.sticky {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 2;
  width: 170px;
  padding: 22px 16px 16px;
  background: #fff1b8;
  border: 2px solid var(--cocoa);
  box-shadow: 5px 5px 0 var(--shadow);
  transform: rotate(3.5deg);
  font-family: var(--pixel);
}

.sticky-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 56px;
  height: 16px;
  margin: 0;
  background: repeating-linear-gradient(
    90deg,
    #e8c9a0 0 6px,
    #4a3228 6px 9px,
    #d7b08a 9px 14px,
    #6d4e42 14px 17px
  );
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 1px 1px 0 rgba(74, 50, 40, 0.25);
}

.sticky-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

.sticky-date {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1;
}

.sticky-theme {
  margin: 0;
  font-size: 14px;
}

/* ---------- windows ---------- */
.windows {
  position: absolute;
  inset: 0 var(--taskbar-h) 0 0;
  inset: 0 0 var(--taskbar-h) 0;
  z-index: 5;
  pointer-events: none;
}

.window {
  position: absolute;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: min(560px, calc(100vw - 24px));
  max-height: calc(100% - 16px);
  background: var(--cream);
  border: 2px solid var(--cocoa);
  box-shadow:
    inset 2px 2px 0 #fff,
    inset -2px -2px 0 #e2c4ce,
    6px 6px 0 var(--shadow);
  animation: popin 0.18s ease-out;
}

.window-hero {
  max-width: min(760px, calc(100vw - 24px));
  width: min(720px, calc(100vw - 24px));
}

.window[hidden] { display: none !important; animation: none; }
.window.minimized { display: none !important; }
.window.focused { z-index: 20; }

@keyframes popin {
  from { transform: scale(0.96); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .window { animation: none; }
  .icon:hover .icon-art { transform: none; }
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 6px 4px 8px;
  background: linear-gradient(180deg, #f7c4d6 0%, var(--pink-hot) 100%);
  border-bottom: 2px solid var(--cocoa);
  cursor: grab;
  user-select: none;
}

.titlebar:active { cursor: grabbing; }

.titlebar-dot {
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--cream);
  border: 2px solid var(--cocoa);
  box-shadow: 1px 1px 0 rgba(74, 50, 40, 0.25);
}

.titlebar-name {
  flex: 1;
  margin: 0;
  font-family: var(--pixel);
  font-size: 16px;
  font-weight: 600;
  color: var(--cocoa);
  letter-spacing: 0.02em;
}

.titlebar-btns { display: flex; gap: 4px; }

.win-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid var(--cocoa);
  background: var(--cream);
  font-family: var(--pixel);
  font-size: 14px;
  line-height: 1;
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 0 rgba(74, 50, 40, 0.25);
}

.win-min {
  align-items: flex-end;
  padding-bottom: 3px;
  font-size: 16px;
}

.win-btn:hover { background: var(--pink-light); }
.win-close:hover { background: #ffc5c5; }

.window-body {
  overflow: auto;
  padding: 18px 20px 20px;
  font-size: 15px;
  line-height: 1.55;
}

.window-body h3 {
  margin: 0 0 10px;
  font-family: var(--pixel);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}

.window-body p { margin: 0 0 12px; }
.window-body p:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 6px !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.note {
  margin-top: 8px !important;
  padding-top: 10px;
  border-top: 1px dashed var(--tan);
  color: var(--cocoa-soft);
  font-size: 13.5px;
}

.meta {
  margin: 8px 0 14px;
  display: grid;
  gap: 10px;
}

.meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 8px 10px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.12);
}

.meta dt {
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--pink-deep);
}

.meta dd { margin: 0; }

.steps {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.12);
}

.step-num {
  font-family: var(--pixel);
  font-size: 20px;
  color: var(--pink-deep);
  line-height: 1.1;
}

.steps h3 {
  margin: 0 0 2px;
  font-size: 18px;
}

.steps p { margin: 0; font-size: 14px; }

.files { margin-top: 8px; }

.files-label {
  margin: 12px 0 6px !important;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

.file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 7px 8px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.1);
}

.file-icon {
  width: 14px;
  height: 16px;
  flex: none;
  background: var(--cream);
  border: 2px solid var(--cocoa);
  box-shadow: inset 0 -6px 0 var(--pink-light);
}

.file-name {
  flex: 1;
  font-family: var(--pixel);
  font-size: 15px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  background: var(--pink-light);
  border: 1.5px solid var(--cocoa);
}

.faq details {
  margin-bottom: 8px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.1);
}

.faq summary {
  padding: 8px 10px;
  font-family: var(--pixel);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: var(--pink-deep);
}

.faq details[open] summary::before { content: "-"; }

.faq details p {
  margin: 0;
  padding: 0 10px 10px 28px;
  font-size: 14px;
}

.faq a {
  color: var(--pink-deep);
  font-weight: 600;
}

.register-body { text-align: center; }
.register-body .eyebrow { text-align: left; }
.register-body h3 { font-size: 26px; }

.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  border: 2px solid var(--cocoa);
  background: var(--pink-hot);
  color: var(--cocoa);
  font-family: var(--pixel);
  font-size: 16px;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--shadow);
}

.cta:hover { background: #f5a0c0; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shadow); }
.cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }

.cta-msg {
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--cocoa-soft);
}

/* ---------- start menu + calendar ---------- */
.start-menu,
.calendar-pop {
  position: absolute;
  z-index: 40;
  background: var(--cream);
  border: 2px solid var(--cocoa);
  box-shadow: inset 2px 2px 0 #fff, 5px 5px 0 var(--shadow);
}

.start-menu {
  left: 8px;
  bottom: calc(var(--taskbar-h) + 8px);
  width: 240px;
}

.start-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f7c4d6, var(--pink-hot));
  border-bottom: 2px solid var(--cocoa);
}

.start-heart {
  width: 18px;
  height: 16px;
  background:
    radial-gradient(circle at 30% 35%, var(--cream) 36%, transparent 37%),
    radial-gradient(circle at 70% 35%, var(--cream) 36%, transparent 37%);
  position: relative;
  flex: none;
}

.start-heart::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--cream);
  transform: translateX(-50%) rotate(45deg);
}

.start-os {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--cocoa);
}

.start-os .logo-os { font-size: 0.95em; }

.start-tag {
  margin: 2px 0 0;
  font-size: 11px;
}

.start-list {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.start-list button {
  width: 100%;
  text-align: left;
  padding: 7px 8px;
  border: 2px solid transparent;
  background: transparent;
  font-family: var(--pixel);
  font-size: 15px;
}

.start-list button:hover,
.start-list button:focus-visible {
  background: var(--pink-light);
  border-color: var(--cocoa);
}

.start-shutdown {
  width: calc(100% - 12px);
  margin: 0 6px 8px;
  padding: 7px 8px;
  border: 2px solid var(--cocoa);
  background: var(--white);
  font-family: var(--pixel);
  font-size: 14px;
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.15);
}

.start-shutdown:hover { background: var(--pink-light); }

.calendar-pop {
  right: 8px;
  bottom: calc(var(--taskbar-h) + 8px);
  width: 260px;
  padding: 12px;
}

.cal-month {
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: 16px;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-size: 12px;
}

.cal-dow {
  font-family: var(--pixel);
  font-size: 10px;
  color: var(--cocoa-soft);
  padding: 2px 0;
}

.cal-day {
  padding: 5px 0;
  border: 1px solid transparent;
}

.cal-day.event {
  background: var(--pink-hot);
  border-color: var(--cocoa);
  font-weight: 700;
  font-family: var(--pixel);
}

.cal-caption {
  margin: 8px 0 0;
  font-size: 11px;
  text-align: center;
  color: var(--cocoa-soft);
}

/* ---------- taskbar ---------- */
.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: var(--taskbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  background: linear-gradient(180deg, #f8c9db 0%, var(--bar-pink) 60%);
  border-top: 2px solid var(--cocoa);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.start-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 2px solid var(--cocoa);
  background: var(--cream);
  font-family: var(--pixel);
  font-size: 16px;
  font-weight: 600;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 rgba(74, 50, 40, 0.25);
}

.start-btn:hover,
.start-btn[aria-expanded="true"] {
  background: var(--pink-light);
}

.start-btn-heart {
  width: 12px;
  height: 11px;
  background:
    radial-gradient(circle at 30% 35%, var(--pink-hot) 38%, transparent 39%),
    radial-gradient(circle at 70% 35%, var(--pink-hot) 38%, transparent 39%);
  position: relative;
}

.start-btn-heart::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 7px;
  height: 7px;
  background: var(--pink-hot);
  transform: translateX(-50%) rotate(45deg);
}

.tasks {
  flex: 1;
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow: auto;
}

.task-btn {
  height: 30px;
  max-width: 160px;
  padding: 0 10px;
  border: 2px solid var(--cocoa);
  background: var(--cream);
  font-family: var(--pixel);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 1px 1px 0 #fff;
}

.task-btn.active {
  background: var(--pink-light);
  box-shadow: inset 1px 1px 0 #c99;
}

.task-btn.minned { opacity: 0.7; }

.clock {
  height: 32px;
  padding: 0 10px;
  border: 2px solid var(--cocoa);
  background: var(--cream);
  font-family: var(--pixel);
  font-size: 14px;
  box-shadow: inset 1px 1px 0 #fff;
  white-space: nowrap;
}

.clock:hover,
.clock[aria-expanded="true"] { background: var(--pink-light); }

/* ---------- sparkles + toast ---------- */
.sparkles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 60;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--pink-hot);
  transform: rotate(45deg);
  animation: twinkle 0.7s ease-out forwards;
  pointer-events: none;
}

.sparkle.alt {
  background: #fff1b8;
  border-radius: 50%;
  transform: none;
}

@keyframes twinkle {
  0% { opacity: 1; transform: rotate(45deg) scale(1); }
  100% { opacity: 0; transform: rotate(45deg) scale(0.2) translateY(-12px); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 70px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 10px 14px;
  background: var(--cream);
  border: 2px solid var(--cocoa);
  box-shadow: 4px 4px 0 var(--shadow);
  font-family: var(--pixel);
  font-size: 15px;
}


/* ---------- hero ---------- */
.hero-body {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 22px 28px 32px;
  background:
    radial-gradient(circle at 50% 0%, #ffe4f0 0%, var(--cream) 58%);
}

.hero-logo {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin: 4px auto 6px;
  animation: floaty 3.2s ease-in-out infinite;
}

.hero-title {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--cocoa);
}

.hero-theme {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  font-family: var(--pixel);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700;
  color: var(--pink-deep);
  line-height: 1;
  animation: bounce-soft 2.2s ease-in-out infinite;
}

.blink-cursor {
  display: inline-block;
  width: 11px;
  height: 0.82em;
  margin-left: 6px;
  background: var(--pink-deep);
  animation: blink 1.05s step-end infinite;
}

.hero-when {
  margin: 0 0 12px;
  font-family: var(--pixel);
  font-size: clamp(16px, 2vw, 20px);
  color: var(--cocoa);
}

.cta-hero {
  font-size: 24px;
  padding: 12px 32px;
  animation: pulse-cta 1.8s ease-in-out infinite;
}

.hero-glitter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glit {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--pink-hot);
  transform: rotate(45deg);
  animation: glitter 1.8s ease-in-out infinite;
  opacity: 0;
}

.glit.g2, .glit.g5 { background: #fff1b8; border-radius: 50%; transform: none; }
.g1 { left: 12%; top: 22%; animation-delay: 0s; }
.g2 { left: 86%; top: 18%; animation-delay: 0.3s; }
.g3 { left: 7%; top: 48%; animation-delay: 0.7s; }
.g4 { left: 90%; top: 58%; animation-delay: 1.1s; }
.g5 { left: 12%; top: 78%; animation-delay: 0.5s; }
.g6 { left: 78%; top: 84%; animation-delay: 1.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 3px 3px 0 var(--shadow); }
  50% { box-shadow: 3px 3px 0 var(--shadow), 0 0 0 6px rgba(239, 138, 179, 0.28); }
}

@keyframes glitter {
  0%, 100% { opacity: 0; transform: rotate(45deg) scale(0.4); }
  40%, 60% { opacity: 1; transform: rotate(45deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero-theme, .cta-hero, .blink-cursor, .glit { animation: none; }
  .blink-cursor { opacity: 1; }
}


/* ---------- how to use + perks ---------- */
.guide-list {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.guide-list li {
  position: relative;
  margin: 0;
  padding: 8px 10px 8px 28px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 2px 2px 0 rgba(74, 50, 40, 0.12);
  font-size: 14px;
}

.guide-list li::before {
  content: ">";
  position: absolute;
  left: 10px;
  top: 8px;
  font-family: var(--pixel);
  color: var(--pink-deep);
  font-weight: 700;
}

.free-flash {
  display: inline-block;
  padding: 1px 7px 2px;
  border: 2px solid var(--cocoa);
  background: #ff3b3b;
  color: #fff;
  font-family: var(--pixel);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  animation: free-blink 0.7s step-end infinite;
  vertical-align: middle;
}

@keyframes free-blink {
  0%, 49% { background: #ff3b3b; color: #fff; }
  50%, 100% { background: #fff1b8; color: #c41c1c; }
}

.perk-banner {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 10px 12px 12px;
  border: 3px solid var(--cocoa);
  background:
    repeating-linear-gradient(45deg, #fff1b8 0 10px, #ffd36a 10px 20px);
  box-shadow: 4px 4px 0 var(--shadow);
  color: var(--cocoa);
  font-family: var(--pixel);
  text-align: center;
  cursor: pointer;
  animation: perk-pulse 1.4s ease-in-out infinite;
}

.perk-banner:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--shadow);
}

.perk-banner:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--shadow);
}

.perk-banner-kicker {
  display: block;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.perk-banner-title {
  display: block;
  margin-top: 6px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.2;
}

.perk-banner-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.window-perks {
  border-width: 3px;
}

.perks-body {
  background:
    radial-gradient(circle at 50% 0%, #ffe4f0 0%, var(--cream) 62%);
}

.perks-headline {
  font-size: clamp(26px, 4vw, 34px) !important;
  letter-spacing: 0.02em;
}

.perks-fomo {
  font-family: var(--pixel);
  font-size: 18px;
  font-weight: 600;
}

.perk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 12px;
}

.perk-card {
  padding: 10px 10px 12px;
  background: var(--white);
  border: 2px solid var(--cocoa);
  box-shadow: 3px 3px 0 var(--shadow);
}

.perk-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.perk-card p { margin: 0; font-size: 13.5px; }

.perk-tag {
  margin: 0 0 6px !important;
}

.perk-tag-hot {
  display: inline-block;
  padding: 1px 7px 2px;
  border: 2px solid var(--cocoa);
  background: #ef8ab3;
  color: var(--cocoa);
  font-family: var(--pixel);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.perks-marquee {
  display: flex;
  overflow: hidden;
  gap: 24px;
  margin: -6px -8px 12px;
  padding: 4px 0;
  border: 2px solid var(--cocoa);
  background: var(--cocoa);
  color: #fff1b8;
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.perks-marquee span {
  flex: none;
  animation: marquee-slide 9s linear infinite;
}

@keyframes perk-pulse {
  0%, 100% { box-shadow: 4px 4px 0 var(--shadow); }
  50% { box-shadow: 4px 4px 0 var(--shadow), 0 0 0 5px rgba(255, 59, 59, 0.22); }
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .free-flash, .perk-banner, .perks-marquee span { animation: none; }
  .free-flash { background: #ff3b3b; color: #fff; }
}

@media (max-width: 720px) {
  .perk-grid { grid-template-columns: 1fr; }
  .perk-banner { max-width: none; }
  .hero-when { margin-bottom: 10px; }
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  body { overflow: auto; }

  .desktop {
    position: relative;
    min-height: 100svh;
    overflow: auto;
    padding-bottom: calc(var(--taskbar-h) + 16px);
  }

  .icons {
    position: relative;
    top: 12px;
    left: 0;
    width: auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 4px 4px;
  }

  .icon-art,
  .icon-logo {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-logo img {
  display: block;
  width: 72px;
  height: auto;
}

.icon-art svg {
    width: 42px;
    height: 42px;
  }

  .sticky {
    position: relative;
    top: 20px;
    right: auto;
    width: 148px;
    margin: 8px 16px 0 auto;
    transform: rotate(2deg);
  }

  .windows {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 12px calc(var(--taskbar-h) + env(safe-area-inset-bottom) + 20px);
    pointer-events: auto;
  }

  .window {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none;
    max-height: none;
    box-shadow:
      inset 2px 2px 0 #fff,
      inset -2px -2px 0 #e2c4ce,
      4px 4px 0 var(--shadow);
  }

  .window-body { padding: 14px 16px 16px; }

  .hero-body { padding: 14px 14px 20px; }
  .hero-logo { width: min(150px, 55%); margin-bottom: 2px; }
  .hero-title { font-size: 32px; }
  .hero-theme { font-size: 28px; }
  .cta-hero { font-size: 20px; padding: 10px 22px; }
  .icon-logo { width: 64px; height: 42px; }
  .icon-logo img { width: 64px; }

  .titlebar { cursor: default; }

  .taskbar {
    position: fixed;
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--taskbar-h) + env(safe-area-inset-bottom));
  }

  .start-menu,
  .calendar-pop {
    position: fixed;
    bottom: calc(var(--taskbar-h) + env(safe-area-inset-bottom) + 8px);
  }

  .calendar-pop { width: min(260px, calc(100vw - 16px)); }

  .sparkles { display: none; }
}

@media (max-width: 420px) {
  .icons { grid-template-columns: repeat(3, 1fr); }
  .window-body h3 { font-size: 22px; }
  .meta div { grid-template-columns: 1fr; gap: 2px; }
}
