/* OurTeory — soft, playful, a little bit bouncy */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fdfbf7;
  --card: #ffffff;
  --tint: #f6f1ff;
  --ink: #2a2433;
  --body: #3e384a;
  --muted: #6f6880;
  --line: #ece6f2;
  --accent: #7158e2;
  --accent-2: #f27aa0;
  --accent-soft: #ece6ff;
  --pink: #ffb3c4;
  --peach: #ffd6bd;
  --mint: #c4ecd9;
  --butter: #fff1b8;
  --sky: #d3e4ff;
  --glass: rgba(253, 251, 247, 0.72);
  --shadow: 0 1px 2px rgba(42, 36, 51, 0.04), 0 10px 30px rgba(113, 88, 226, 0.08);
  --shadow-lift: 0 2px 4px rgba(42, 36, 51, 0.05), 0 22px 50px rgba(113, 88, 226, 0.16);
  --radius: 28px;
  --wrap: 1120px;
  --display: "Poppins", "Nunito Sans", system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

:root[data-mode="dark"] {
  --paper: #16131d;
  --card: #211c2b;
  --tint: #1c1826;
  --ink: #f5f0fb;
  --body: #d9d2e4;
  --muted: #a99fbb;
  --line: #322b3f;
  --accent: #a995ff;
  --accent-2: #ff8fb3;
  --accent-soft: #2e2547;
  --pink: #5c3346;
  --peach: #5a3d2e;
  --mint: #284a3d;
  --butter: #4f4626;
  --sky: #2a3a57;
  --glass: rgba(22, 19, 29, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 22px 50px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 62px); }
