:root {
  --ink: #140a24;
  --ink-soft: #201031;
  --paper: #fffaf0;
  --white: #fffefa;
  --pink: #ff4f96;
  --pink-bright: #ff73aa;
  --cyan: #51e5e9;
  --yellow: #ffd43d;
  --purple: #7a4af4;
  --text: #1b1028;
  --muted: #746b7c;
  --body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Manrope", "Arial Rounded MT Bold", sans-serif;
  --pad: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); overflow-x: clip; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .8rem 1rem; background: white; color: var(--text); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; z-index: 100; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 58px; padding: 8px 9px 8px 18px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 18px;
  background: rgba(20,10,36,.72); box-shadow: 0 14px 44px rgba(12,5,25,.16);
  backdrop-filter: blur(20px) saturate(1.4);
}
.site-header nav { display: flex; align-items: center; gap: 22px; }
.nav-product { display: none; font-size: .88rem; font-weight: 700; }
.wordmark { font: 800 1.55rem/1 var(--display); letter-spacing: -.06em; }
.wordmark span { color: var(--pink); }
.button {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 18px; min-height: 56px; padding: 16px 22px; border-radius: 999px;
  font-weight: 800; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.1em; }
.button-primary { color: var(--ink); background: var(--pink); box-shadow: 0 12px 35px rgba(255,79,150,.27); }
.button-primary:hover { background: var(--pink-bright); box-shadow: 0 16px 42px rgba(255,79,150,.4); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: .84rem; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-ghost:hover { background: rgba(255,255,255,.15); }

.panel {
  position: relative; min-height: 100svh; scroll-snap-align: start; overflow: hidden;
  display: grid; align-items: center; padding: 105px var(--pad) 56px;
}
.hero { min-height: 100svh; isolation: isolate; background: var(--ink); }
.hero::after {
  content: ""; position: absolute; z-index: -5; inset: 0; opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.55) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.ambient { position: absolute; z-index: -4; border-radius: 50%; filter: blur(20px); }
.ambient-one { width: 520px; height: 520px; top: -240px; right: -240px; background: rgba(255,79,150,.16); }
.ambient-two { width: 430px; height: 430px; left: -280px; bottom: -160px; background: rgba(81,229,233,.11); }
.hero-copy { width: min(100%, 920px); margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 800; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(255,79,150,.14); animation: pulse 2s ease-in-out infinite; }
h1, h2 { margin: 0; font-family: var(--display); letter-spacing: -.065em; text-wrap: balance; }
.hero h1 { font-size: clamp(3.2rem, 13.8vw, 8.8rem); line-height: .88; }
.hero h1 em, .preview h2 em { color: var(--pink); font-style: normal; }
.hero-intro { margin: 28px auto 0; color: rgba(255,255,255,.75); font-size: clamp(1rem, 2.3vw, 1.3rem); line-height: 1.55; }
.typed-line { min-height: 35px; margin: 21px 0 0; color: var(--cyan); font: 700 clamp(1.05rem, 2.2vw, 1.4rem)/1.4 var(--display); letter-spacing: -.025em; }
.cursor { margin-left: 3px; color: var(--pink); animation: blink .72s steps(1) infinite; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 29px; }
.text-link { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.36); font-size: .91rem; font-weight: 700; }
.text-link span { margin-left: 10px; color: var(--cyan); }
.scroll-note { display: none; position: absolute; bottom: 26px; left: var(--pad); align-items: center; gap: 10px; color: rgba(255,255,255,.48); font-size: .72rem; }
.scroll-note span { width: 28px; height: 1px; background: var(--pink); }

.zizzy-character { position: absolute; z-index: 2; width: 42px; height: 56px; border-radius: 52% 48% 44% 56% / 45% 48% 52% 55%; box-shadow: inset -5px -7px 0 rgba(20,10,36,.13), 0 12px 35px rgba(20,10,36,.2); }
.character-pink { background: var(--pink); }
.character-cyan { background: var(--cyan); }
.character-yellow { background: var(--yellow); }
.zizzy-character .wing { position: absolute; z-index: -1; top: 16px; width: 27px; height: 18px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.18); border-radius: 80% 30% 70% 30%; }
.wing-left { left: -20px; transform: rotate(-28deg); }
.wing-right { right: -20px; transform: scaleX(-1) rotate(-28deg); }
.eye { position: absolute; top: 18px; width: 5px; height: 6px; border-radius: 50%; background: var(--ink); }
.eye-left { left: 12px; }
.eye-right { right: 12px; }
.zizzy-character b { position: absolute; left: 50%; bottom: 17px; width: 11px; height: 5px; transform: translateX(-50%); border-bottom: 2px solid var(--ink); border-radius: 0 0 50% 50%; }
.hero-friend-one { left: 8%; top: 25%; transform: rotate(-13deg); animation: floatOne 6s ease-in-out infinite; }
.hero-friend-two { right: 8%; bottom: 21%; transform: rotate(12deg) scale(.78); animation: floatTwo 7.5s ease-in-out infinite; }
.hero-friend-three { display: none; right: 20%; top: 18%; transform: rotate(10deg) scale(.55); animation: floatOne 8s 1s ease-in-out infinite reverse; }

