:root {
  color-scheme: dark;
  --turquoise: #73d9c6;
  --green: #73d98c;
  --petroleum: #1f5f6b;
  --gray-green: #728480;
  --cream: #f4efe6;
  --sand: #d9ad73;
  --coral: #e58b63;
  --ink: #122b31;
  --deep: #08191e;
  --white: #fffdf8;
  --shadow: 0 28px 80px rgb(4 15 18 / 35%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; background: var(--deep); }
body { margin: 0; color: var(--white); overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.app { min-height: 100vh; background: var(--deep); isolation: isolate; }
.screen { position: fixed; inset: 0; display: none; min-height: 100vh; opacity: 0; transform: scale(1.015); }
.screen.is-active { display: grid; animation: screenIn 520ms cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes screenIn { to { opacity: 1; transform: scale(1); } }
.is-hidden { display: none !important; }
.btn { min-height: 58px; width: 100%; border: 0; border-radius: 999px; padding: 15px 22px; cursor: pointer; font-weight: 850; letter-spacing: 0; transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease; }
.btn:hover { transform: translateY(-1px); filter: saturate(1.06); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible, .call-button:focus-visible, .icon-button:focus-visible { outline: 3px solid rgb(115 217 198 / 62%); outline-offset: 4px; }
.btn--primary { background: linear-gradient(135deg, var(--turquoise), var(--green)); color: #0c3137; box-shadow: 0 18px 42px rgb(115 217 198 / 24%), inset 0 1px 0 rgb(255 255 255 / 45%); }
.btn--secondary { background: rgb(244 239 230 / 10%); color: var(--cream); border: 1px solid rgb(244 239 230 / 24%); box-shadow: 0 16px 34px rgb(0 0 0 / 18%); }
.screen--intro { overflow: auto; place-items: center; padding: 24px; background: radial-gradient(circle at 24% 8%, rgb(115 217 198 / 28%), transparent 30rem), radial-gradient(circle at 88% 18%, rgb(229 139 99 / 24%), transparent 22rem), linear-gradient(150deg, #fff8ec 0%, var(--cream) 44%, #dff3ed 100%); color: var(--ink); }
.intro-atmosphere { position: fixed; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / 16%), transparent 30%), linear-gradient(90deg, rgb(31 95 107 / 8%) 1px, transparent 1px), linear-gradient(rgb(31 95 107 / 6%) 1px, transparent 1px); background-size: auto, 46px 46px, 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.intro-shell { position: relative; width: min(100%, 880px); display: grid; gap: clamp(22px, 5vh, 34px); padding: clamp(4px, 2vw, 24px); }
.brand-row { display: flex; justify-content: flex-start; align-items: center; }
.brand-logo { width: min(184px, 52vw); height: auto; display: block; object-fit: contain; }
.intro-copy { display: grid; gap: 18px; }
.kicker { margin: 0; color: var(--petroleum); font-weight: 850; font-size: clamp(1.15rem, 4.8vw, 1.5rem); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; max-width: 9ch; color: #102f36; font-size: clamp(3.2rem, 16vw, 7rem); line-height: .88; letter-spacing: 0; }
.intro-copy p { margin-bottom: 0; color: rgb(18 43 49 / 86%); font-size: clamp(1.05rem, 4vw, 1.22rem); line-height: 1.62; }
.thought-card { display: grid; gap: 12px; padding: 22px; border-radius: 22px; border: 1px solid rgb(31 95 107 / 16%); background: linear-gradient(145deg, rgb(255 253 248 / 78%), rgb(255 253 248 / 48%)); box-shadow: 0 24px 52px rgb(31 95 107 / 14%); backdrop-filter: blur(12px); }
.thought-card span { color: var(--gray-green); font-weight: 800; }
.thought-card strong { color: var(--petroleum); font-size: clamp(1.12rem, 4vw, 1.55rem); line-height: 1.22; }
.action-stack { display: grid; gap: 14px; }
.screen--silent-video { place-items: center; background: #02090b; }
.subtle-mark { position: fixed; top: 18px; right: 18px; width: 28px; opacity: .22; z-index: 2; }
.vertical-video { width: 100vw; height: 100vh; object-fit: cover; object-position: center; background: #000; }
.screen--incoming-call, .screen--active-call { place-items: center; padding: 22px; background: radial-gradient(circle at 50% 15%, rgb(115 217 198 / 18%), transparent 18rem), linear-gradient(160deg, #061418, #112b32 52%, #061216); }
.call-phone { width: min(100%, 420px); min-height: min(760px, calc(100vh - 44px)); display: grid; align-content: center; justify-items: center; gap: 18px; padding: 34px 24px; border: 1px solid rgb(244 239 230 / 12%); border-radius: 34px; background: linear-gradient(180deg, rgb(244 239 230 / 8%), rgb(244 239 230 / 3%)); box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.call-meta { color: rgb(244 239 230 / 62%); font-size: .9rem; font-weight: 800; }
.incoming-avatar-wrap { position: relative; width: 180px; height: 180px; display: grid; place-items: center; margin: 14px 0 4px; }
.call-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(115 217 198 / 42%); animation: pulseRing 2.1s ease-out infinite; }
.call-pulse--delay { animation-delay: 1.05s; }
@keyframes pulseRing { 0% { opacity: .9; transform: scale(.68); } 100% { opacity: 0; transform: scale(1.28); } }
.coach-avatar { position: relative; width: 124px; height: 124px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(244 239 230 / 52%); box-shadow: 0 18px 48px rgb(0 0 0 / 35%); }
.coach-avatar--small { width: 116px; height: 116px; }
.call-phone h2 { margin: 0; font-size: clamp(2.2rem, 9vw, 3.3rem); line-height: 1; letter-spacing: 0; }
.call-status { margin: 0; color: rgb(244 239 230 / 76%); font-size: 1.05rem; }
.reject-note { margin: 4px 0 0; max-width: 26ch; color: #ffd7b8; line-height: 1.45; animation: softFade .36s ease both; }
@keyframes softFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.call-actions { width: 100%; display: flex; justify-content: space-around; gap: 28px; margin-top: 42px; }
.call-button { border: 0; background: transparent; color: var(--white); display: grid; justify-items: center; gap: 10px; cursor: pointer; font-weight: 800; }
.call-button::before { content: ""; width: 72px; height: 72px; border-radius: 50%; grid-area: 1 / 1; box-shadow: 0 18px 36px rgb(0 0 0 / 34%); }
.call-button--reject::before { background: linear-gradient(135deg, #d9544c, var(--coral)); }
.call-button--answer::before { background: linear-gradient(135deg, var(--green), var(--turquoise)); }
.phone-glyph { position: relative; z-index: 1; grid-area: 1 / 1; align-self: center; width: 30px; height: 18px; border: 5px solid currentColor; border-top: 0; border-radius: 0 0 24px 24px; transform: rotate(-35deg); }
.phone-glyph--down { transform: rotate(140deg); }
.call-phone--active { gap: 20px; }
.call-wave { height: 76px; display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; }
.call-wave span { width: 8px; height: 22px; border-radius: 99px; background: linear-gradient(var(--turquoise), var(--green)); animation: callWave 880ms ease-in-out infinite; }
.call-wave span:nth-child(2) { height: 42px; animation-delay: 90ms; }
.call-wave span:nth-child(3) { height: 62px; animation-delay: 180ms; }
.call-wave span:nth-child(4) { height: 34px; animation-delay: 270ms; }
.call-wave span:nth-child(5) { height: 56px; animation-delay: 360ms; }
.call-wave span:nth-child(6) { height: 38px; animation-delay: 450ms; }
.call-wave span:nth-child(7) { height: 48px; animation-delay: 540ms; }
@keyframes callWave { 50% { transform: scaleY(.42); opacity: .72; } }
.btn--fallback { width: min(100%, 320px); }
.screen--unlock { place-items: center; padding: 28px; text-align: center; background: radial-gradient(circle at 50% 12%, rgb(115 217 198 / 20%), transparent 18rem), radial-gradient(circle at 18% 90%, rgb(217 173 115 / 14%), transparent 18rem), linear-gradient(160deg, #041013, #10262c 54%, #071619); }
.unlock-mark { position: fixed; top: 24px; width: 34px; opacity: .26; }
.unlock-copy { display: grid; gap: 10px; max-width: 520px; font-size: clamp(1.8rem, 9vw, 3.4rem); line-height: 1.08; font-weight: 850; color: var(--cream); }
.unlock-copy p { margin: 0; }
.swipe-cue { position: fixed; bottom: 34px; display: grid; justify-items: center; gap: 8px; color: rgb(244 239 230 / 72%); font-weight: 800; }
.swipe-cue span { width: 24px; height: 42px; border: 2px solid rgb(244 239 230 / 42%); border-radius: 999px; position: relative; }
.swipe-cue span::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--turquoise); transform: translateX(-50%); animation: swipeDot 1.2s ease infinite; }
@keyframes swipeDot { 0% { opacity: 0; transform: translate(-50%, 10px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -12px); } }
.screen--feed { place-items: center; background: #050505; }
.feed-device { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #000; }
.feed-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #000; transition: filter 420ms ease, transform 420ms ease; }
.feed-device.has-cta .feed-video { filter: blur(8px) brightness(.58); transform: scale(1.025); }
.feed-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / 46%), transparent 28%, transparent 58%, rgb(0 0 0 / 72%)); pointer-events: none; }
.feed-tabs { position: absolute; top: max(18px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; gap: 24px; align-items: center; color: rgb(255 255 255 / 74%); font-weight: 850; z-index: 2; }
.feed-tabs strong { position: relative; color: #fff; }
.feed-tabs strong::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 24px; height: 3px; border-radius: 99px; background: #fff; transform: translateX(-50%); }
.feed-actions { position: absolute; right: 12px; bottom: 102px; display: grid; justify-items: center; gap: 18px; z-index: 2; }
.feed-profile { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: rgb(255 255 255 / 16%); display: grid; place-items: center; }
.feed-profile img { width: 31px; height: 31px; object-fit: contain; }
.feed-profile span { position: absolute; bottom: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 900; }
.feed-action { display: grid; justify-items: center; gap: 5px; color: #fff; font-weight: 850; font-size: .76rem; text-shadow: 0 2px 12px rgb(0 0 0 / 55%); }
.icon-heart, .icon-comment, .icon-share { width: 34px; height: 34px; display: block; position: relative; }
.icon-heart::before, .icon-heart::after { content: ""; position: absolute; width: 18px; height: 28px; border-radius: 18px 18px 0 0; background: #fff; top: 4px; }
.icon-heart::before { left: 15px; transform: rotate(-45deg); transform-origin: 0 100%; }
.icon-heart::after { left: 1px; transform: rotate(45deg); transform-origin: 100% 100%; }
.icon-comment { border: 3px solid #fff; border-radius: 50%; }
.icon-comment::after { content: ""; position: absolute; right: 2px; bottom: 0; width: 10px; height: 10px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(18deg); }
.icon-share::before { content: ""; position: absolute; inset: 8px 4px 7px 10px; border-top: 4px solid #fff; border-right: 4px solid #fff; transform: skew(-12deg) rotate(36deg); }
.audio-disc { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#111, #555, #111); display: grid; place-items: center; animation: spin 5s linear infinite; }
.audio-disc img { width: 24px; height: 24px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed-caption { position: absolute; left: 14px; right: 86px; bottom: 74px; z-index: 2; color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / 58%); }
.feed-caption strong { font-size: 1rem; }
.feed-caption p { margin: 9px 0 5px; font-size: 1rem; line-height: 1.35; font-weight: 650; }
.feed-caption span, .feed-caption small { display: block; margin-top: 5px; font-weight: 800; }
.feed-caption small { color: rgb(255 255 255 / 82%); }
.feed-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; padding: 8px 26px max(8px, env(safe-area-inset-bottom)); background: #020202; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.feed-nav span { color: #fff; display: grid; place-items: center; }
.nav-home { width: 26px; height: 22px; border: 3px solid #fff; border-top: 0; position: relative; }
.nav-home::before { content: ""; position: absolute; left: 1px; top: -12px; width: 18px; height: 18px; border-left: 3px solid #fff; border-top: 3px solid #fff; transform: rotate(45deg); }
.nav-search { width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; position: relative; }
.nav-search::after { content: ""; position: absolute; right: -8px; bottom: -6px; width: 10px; height: 3px; background: #fff; transform: rotate(45deg); border-radius: 99px; }
.nav-create { width: 40px; height: 30px; border-radius: 10px; background: #fff; color: #000 !important; font-size: 1.7rem; font-weight: 900; }
.nav-message { width: 26px; height: 21px; border: 3px solid #fff; border-radius: 6px; position: relative; }
.nav-message::after { content: ""; position: absolute; right: 3px; bottom: -7px; width: 8px; height: 8px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(40deg); }
.nav-profile { width: 26px; height: 26px; border: 3px solid #fff; border-radius: 50%; }
.feed-cta { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 28px; background: rgb(0 0 0 / 18%); animation: ctaIn 420ms ease both; }
.feed-cta .btn { width: min(100%, 320px); }
@keyframes ctaIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.screen--chat { place-items: center; background: #0a171a; }
.chat-phone { width: 100vw; height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: #efe7da; color: #17201d; overflow: hidden; }
.chat-header { min-height: 72px; display: grid; grid-template-columns: 36px 46px 1fr; gap: 10px; align-items: center; padding: max(12px, env(safe-area-inset-top)) 12px 10px; background: #0b4c43; color: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / 18%); }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.arrow-left { width: 14px; height: 14px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); }
.chat-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid rgb(255 255 255 / 48%); }
.chat-title { min-width: 0; display: grid; gap: 1px; }
.chat-title strong { font-size: 1.02rem; }
.chat-title span { font-size: .78rem; color: rgb(255 255 255 / 82%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title small { color: rgb(255 255 255 / 86%); font-weight: 700; }
.chat-thread { min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px 10px 18px; overflow-y: auto; background-image: radial-gradient(circle at 20% 20%, rgb(31 95 107 / 5%) 0 2px, transparent 2px), radial-gradient(circle at 80% 40%, rgb(217 173 115 / 7%) 0 2px, transparent 2px); background-size: 34px 34px; }
.chat-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: end; max-width: 94%; animation: chatIn .28s ease both; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.note-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.voice-bubble, .text-bubble { background: #fff; border-radius: 7px 7px 7px 1px; box-shadow: 0 1px 2px rgb(0 0 0 / 12%); }
.voice-bubble { padding: 8px 9px; }
.voice-note { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; }
.voice-play { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #0b7a6c; color: #fff; cursor: pointer; display: grid; place-items: center; }
.voice-play span { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid currentColor; margin-left: 3px; }
.voice-play.is-playing span { width: 14px; height: 16px; border: 0; border-left: 5px solid currentColor; border-right: 5px solid currentColor; margin-left: 0; }
.wave-track { position: relative; height: 34px; display: grid; grid-template-columns: repeat(22, 1fr); align-items: center; gap: 2px; --progress: 0%; }
.wave-track::after { content: ""; position: absolute; top: 50%; left: var(--progress); width: 10px; height: 10px; border-radius: 50%; background: #0b7a6c; box-shadow: 0 1px 4px rgb(0 0 0 / 22%); transform: translate(-50%, -50%); }
.wave-track span { height: var(--h); border-radius: 99px; background: linear-gradient(to right, #0b7a6c 0 var(--progress), #b6c4bf var(--progress) 100%); }
.voice-meta { display: grid; gap: 2px; justify-items: end; color: #66716d; font-size: .68rem; font-weight: 700; min-width: 38px; }
.text-bubble { width: fit-content; max-width: min(330px, 100%); padding: 9px 10px 7px; line-height: 1.38; }
.text-bubble p { margin: 0 0 4px; }
.msg-time { display: block; text-align: right; color: #7b8581; font-size: .68rem; font-weight: 700; }
.chat-cta { grid-column: 2; display: grid; gap: 8px; margin: -2px 0 8px; animation: chatIn .28s ease both; }
.chat-cta .btn { min-height: 48px; font-size: .95rem; }
.chat-cta .btn--secondary { color: #0b4c43; background: rgb(255 255 255 / 82%); border-color: rgb(11 76 67 / 22%); }
.chat-input { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: #e6ddd0; }
.input-plus, .input-mic { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #0b7a6c; color: #fff; }
.input-plus { font-size: 1.6rem; line-height: 1; }
.input-mic::before { content: ""; display: block; width: 12px; height: 18px; margin: 9px auto 0; border-radius: 99px; border: 2px solid #fff; border-bottom-width: 5px; }
.fake-input { min-height: 42px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; color: #7b8581; }
@media (min-width: 760px) {
  .screen--intro { padding: 40px; }
  .intro-shell { max-width: 960px; }
  .action-stack { grid-template-columns: 1.05fr .95fr; }
  .feed-device { width: min(430px, 100vw); height: min(920px, 100vh); border-radius: 28px; box-shadow: 0 28px 90px rgb(0 0 0 / 45%); }
  .chat-phone { width: min(460px, 100vw); height: min(900px, 100vh); border-radius: 26px; box-shadow: 0 28px 90px rgb(0 0 0 / 42%); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; } }

/* Final polish */
body { background: #061418; }
.screen--intro {
  background: radial-gradient(circle at 20% 8%, rgb(115 217 198 / 24%), transparent 24rem), radial-gradient(circle at 86% 72%, rgb(229 139 99 / 14%), transparent 22rem), linear-gradient(150deg, #061418 0%, #102a31 48%, #07161a 100%);
  color: var(--cream);
}
.intro-atmosphere { background: linear-gradient(180deg, rgb(255 255 255 / 5%), transparent 34%), radial-gradient(circle at 50% 42%, rgb(115 217 198 / 8%), transparent 24rem), linear-gradient(90deg, rgb(115 217 198 / 5%) 1px, transparent 1px), linear-gradient(rgb(115 217 198 / 4%) 1px, transparent 1px); background-size: auto, auto, 52px 52px, 52px 52px; }
.intro-shell { width: min(100%, 900px); padding: clamp(18px, 4vw, 34px); border: 1px solid rgb(244 239 230 / 12%); border-radius: 28px; background: linear-gradient(145deg, rgb(244 239 230 / 8%), rgb(8 25 30 / 38%)); box-shadow: 0 28px 90px rgb(0 0 0 / 32%); backdrop-filter: blur(18px); }
.screen--intro .brand-logo { width: min(176px, 48vw); filter: drop-shadow(0 10px 24px rgb(0 0 0 / 18%)); }
.screen--intro .kicker { color: var(--turquoise); text-shadow: 0 0 26px rgb(115 217 198 / 20%); }
.screen--intro h1 { color: var(--cream); font-size: clamp(2.85rem, 14vw, 6.6rem); line-height: .92; text-shadow: 0 18px 42px rgb(0 0 0 / 32%); }
.screen--intro .intro-copy p { color: rgb(244 239 230 / 86%); }
.screen--intro .thought-card { padding: 18px; border-radius: 20px; border-color: rgb(115 217 198 / 18%); background: linear-gradient(145deg, rgb(255 253 248 / 10%), rgb(255 253 248 / 5%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 20px 44px rgb(0 0 0 / 20%); }
.screen--intro .thought-card span { color: rgb(244 239 230 / 68%); }
.screen--intro .thought-card strong { color: #e9fff9; }
.screen--intro .btn--secondary { color: var(--cream); background: rgb(12 49 55 / 78%); border-color: rgb(115 217 198 / 28%); }
@media (max-width: 430px) { .screen--intro { padding: 16px; } .intro-shell { gap: 18px; padding: 18px; border-radius: 24px; } .intro-copy { gap: 13px; } .screen--intro h1 { font-size: clamp(2.65rem, 13vw, 3.9rem); } .screen--intro .intro-copy p { font-size: 1rem; line-height: 1.52; } .screen--intro .thought-card { gap: 9px; padding: 15px; } .action-stack { gap: 10px; } .btn { min-height: 54px; padding: 13px 18px; } }
.call-meta--subtle { font-size: .78rem; opacity: .46; letter-spacing: .04em; text-transform: uppercase; }
.call-phone--ringing { animation: visualRing 1.15s ease-in-out infinite; }
@keyframes visualRing { 0%,100% { transform: translate3d(0,0,0); } 10% { transform: translate3d(-1px,0,0); } 20% { transform: translate3d(1px,0,0); } 30% { transform: translate3d(-1px,1px,0); } 40% { transform: translate3d(1px,-1px,0); } 50% { transform: translate3d(0,0,0); } }
.call-button--answer::before { animation: answerPulse 1.35s ease-in-out infinite; }
@keyframes answerPulse { 50% { box-shadow: 0 0 0 10px rgb(115 217 198 / 10%), 0 18px 36px rgb(0 0 0 / 34%); transform: scale(1.035); } }
.phone-glyph { border: 0; width: 32px; height: 32px; transform: none; }
.phone-glyph::before { content: ""; position: absolute; inset: 6px 4px; border: 4px solid currentColor; border-top: 0; border-radius: 0 0 24px 24px; transform: rotate(-38deg); }
.phone-glyph--down::before { transform: rotate(138deg); }
.call-timer { margin: -8px 0 4px; color: rgb(244 239 230 / 58%); font-weight: 800; font-variant-numeric: tabular-nums; }
.call-end-button { margin-top: 26px; width: 58px; height: 58px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #d9544c, var(--coral)); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px rgb(0 0 0 / 30%); cursor: pointer; }
.screen--active-call.is-ending .call-phone { animation: callFade .55s ease forwards; }
@keyframes callFade { to { opacity: .45; filter: brightness(.7); transform: scale(.985); } }
.feed-action svg { width: 35px; height: 35px; display: block; fill: #fff; filter: drop-shadow(0 2px 10px rgb(0 0 0 / 48%)); }
.feed-action svg .cut { fill: none; stroke: #050505; stroke-width: 3.2; stroke-linecap: round; opacity: .35; }
.feed-action { gap: 6px; min-width: 54px; }
.feed-actions { right: 13px; bottom: 108px; gap: 19px; }
.feed-profile { background: #fff; border: 0; box-shadow: 0 6px 18px rgb(0 0 0 / 26%); }
.feed-profile img { filter: saturate(1.1); }
.feed-profile span { background: var(--coral); box-shadow: 0 3px 10px rgb(0 0 0 / 24%); }
.audio-disc { box-shadow: 0 6px 20px rgb(0 0 0 / 30%); border: 2px solid rgb(255 255 255 / 58%); }
.feed-hint { position: absolute; left: 50%; bottom: 148px; transform: translateX(-50%); z-index: 4; padding: 9px 14px; border-radius: 999px; background: rgb(0 0 0 / 48%); color: #fff; font-weight: 850; font-size: .86rem; box-shadow: 0 10px 30px rgb(0 0 0 / 28%); animation: hintFloat 1.2s ease-in-out infinite; }
@keyframes hintFloat { 50% { transform: translate(-50%, -5px); } }
.wave-track span.is-active { background: #0b7a6c; }
.wave-track span { background: #b6c4bf; transition: background-color 80ms linear; }
.input-mic { position: relative; display: grid; place-items: center; }
.input-mic::before { content: ""; width: 12px; height: 18px; margin: 0; border-radius: 99px; border: 2.4px solid #fff; background: transparent; }
.input-mic::after { content: ""; position: absolute; width: 20px; height: 18px; border-bottom: 2.4px solid #fff; border-left: 2.4px solid transparent; border-right: 2.4px solid transparent; border-radius: 0 0 14px 14px; transform: translateY(4px); }

/* Demy chat polish */
.chat-phone {
  background: #efe5d6;
  color: #17201d;
}
.chat-header {
  min-height: 70px;
  grid-template-columns: 34px 44px minmax(0, 1fr) 34px;
  gap: 9px;
  padding: max(10px, env(safe-area-inset-top)) 10px 9px;
  background: #075e55;
  box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
}
.chat-header .icon-button { width: 34px; height: 34px; }
.chat-header .chat-avatar { width: 44px; height: 44px; }
.chat-title strong { font-size: 1rem; line-height: 1.05; }
.chat-title span { font-size: .76rem; color: rgb(255 255 255 / 80%); }
.chat-title small { font-size: .72rem; color: rgb(255 255 255 / 78%); }
.chat-menu {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 3px;
  cursor: default;
}
.chat-menu span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.chat-thread {
  gap: 9px;
  padding: 12px 9px 14px;
  background-color: #eee4d6;
  background-image:
    radial-gradient(circle at 12px 12px, rgb(31 95 107 / 4%) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 32px 30px, rgb(217 173 115 / 5%) 0 1.2px, transparent 1.5px),
    linear-gradient(135deg, rgb(255 255 255 / 25%), transparent 45%);
  background-size: 44px 44px, 54px 54px, auto;
  scroll-padding-bottom: 88px;
}
.chat-row {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  align-items: end;
  max-width: 96%;
}
.note-avatar {
  width: 32px;
  height: 32px;
  align-self: end;
  margin-bottom: 1px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
}
.voice-bubble, .text-bubble {
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 10%), 0 5px 12px rgb(31 95 107 / 6%);
  background: #fffdf8;
}
.voice-bubble {
  width: min(326px, calc(100vw - 72px));
  padding: 8px 9px 7px;
}
.voice-note {
  grid-template-columns: 38px minmax(128px, 1fr) 42px;
  gap: 8px;
}
.voice-play {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0b7a6c, #128c7e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
}
.wave-track {
  height: 31px;
  gap: 2.5px;
}
.wave-track::after {
  width: 9px;
  height: 9px;
  background: #128c7e;
  box-shadow: 0 1px 4px rgb(0 0 0 / 22%);
}
.wave-track span.is-active { background: linear-gradient(180deg, var(--turquoise), #128c7e); }
.wave-track span { background: #b7c0bc; }
.voice-meta {
  font-size: .66rem;
  color: #6f7773;
  min-width: 40px;
  align-self: end;
  padding-bottom: 1px;
}
.text-bubble {
  max-width: min(330px, calc(100vw - 78px));
  padding: 8px 10px 6px;
  font-size: .95rem;
}
.chat-cta {
  grid-column: 2;
  width: min(326px, calc(100vw - 72px));
  margin: -1px 0 7px;
}
.chat-cta .btn {
  min-height: 46px;
  border-radius: 999px;
}
.chat-input {
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 7px 8px max(7px, env(safe-area-inset-bottom));
  background: #202c2f;
  box-shadow: 0 -2px 10px rgb(0 0 0 / 12%);
}
.fake-input {
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px 30px;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: 999px;
  background: #2d3a3d;
  color: #c4ccca;
}
.input-placeholder { color: #c4ccca; font-size: .98rem; }
.input-emoji, .input-paperclip, .input-camera {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  opacity: .86;
}
.input-emoji::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid #c4ccca;
  border-radius: 50%;
}
.input-emoji::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #c4ccca;
  border-radius: 0 0 99px 99px;
  box-shadow: -3px -4px 0 -1px #c4ccca, 5px -4px 0 -1px #c4ccca;
}
.input-paperclip::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 9px;
  height: 16px;
  border: 2px solid #c4ccca;
  border-left-color: transparent;
  border-radius: 9px;
  transform: rotate(35deg);
}
.input-camera::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 18px;
  height: 13px;
  border: 2px solid #c4ccca;
  border-radius: 4px;
}
.input-camera::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 5px;
  height: 5px;
  border: 2px solid #c4ccca;
  border-radius: 50%;
}
.input-plus { display: none; }
.input-mic {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1f2c30;
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
}
.input-mic::before {
  width: 11px;
  height: 17px;
  border-color: currentColor;
  border-width: 2.2px;
}
.input-mic::after {
  width: 20px;
  height: 18px;
  border-bottom-color: currentColor;
  transform: translateY(4px);
}
@media (min-width: 760px) {
  .voice-bubble, .chat-cta { width: 326px; }
}

/* Intro confirmation update */
.screen--intro .brand-row {
  justify-content: center;
  text-align: center;
}
.screen--intro .brand-logo {
  width: min(178px, 50vw);
  max-height: 72px;
  object-fit: contain;
}
.intro-label {
  width: fit-content;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgb(115 217 198 / 24%);
  border-radius: 999px;
  color: rgb(244 239 230 / 82%) !important;
  background: rgb(115 217 198 / 9%);
  font-size: .82rem !important;
  line-height: 1.2 !important;
  font-weight: 850;
  letter-spacing: 0;
}
.screen--intro .btn--secondary {
  color: #f4efe6;
  background: rgb(7 22 26 / 72%);
  border: 1px solid rgb(244 239 230 / 24%);
  box-shadow: 0 14px 32px rgb(0 0 0 / 22%);
}
.screen--intro .btn--secondary:hover {
  background: rgb(13 49 55 / 82%);
  border-color: rgb(115 217 198 / 38%);
}

/* Final missed fixes */
.screen--intro .intro-shell {
  max-height: calc(100vh - 32px);
  overflow: auto;
  text-align: center;
  align-content: center;
}
.screen--intro .intro-copy {
  justify-items: center;
  text-align: center;
  gap: 12px;
}
.screen--intro .intro-label,
.screen--intro .kicker,
.screen--intro h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.screen--intro .kicker {
  font-size: clamp(1.04rem, 4.2vw, 1.38rem);
}
.screen--intro h1 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 11.4vw, 5.45rem);
  line-height: .98;
  text-wrap: balance;
}
.screen--intro .intro-copy > p:not(.intro-label):not(.kicker) {
  max-width: 58ch;
  text-align: center;
}
.screen--intro .thought-card {
  width: min(100%, 680px);
  text-align: left;
}
.screen--intro .action-stack {
  margin-top: 2px;
}
@media (max-width: 430px) {
  .screen--intro .intro-shell {
    max-height: calc(100vh - 24px);
    padding: 15px;
    gap: 14px;
  }
  .screen--intro .brand-logo {
    width: min(156px, 46vw);
    max-height: 60px;
  }
  .screen--intro .intro-label {
    font-size: .76rem !important;
    padding: 7px 11px;
  }
  .screen--intro .kicker {
    font-size: 1rem;
  }
  .screen--intro h1 {
    font-size: clamp(2.2rem, 10.6vw, 3.28rem);
    line-height: 1;
  }
  .screen--intro .intro-copy > p:not(.intro-label):not(.kicker) {
    font-size: .95rem;
    line-height: 1.43;
  }
  .screen--intro .thought-card {
    padding: 13px;
    gap: 8px;
  }
  .screen--intro .thought-card strong {
    font-size: 1rem;
    line-height: 1.18;
  }
  .screen--intro .btn {
    min-height: 50px;
    font-size: .94rem;
  }
}
.call-hangup-note {
  margin: 10px 0 0;
  color: #ffd5b8;
  font-size: .9rem;
  font-weight: 800;
  animation: hangupNoteIn .25s ease both;
}
.call-hangup-note.is-fading {
  animation: hangupNoteOut .3s ease both;
}
@keyframes hangupNoteIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hangupNoteOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(6px); } }
.unlock-copy {
  min-height: clamp(150px, 28vh, 260px);
  align-content: center;
  justify-items: center;
  font-size: clamp(1.55rem, 7.5vw, 3rem);
  line-height: 1.16;
}
.unlock-copy p {
  min-height: 1.2em;
  text-wrap: balance;
}
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-top: 10px;
  background: var(--turquoise);
  box-shadow: 0 0 18px rgb(115 217 198 / 45%);
  animation: cursorBlink .82s steps(2, start) infinite;
}
.type-cursor.is-hidden {
  display: none;
}
@keyframes cursorBlink { 50% { opacity: 0; } }

/* Targeted intro quote alignment and short-height logo safety */
.screen--intro .thought-card {
  text-align: center;
  justify-items: center;
  gap: 10px;
}
.screen--intro .thought-card span,
.screen--intro .thought-card strong {
  text-align: center;
}
@media (min-width: 768px) and (max-height: 850px) {
  .screen--intro {
    padding: 18px 24px !important;
    align-items: start !important;
  }
  .screen--intro .intro-shell {
    max-height: none !important;
    overflow: visible !important;
    padding-top: 24px !important;
    padding-bottom: 22px !important;
    gap: 12px !important;
  }
  .screen--intro .brand-row {
    margin: 0 0 10px !important;
    overflow: visible !important;
  }
  .screen--intro .brand-logo {
    max-width: min(180px, 38vw) !important;
    max-height: none !important;
    margin-top: 0 !important;
    transform: none !important;
    position: relative !important;
  }
  .screen--intro .intro-copy {
    gap: 9px !important;
  }
  .screen--intro h1 {
    font-size: clamp(2.35rem, 5.8vw, 4.25rem) !important;
    line-height: .98 !important;
  }
  .screen--intro .intro-copy > p:not(.intro-label):not(.kicker) {
    font-size: .96rem !important;
    line-height: 1.44 !important;
  }
  .screen--intro .thought-card {
    padding: 14px 18px !important;
    gap: 8px !important;
  }
  .screen--intro .btn {
    min-height: 50px !important;
  }
}
@media (min-width: 768px) and (max-height: 720px) {
  .screen--intro {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .screen--intro .intro-shell {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    gap: 9px !important;
  }
  .screen--intro .brand-logo {
    max-width: min(164px, 34vw) !important;
  }
  .screen--intro h1 {
    font-size: clamp(2.15rem, 5vw, 3.5rem) !important;
  }
}
/* Targeted short-video finished blur state */
.feed-device.is-awaiting-swipe .feed-video {
  filter: blur(7px) brightness(.66);
  transform: scale(1.018);
}
.feed-device.is-awaiting-swipe .feed-scrim {
  background: linear-gradient(to bottom, rgb(0 0 0 / 48%), rgb(0 0 0 / 16%) 34%, rgb(0 0 0 / 46%) 100%);
}
.feed-device.is-awaiting-swipe .feed-hint {
  backdrop-filter: blur(10px);
  background: rgb(0 0 0 / 46%);
}

/* Silent mysterious video desktop containment fix */
@media (min-width: 768px) {
  .screen--silent-video {
    display: none;
    place-items: center;
    padding: clamp(20px, 4vh, 40px);
    background:
      radial-gradient(circle at 50% 18%, rgb(115 217 198 / 12%), transparent 24rem),
      linear-gradient(145deg, #02090b, #061f24 54%, #02090b);
  }
  .screen--silent-video.is-active {
    display: grid;
  }
  .screen--silent-video .vertical-video {
    width: auto;
    height: min(88vh, 820px);
    max-width: min(420px, 92vw);
    aspect-ratio: 9 / 16;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgb(0 0 0 / 42%);
    background: #000;
  }
}

/* Inline typewriter cursor fix */
.type-cursor {
  display: inline-block;
  position: static;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.08em;
  background: currentColor;
  animation: cursorBlink .8s steps(1) infinite;
}

/* Duplicate typewriter cursor cleanup */
.unlock-copy > .type-cursor {
  display: none !important;
}
.unlock-copy p .type-cursor {
  display: inline-block !important;
  position: static !important;
  width: 2px !important;
  height: 1em !important;
  margin: 0 0 -0.08em 3px !important;
  vertical-align: baseline !important;
  background: currentColor !important;
}

/* iOS feed video manual playback fallback */
.feed-manual-play {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 45%, rgb(115 217 198 / 12%), rgb(0 0 0 / 46%));
  backdrop-filter: blur(8px);
}
.feed-manual-play .btn {
  width: min(100%, 300px);
  box-shadow: 0 20px 48px rgb(0 0 0 / 34%), 0 0 34px rgb(115 217 198 / 22%);
}
.feed-device.needs-manual-play .feed-video {
  filter: brightness(.72);
}
