/* ───────── Tokens: Dusk (ours, default) and Day (light, playful) ───────── */
:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --star: #ffe9b8;
  --green: #4fcf8d;
  --radius: 26px;
}

:root[data-theme='dusk'] {
  color-scheme: dark;
  --bg: #1c1a2b;
  --page:
    radial-gradient(60% 40% at 10% 0%, #3b3358 0%, transparent 70%),
    radial-gradient(50% 40% at 100% 30%, #4a2f45 0%, transparent 70%),
    radial-gradient(60% 40% at 0% 80%, #2e2850 0%, transparent 70%),
    #1c1a2b;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.48);
  --accent-text: linear-gradient(100deg, #fff 0%, #f3e4dc 45%, #d9c6f5 100%);
  --hl: linear-gradient(90deg, rgba(255, 233, 184, 0.55), rgba(217, 198, 245, 0.45));
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  --card-line: rgba(255, 255, 255, 0.08);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --nav: rgba(30, 27, 46, 0.72);
  --primary: linear-gradient(180deg, #fff8f3, #f3e4dc);
  --primary-text: #3a2a44;
  --soft: rgba(255, 255, 255, 0.1);
  --soft-text: #fff;
  --chip: rgba(255, 255, 255, 0.08);
  --show: linear-gradient(180deg, #120f22, #231d3a 70%, #33294d);
  --browser: #15131f;
  --browser-bar: #24212f;
  --block-bg:
    radial-gradient(70% 60% at 15% 0%, #3b3358 0%, transparent 70%),
    radial-gradient(70% 60% at 100% 100%, #4a2f45 0%, transparent 70%), #1c1a2b;
  --block-card: linear-gradient(180deg, rgba(58, 48, 86, 0.65), rgba(30, 26, 46, 0.7));
  --block-text: #fff;
}

:root[data-theme='day'] {
  color-scheme: light;
  --bg: #f7f5f2;
  --page:
    radial-gradient(50% 35% at 100% 0%, #efe7ff 0%, transparent 70%),
    radial-gradient(40% 30% at 0% 45%, #fff1e3 0%, transparent 70%),
    #f7f5f2;
  --text: #1b1630;
  --text-2: rgba(27, 22, 48, 0.68);
  --text-3: rgba(27, 22, 48, 0.45);
  --accent-text: linear-gradient(100deg, #6a4ee0 0%, #9b6cf0 60%, #c86fc9 100%);
  --hl: #ffe39a;
  --card: #fff;
  --card-line: rgba(27, 22, 48, 0.07);
  --card-shadow: 0 1px 2px rgba(27, 22, 48, 0.04), 0 10px 30px rgba(27, 22, 48, 0.06);
  --nav: rgba(255, 255, 255, 0.82);
  --primary: linear-gradient(180deg, #7b62f0, #5b43d6);
  --primary-text: #fff;
  --soft: #ffe7a3;
  --soft-text: #3a2a10;
  --chip: rgba(27, 22, 48, 0.05);
  --show: linear-gradient(180deg, #1c1a2b, #2d2645);
  --browser: #fff;
  --browser-bar: #f0edf5;
  --block-bg:
    radial-gradient(70% 60% at 15% 0%, #3b3358 0%, transparent 70%),
    radial-gradient(70% 60% at 100% 100%, #4a2f45 0%, transparent 70%), #1c1a2b;
  --block-card: linear-gradient(180deg, rgba(58, 48, 86, 0.65), rgba(30, 26, 46, 0.7));
  --block-text: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  background: var(--page);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color 0.4s;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--chip);
  font-family: var(--mono);
  font-size: 0.9em;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.star {
  color: #e8b64a;
}

:root[data-theme='dusk'] .star {
  color: var(--star);
  text-shadow: 0 0 8px rgba(255, 220, 150, 0.6);
}

.center {
  text-align: center;
}

.fine {
  font-size: 13px;
  color: var(--text-3);
}

/* ───────── Buttons ───────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.3s var(--spring),
    box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 28px rgba(0, 0, 0, 0.22);
}

:root[data-theme='dusk'] .btn-primary {
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(255, 210, 200, 0.18);
}

.btn-soft {
  background: var(--soft);
  color: var(--soft-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn.soon {
  filter: saturate(0.6);
}

.sticker {
  position: absolute;
  top: -16px;
  left: -12px;
  padding: 3px 9px;
  border-radius: 8px;
  background: #1b1630;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  transform: rotate(-6deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

:root[data-theme='dusk'] .sticker {
  background: var(--star);
  color: #3a2a44;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 13px;
  color: var(--text-2);
}

.chip b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.chip.pop {
  animation: pop 0.6s var(--spring);
}

@keyframes pop {
  40% {
    transform: scale(1.12);
  }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--text-2);
}

:root[data-theme='dusk'] .i-sun,
:root[data-theme='day'] .i-moon {
  display: none;
}

/* ───────── Nav ───────── */
.nav-wrap {
  position: sticky;
  z-index: 50;
  top: 14px;
  padding: 0 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  margin: 14px auto 0;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: var(--nav);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 0 0 1px var(--card-line),
    0 10px 30px rgba(0, 0, 0, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--text-2);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ───────── Layout ───────── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.h1 {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.accent {
  background: var(--accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Highlighter swoosh under a word, like a marker */
.hl {
  position: relative;
  white-space: nowrap;
}

.hl::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.26em;
  border-radius: 0.2em;
  background: var(--hl);
  transform: rotate(-1.2deg);
}

.lede {
  max-width: 520px;
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-2);
}

.lede.small {
  font-size: 17px;
  margin-top: 16px;
}

.lede.center {
  margin-inline: auto;
  text-align: center;
}

.micro {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-3);
}

.card {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-line);
}

/* ───────── Hero ───────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 90px);
  padding: 40px 0 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--chip);
  box-shadow: 0 0 0 1px var(--card-line);
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
}

.badge-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.badge .arrow {
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-right {
  position: relative;
}

.sky-tile {
  position: absolute;
  z-index: 3;
  top: -46px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 22px;
  background: var(--card);
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-line),
    0 16px 40px rgba(0, 0, 0, 0.2);
  transform: rotate(3deg);
}

:root[data-theme='dusk'] .sky-tile {
  background: #2a2540;
}

.sky-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}

.sky-meta .bar {
  width: 90px;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--chip);
}

.sky-meta .bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #d9c6f5, var(--star));
  transition: width 0.6s var(--spring);
}

.sky-meta .mono {
  font-size: 11px;
  color: var(--text-3);
}

.browser {
  overflow: hidden;
  border-radius: 20px;
  background: var(--browser);
  box-shadow:
    0 0 0 1px var(--card-line),
    0 40px 80px rgba(0, 0, 0, 0.28);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 14px;
  background: var(--browser-bar);
}

.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.browser-bar i:nth-child(3) {
  background: #28c840;
}

.url {
  display: flex;
  align-items: center;
  flex: 1;
  height: 28px;
  margin-left: 10px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--chip);
  font-size: 13px;
  color: var(--text-2);
}

.browser-body {
  height: 420px;
}

.under-demo {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.fade {
  animation: fade-up 0.5s var(--ease) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.demo-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.demo-q {
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 700;
}

.demo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 12px;
}

.demo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 8px 14px;
  border-radius: 18px;
  background: var(--chip);
  box-shadow: 0 0 0 1px var(--card-line);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.3s var(--spring);
}

.demo-tile:hover {
  transform: translateY(-3px);
}

.bt {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 18px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.25);
}

.demo-loading {
  display: grid;
  place-items: center;
  height: 100%;
}

.demo-loading span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--chip);
  border-top-color: var(--text-3);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.demo-block {
  display: grid;
  place-items: center;
  height: 100%;
  padding-top: 40px;
  background: var(--block-bg);
  color: var(--block-text);
}

.block-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 340px;
  padding: 0 24px 24px;
  border-radius: 28px;
  background: var(--block-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.block-pib {
  margin-top: -50px;
}

.block-eyebrow {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.block-card h3 {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.block-card h3.small {
  font-size: 22px;
}

.block-card .host {
  background: linear-gradient(100deg, #fff, #f3e4dc 45%, #d9c6f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.block-sub {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.block-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.mini-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.mini-btn.primary {
  background: linear-gradient(180deg, #fff8f3, #f3e4dc);
  color: #3a2a44;
  box-shadow: inset 0 1px 0 #fff;
}

.mini-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.plus {
  margin: 4px 0 2px;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.plus .star {
  color: var(--star);
  text-shadow: 0 0 14px rgba(255, 220, 150, 0.7);
}

.closing {
  width: 120px;
  height: 4px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.closing i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f3e4dc, #fff);
  animation: closing 2s linear both;
}

@keyframes closing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.demo-free {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  font-size: 17px;
}

.demo-free .dim {
  font-size: 14px;
  color: var(--text-3);
}

.demo-free .mini-btn {
  margin-top: 10px;
  background: var(--chip);
  color: var(--text);
}

/* ───────── The number ───────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 64px 60px;
  border-radius: 36px;
  background: var(--show);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.25);
}

.showcase .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.slider {
  margin-top: 36px;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.slider-top b {
  font-size: 24px;
  color: #fff;
}

.slider input {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  appearance: none;
  background:
    linear-gradient(90deg, #d9c6f5, #fff8f3) 0 / var(--p, 33%) 100% no-repeat,
    rgba(255, 255, 255, 0.14);
  outline: none;
}

.slider input::-webkit-slider-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  appearance: none;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  cursor: grab;
}

.big-num {
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #e6dcf5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.big-cap {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
}

.show-note {
  max-width: 420px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* ───────── Who it's for ───────── */
.who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.who .card {
  padding: 24px 22px 26px;
}

.who-emoji {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--chip);
  font-size: 26px;
}

.who h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.who p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ───────── Features ───────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid .card {
  padding: 22px 24px 26px;
}

.grid h3 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.grid p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

.art {
  display: grid;
  place-items: center;
  height: 150px;
  border-radius: 18px;
  background: var(--chip);
  overflow: hidden;
}

.art-path {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.art-path .pill {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-line);
  font-family: var(--mono);
  font-size: 14px;
}

.art-path .pill b {
  color: #e05a7a;
}

.art-path .x {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e05a7a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.mini-sched {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-line);
  font-size: 14px;
}

.mini-sched span {
  font-size: 12.5px;
  color: var(--text-2);
}

.mini-sched .sw {
  grid-row: 1 / 3;
  grid-column: 2;
}

.sw {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--chip);
}

.sw.on {
  background: var(--primary);
}

.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.sw.on::after {
  left: 21px;
}

:root[data-theme='dusk'] .sw.on::after {
  background: #c7b2ef;
}

.lock-pill {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--card-line);
  font-size: 14.5px;
  font-weight: 700;
}

.art-stars .plus {
  font-size: 54px;
}

:root[data-theme='day'] .art-stars .plus .star {
  color: #e8b64a;
  text-shadow: none;
}

/* ───────── Meet Pib ───────── */
.meet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.moods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.moods button,
.unlocks button {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--chip);
  box-shadow: 0 0 0 1px var(--card-line);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.moods button.on,
.unlocks button.on {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: none;
}

.meet-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 24px 26px;
  border-radius: 36px;
  background: var(--show);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stage-pib {
  min-height: 250px;
}

.unlocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.unlocks button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
}

.unlocks button span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--star);
}

.unlocks button.on span {
  color: inherit;
}

:root[data-theme='day'] .unlocks button.on {
  background: linear-gradient(180deg, #fff8f3, #f3e4dc);
  color: #3a2a44;
}

/* ───────── Steps ───────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 22px;
}

.steps .t {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

.steps b {
  display: block;
  font-size: 17px;
}

.steps p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ───────── Privacy ───────── */
.privacy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 44px;
}

.privacy p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

.ticks li b {
  color: var(--text);
}

.ticks li::before {
  content: '✓';
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #0f2a1d;
  font-size: 12px;
  font-weight: 800;
}

/* ───────── Pricing ───────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
}

.plan h3 {
  font-size: 18px;
  font-weight: 800;
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 18px;
}

.plan .price b {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan .price s {
  font-size: 18px;
  color: var(--text-3);
}

.plan .price span {
  font-size: 14px;
  color: var(--text-3);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}

.plan li::before {
  content: '✦';
  color: #e8b64a;
}

:root[data-theme='dusk'] .plan li::before {
  color: var(--star);
}

.plan .fine {
  margin-top: 10px;
  text-align: center;
}

.plan.featured {
  transform: translateY(-10px);
  box-shadow:
    var(--card-shadow),
    0 0 0 2px #a98fe3,
    0 30px 60px rgba(0, 0, 0, 0.22);
}

.ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--star);
  color: #3a2a44;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───────── FAQ ───────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--card);
  box-shadow:
    var(--card-shadow),
    0 0 0 1px var(--card-line);
}

.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq summary::after {
  content: '+';
  float: right;
  color: var(--text-3);
}

.faq details[open] summary::after {
  content: '–';
}

.faq p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ───────── Final / footer ───────── */
.final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px 50px;
  border-top: 1px solid var(--card-line);
  font-size: 14px;
}

.footer nav {
  display: flex;
  gap: 22px;
  color: var(--text-2);
}

.footer nav a {
  text-decoration: none;
}

.float-cta {
  position: fixed;
  z-index: 40;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px 0 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s var(--ease);
}

.past-hero .float-cta {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ───────── Pib motion ───────── */
.pib {
  overflow: visible;
  display: block;
}

.pib-float,
.pib-shadow,
.pib-body,
.pib-eye,
.pib-spark {
  transform-box: fill-box;
  transform-origin: center;
}

.pib-float {
  animation: float 4.5s ease-in-out infinite;
}

.pib-shadow {
  animation: shadow 4.5s ease-in-out infinite;
}

.pib-eyes {
  transform: translate(var(--lx, 0), var(--ly, 0));
  transition: transform 0.25s ease-out;
}

.pib-idle .pib-eyes {
  transform: translate(var(--lx, 0), var(--ly, 0));
}

.pib-eye {
  animation: blink 5.5s infinite;
}

.pib-nope .pib-body {
  animation: shake 0.7s ease-in-out 0.3s both;
}

.pib-breathe .pib-body,
.pib-sleep .pib-body {
  animation: breathe 8s ease-in-out infinite;
}

.pib-happy .pib-body {
  animation: bounce 1.6s var(--spring) infinite;
}

.pib-spark {
  animation: twinkle 1.6s ease-in-out infinite;
}

.pib-z {
  animation: zz 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1.02, 0.98);
  }
  50% {
    transform: translateY(-5px) scale(0.99, 1.01);
  }
}

@keyframes shadow {
  50% {
    transform: scale(0.86);
    opacity: 0.2;
  }
}

@keyframes blink {
  0%,
  94%,
  100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}

@keyframes shake {
  20% {
    transform: rotate(-8deg);
  }
  40% {
    transform: rotate(7deg);
  }
  60% {
    transform: rotate(-5deg);
  }
  80% {
    transform: rotate(3deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  30% {
    transform: translateY(-10px) scale(0.96, 1.04);
  }
  55% {
    transform: translateY(0) scale(1.05, 0.95);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zz {
  50% {
    opacity: 0.3;
  }
}

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

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .showcase,
  .meet,
  .privacy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 60px;
  }

  .grid,
  .plans,
  .who {
    grid-template-columns: 1fr 1fr;
  }

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

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  main {
    padding: 0 16px;
  }

  .nav-wrap {
    padding: 0 12px;
  }

  .stars-chip {
    display: none;
  }

  .grid,
  .plans,
  .steps,
  .who {
    grid-template-columns: 1fr;
  }

  .showcase,
  .privacy {
    padding: 32px 22px;
  }

  .demo-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .block-card {
    width: 92%;
  }

  .sky-tile {
    right: 0;
  }

  .footer {
    flex-direction: column;
    gap: 14px;
  }
}