.panel-light { color: var(--text); background: var(--paper); }
.section-inner { position: relative; z-index: 2; width: min(100%, 1100px); margin: 0 auto; }
.intro .kicker, .dialog-shell .kicker { margin: 0 0 23px; color: var(--pink); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 800; }
.intro h2 { max-width: 950px; font-size: clamp(3rem, 11vw, 8rem); line-height: .91; }
.intro h2 span { color: var(--pink); }
.big-body { max-width: 570px; margin: 31px 0 0; color: #6f6478; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.round-link { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 34px; color: white; background: var(--ink); border-radius: 50%; font-size: 1.25rem; }
.intro-orbit { position: absolute; width: min(58vw, 680px); aspect-ratio: 1; right: -26%; top: 16%; border: 1px solid rgba(255,79,150,.2); border-radius: 50%; }
.intro-orbit::before, .intro-orbit::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(81,229,233,.25); border-radius: 50%; }
.intro-orbit::after { inset: 32%; border-color: rgba(20,10,36,.1); }
.orbit-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.dot-one { left: 8%; top: 25%; background: var(--pink); }
.dot-two { right: 13%; bottom: 20%; background: var(--cyan); }
.dot-three { left: 42%; bottom: -6px; background: var(--yellow); }

.stage { isolation: isolate; grid-template-rows: auto auto; gap: 30px; }
.stage-copy { position: relative; z-index: 3; max-width: 670px; }
.stage-number { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; font-weight: 800; }
.stage-copy h2 { font-size: clamp(2.7rem, 9vw, 6.8rem); line-height: .93; }
.stage-copy > p:not(.stage-number) { max-width: 570px; margin: 23px 0 0; color: currentColor; opacity: .7; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.55; }
.stage-copy > a { display: inline-flex; gap: 12px; margin-top: 25px; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; }
.stage-copy > a span { color: var(--pink); }
.backdrop-word { position: absolute; z-index: -1; left: -.04em; top: 11%; margin: 0; color: rgba(255,255,255,.035); font: 800 clamp(7rem, 30vw, 31rem)/.8 var(--display); letter-spacing: -.09em; white-space: nowrap; }
.stage-art { position: relative; z-index: 2; width: min(100%, 510px); justify-self: center; }
.stage-hire { background: var(--ink-soft); }
.stage-hire::after { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; right: -310px; top: 10%; border-radius: 50%; background: rgba(255,79,150,.12); filter: blur(2px); }
.art-candidates { height: 228px; }
.candidate-card { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.08); backdrop-filter: blur(15px); box-shadow: 0 20px 50px rgba(10,4,20,.18); }
.candidate-card i, .avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: var(--cyan); font-style: normal; font-size: .71rem; font-weight: 800; }
.candidate-card span { display: flex; flex-direction: column; gap: 2px; }
.candidate-card small { color: rgba(255,255,255,.55); }
.candidate-card em { padding: 7px 9px; border-radius: 999px; color: var(--cyan); background: rgba(81,229,233,.12); font-style: normal; font-size: .65rem; font-weight: 800; }
.card-one { top: 0; transform: rotate(-3deg) scale(.93); opacity: .55; }
.card-two { top: 62px; z-index: 2; }
.card-two i { background: var(--pink); }
.card-two em { color: var(--pink); background: rgba(255,79,150,.13); }
.card-three { top: 126px; transform: rotate(3deg) scale(.93); opacity: .72; }
.card-three i { background: var(--yellow); }