h2 { font-size: clamp(28px, 3.8vw, 42px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.muted { color: var(--muted); }

.shimmer {
  background: linear-gradient(100deg, #EE86B0 0%, #9C9BE8 30%, #78A6EA 50%, #9C9BE8 70%, #EE86B0 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); padding: 10px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--display); align-items: center; font-weight: 600; font-size: 25px; color: var(--ink); display: inline-flex; }
.wordmark span { background: linear-gradient(90deg, #EE86B0, #78A6EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-mode="dark"] .wordmark span { background-image: linear-gradient(90deg, #FF9FC6, #9CC2FF); }
.wordmark .logo-mark { width: 40px; height: auto; margin-right: 10px; align-self: center; color: var(--ink); transition: transform 0.5s var(--spring); }
.wordmark:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.wordmark:hover { text-decoration: none; }
.wordmark:hover span { display: inline-block; animation: jelly 0.6s var(--spring); }
.header-right { display: flex; align-items: center; gap: 10px; }
.nav { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { position: relative; z-index: 1; color: var(--muted); font-size: 15px; font-weight: 700; padding: 7px 15px; border-radius: 999px; transition: color 0.25s; }
.nav a:hover, .nav a.active, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--accent-soft);
  opacity: 0; transition: transform 0.45s var(--spring), width 0.45s var(--spring), opacity 0.25s;
}

/* day / night toggle */
.theme-toggle {
  position: relative; width: 62px; height: 34px; flex: none;
  border: 0; border-radius: 999px; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, #bfe0ff, #ffe1ec);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: background 0.5s var(--ease);
  overflow: hidden;
}
.theme-toggle .knob {
  position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: #ffd35c; box-shadow: 0 0 0 4px rgba(255, 211, 92, 0.3);
  transition: transform 0.5s var(--spring), background 0.4s, box-shadow 0.4s;
}
.theme-toggle .knob::after {
  content: ""; position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%;
  background: #3a3157; transform: scale(0); transform-origin: top right; transition: transform 0.4s var(--ease);
}
.theme-toggle .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.4s, transform 0.5s var(--spring); transform: translateY(6px); }
.theme-toggle .star:nth-child(2) { top: 9px; left: 12px; }
.theme-toggle .star:nth-child(3) { top: 20px; left: 20px; width: 2px; height: 2px; }
.theme-toggle .star:nth-child(4) { top: 12px; left: 26px; width: 2px; height: 2px; }
:root[data-mode="dark"] .theme-toggle { background: linear-gradient(135deg, #2b2450, #4a3470); }
:root[data-mode="dark"] .theme-toggle .knob { transform: translateX(28px); background: #f3ecff; box-shadow: 0 0 0 4px rgba(243, 236, 255, 0.12); }
:root[data-mode="dark"] .theme-toggle .knob::after { transform: scale(1); }
:root[data-mode="dark"] .theme-toggle .star { opacity: 1; transform: none; }

/* ---------- sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { margin-bottom: 44px; }
.section-head p { margin: 14px 0 0; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.tinted { background: var(--tint); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 10em; }
.hero .lead { margin-top: 24px; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 420px; height: 420px; background: var(--pink); top: -120px; right: 8%; }
.aurora i:nth-child(2) { width: 380px; height: 380px; background: var(--sky); bottom: -160px; right: 32%; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 300px; height: 300px; background: var(--butter); top: 30%; left: -100px; animation-delay: -12s; }
:root[data-mode="dark"] .aurora i { opacity: 0.45; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* phone mockup */
.stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.stage .phone { --persp: 1200px; }
.phone {
  position: relative; width: 280px; height: 560px; border-radius: 46px; padding: 12px;
  background: #1e1a26; box-shadow: var(--shadow-lift), inset 0 0 0 2px #39324a;
  transform: perspective(1200px) rotateY(-12deg) rotateX(6deg);
  transition: transform 0.6s var(--ease);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: #fdf8f3; color: #2a2433; padding: 44px 16px 16px;
  font-size: 14px; line-height: 1.35;
}
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 86px; height: 24px; border-radius: 20px; background: #1e1a26; transform: translateX(-50%); }
.screen h4 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 4px 4px 2px; }
.screen .sub { color: #8a8299; font-size: 12.5px; margin: 0 4px 14px; }
.ppl { display: grid; gap: 9px; }
.ppl .p {
  display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 2px 10px rgba(42, 36, 51, 0.06); cursor: pointer;
  transition: transform 0.35s var(--spring);
}
.ppl .p:hover { transform: scale(1.04) rotate(-1deg); }
.ppl .av { width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; flex: none; }
.ppl b { display: block; font-size: 14px; }
.ppl small { color: #8a8299; font-size: 12px; }
.ppl .h { margin-left: auto; color: #f27aa0; font-size: 16px; opacity: 0.35; transition: opacity 0.2s, transform 0.4s var(--spring); }
.ppl .p.loved .h { opacity: 1; transform: scale(1.3); }
.toast {
  position: absolute; left: 14px; right: 14px; bottom: 18px;
  display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 18px;
  background: #2a2433; color: #fff; font-size: 13px; font-weight: 700;
  transform: translateY(140%); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.3s;
}
.toast.show { transform: none; opacity: 1; }
.toast .t-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #ffb3c4; font-size: 16px; flex: none; }

.sticker {
  position: absolute; z-index: 5; width: max-content; padding: 9px 15px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.sticker { display: inline-flex; align-items: center; gap: 8px; padding-left: 9px; }
.sticker img { width: 30px; height: auto; }
.sticker:nth-of-type(1) { top: 110px; right: calc(50% + 138px); rotate: -6deg; }
.sticker:nth-of-type(2) { top: 46%; left: calc(50% + 126px); rotate: 5deg; animation-delay: -1.6s; }
.sticker:nth-of-type(3) { bottom: 90px; right: calc(50% + 124px); rotate: 3deg; animation-delay: -3.2s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 700;
}
.pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3); opacity: 0; } }

.button {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px;
  transition: transform 0.35s var(--spring), box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.button:hover { text-decoration: none; box-shadow: 0 12px 30px rgba(113, 88, 226, 0.28); }
.button:active { transform: scale(0.94) !important; }
.button .arrow { display: inline-block; transition: transform 0.35s var(--spring); }
.button:hover .arrow { transform: translateX(4px); }
.button.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 26px rgba(113, 88, 226, 0.14); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 14px 0; margin-top: -14px; }
.marquee { padding: 18px 0; background: var(--ink); color: var(--paper); transform: rotate(-1.2deg); width: calc(100% + 40px); margin-left: -20px; }
.marquee .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 24px; font-weight: 500; padding: 0 22px; white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--pink); }
:root[data-mode="dark"] .marquee span:nth-child(even) { color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.45s var(--spring), box-shadow 0.35s, border-color 0.3s, background-color 0.5s;
}
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.35), transparent 50%); }
.tilt:hover .glare { opacity: 1; }
:root[data-mode="dark"] .tilt .glare { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(169,149,255,0.14), transparent 50%); }

/* apps bento */
.bento { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.app-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 36px; }
.app-card .top { display: flex; align-items: center; gap: 20px; }
.app-card .top img { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 10px 26px rgba(113, 88, 226, 0.18); transition: transform 0.5s var(--spring); }
.app-card:hover .top img { transform: rotate(-8deg) scale(1.06); }
.app-card h3 { font-size: 30px; }
.app-card p { margin: 0; color: var(--muted); max-width: 32em; }
.app-card .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 8px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mini-chips li { padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); }
.mini-chips li:nth-child(1) { background: var(--pink); }
.mini-chips li:nth-child(2) { background: var(--sky); }
.mini-chips li:nth-child(3) { background: var(--mint); }
.mini-chips li:nth-child(4) { background: var(--butter); }

