/* Vibico landing. Cool white canvas, pastel washes that match Vibi's six colours,
   the app's blue gradient for primary actions, and one type family (Figtree, set at medium
   weights with tight spacing in the manner of muse.ai and ChatGPT dots). The page follows
   the shape of the Dots page: hero, alternating "how it works" rows, a use-case carousel,
   three safety cards, an interactive day timeline, channel tabs, plans, FAQ, closing. */

:root {
  color-scheme: light;
  --bg: #fafafc;
  --surface: #ffffff;
  --ink: #1f1b2e;
  --muted: #625e70;
  --faint: #a19ca8;
  --line: #e6e3ec;
  --accent: #1a73e8;
  --accent-grad: linear-gradient(90deg, #1a73e8, #3d5afe);
  --spark: #efe7ff;
  --moon: #e8ebff;
  --leaf: #e2f6e8;
  --wave: #e1f0fd;
  --flame: #fdebe0;
  --star: #fcf3d6;
  --shadow: 0 18px 44px -26px rgba(30, 22, 50, 0.35);
  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --r-lg: 32px;
  --r-md: 22px;
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 1.5 15 8l-5.6 1.6L7 15.5Z' fill='%231f1b2e' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: background .15s, transform .1s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { position: relative; overflow: hidden; background: var(--accent-grad); color: #fff; }
.btn-primary:hover { background: linear-gradient(90deg, #1666d0, #3550e6); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cfcbd8; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* ── nav ── */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 980px; margin: 12px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 0 8px 28px -18px rgba(30, 22, 50, .25);
  transition: padding .3s, box-shadow .3s, background .3s;
}
.nav-wrap.scrolled .nav { padding-top: 6px; padding-bottom: 6px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px -16px rgba(30, 22, 50, .35); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.045em; }
.logo-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ── Vibi clips: a looping video with a still underneath for when the clip is missing ── */
.vclip { position: relative; aspect-ratio: 1; }
.vclip .clip, .vclip .still { position: absolute; inset: 0; width: 100%; height: 100%; }
.clip video { width: 100%; height: 100%; display: block; }
.still { object-fit: contain; object-position: bottom; padding: 4% 4% 2%; opacity: 0; }
.clip:empty + .still { opacity: 1; }

/* ── hero ── */
.hero { text-align: center; padding: 40px 16px 0; }
.hero-vibi { width: 220px; margin: 0 auto -8px; }
.hero-vibi .still { padding: 6% 8% 2%; }
.hero-title { margin: 0 auto; max-width: 900px; font-size: clamp(2.9rem, 8.4vw, 6.2rem); line-height: 1; letter-spacing: -0.045em; }
.hero-sub { margin: 24px auto 0; max-width: 600px; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-stage { position: relative; max-width: 1080px; margin: 56px auto 0; height: 660px; }
.hero-wash {
  position: absolute; inset: 120px 0 0; border-radius: 40px;
  background:
    radial-gradient(60% 80% at 15% 20%, #e3d6ff 0%, transparent 60%),
    radial-gradient(55% 70% at 90% 85%, #cfe6ff 0%, transparent 60%),
    radial-gradient(40% 50% at 60% 10%, #ffe8d6 0%, transparent 70%),
    #f1ecfb;
}
.hero-wash::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.sparkles { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.sparkles i {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 1.6); height: calc(var(--s) * 1.6);
  background: #ffd257; filter: drop-shadow(0 0 6px rgba(255, 200, 60, .7));
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 4s ease-in-out var(--d) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: translateY(0) scale(.7) rotate(0); }
  50% { opacity: 1; transform: translateY(-14px) scale(1) rotate(45deg); }
}

/* ── phone mockup: uses the app's own look ── */
.phone {
  position: relative; width: 320px; height: 650px; border-radius: 50px; padding: 11px; background: #1f1b2e;
  box-shadow: 0 40px 80px -30px rgba(30, 22, 60, .55);
}
.hero-phone { position: absolute; z-index: 2; left: 50%; top: 0; transform: translateX(-50%); }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #fbfbfd; display: flex; flex-direction: column; text-align: left; }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #1f1b2e; z-index: 3; }
.chat-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; padding: 46px 14px 8px; }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--spark); }
.who { display: flex; flex-direction: column; align-items: center; }
.who .chat-ava { width: 46px; height: 46px; }
.name-pill { position: relative; margin-top: -8px; padding: 2px 12px; border-radius: 999px; background: #fff; border: 1px solid #e8e6ee; font-weight: 600; font-size: .86rem; }
.who .chat-status { margin-top: 2px; font-size: .7rem; }
.hbtn { width: 34px; height: 34px; margin-top: 6px; border-radius: 50%; background: #f3f2f6 center/16px no-repeat; }
.menu-ic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f1b2e' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 5.5h10M3 10.5h6'/%3E%3C/svg%3E"); }
.call-ic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b2e' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5 9 7.3 7.5 9.4a10.6 10.6 0 0 0 7.1 7.1l2.1-1.5 3.8 2.4-.9 2.6c-.3.8-1.1 1.3-2 1.2C10.7 20 4 13.3 3.4 6.4c-.1-.9.4-1.7 1.2-2Z'/%3E%3C/svg%3E"); }
.chat-name { font-weight: 600; font-size: .98rem; line-height: 1.15; }
.chat-status { font-size: .78rem; color: var(--muted); }
.chat-status.busy { color: #3d5afe; }
/* Messages stack from the bottom; the script drops the oldest ones once they no longer fit. */
.chat-body { flex: 1; min-height: 0; overflow: hidden; padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 8px; }
.chat-body > :first-child { margin-top: auto; }
.chat-compose { flex: none; margin: 8px 10px 14px; height: 44px; border-radius: 999px; background: #f0eef4; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; font-size: .88rem; color: #9a96a6; }
.chat-compose i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-grad); }
.msg { flex: none; max-width: 84%; padding: 9px 13px; border-radius: 20px; font-size: .88rem; line-height: 1.38; animation: pop .35s ease-out both; }
.msg.me { align-self: flex-end; background: var(--accent-grad); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: #fff; border: 1px solid #ece9f1; border-bottom-left-radius: 6px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b8b2c4; animation: blink 1.1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
.tool { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 12px; background: #f2f1f6; font-size: .78rem; color: #4d4858; animation: pop .35s ease-out both; }
.tool .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d3d0dc; border-top-color: #5b5670; animation: spin .8s linear infinite; }
.tool.done .spin, .ok-ic { border: 0; background: #2fb36f var(--check) center/100%; animation: none; }
.ask { flex: none; align-self: stretch; background: #fff; border: 1px solid #e3e1ea; border-radius: 18px; padding: 12px; font-size: .82rem; animation: pop .35s ease-out both; }
.ask b { display: block; font-size: .86rem; }
.ask .quote { display: block; color: var(--muted); margin-top: 2px; }
.ask .row { display: flex; gap: 6px; margin-top: 10px; }
.ask .row i { flex: 1; font-style: normal; text-align: center; padding: 7px 0; border-radius: 999px; background: #f0eef4; font-weight: 600; transition: transform .15s; }
.ask .row i.go { background: var(--accent-grad); color: #fff; }
.ask .row i.go.tap { transform: scale(.92); }
.ask .done-line { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #2a8a57; font-weight: 600; }
.ok-ic { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.chat-body .gone { animation: gone .25s ease-in forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gone { to { opacity: 0; } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5a5f; animation: blink 1.6s infinite; }

/* ── sections ── */
.section { max-width: 1160px; margin: 0 auto; padding: 120px 16px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.split-head p { font-size: 1.15rem; color: var(--muted); max-width: 30em; }

.wash-spark { background: var(--spark); }
.wash-moon { background: var(--moon); }
.wash-leaf { background: var(--leaf); }
.wash-wave { background: var(--wave); }
.wash-flame { background: var(--flame); }
.wash-star { background: var(--star); }
.g-spark { background: linear-gradient(160deg, #f1e9ff, #cbb6f6); }
.g-flame { background: linear-gradient(160deg, #ffe7d8, #f8b08a); }
.g-wave { background: linear-gradient(160deg, #e3f0fe, #9fcaf6); }
.g-leaf { background: linear-gradient(160deg, #e3f7e8, #9edcb2); }

/* ── get going: alternating rows ── */
.rows { display: grid; gap: 48px; }
.row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.row.flip .row-art { order: 2; }
.row-art { position: relative; border-radius: var(--r-lg); min-height: 460px; display: grid; place-items: center; padding: 40px 32px 96px; overflow: hidden; }
.row-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
.row-copy p { margin-top: 14px; font-size: 1.1rem; color: var(--muted); max-width: 30em; }

.ui-card { position: relative; z-index: 1; width: min(100%, 380px); background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow); text-align: left; }
.ui-title { font-weight: 600; font-size: .92rem; padding: 4px 6px 10px; }
.memory ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.memory li, .task { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; }
.memory li { background: #f7f5fb; }
.mi { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: #f3effc; border-radius: 13px; font-size: 1.6rem; line-height: 1; }
.ui-card b { display: block; font-size: .94rem; font-weight: 600; }
.ui-card li div span, .task div span { font-size: .8rem; color: var(--muted); }
.ui-foot { margin-top: 8px; padding: 6px; font-size: .84rem; color: #7b5cf0; font-weight: 600; }
.ui-group { font-size: .78rem; font-weight: 600; color: var(--muted); padding: 8px 6px 4px; }
.task.hl { background: #fff3ec; }
.ti { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #f3f1f7 center/18px no-repeat; position: relative; }
.spin-ic::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid #e2c3b2; border-top-color: #e2754a; animation: spin 1s linear infinite; }
.eye-ic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2754a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.cal-ic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2754a' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E"); }

/* approval card (in a row): a pointer taps "Allow once", the card confirms, then it resets */
.approval { position: relative; z-index: 1; width: min(100%, 380px); background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); text-align: left; }
.ap-head { display: flex; gap: 12px; align-items: center; }
.ap-head img { width: 44px; height: 44px; border-radius: 14px; background: var(--spark); object-fit: cover; }
.ap-head b { display: block; }
.ap-head span { font-size: .86rem; color: var(--muted); }
.ap-body { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #f6f4f9; font-size: .92rem; color: #4a4455; }
.ap-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; transition: opacity .3s; }
.ap-btn { border: 0; border-radius: 999px; padding: 11px; font-weight: 600; font-size: .92rem; background: #f0eef4; }
.ap-btn:first-child { grid-column: 1 / -1; order: 3; background: transparent; color: var(--muted); padding: 6px; }
.ap-go { background: var(--accent-grad); color: #fff; transition: transform .15s, box-shadow .2s; }
.approval.tap .ap-go { transform: scale(.94); box-shadow: 0 0 0 6px rgba(61, 90, 254, .18); }
.ap-done { display: flex; align-items: center; gap: 8px; height: 0; overflow: hidden; opacity: 0; color: #2a8a57; font-weight: 600; font-size: .92rem; transition: height .3s, opacity .3s, margin .3s; }
.ap-done .ok-ic { width: 18px; height: 18px; }
.approval.sent .ap-done { height: 26px; opacity: 1; margin-top: 12px; }
.approval.sent .ap-actions { opacity: .45; }

/* browser card (in a row) */
.browser { position: relative; z-index: 1; width: min(100%, 420px); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #efedf3; }
.br-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6e3ea; }
.br-bar span { margin-left: 8px; flex: 1; font-size: .8rem; color: var(--muted); background: #f5f3f8; border-radius: 999px; padding: 4px 12px; }
.br-page { position: relative; padding: 22px; display: grid; gap: 12px; }
.br-line { height: 10px; border-radius: 6px; background: #eeebf2; }
.w60 { width: 60%; height: 14px; background: #dcd6e6; } .w40 { width: 40%; }
.br-slots { display: flex; gap: 8px; }
.br-slots span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid #e6e2ec; font-size: .86rem; font-weight: 600; }
.br-slots .on { background: #e9e3ff; border-color: #a891f5; color: #4b33b5; }
.br-field { border: 1.5px solid #a891f5; border-radius: 10px; padding: 9px 12px; font-size: .92rem; min-height: 40px; box-shadow: 0 0 0 4px #f0ebff; }
.br-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #faf9fc; border-top: 1px solid #efedf3; font-size: .84rem; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.take { border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: .84rem; padding: 7px 14px; border-radius: 999px; }

/* ── make it yours ── */
.maker { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.maker-stage {
  position: relative; border-radius: var(--r-lg); aspect-ratio: 1 / .92; display: grid; place-items: center; overflow: hidden;
  background: var(--stage, #e6dbff); transition: background .5s;
}
.maker-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), transparent 70%); top: 22%; }
.maker-vibi { width: 62%; margin-top: 16%; }
.maker-vibi.bounce { animation: hop .55s cubic-bezier(.3,.7,.3,1.3); }
@keyframes hop { 0% { transform: scale(1, 1); } 30% { transform: translateY(-22px) scale(.95, 1.06); } 65% { transform: scale(1.06, .94); } 100% { transform: none; } }
.maker-bubble {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%); width: min(78%, 360px);
  background: #fff; border-radius: 22px; padding: 14px 18px; font-size: 1.02rem; line-height: 1.4; text-align: left;
  box-shadow: var(--shadow);
}
.maker-bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 18px; height: 18px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.maker-controls h2 { margin-bottom: 12px; }
.field-label { display: block; margin: 28px 0 10px; font-weight: 600; font-size: .92rem; }
.field {
  width: 100%; font: 600 1.3rem var(--font); letter-spacing: -0.02em; padding: 12px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field:focus { outline: none; border-color: #9b86ee; box-shadow: 0 0 0 4px #ece6ff; }
.name-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.name-ideas button { border: 1px dashed #d4ccdf; background: transparent; border-radius: 999px; padding: 5px 12px; font-size: .88rem; color: var(--muted); }
.name-ideas button:hover { border-style: solid; color: var(--ink); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatches button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--c); box-shadow: inset 0 -5px 8px rgba(0,0,0,.12), inset 0 4px 6px rgba(255,255,255,.5);
}
.swatches button[aria-checked="true"] { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.tones { display: flex; flex-wrap: wrap; gap: 8px; }
.tones button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .94rem; transition: background .15s, color .15s; }
.tones button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── built for busy days: carousel ── */
.carousel-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 600; color: var(--muted); }
.carousel-nav { display: flex; gap: 8px; }
.cbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: opacity .2s, border-color .2s; }
.cbtn:hover { border-color: #cfcbd8; }
.cbtn:disabled { opacity: .35; cursor: default; }
.cbtn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84vw); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px;
}
.carousel::-webkit-scrollbar { display: none; }
.ucard { scroll-snap-align: start; }
.ucard-art { position: relative; border-radius: var(--r-lg); aspect-ratio: 4 / 3.2; overflow: hidden; display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.ucard:hover .ucard-art { transform: translateY(-4px); }
.ucard-art .vclip { width: 54%; margin-bottom: 18%; }
.ucard h3 { margin-top: 18px; }
.ucard p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
.bubble {
  position: absolute; left: 14%; right: 12%; bottom: 9%; padding: 10px 14px; border-radius: 18px; border-bottom-left-radius: 6px;
  background: var(--accent-grad); color: #fff; font-size: .92rem; line-height: 1.32; text-align: left;
}
.bubble.typing { right: auto; display: inline-flex; gap: 4px; padding: 13px 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); animation: blink 1.1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
.bubble.said { animation: pop .4s cubic-bezier(.2,.8,.2,1.2) both; }

/* ── on your side: three cards ── */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.ticon { width: 46px; height: 46px; padding: 9px; border-radius: 14px; background: #efe8ff; fill: none; stroke: #7b5cf0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.tcard p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* ── a day with Vibi: interactive timeline ── */
.dayline {
  position: relative; border-radius: 40px; padding: 56px 24px 44px; text-align: center; overflow: hidden;
  background: var(--dl-bg, linear-gradient(180deg, #eef5ff, #d6e9fc)); transition: background .6s;
}
.dl-stage { position: relative; height: 330px; max-width: 640px; margin: 0 auto; display: grid; place-items: end center; }
.dl-vibi { width: 230px; }
.dl-bubble {
  position: absolute; top: 0; left: 52%; width: min(320px, 62%); background: #fff; border-radius: 20px; border-bottom-left-radius: 6px;
  padding: 14px 16px; text-align: left; font-size: .98rem; line-height: 1.42; box-shadow: var(--shadow);
}
.dl-time {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); z-index: 2;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; padding: 6px 14px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.dl-track { position: relative; max-width: 640px; margin: 48px auto 0; display: flex; justify-content: space-between; align-items: center; }
.dl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(31, 27, 46, .12); }
.dl-track::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: var(--p, 0%); background: var(--ink); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.dl-track button { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fafafc; padding: 0; background: #c3bed0; transition: transform .25s, background .25s; }
.dl-track button[aria-selected="true"], .dl-track button.past { background: var(--ink); }
.dl-track button[aria-selected="true"] { transform: scale(1.35); }
.dl-copy { margin-top: 30px; }
.dl-when { font-size: .9rem; font-weight: 600; color: var(--muted); }
.dl-copy h3 { margin-top: 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; }
.dl-copy p { margin: 10px auto 0; max-width: 34em; color: var(--muted); }
.swap { animation: pop .45s cubic-bezier(.2,.8,.2,1.1) both; }

/* ── right where you need it: channel tabs ── */
.tabs { display: flex; gap: 4px; width: fit-content; margin: 0 auto; padding: 5px; border-radius: 999px; background: #efedf3; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -3px rgba(30, 22, 50, .25); }
.ch-stage { position: relative; display: grid; place-items: center; margin-top: 36px; }
.ch-vibi { position: absolute; width: 190px; left: calc(50% + 175px); bottom: 30px; }
.ch-copy { text-align: center; margin-top: 28px; }
.ch-copy p { margin: 8px auto 0; max-width: 34em; color: var(--muted); }
.panel { display: none; flex-direction: column; height: 100%; }
.panel.on { display: flex; animation: pop .4s ease-out both; }
.panel-body { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.panel-body .msg, .panel-body .tool { animation: none; }
.tg { background: linear-gradient(165deg, #cfe2b8, #a9cd92); }
.tg-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 50px 18px 10px; background: #fff; }
.tg-head .chat-status { color: #8b9aa6; }
.tg-msg { max-width: 84%; padding: 8px 12px; border-radius: 16px; font-size: .88rem; line-height: 1.38; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.tg-msg.out { align-self: flex-end; background: #effdde; border-bottom-right-radius: 4px; }
.tg-msg.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.tg-keys { display: flex; gap: 6px; margin: 8px -4px -2px; }
.tg-keys span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: #e9f2fb; color: #2a7bc4; font-weight: 600; font-size: .82rem; }
.tg-compose { flex: none; margin: 8px 10px 14px; padding: 11px 16px; border-radius: 999px; background: #fff; color: #9aa4ad; font-size: .88rem; }
.lock { background: linear-gradient(170deg, #8a74e0 0%, #4b3d8c 45%, #1f1b2e 100%); color: #fff; align-items: center; }
.lock-time { margin-top: 70px; text-align: center; }
.lock-time span { display: block; font-size: .95rem; font-weight: 500; opacity: .85; }
.lock-time b { display: block; font-size: 4.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.lock-notif {
  margin-top: auto; margin-bottom: 40px; width: calc(100% - 20px); padding: 12px 14px; border-radius: 22px; text-align: left;
  background: rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: .86rem;
}
.ln-head { display: flex; align-items: center; gap: 8px; font-size: .78rem; opacity: .9; margin-bottom: 6px; }
.ln-head img { width: 20px; height: 20px; border-radius: 5px; }
.ln-head em { margin-left: auto; font-style: normal; opacity: .75; }
.lock-notif p { opacity: .85; margin-top: 2px; }
.ln-actions { display: flex; gap: 6px; margin-top: 10px; }
.ln-actions span { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; background: rgba(255,255,255,.28); font-weight: 600; }

/* ── plans ── */
.plans { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 56px; }
.plans-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.plans-head p { color: #bdb7c9; font-size: 1.08rem; }
.plan-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-grid li { border-radius: 20px; padding: 24px; background: #2a2539; border: 1px solid #383149; }
.plan-grid b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-grid .steps { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: #3a3152; color: #d9cfff; font-size: .86rem; font-weight: 600; }
.plan-grid p { margin-top: 12px; color: #a59fb2; font-size: .95rem; }
.plans-note { margin-top: 20px; color: #8f889c; font-size: .9rem; }

/* ── faq ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 640px; }

/* ── closing: the whole family peeks over the footer ── */
.closing { position: relative; max-width: 1160px; margin: 0 auto; padding: 150px 16px 0; text-align: center; overflow: hidden; }
.closing h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.closing > p { margin-top: 14px; color: var(--muted); font-size: 1.15rem; }
.closing-side { position: absolute; top: 120px; width: 170px; }
.closing-side.left { left: 2%; transform: rotate(-6deg); }
.closing-side.right { right: 2%; transform: rotate(6deg); }
/* Every Vibi is cropped from the same window of its render, so all six share one size and baseline. */
.peek-row { display: flex; justify-content: center; align-items: flex-end; margin-top: 56px; overflow: hidden; }
.peek-row img { flex: 0 1 200px; min-width: 0; margin: 0 -8px -8px; transform: translateY(8px); transform-origin: 50% 100%; animation: peekbob 3.2s ease-in-out infinite; }
.peek-row img:nth-child(2) { animation-delay: -.5s; }
.peek-row img:nth-child(3) { animation-delay: -1s; }
.peek-row img:nth-child(4) { animation-delay: -1.6s; }
.peek-row img:nth-child(5) { animation-delay: -2.1s; }
.peek-row img:nth-child(6) { animation-delay: -2.7s; }
/* the bob dips below the row edge, so the cut line never shows */
@keyframes peekbob { 50% { transform: translateY(0) rotate(-1.5deg); } }

/* ── footer ── */
.footer { max-width: 1160px; margin: 0 auto; padding: 0 16px 40px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .94rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); }
.footer-row nav a:hover { color: var(--ink); }

/* ── motion ── */
.enter { animation: enter .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* sections ease in as they arrive (only when JS is running, so nothing stays hidden without it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sparkles i { opacity: .7; }
  html, .carousel { scroll-behavior: auto; }
}

/* ── responsive ── */
@media (max-width: 980px) {
  .row, .maker, .plans-head, .split-head { grid-template-columns: 1fr; gap: 28px; }
  .row.flip .row-art { order: 0; }
  .trio, .plan-grid { grid-template-columns: 1fr; }
  .plans { padding: 36px 24px; }
  .ch-vibi { left: calc(50% + 150px); width: 150px; }
  .closing-side { width: 120px; top: 60px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 24px; }
  .hero-vibi { width: 170px; }
  .hero-stage { height: 700px; margin-top: 40px; }
  .hero-wash { inset: 90px -16px 0; border-radius: 32px; }
  .phone { width: 300px; height: 610px; }
  .section { padding-top: 88px; }
  .section-head { margin-bottom: 36px; }
  .row-art { min-height: 0; padding: 32px 16px 120px; }
  .actor-vibi { width: 76px; left: -82px; }
  .dl-stage { height: 360px; }
  .dl-vibi { width: 190px; }
  .dl-bubble { left: 50%; transform: translateX(-50%); width: min(320px, 92%); border-bottom-left-radius: 20px; }
  .ch-vibi { display: none; }
  .closing { padding-top: 110px; }
  .closing-side { display: none; }
  .peek-row img { margin: 0 -4px; }
}
@media (max-width: 560px) {
  .btn { padding: 14px 22px; }
  .tabs button { padding: 8px 12px; font-size: .88rem; }
}

/* ── actors: a small Vibi and a cursor travel through each row card together, as on the Dots page ── */
.actor { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; transform: translate(40px, 340px); transition: transform .9s cubic-bezier(.45,.05,.2,1); }
.actor-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: var(--cursor) center/contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); transition: transform .15s; transform-origin: 2px 2px; }
.actor.press .actor-cursor { transform: scale(.8); }
.actor-vibi { position: absolute; width: 96px; left: -100px; top: -14px; animation: bob 2.4s ease-in-out infinite; }
.actor[data-side="br"] .actor-vibi { left: 6px; top: 14px; }
.actor[data-side="bl"] .actor-vibi { left: -86px; top: 18px; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }

/* memory: things light up as Vibi reaches them */
.js .memory li { opacity: .45; transform: scale(.97); transition: opacity .4s, transform .4s, background .4s, box-shadow .4s; }
.js .memory li.on { opacity: 1; transform: none; background: #fff; box-shadow: 0 10px 22px -16px rgba(30, 22, 50, .5); }
.ui-foot { transition: color .3s; }
.ui-foot.saved { color: #2a8a57; }

/* tasks: the row under the cursor is highlighted; finished work gets a check */
.task { transition: background .3s; }
.task.hover { background: #fff1e8; }
.task.done .ti { background: #2fb36f var(--check) center/62% no-repeat; }
.task.done .ti::after { display: none; }

/* browser: pick a slot, type a name, book */
.br-slots span { transition: background .25s, border-color .25s, color .25s; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: #7b5cf0; animation: blink 1s infinite; }
.br-book { justify-self: start; padding: 8px 16px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-weight: 600; font-size: .86rem; transition: transform .15s; }
.br-book.press { transform: scale(.93); }
.br-toast {
  position: absolute; left: 50%; top: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600;
  opacity: 0; transform: translate(-50%, -12px); transition: opacity .3s, transform .3s;
}
.br-toast.show { opacity: 1; transform: translate(-50%, 0); }
.br-toast .ok-ic { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .js .memory li { opacity: 1; transform: none; }
  .actor { display: none; }
}
