/* Bunnies Pocket — deploy site
   Apple-grade structure, early-NewJeans Y2K surface: powder blue / cream / chrome / navy denim. */

:root {
  --cream: #faf5ea;
  --paper: #fffdf8;
  --powder: #aecbdd;
  --powder-deep: #6f9dc2;
  --chrome: #e9ebef;
  --chrome-deep: #cfd3db;
  --navy: #212d45;
  --navy-soft: #4b5a76;
  --pink: #f2b9c8;
  --pink-deep: #e493ab;
  --line: rgba(33, 45, 69, 0.14);
  --line-strong: rgba(33, 45, 69, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  /* One retro voice for the whole site (headline, UI, captions alike) —
     Sunflower (Korean) + Quicksand (Latin), differentiated only by size/weight.
     Sunflower has real 300/500/700 weight files (unlike Jua, which is a single
     weight and forced the browser to synthetically embolden it for any bold
     text, blurring small Korean glyphs) — real weights keep bold text crisp.
     System fonts stay as the final fallback if the CDN fails to load. */
  --font-sans: "Sunflower", "Quicksand", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Helvetica Neue", sans-serif;
  --font-serif: var(--font-sans);
  --font-caption: var(--font-sans);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* film-grain overlay, whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(250, 245, 234, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 245, 234, 0.92);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.wordmark {
  font-family: var(--font-caption);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-soft);
}

.nav-links a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--navy);
  border-color: var(--pink-deep);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper);
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--navy-soft);
  font: inherit;
  font-weight: 700;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #fff 0%, var(--pink) 55%, var(--pink-deep) 100%);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 14px rgba(228, 147, 171, 0.35),
    0 1px 2px rgba(33, 45, 69, 0.15);
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 20px rgba(228, 147, 171, 0.4),
    0 2px 4px rgba(33, 45, 69, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
}

.nav .btn-primary {
  padding: 8px 16px;
  font-size: 12px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 168px 0 0;
  overflow: hidden;
}

.hero-copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-caption);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--powder-deep);
  background: #fff;
  border: 1px dashed var(--line-strong);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--navy) 60%, var(--powder-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: var(--font-caption);
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-soft);
  margin: 0 0 34px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-cta .btn-primary {
  padding: 16px 34px;
  font-size: 16px;
}

.meta-line {
  font-family: var(--font-caption);
  font-size: 12px;
  color: var(--navy-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-note {
  display: none;
  margin: 18px auto 0;
  max-width: 420px;
  font-family: var(--font-caption);
  font-size: 12px;
  color: var(--navy-soft);
  background: var(--chrome);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
}

.mobile-note.show {
  display: block;
}

/* sparkles */
.sparkle {
  position: absolute;
  opacity: 0.85;
  animation: float-sparkle 5s ease-in-out infinite;
}

@keyframes float-sparkle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle { animation: none; }
}

/* ledge: characters walking along the bottom edge */
.ledge {
  position: relative;
  height: 168px;
  margin-top: 56px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(174, 203, 221, 0.35) 100%);
  border-top: 2px dashed var(--line-strong);
}

.ledge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--powder-deep) 0 10px,
    transparent 10px 20px
  );
}

.walker {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  will-change: transform;
  animation-name: walk-across;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes walk-across {
  from { transform: translateX(-15%); }
  to { transform: translateX(115%); }
}

.sprite {
  width: 88px;
  height: 88px;
  image-rendering: pixelated;
  background-repeat: no-repeat;
  background-size: 704px 88px;
  animation: sprite-frames 0.72s steps(8) infinite;
}

@keyframes sprite-frames {
  from { background-position-x: 0; }
  to { background-position-x: -704px; }
}

@media (prefers-reduced-motion: reduce) {
  .walker { animation: none; }
  .sprite { animation: none; }
}

/* ---------- sections ---------- */

section {
  padding: 96px 0;
}

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

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--powder-deep);
  margin: 0 0 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-family: var(--font-caption);
  font-size: 16px;
  color: var(--navy-soft);
  line-height: 1.6;
  margin: 0;
}

.divider {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--line-strong) 0 8px,
    transparent 8px 16px
  );
  border: none;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- characters ---------- */

.char-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.char-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 18px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(33, 45, 69, 0.06);
}

.char-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.char-stage {
  height: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
}

.char-name {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

.char-tag {
  font-size: 11px;
  color: var(--navy-soft);
  margin: 4px 0 0;
  font-weight: 600;
}

/* ---------- features ---------- */

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

.feature-card {
  background: var(--chrome);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.6), transparent 55%);
  pointer-events: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 0 #fff inset, 0 4px 10px rgba(33, 45, 69, 0.1);
}

.feature-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-desc {
  font-family: var(--font-caption);
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-soft);
  margin: 0;
}

/* ---------- install guide ---------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr 260px;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, var(--powder));
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 #fff inset, 0 4px 10px rgba(111, 157, 194, 0.35);
}

.step-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
}

.step-desc {
  font-family: var(--font-caption);
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-soft);
  margin: 0;
}

.step-caveat {
  display: block;
  font-family: var(--font-caption);
  font-size: 11px;
  color: var(--navy-soft);
  margin-top: 8px;
  font-style: italic;
}

/* mac mockup */
.mock {
  background: var(--chrome);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  font-size: 11px;
}

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--chrome-deep);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
}

.mock-body {
  padding: 14px;
  background: var(--paper);
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.mock-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.mock-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-btn {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
}

.mock-warn {
  text-align: center;
  padding: 18px 10px;
  font-weight: 600;
}

.mock-icon-lg {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 9px;
  background: var(--chrome-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mock-icon-lg img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: 6px;
}

/* ---------- faq ---------- */

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

.faq-item {
  border-bottom: 1px dashed var(--line);
  padding: 20px 4px;
}

.faq-q {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 8px;
  display: flex;
  gap: 10px;
}

.faq-q span {
  color: var(--pink-deep);
  font-family: var(--font-serif);
}

.faq-a {
  font-family: var(--font-caption);
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-soft);
  margin: 0 0 0 26px;
}

/* ---------- footer ---------- */

footer {
  padding: 48px 0 60px;
  text-align: center;
}

.footer-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-disclaimer {
  font-family: var(--font-caption);
  font-size: 12px;
  color: var(--navy-soft);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.footer-version {
  margin-top: 18px;
  font-size: 11px;
  color: var(--navy-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .char-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 44px 1fr;
  }

  .step .mock {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 140px;
  }

  .char-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  section {
    padding: 72px 0;
  }
}