.locked { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--tint); border-style: dashed; position: relative; overflow: hidden; }
.locked .lock { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); font-size: 24px; }
.locked:hover .lock { animation: wiggle 0.6s var(--ease); }
.locked .skel { display: grid; gap: 10px; }
.locked .skel i { display: block; height: 12px; border-radius: 8px; background: linear-gradient(90deg, var(--line) 25%, var(--card) 50%, var(--line) 75%); background-size: 200% 100%; animation: skel 1.6s linear infinite; }
.locked .skel i:nth-child(1) { width: 80%; } .locked .skel i:nth-child(2) { width: 60%; } .locked .skel i:nth-child(3) { width: 70%; }
@keyframes skel { to { background-position: -200% 0; } }
@keyframes wiggle { 20% { rotate: -14deg; } 40% { rotate: 12deg; } 60% { rotate: -8deg; } 80% { rotate: 4deg; } }

/* about */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { position: relative; overflow: hidden; }
.person .avatar {
  width: 64px; height: 64px; border-radius: 22px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 28px; color: #2a2433;
  margin-bottom: 20px; transition: transform 0.5s var(--spring), border-radius 0.5s var(--spring);
}
.person:hover .avatar { transform: rotate(-10deg) scale(1.08); border-radius: 50%; }
.person h3 { font-size: 24px; }
.person p { margin: 10px 0 0; color: var(--muted); }
.person .role { display: inline-block; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); font-size: 13px; font-weight: 700; color: var(--accent); }
.person .bg-blob { position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; opacity: 0.5; filter: blur(30px); transition: transform 0.8s var(--ease); pointer-events: none; }
.person:hover .bg-blob { transform: translate(-30px, 30px) scale(1.2); }
.peeker { position: absolute; width: 110px; top: -54px; right: 34px; }
.particle { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; left: 0; top: 0; }