.stage-welcome { color: var(--text); background: var(--pink); }
.stage-welcome .backdrop-word, .stage-time .backdrop-word, .stage-feedback .backdrop-word { color: rgba(20,10,36,.055); }
.stage-welcome .stage-number { color: #5a173a; }
.stage-welcome .stage-copy > a span { color: var(--text); }
.welcome-checklist, .people-profile, .calendar-card, .review-card, .goodbye-card { padding: 20px; border-radius: 23px; background: var(--white); color: var(--text); box-shadow: 0 28px 80px rgba(20,10,36,.18); transform: rotate(1.2deg); }
.mini-heading, .profile-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #eee8e5; }
.mini-heading p, .profile-top p { margin: 0; display: flex; flex-direction: column; }
.mini-heading small, .profile-top small { color: var(--muted); font-size: .65rem; }
.mini-heading i { color: var(--pink); font-style: normal; font-weight: 800; }
.avatar-yellow { background: var(--yellow); }
.avatar-pink { background: var(--pink); }
.avatar-cyan { background: var(--cyan); }
.task { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 11px; padding-top: 15px; }
.task > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--ink); font-size: .7rem; font-weight: 800; }
.task.done > span { background: var(--cyan); color: var(--ink); }
.task p { display: flex; flex-direction: column; gap: 1px; margin: 0; font-size: .78rem; }
.task small { color: var(--muted); font-size: .62rem; }

