:root {
  --mauve: #B88EBF;
  --mauve-deep: #7D4984;
  --mauve-dark: #582B5E;
  --mauve-tint: #F2E5F5;
  --lilac-metal: #9D7BA8;
  --lavender: #EADCF0;
  --poodle-cloud: #FAF6FB;
  --ink: #1C1521;
  --ink-muted: #66556B;
  --accent-gold: #E8BF70;
  --accent-blush: #F4A6C5;
  --card-bg: #FFFFFF;

  --font-display: 'Gokendemo Bold', system-ui, sans-serif;
  --font-serif: Georgia, 'Playfair Display', serif;
  --font-sans: 'Apercu', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--mauve-tint);
  color: var(--ink);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  background-color: var(--mauve-tint);
  background-image: 
    radial-gradient(#d3bad9 1px, transparent 1px),
    linear-gradient(to bottom, #FAF6FB 0%, #EFE2F2 100%);
  background-size: 24px 24px, 100% 100%;
  color: var(--ink);
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3.5rem);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(125, 73, 132, 0.15);
  padding: 1.1rem 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-kin {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--mauve-deep);
}
.brand-edition {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--mauve-deep);
}

.btn-pill {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-mauve {
  background: var(--mauve-deep);
  color: #ffffff;
  border-color: var(--mauve-deep);
  box-shadow: 0 4px 12px rgba(125, 73, 132, 0.25);
}
.btn-mauve:hover {
  background: var(--mauve-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(125, 73, 132, 0.35);
}
.btn-outline {
  background: #ffffff;
  color: var(--mauve-deep);
  border-color: var(--mauve-deep);
}
.btn-outline:hover {
  background: var(--lavender);
}

/* HERO SECTION */
.hero-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-deep);
  background: rgba(184, 142, 191, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}
.eyebrow-tag::before {
  content: "🐩";
  font-size: 0.95rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  margin: 1.2rem 0;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--mauve-deep);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 35rem;
}

.hero-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 2px solid rgba(125, 73, 132, 0.12);
}
.meta-item {
  display: flex;
  flex-direction: column;
}
.meta-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.meta-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.tin-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.tin-viewport-container {
  position: relative;
  width: 100%;
  height: 560px;
  touch-action: none;
  cursor: grab;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.tin-viewport-container:active {
  cursor: grabbing;
}

.tin-viewport-container canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.spin-hint {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(125, 73, 132, 0.2);
  color: var(--mauve-deep);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  z-index: 5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(125, 73, 132, 0.1);
}
.spin-hint.gone {
  opacity: 0;
}

/* FLOATING TRANSLUCENT CONTROLS */
.tin-translucent-footer {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(125, 73, 132, 0.2);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(125, 73, 132, 0.08);
  z-index: 6;
}

.tin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-deep);
}
.tin-live-dot {
  width: 7px;
  height: 7px;
  background: #a855f7;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.tin-pills {
  display: flex;
  gap: 0.4rem;
}
.tin-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1.2px solid rgba(125, 73, 132, 0.25);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mauve-deep);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tin-btn:hover {
  background: var(--lavender);
  transform: translateY(-1px);
}
.tin-btn.active {
  background: var(--mauve-deep);
  color: #ffffff;
  border-color: var(--mauve-deep);
}

/* SECTION 2: PAL THE POODLE CHARM FEATURE */
.charm-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: #ffffff;
  border-top: 2px solid rgba(125, 73, 132, 0.1);
  border-bottom: 2px solid rgba(125, 73, 132, 0.1);
}

.charm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.charm-visual-card {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #FAF0FD, #EADBF2);
  border-radius: 28px;
  padding: 2.5rem;
  border: 2px solid rgba(125, 73, 132, 0.15);
  box-shadow: 0 16px 40px rgba(125, 73, 132, 0.08);
}
.charm-visual-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.charm-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

/* SECTION 3: CLOUD CHITS CAROUSEL */
.chits-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.chits-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.cloud-chits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.cloud-chit-card {
  background: #ffffff;
  border: 2px solid rgba(125, 73, 132, 0.18);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 12px 30px rgba(125, 73, 132, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.cloud-chit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(125, 73, 132, 0.14);
}
.cloud-chit-quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--mauve-dark);
}
.cloud-chit-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mauve-deep);
  padding-top: 1rem;
  border-top: 1px dashed rgba(125, 73, 132, 0.2);
}

/* SECTION 4: WAITLIST */
.waitlist-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 50%, #FAF0FD, #EFE2F2);
  border-top: 2px solid rgba(125, 73, 132, 0.15);
}
.waitlist-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 2px solid var(--mauve-deep);
  border-radius: 28px;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 18px 44px rgba(125, 73, 132, 0.12);
}
.waitlist-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.waitlist-input {
  flex: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  border: 2px solid rgba(125, 73, 132, 0.25);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
.waitlist-input:focus {
  border-color: var(--mauve-deep);
}

/* FOOTER */
.site-footer {
  border-top: 2px solid rgba(125, 73, 132, 0.15);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid, .charm-grid {
    grid-template-columns: 1fr;
  }
  .cloud-chits-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