/* peekers: little animals peeking out from behind a card */
.peek-host { position: relative; display: grid; }
.peek-host > .card { position: relative; z-index: 1; }
.peek {
  position: absolute; z-index: 0; bottom: calc(100% - 6px); right: 34px; width: 72px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.peek.left { right: auto; left: 34px; }
.peek img { width: 100%; height: auto; transform: translateY(0); transition: transform 0.7s var(--spring) var(--pd, 0.35s); }
.js .peek-host[data-reveal]:not(.in) .peek img { transform: translateY(100%); }
.peek { touch-action: manipulation; }
.peek:hover img { transform: translateY(-5px); transition-delay: 0s; }
.peek-host.settled .peek img { transition-delay: 0s; }
.peek img.tap { animation: peekTap 0.55s cubic-bezier(0.3, 0.7, 0.4, 1); transition: none; }
@keyframes peekTap {
  0% { transform: translateY(0); }
  30% { transform: translateY(75%); }
  62% { transform: translateY(-14%) scale(1.06, 0.95); }
  80% { transform: translateY(3%) scale(0.98, 1.02); }
  100% { transform: translateY(0); }
}
.peek-host:hover > .card.feature, .peek-host:hover > .card.price { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.particle { z-index: 3; }

/* peeker heads inside chips */
.chips li img { display: inline-block; width: 24px; height: 20px; object-fit: contain; object-position: bottom; vertical-align: -4px; margin-right: 6px; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features.peeky, .pricing.peeky { row-gap: 52px; padding-top: 30px; }
.feature { padding: 28px; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.feature .icon {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px; transition: transform 0.5s var(--spring);
}
.feature:hover .icon { transform: rotate(-10deg) scale(1.1); }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* app hero */
.app-hero { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.app-hero img { width: 160px; height: 160px; border-radius: 40px; box-shadow: var(--shadow-lift); animation: bob 6s ease-in-out infinite; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 9px 17px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 700; cursor: default; transition: transform 0.35s var(--spring), border-color 0.2s; }
.chips li:hover { transform: translateY(-3px) rotate(-2deg); border-color: var(--accent); }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.price h3 { margin-bottom: 6px; }
.price .tag { font-size: 14px; font-weight: 700; color: var(--accent); }
.price p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

/* more from us: Minimary + Full Book Digital */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.more-card { display: flex; flex-direction: column; gap: 22px; padding: 18px 18px 30px; color: var(--ink); text-decoration: none; }
.more-card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.more-card .preview { position: relative; height: 230px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.more-text { padding: 0 14px; }
.more-text .by { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; }
.more-text h3 { font-size: 26px; margin-top: 12px; }
.more-text p { margin: 8px 0 0; color: var(--muted); }
.more-text .visit { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--accent); }
.more-text .visit .arrow { transition: transform 0.35s var(--spring); }
.more-card:hover .visit .arrow { transform: translate(3px, -3px); }

/* Minimary: an envelope that opens on hover */
.minimary .preview { background: radial-gradient(120% 90% at 30% 20%, #ffe1e6 0%, #fff7f2 60%); }
.env { position: relative; width: 190px; height: 124px; margin-top: 40px; }
.env-body { position: absolute; inset: 0; border-radius: 10px; background: #f6b5c1; box-shadow: 0 14px 30px rgba(214, 112, 140, 0.25); z-index: 2;
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); }
.env::before { content: ""; position: absolute; inset: 0; border-radius: 10px; background: #f19fb0; z-index: 0; }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: #f8c3cd; z-index: 3;
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform 0.6s var(--ease), z-index 0s 0.3s; }
.env-seal { position: absolute; left: 50%; top: 56px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #e2577a; color: #fff; display: grid; place-items: center; font-size: 14px; z-index: 4; transition: opacity 0.3s, transform 0.4s var(--spring); }
.env-card { position: absolute; left: 12px; right: 12px; top: 8px; height: 108px; border-radius: 8px; background: #fffdfb; z-index: 1; padding: 14px; display: grid; align-content: start; gap: 8px; justify-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: transform 0.7s var(--spring) 0.15s; }
.env-script { font-family: var(--display); font-weight: 600; font-size: 15px; color: #d4567a; }
.env-line { width: 80%; height: 6px; border-radius: 4px; background: #f6dde3; }
.env-line.short { width: 50%; }
.minimary:hover .env-flap { transform: rotateX(180deg); z-index: 0; transition: transform 0.6s var(--ease), z-index 0s; }
.minimary:hover .env-seal { opacity: 0; transform: scale(0.4); }
.minimary:hover .env-card { transform: translateY(-62px); }

/* Full Book Digital: a little site window with appointments filling in */
.fullbook .preview { background: linear-gradient(140deg, #13213a, #24365a); }
.fb-window { width: 82%; border-radius: 14px; background: #fff; padding: 12px 18px 18px; box-shadow: 0 16px 36px rgba(0,0,0,0.3); color: #13213a; transition: transform 0.5s var(--spring); }
.fullbook:hover .fb-window { transform: translateY(-4px) scale(1.02); }
.fb-dots { display: flex; gap: 5px; margin-bottom: 12px; }
.fb-dots i { width: 8px; height: 8px; border-radius: 50%; background: #dfe3ea; }
.fb-head { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.fb-head mark { background: linear-gradient(transparent 55%, #ffc9d6 55%); color: inherit; padding: 0 2px; }
.fb-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fb-slots span { text-align: center; font-size: 12.5px; font-weight: 700; padding: 7px 0; border-radius: 9px; background: #eef1f6; color: #13213a; animation: book 6s infinite; }
.fb-slots span:nth-child(2) { animation-delay: 0.8s; } .fb-slots span:nth-child(3) { animation-delay: 1.6s; } .fb-slots span:nth-child(4) { animation-delay: 2.4s; }
@keyframes book { 0%, 8% { background: #eef1f6; color: #13213a; } 14%, 80% { background: #13213a; color: #fff; } 90%, 100% { background: #eef1f6; color: #13213a; } }

/* contact band */
.contact { text-align: center; }
.contact .lead { margin: 16px auto 0; }
.contact .actions { justify-content: center; }
.contact-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 32px; border-radius: 40px;
  background: linear-gradient(135deg, var(--accent-soft), var(--tint) 40%, color-mix(in srgb, var(--pink) 55%, var(--tint)));
}
.contact-band .lead { margin: 16px auto 0; }
.contact-band .actions { justify-content: center; }
.copy-btn .copied { position: absolute; left: 50%; top: -38px; transform: translate(-50%, 8px); padding: 5px 12px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.4s var(--spring); white-space: nowrap; }
.copy-btn.ok .copied { opacity: 1; transform: translate(-50%, 0); }

/* ---------- long-form pages (privacy, terms, support) ---------- */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(38px, 5.5vw, 54px); }
.doc .updated { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.doc .summary { margin: 34px 0 8px; background: var(--tint); border: 0; }
.doc .summary p { margin: 0; }
.doc h2 { font-size: 27px; margin: 44px 0 12px; }
.doc h3 { margin: 26px 0 8px; font-size: 20px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 14px; color: var(--muted); font-weight: 700; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.35s var(--spring); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; }
details[open] p { animation: fadeUp 0.4s var(--ease); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); font-weight: 700; }
.site-footer a:hover { color: var(--ink); }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal].in.card { transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.45s var(--spring), box-shadow 0.35s, border-color 0.3s, background-color 0.5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes jelly { 30% { transform: scale(1.25, 0.8); } 50% { transform: scale(0.85, 1.15); } 70% { transform: scale(1.08, 0.95); } }

/* ---------- small screens ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .features, .pricing { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 64px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .wordmark { font-size: 22px; }
  .wordmark .logo-mark { width: 32px; margin-right: 8px; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 10px; }
  /* phone: logo + day/night toggle on the top row, the menu on its own row underneath */
  .header-right { display: contents; }
  .theme-toggle { order: 2; margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; }
  .nav a { flex: 1; text-align: center; }
  .theme-toggle { width: 54px; height: 30px; }
  .theme-toggle .knob { width: 22px; height: 22px; }
  :root[data-mode="dark"] .theme-toggle .knob { transform: translateX(24px); }
  .pill { border-radius: 16px; line-height: 1.35; }
  .app-card .top img { width: 76px; height: 76px; border-radius: 22px; }
  .app-card h3 { font-size: 28px; }
  .people, .features, .pricing { grid-template-columns: 1fr; }
  .features.peeky, .pricing.peeky { row-gap: 18px; padding-top: 0; }
  .peek-host { margin-top: 40px; }
  .app-hero { grid-template-columns: 1fr; gap: 24px; }
  .app-hero img { width: 116px; height: 116px; border-radius: 30px; }
  .card, .app-card { padding: 26px; }
  .sticker { display: none; }
  .stage { min-height: 0; padding: 10px 0 20px; }
  .contact-band { padding: 52px 22px; border-radius: 30px; }
  .marquee span { font-size: 20px; }
}
@media (max-width: 400px) {
  .nav a { padding: 6px 8px; }
}

@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