.stage-people { color: var(--text); background: var(--paper); }
.stage-people .backdrop-word, .stage-goodbye .backdrop-word { color: rgba(20,10,36,.035); }
.stage-people .stage-number, .stage-goodbye .stage-number { color: var(--pink); }
.profile-top > i { color: var(--muted); font-style: normal; }
.profile-top em { margin-top: 3px; color: var(--muted); font-style: normal; font-size: .67rem; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.profile-stats > span { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: #f6f1ed; }
.profile-stats small { color: var(--muted); font-size: .6rem; }
.profile-stats b { font-size: .74rem; }

.stage-time { color: var(--text); background: var(--cyan); }
.stage-time .stage-number { color: #175356; }
.stage-time .stage-copy > a span { color: var(--text); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-head span { color: var(--muted); }
.calendar-days, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendar-days { margin-bottom: 8px; color: var(--muted); font-size: .56rem; font-weight: 800; }
.calendar-grid i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-style: normal; font-size: .66rem; }
.calendar-grid .holiday { color: white; background: var(--pink); }
.calendar-grid .away { color: var(--ink); background: var(--yellow); }

.stage-reviews { background: #291640; }
.stage-reviews::after { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 85% 55%, rgba(122,74,244,.28), transparent 34%); }
.review-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .65rem; font-weight: 700; }
.review-top em { padding: 6px 8px; border-radius: 99px; color: #5c38ba; background: #e8e0ff; font-style: normal; }
.review-card h3 { margin: 24px 0 16px; font: 800 1.2rem/1.2 var(--display); letter-spacing: -.04em; }
.mood-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mood-row i { display: grid; place-items: center; padding: 9px 2px; border-radius: 10px; background: #f5f0f4; font-style: normal; filter: grayscale(1); }
.mood-row i.chosen { outline: 2px solid var(--pink); filter: none; background: #fff1f7; }
.fake-input { margin-top: 16px; min-height: 74px; padding: 13px; border: 1px solid #e8e0e7; border-radius: 10px; color: #aaa1aa; font-size: .7rem; }
.fake-input b { display: block; width: 1px; height: 15px; margin-top: 5px; background: var(--pink); }

.stage-feedback { color: var(--text); background: var(--yellow); }
.stage-feedback .stage-number { color: #665002; }
.stage-feedback .stage-copy > a span { color: var(--text); }
.feedback-stack { min-height: 250px; }
.feedback-stack article { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 18px; border-radius: 20px; color: var(--text); background: var(--white); box-shadow: 0 25px 70px rgba(78,57,0,.16); }
.feedback-stack article:first-child { top: 20px; transform: rotate(-3deg); }
.feedback-stack article:last-child { top: 125px; left: 7%; transform: rotate(3deg); }
.feedback-stack p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.feedback-stack small { color: var(--muted); font-size: .62rem; }
.feedback-stack b { font-size: .72rem; line-height: 1.35; }
.feedback-stack article > i { color: var(--pink); font-style: normal; font-size: 1.2rem; }

.stage-goodbye { color: var(--text); background: #f5eee5; }
.goodbye-card { text-align: center; transform: rotate(-1.5deg); }
.goodbye-card > .avatar { margin: 0 auto 12px; }
.goodbye-card h3 { margin: 0; font: 800 1.2rem/1.2 var(--display); }
.goodbye-card > p { margin: 5px 0 18px; color: var(--muted); font-size: .68rem; }
.goodbye-card > div { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #eee8e5; text-align: left; font-size: .75rem; font-weight: 700; }
.goodbye-card > div i { display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink); background: var(--cyan); border-radius: 50%; font-style: normal; font-size: .63rem; }
.goodbye-card > div:last-child i { color: white; background: var(--ink); }

.preview { isolation: isolate; text-align: center; background: var(--ink); }
.preview-grid { position: absolute; z-index: -2; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,79,150,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,79,150,.3) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at center, black, transparent 68%); transform: perspective(500px) rotateX(50deg) scale(1.4); }
.preview .section-inner { display: flex; flex-direction: column; align-items: center; }
.preview h2 { font-size: clamp(3rem, 11vw, 8rem); line-height: .92; }
.preview .section-inner > p { max-width: 620px; margin: 26px auto 0; color: rgba(255,255,255,.68); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.55; }
.preview .button { margin-top: 29px; }
.preview small { margin-top: 17px; color: rgba(255,255,255,.42); font-size: .7rem; }
.preview-friend { display: none; right: 12%; top: 23%; transform: rotate(12deg) scale(1.2); animation: floatTwo 6s ease-in-out infinite; }

footer { min-height: 260px; padding: 48px var(--pad); border-top: 1px solid rgba(255,255,255,.12); background: var(--ink); display: grid; align-items: center; gap: 20px; text-align: center; }
footer p { margin: 0; color: rgba(255,255,255,.56); font-size: .9rem; }
footer .button { justify-self: center; }
footer small { color: rgba(255,255,255,.32); font-size: .68rem; }

.journey { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

dialog { width: min(92vw, 530px); padding: 0; border: 0; border-radius: 25px; color: var(--text); background: var(--paper); box-shadow: 0 40px 100px rgba(10,4,20,.45); }
dialog::backdrop { background: rgba(12,5,24,.75); backdrop-filter: blur(8px); }
.dialog-shell { position: relative; display: grid; gap: 16px; padding: 32px 24px 26px; }
.dialog-shell h2 { font-size: clamp(2rem, 8vw, 3.2rem); line-height: .95; }
.dialog-shell > p:not(.kicker):not(.form-note) { margin: -4px 0 4px; color: var(--muted); line-height: 1.5; }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--text); background: #eee6e3; cursor: pointer; font-size: 1.4rem; }
.dialog-shell label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.dialog-shell input { width: 100%; padding: 13px 14px; border: 1px solid #ded5d4; border-radius: 10px; color: var(--text); background: white; outline: none; }
.dialog-shell input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,150,.12); }
.dialog-submit { width: 100%; margin-top: 3px; }
.form-note { margin: -6px 0 0; color: var(--muted); text-align: center; font-size: .66rem; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,79,150,0); } }
@keyframes floatOne { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 8px -18px; rotate: 5deg; } }
@keyframes floatTwo { 0%,100% { translate: 0 0; rotate: 4deg; } 50% { translate: -9px -15px; rotate: -6deg; } }

@media (min-width: 720px) {
  .site-header { left: 24px; right: 24px; top: 18px; padding-left: 23px; }
  .nav-product { display: block; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-friend-one { left: 14%; top: 25%; transform: rotate(-13deg) scale(1.2); }
  .hero-friend-two { right: 14%; bottom: 21%; transform: rotate(12deg); }
  .hero-friend-three { display: block; }
  .stage { grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr); grid-template-rows: 1fr; gap: clamp(45px, 8vw, 130px); }
  .stage-copy { align-self: center; }
  .stage-art { grid-column: 2; }
  .stage-copy { grid-column: 1; grid-row: 1; }
  .stage:nth-of-type(even) .stage-art { grid-column: 1; }
  .stage:nth-of-type(even) .stage-copy { grid-column: 2; }
  .art-candidates { height: 270px; }
  .candidate-card { padding: 17px; }
  .card-two { top: 76px; }
  .card-three { top: 152px; }
  .welcome-checklist, .people-profile, .calendar-card, .review-card, .goodbye-card { padding: 27px; }
  .preview-friend { display: block; }
  footer { grid-template-columns: auto 1fr auto; text-align: left; }
  footer p { text-align: center; }
  footer small { grid-column: 1 / -1; text-align: center; }
}

@media (min-width: 1100px) {
  .site-header { width: min(1400px, calc(100% - 48px)); left: 50%; right: auto; transform: translateX(-50%); }
  .panel { padding-left: max(var(--pad), calc((100vw - 1400px) / 2)); padding-right: max(var(--pad), calc((100vw - 1400px) / 2)); }
  .scroll-note { display: flex; }
  .journey { position: fixed; z-index: 80; right: 25px; top: 50%; transform: translateY(-50%); display: flex; align-items: stretch; gap: 13px; }
  .journey-line { position: relative; width: 1px; background: rgba(255,255,255,.18); }
  .journey-line i { display: block; width: 1px; height: 0; background: var(--pink); transition: height .35s ease; }
  .journey ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
  .journey li a { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.35); font-size: .61rem; font-weight: 700; transition: color .25s ease; }
  .journey li span { font-variant-numeric: tabular-nums; }
  .journey li.active a { color: white; }
  .journey.light .journey-line { background: rgba(20,10,36,.13); }
  .journey.light li a { color: rgba(20,10,36,.3); }
  .journey.light li.active a { color: var(--text); }
}

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

/* Brand refresh: warmer type, international positioning and calmer lifecycle colours */
:root {
  --ink: #141410;
  --ink-soft: #282821;
  --paper: #fbfaf6;
  --white: #ffffff;
  --pink: #f5b301;
  --pink-bright: #ffc52b;
  --cyan: #0ea5a0;
  --yellow: #f5b301;
  --purple: #7c3aed;
  --text: #141410;
  --muted: #66665f;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Inter", sans-serif;
}

body { background: var(--paper); }
.site-header {
  color: var(--ink);
  border-color: rgba(20,20,16,.12);
  background: rgba(251,250,246,.82);
  box-shadow: 0 10px 35px rgba(20,20,16,.07);
}
.site-header .button-ghost {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}
.site-header .button-ghost:hover { background: #32322b; }
.wordmark span { color: var(--pink); }

.hero { color: var(--ink); background: var(--paper); }
.hero::after {
  opacity: .22;
  background-image: radial-gradient(rgba(20,20,16,.35) .7px, transparent .7px);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.ambient-one { background: rgba(245,179,1,.14); }
.ambient-two { background: rgba(14,165,160,.1); }
.hero h1 { font-size: clamp(3.15rem, 13.2vw, 8.35rem); letter-spacing: -.055em; }
.hero h1 em { color: var(--pink); }
.hero-intro { color: var(--muted); }
.people-teams {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: clamp(.67rem, 1.2vw, .8rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.typed-line { color: #0a7f7b; }
.typed-line {
  width: min(100%, 780px);
  min-height: 4.4em;
  margin-inline: auto;
  font-size: clamp(.94rem, 2.2vw, 1.3rem);
}
.preview-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 600;
}
.cursor { color: var(--pink); }
.button-primary { color: var(--ink); background: var(--pink); box-shadow: 0 12px 34px rgba(123,88,0,.15); }
.button-primary:hover { background: var(--pink-bright); box-shadow: 0 16px 40px rgba(123,88,0,.22); }
.text-link { border-color: rgba(20,20,16,.32); }
.text-link span { color: #0a7f7b; }
.scroll-note { color: rgba(20,20,16,.48); }
.scroll-note span { background: var(--pink); }

/* Zizzy motes: small abstract flying sparks, deliberately without faces */
.zizzy-character {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(20,20,16,.15);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(20,20,16,.14), inset -3px -3px 0 rgba(20,20,16,.08);
}
.zizzy-character::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 8px;
  top: 8px;
  border-radius: 50%;
  background: rgba(20,20,16,.66);
}
.zizzy-character::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: -8px;
  top: -6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 35px 20px 0 -1px currentColor, 10px 36px 0 -1px currentColor;
  opacity: .42;
}
.zizzy-character .eye,
.zizzy-character b { display: none; }
.zizzy-character .wing {
  top: 3px;
  width: 16px;
  height: 11px;
  border-color: rgba(20,20,16,.22);
  background: rgba(255,255,255,.6);
}
.zizzy-character .wing-left { left: -12px; }
.zizzy-character .wing-right { right: -12px; }
.character-pink { color: #f5b301; background: #f5b301; }
.character-cyan { color: #0ea5a0; background: #0ea5a0; }
.character-yellow { color: #2563eb; background: #2563eb; }
.hero-friend-one { transform: rotate(-13deg) scale(.92); }
.hero-friend-two { transform: rotate(12deg) scale(.78); }

/* Friendly brand bumblebees */
.bee {
  position: absolute;
  z-index: 2;
  width: 58px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 12px rgba(20,20,16,.12));
}
.bee-wings ellipse {
  fill: rgba(255,255,255,.84);
  stroke: rgba(20,20,16,.26);
  stroke-width: 1.4;
}
.bee-shape { fill: var(--pink); }
.bee-stripe {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linecap: round;
  opacity: .88;
}
.bee-head { fill: var(--ink); }
.bee-eye { fill: var(--paper); }
.bee-detail {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-friend-one { width: 64px; }
.hero-friend-two { width: 52px; }
.hero-friend-three { width: 42px; }
.preview-friend { width: 72px; }

.intro { background: #fff; }
.intro .kicker, .dialog-shell .kicker, .made-for .kicker { color: #0f7e5c; }
.intro h2 span { color: var(--pink); }
.big-body { color: var(--muted); }
.intro-orbit { border-color: rgba(245,179,1,.28); }
.intro-orbit::before { border-color: rgba(14,165,160,.25); }
.dot-one { background: var(--pink); }
.dot-two { background: var(--cyan); }
.dot-three { background: #2563eb; }

.stage { color: var(--ink); }
.stage .backdrop-word { color: rgba(20,20,16,.045); }
.stage-number { color: var(--muted) !important; }
.stage-copy > p:not(.stage-number) { color: var(--muted); opacity: 1; }
.stage-copy > a span { color: var(--accent, #0a7f7b) !important; }
.stage-hire { --accent: #b77d00; background: #fffdf7; }
.stage-hire::after { background: rgba(245,179,1,.11); }
.stage-welcome { --accent: #17976a; background: #eaf7f1; }
.stage-people { --accent: #2563eb; background: #eef3ff; }
.stage-time { --accent: #0e8783; background: #e8f8f7; }
.stage-reviews { --accent: #7c3aed; background: #f3eeff; }
.stage-reviews::after { background: radial-gradient(circle at 85% 55%, rgba(124,58,237,.1), transparent 34%); }
.stage-feedback { --accent: #a86f00; background: #fff7dc; }
.stage-goodbye { --accent: #64748b; background: #eef0f2; }

.candidate-card {
  color: var(--ink);
  border-color: rgba(20,20,16,.1);
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 50px rgba(20,20,16,.1);
}
.candidate-card small { color: var(--muted); }
.candidate-card em { color: #0a7f7b; background: #e9f7f1; }
.candidate-card i { background: var(--yellow); }
.candidate-card.card-two i { background: #2563eb; color: white; }
.candidate-card.card-two em { color: #1d4ed8; background: #eef3ff; }
.candidate-card.card-three i { background: #17976a; color: white; }
.welcome-checklist, .people-profile, .calendar-card, .review-card, .goodbye-card { box-shadow: 0 28px 70px rgba(20,20,16,.12); }
.task.done > span { color: white; background: #17976a; }
.calendar-grid .holiday { background: #0ea5a0; }
.calendar-grid .away { background: #f5b301; }
.mood-row i.chosen { outline-color: #7c3aed; background: #f3eeff; }
.fake-input b { background: #7c3aed; }
.feedback-stack article { box-shadow: 0 25px 60px rgba(78,57,0,.12); }
.feedback-stack article > i { color: #b77d00; }

.made-for {
  isolation: isolate;
  color: var(--ink);
  text-align: center;
  background: var(--paper);
}
.made-for .section-inner { display: flex; flex-direction: column; align-items: center; }
.made-for h2 { font-size: clamp(3rem, 11vw, 8rem); line-height: .91; }
.made-for-type {
  min-height: 1.35em;
  margin: 28px 0 0;
  color: #2563eb;
  font: 800 clamp(1.9rem, 6vw, 4.2rem)/1.2 var(--display);
  letter-spacing: -.04em;
}
.made-for-note { margin: 14px 0 0; color: var(--muted); }
.made-for-orbit {
  position: absolute;
  z-index: -1;
  width: min(86vw, 720px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(20,20,16,.07);
  border-radius: 50%;
}
.made-for-orbit::before, .made-for-orbit::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(37,99,235,.1);
  border-radius: 50%;
}
.made-for-orbit::after { inset: 34%; border-color: rgba(14,165,160,.13); }
.made-for-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}
.made-for-orbit i:nth-child(1) { left: 8%; top: 31%; }
.made-for-orbit i:nth-child(2) { right: 10%; top: 23%; background: #2563eb; }
.made-for-orbit i:nth-child(3) { left: 28%; bottom: 6%; background: #17976a; }
.made-for-orbit i:nth-child(4) { right: 23%; bottom: 10%; background: #7c3aed; }

.preview { background: var(--ink); }
.preview h2 em { color: var(--pink); }
.preview-grid {
  background-image: linear-gradient(rgba(245,179,1,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(245,179,1,.28) 1px, transparent 1px);
}
.preview-friend { color: var(--pink); }
footer { background: var(--ink); }

dialog { background: var(--paper); }
.dialog-shell input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(245,179,1,.14); }

@media (min-width: 720px) {
  .typed-line { min-height: 2.9em; }
  .hero-friend-one { transform: rotate(-13deg) scale(1.15); }
  .hero-friend-two { transform: rotate(12deg) scale(.95); }
}

/* Restored hero hierarchy */
.hero-copy { width: min(100%, 800px); }
.hero .eyebrow {
  margin-bottom: 22px;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  letter-spacing: .22em;
}
.hero .eyebrow span {
  display: block;
  background: var(--pink);
  box-shadow: none;
}
.hero-logo {
  font: 800 clamp(3.8rem, 10vw, 6.6rem)/.86 var(--display);
  letter-spacing: -.075em;
}
.hero-logo span { color: var(--pink); }
.wordmark .logo-i,
.hero-logo .logo-i {
  display: inline-block;
  color: #141410 !important;
  transform: translateY(.23em);
}

footer .wordmark .logo-i {
  color: var(--paper) !important;
}
.hero .people-teams {
  margin: 24px 0 17px;
  color: var(--muted);
}
.hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.55rem, 6.5vw, 5rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.hero-intro { margin-top: 22px; }
.typed-line {
  width: min(100%, 760px);
  min-height: 4.6em;
  margin-top: 30px;
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.42rem);
  line-height: 1.55;
}
.cursor { color: var(--pink); }
.hero-actions { margin-top: 22px; }
.preview-note { margin-top: 13px; }
.skip-link-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero-scroll {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  color: var(--ink);
  border: 1px solid rgba(20,20,16,.2);
  border-radius: 50%;
  font-weight: 700;
  animation: heroScrollBob 2s ease-in-out infinite;
}

/* One flat 2D bee, used only on the homepage */
.hero-bee-flight {
  position: absolute;
  z-index: 4;
  left: 76%;
  top: 22%;
  width: 68px;
  height: 51px;
  pointer-events: none;
  will-change: transform;
}
.hero-bee {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.icon-bee {
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-bee-antenna {
  fill: none;
  stroke-width: 4;
}
.icon-bee-head {
  fill: var(--ink);
  stroke: var(--ink);
}
.icon-bee-body {
  fill: var(--pink);
  stroke: var(--ink);
}
.icon-bee-wing { fill: var(--paper); }
.icon-bee-bands {
  fill: var(--ink);
  stroke: none;
}
@keyframes heroScrollBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

@media (min-width: 720px) {
  .typed-line { min-height: 3.2em; }
  .hero-bee-flight {
    left: 16%;
    top: 18%;
    width: 76px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bee-flight,
  .hero-scroll { animation: none; }
}

/* Zizzy motion system */
.bee-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.loader-bee-fill { fill: currentColor; }
.loader-bee-cut { fill: var(--bee-cut, var(--pink)); }

body.intro-playing { overflow: hidden; }
.intro-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.12), transparent 34%),
    var(--pink);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,.75,.2,1);
}
.intro-loader[hidden] { display: none; }
.intro-loader.is-releasing {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}
.loader-bee {
  position: relative;
  z-index: 2;
  width: clamp(92px, 11vw, 142px);
  color: var(--ink);
  --bee-cut: var(--pink);
  animation: loaderBeeArrive .7s cubic-bezier(.2,.85,.2,1) both;
}
.loader-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  --bee-cut: var(--pink);
  opacity: 0;
  animation: loaderBeeScatter .68s var(--burst-delay, 220ms) cubic-bezier(.2,.75,.25,1) both;
}

.hero-ghost-word {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 58%;
  margin: 0;
  color: var(--ink);
  opacity: .065;
  filter: blur(13px);
  font: 800 clamp(9rem, 31vw, 31rem)/.72 var(--display);
  letter-spacing: -.095em;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-ghost-word span {
  display: block;
  transform-origin: center;
  animation: ghostWordBreath 10s ease-in-out infinite;
}
.hero-swarm {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .12s linear;
  will-change: opacity;
}
.swarm-bee {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  overflow: visible;
  will-change: transform;
}
.pointer-halo {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 12px rgba(37,99,235,.1);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.pointer-halo i {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(37,99,235,.23);
  border-radius: 50%;
}
.pointer-halo.is-visible { opacity: .9; }
.touch-ripple {
  position: absolute;
  z-index: 5;
  width: 18px;
  height: 18px;
  border: 2px solid #2563eb;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: touchRipple .72s ease-out both;
}
.hero-copy {
  position: relative;
  z-index: 3;
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70px -12vw;
  background: radial-gradient(ellipse at center, rgba(251,250,246,.94) 0 35%, rgba(251,250,246,.72) 53%, transparent 75%);
  filter: blur(9px);
  pointer-events: none;
}

@keyframes loaderBeeArrive {
  from { opacity: 0; transform: scale(.5); }
  65% { opacity: 1; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes loaderBeeScatter {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) rotate(var(--burst-rotate)) scale(.9); }
}
@keyframes ghostWordBreath {
  0%, 100% { transform: scale(1); filter: blur(0); }
  50% { transform: scale(1.018); filter: blur(2px); }
}
@keyframes touchRipple {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.45); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(5.2); }
}

@media (max-width: 719px) {
  .hero-ghost-word {
    top: 55%;
    filter: blur(9px);
  }
  .hero-copy::before { inset-inline: -26px; }
}

@media (pointer: coarse) {
  .pointer-halo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader { display: none; }
  .hero-swarm { display: none; }
  .hero-ghost-word {
    opacity: .035 !important;
    transform: translate(-50%, -50%) !important;
  }
  .hero-ghost-word span { animation: none; }
  .pointer-halo,
  .touch-ripple { display: none; }
}

/* Mobile composition: tighter hierarchy, natural section lengths and safer touch UI */
@media (max-width: 719px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    left: 8px;
    right: 8px;
    min-height: 54px;
    padding: 6px 7px 6px 16px;
    border-radius: 16px;
  }

  .site-header .wordmark {
    font-size: 1.4rem;
  }

  .site-header .button-small {
    min-height: 44px;
    padding: 10px 15px;
  }

  .panel {
    min-height: auto;
    padding: 76px 22px 68px;
    overflow: clip;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(88px + env(safe-area-inset-top));
    padding-bottom: 48px;
  }

  .hero-logo {
    display: block;
    margin-bottom: 20px;
    font-size: clamp(3.5rem, 20vw, 4.6rem);
    line-height: .86;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
    font-size: .64rem;
  }

  .hero .people-teams {
    margin: 0 0 17px;
    font-size: .63rem;
    line-height: 1.45;
    letter-spacing: .1em;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.4rem, 12vw, 3.05rem);
    line-height: .95;
  }

  .hero-intro {
    margin-top: 18px;
    font-size: .98rem;
    line-height: 1.48;
  }

  .typed-line {
    width: 100%;
    min-height: 6.2em;
    max-height: 6.2em;
    margin-top: 21px;
    overflow: hidden;
    font-size: .93rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 13px;
  }

  .hero .button-primary {
    min-height: 52px;
    padding-inline: 24px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-ghost-word {
    top: 56%;
    font-size: clamp(9rem, 48vw, 13rem);
  }

  .intro {
    min-height: 72svh;
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .intro h2,
  .made-for h2,
  .preview h2 {
    font-size: clamp(2.7rem, 13vw, 3.45rem);
  }

  .big-body {
    margin-top: 24px;
    font-size: 1rem;
  }

  .round-link {
    width: 52px;
    height: 52px;
    margin-top: 28px;
  }

  .stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .stage-copy {
    order: 1;
  }

  .stage-art {
    order: 2;
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .stage-number {
    margin-bottom: 12px;
  }

  .stage-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 2.9rem);
    line-height: .96;
  }

  .stage-copy > p:not(.stage-number) {
    margin-top: 17px;
    font-size: .98rem;
    line-height: 1.5;
  }

  .stage-copy > a {
    display: none;
  }

  .backdrop-word {
    top: 13%;
    font-size: clamp(6.5rem, 34vw, 9rem);
  }

  .welcome-checklist,
  .people-profile,
  .calendar-card,
  .review-card,
  .goodbye-card {
    padding: 18px;
    border-radius: 20px;
  }

  .feedback-stack {
    min-height: 235px;
  }

  .made-for {
    min-height: 76svh;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .made-for-type {
    margin-top: 24px;
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .preview {
    min-height: 92svh;
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .preview .section-inner > p {
    margin-top: 22px;
    font-size: .98rem;
  }

  .preview .button {
    min-height: 52px;
    margin-top: 25px;
  }

  footer {
    min-height: auto;
    padding: 42px 22px calc(42px + env(safe-area-inset-bottom));
    gap: 17px;
  }

  dialog {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 20px);
    margin: 0;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
  }

  .dialog-shell {
    padding: 30px 22px calc(24px + env(safe-area-inset-bottom));
  }

  .dialog-shell input {
    min-height: 48px;
    font-size: 16px;
  }

  .dialog-close {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 719px) and (max-height: 720px) {
  .hero {
    padding-top: calc(78px + env(safe-area-inset-top));
    padding-bottom: 34px;
  }

  .hero .eyebrow {
    margin-bottom: 11px;
  }

  .hero .people-teams {
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.8vw, 2.75rem);
  }

  .hero-intro {
    margin-top: 14px;
  }

  .typed-line {
    min-height: 5.4em;
    max-height: 5.4em;
    margin-top: 16px;
    font-size: .88rem;
  }
}
