/* missed-call reply service page. its own look, nothing shared with the portfolio css */
:root {
  --bone: #f1eee6;
  --ink: #141413;
  --soft: #5a574f;
  --line: #14141326;
  --signal: #2f5d50;
  --blue: #0a84ff;
  --gray: #e9e9eb;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --sage: #dfe3d6;
  --pad: clamp(18px, 2.6vw, 44px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font: 400 17px/1.45 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bone);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font: italic 400 1em/1 var(--serif); letter-spacing: -.02em; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; padding: 10px 16px; background: var(--ink); color: var(--bone); }
.skip:focus { top: 12px; }
.kicker { font: 500 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.fine { font-size: 13px; color: var(--soft); max-width: 70ch; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 14px var(--pad); background: color-mix(in srgb, var(--bone) 92%, transparent); border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark b { font-size: 22px; letter-spacing: -.04em; }
.mark span { font-size: 13px; color: var(--soft); }
.menu { position: relative; }
.menu-btn, .back { height: 40px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 40px; background: none; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--bone); }
.back { background: var(--ink); color: var(--bone); }
.back:hover { background: var(--signal); border-color: var(--signal); }
.menu-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; background: var(--ink); color: var(--bone); border-radius: 16px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.menu.open .menu-list { opacity: 1; visibility: visible; transform: none; }
.menu-list a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 17px; }
.menu-list a:hover, .menu-list a:focus-visible { background: #ffffff1a; outline: 0; }
.menu-list li:last-child { margin-top: 6px; border-top: 1px solid #ffffff26; padding-top: 6px; }

/* hero: edge to edge, type on the left, the scene on the right */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--pad); padding: clamp(28px, 5vw, 72px) var(--pad) clamp(36px, 5vw, 80px); align-items: end; min-height: calc(100svh - 69px); }
.hero .kicker { grid-column: 1 / -1; align-self: start; }
.hero h1 { font-size: clamp(54px, 9.6vw, 196px); line-height: .9; letter-spacing: -.065em; font-weight: 600; }
.hero h1 span { display: block; }
.hero h1 em { display: block; color: var(--signal); font-size: 1.04em; letter-spacing: -.045em; padding-bottom: .06em; }
.hero-side { display: grid; gap: 22px; }
.lede { font-size: clamp(17px, 1.35vw, 21px); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { height: 54px; padding: 0 24px; border-radius: 54px; display: inline-flex; align-items: center; font-size: 17px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-ink:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { background: none; }
.btn-line:hover { background: var(--ink); color: var(--bone); }

/* the little scene: an iMessage thread */
.scene { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 14px; border-radius: 26px; background: #fff; --surf: #fff; border: 1px solid var(--line); font: 15px/1.3 var(--ios); }
.scene-head { align-self: center; text-align: center; font-size: 11px; color: #8e8e93; margin-bottom: 8px; }
.scene-head b { display: block; font-size: 13px; color: #1c1c1e; font-weight: 600; }
.stamp { align-self: flex-end; font-size: 11px; color: #8e8e93; margin-top: 2px; }
.scene > * { animation: rise .5s var(--ease) both; }
.scene > :nth-child(2) { animation-delay: .5s; }
.scene > :nth-child(3) { animation-delay: 1.2s; }
.scene > :nth-child(4) { animation-delay: 1.8s; }
.scene > :nth-child(5) { animation-delay: 2s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* iOS bubbles with tails. the tail cutout uses the surface colour behind it (--surf) */
.bub, .chat-log .them, .chat-log .you { position: relative; max-width: 78%; margin: 0 14px; padding: 8px 13px; border-radius: 18px; font: 16px/1.3 var(--ios); overflow-wrap: anywhere; }
.scene, .meter { overflow: hidden; }
.bub, .chat-log .them, .them { align-self: flex-start; background: var(--gray); color: #000; }
.you { align-self: flex-end; background: var(--blue); color: #fff; }
.bub::before, .bub::after, .chat-log .them::before, .chat-log .them::after, .chat-log .you::before, .chat-log .you::after { content: ""; position: absolute; bottom: 0; height: 18px; }
.you::before { right: -7px; width: 20px; background: var(--blue); border-bottom-left-radius: 16px 14px; }
.you::after { right: -26px; width: 26px; background: var(--surf, #fff); border-bottom-left-radius: 10px; }
.them::before { left: -7px; width: 20px; background: var(--gray); border-bottom-right-radius: 16px 14px; }
.them::after { left: -26px; width: 26px; background: var(--surf, #fff); border-bottom-right-radius: 10px; }
.bub + .bub.you, .bub + .bub.them { margin-top: 6px; }

/* measured numbers, one ruled row across the page */
.facts { padding: 0 var(--pad) clamp(40px, 5vw, 80px); display: grid; gap: 14px; }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts dl > div { padding: 18px 18px 22px 0; display: grid; gap: 8px; align-content: start; }
.facts dl > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font: italic 400 clamp(48px, 6vw, 112px)/.9 var(--serif); letter-spacing: -.04em; }
.facts dt small { font-size: .42em; margin-left: .06em; }
.facts dd { font-size: 15px; color: var(--soft); max-width: 26ch; }

/* how it goes: video + steps */
.how { display: grid; grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr); gap: var(--pad); padding: clamp(48px, 6vw, 110px) var(--pad); background: var(--sage); align-items: center; }
.how h2, .timeline h2, .price h2, .end h2 { font-size: clamp(38px, 5.4vw, 104px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.how-copy { display: grid; gap: 26px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--pad); }
.steps li { counter-increment: s; padding: 16px 0 20px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 44px 1fr; font-size: 17px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 13px ui-monospace, Menlo, monospace; padding-top: 4px; color: var(--soft); }

.player { display: grid; gap: 10px; max-width: 400px; width: 100%; justify-self: center; }
.frame { position: relative; border-radius: 34px; padding: 7px; background: var(--ink); box-shadow: 0 30px 60px -20px #14141366; }
.frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 28px; background: #000; }
.p-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 0; border-radius: 50%; background: #f1eee6eb; color: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease), opacity .3s; }
.p-play:hover { transform: scale(1.06); }
.p-play svg { width: 40px; height: 40px; fill: currentColor; }
.p-play .i-pause, .playing .p-play .i-play { display: none; }
.playing .p-play .i-pause { display: inline; }
.playing .p-play { opacity: 0; }
.playing .frame:hover .p-play, .playing .p-play:focus-visible { opacity: 1; }
.p-bar { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--soft); }
.p-mute { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: none; display: grid; place-items: center; color: var(--ink); }
.p-mute svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-mute svg path:first-child { fill: currentColor; }
.p-mute .i-x, .muted .p-mute .i-wave { display: none; }
.muted .p-mute .i-x { display: inline; }
.p-vol input { width: 110px; accent-color: var(--ink); }
@media (hover: none) and (pointer: coarse) { .p-vol { display: none; } }

/* included: full-width ruled rows */
.incl, .faq { padding: clamp(48px, 6vw, 110px) var(--pad); display: grid; gap: 22px; }
.rows li { display: grid; grid-template-columns: 1fr 4fr 6fr; gap: 12px var(--pad); padding: 22px 0 26px; border-top: 1px solid var(--ink); align-items: baseline; }
.rows .n { font: italic 400 clamp(28px, 3vw, 52px)/1 var(--serif); color: var(--signal); }
.rows h3 { font-size: clamp(24px, 2.6vw, 44px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.rows p { max-width: 60ch; }
.tags { font-size: 15px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 18px; }
.tags i { font-style: normal; margin: 0 .6em; color: var(--signal); }

.timeline { padding: clamp(48px, 6vw, 110px) var(--pad); background: var(--ink); color: var(--bone); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px var(--pad); align-items: end; }
.timeline h2 span, .timeline h2 em { display: block; }
.timeline h2 em { color: #a9c7bb; }
.time-kick { font-size: 19px; max-width: 34ch; color: #f1eee6c7; }
.t-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #f1eee659; margin-top: 18px; }
.t-steps li { padding: 20px 20px 0 0; display: grid; gap: 10px; align-content: start; }
.t-steps li + li { padding-left: 20px; border-left: 1px solid #f1eee626; }
.t-steps b { font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.t-steps p { font-size: 16px; color: #f1eee6b3; }

/* pricing as a ledger */
.price { padding: clamp(48px, 6vw, 110px) var(--pad); display: grid; gap: 28px; }
.price h2 em { color: var(--signal); }
.p-rows { border-top: 1px solid var(--ink); }
.p-row { display: grid; grid-template-columns: 4fr 3fr 5fr; gap: 12px var(--pad); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.p-row h3 { font-size: clamp(22px, 2vw, 32px); letter-spacing: -.035em; font-weight: 600; line-height: 1.05; }
.amt { font-size: 17px; }
.amt b { font: italic 400 clamp(54px, 5vw, 92px)/.9 var(--serif); letter-spacing: -.04em; }
.amt-q { font: italic 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); }
.p-best { background: var(--signal); color: #fff; border-radius: 0; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); border-bottom-color: transparent; }

.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: clamp(20px, 2vw, 32px); letter-spacing: -.03em; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 36px/1 -apple-system, sans-serif; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq details p { padding: 0 0 22px; max-width: 64ch; font-size: 18px; }

.end { padding: clamp(56px, 8vw, 140px) var(--pad) 140px; display: grid; gap: 22px; border-top: 1px solid var(--ink); }
.end h2 em { display: block; color: var(--signal); }
.end > p:first-of-type { font-size: 19px; max-width: 48ch; }
.big-mail { font-size: clamp(34px, 6.6vw, 132px); letter-spacing: -.055em; font-weight: 600; line-height: 1; text-decoration: none; border-bottom: 3px solid currentColor; width: fit-content; padding-bottom: 8px; transition: color .2s; }
.big-mail:hover { color: var(--signal); }

/* the pinned chat */
.chat { position: fixed; z-index: 40; right: var(--pad); bottom: max(18px, env(safe-area-inset-bottom)); }
.chat-tab { width: fit-content; display: flex; align-items: center; gap: 12px; padding: 13px 22px 11px 13px; border: 0; border-radius: 22px 22px 22px 6px; background: var(--ink); color: var(--bone); box-shadow: 0 14px 36px -10px #14141380; text-align: left; transition: box-shadow .3s, background-color .3s; }
.chat-tab:hover { background: #24231f; box-shadow: 0 18px 44px -10px #141413a6; }
/* the bot: an iMessage bubble with two soft pill eyes. JS moves the eyes (springy gaze, squint/widen); CSS does blinks, happy arcs and the hop */
.bot { width: 44px; height: 40px; flex: none; overflow: visible; transform-origin: 30% 92%; }
.b-body { fill: var(--blue); }
.eye .open { fill: #fff; transform-box: fill-box; transform-origin: center; transition: opacity .12s; }
.eye .lid { transform-box: fill-box; transform-origin: center; }
.eye .happy { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; opacity: 0; transition: opacity .12s; }
.bot.happy .open { opacity: 0; }
.bot.happy .happy { opacity: 1; }
.bot.blink .open { animation: blink .16s ease-in-out; }
.bot.blink2 .open { animation: blink .16s ease-in-out 2; }
.bot.hop { animation: hop .9s linear; }
.bot.mini { width: 34px; height: 31px; margin-right: 10px; }
.chat-head { justify-content: flex-start; }
.chat-head .chat-x { margin-left: auto; }
@keyframes blink { 0%, 100% { transform: none; } 45%, 55% { transform: scaleY(.1); } }
/* anticipation squash, stretch on the way up, squash on landing, then a springy wobble to rest */
@keyframes hop {
  0% { transform: none; animation-timing-function: ease-out; }
  14% { transform: scale(1.16, .82); animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  38% { transform: translateY(-10px) scale(.9, 1.1); animation-timing-function: ease-in; }
  58% { transform: translateY(0) scale(1.16, .8); animation-timing-function: ease-out; }
  70% { transform: translateY(-2px) scale(.95, 1.06) rotate(-3deg); }
  81% { transform: scale(1.04, .97) rotate(2deg); }
  91% { transform: scale(.99, 1.01) rotate(-.7deg); }
  100% { transform: none; }
}
.chat-tab b { display: block; font-size: 17px; font-weight: 600; }
.chat-tab small { display: block; font-size: 13px; opacity: .65; }
.chat.open .chat-tab { display: none; }

.chat-panel { width: min(400px, calc(100vw - 2 * var(--pad))); height: min(600px, calc(100svh - 110px)); display: grid; grid-template-rows: auto 1fr auto auto; background: var(--bone); border: 1px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -20px #14141399; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 18px; background: var(--ink); color: var(--bone); }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { font-size: 12px; opacity: .7; }
.chat-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ffffff1a; display: grid; place-items: center; }
.chat-x svg { width: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.chat-log { overflow-y: auto; overflow-x: hidden; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; background: #fff; --surf: #fff; }
.chat-log li { animation: rise .25s var(--ease); }
.chat-log .t { align-self: flex-start; margin: 0 0 6px; padding: 0 4px; font: 11px var(--ios); color: #8e8e93; background: none; border: 0; }
.chat-log .wait { width: 62px; height: 36px; padding: 0; overflow: hidden; }
.chat-log .wait::before { width: 20px; } .chat-log .wait span { position: absolute; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: dot 1.2s infinite; }
.chat-log .wait span:nth-child(1) { left: 15px; } .chat-log .wait span:nth-child(2) { left: 27px; animation-delay: .15s; } .chat-log .wait span:nth-child(3) { left: 39px; animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.chat-try { background: #fff; display: flex; gap: 6px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-try button { flex: none; padding: 7px 12px; border: 1px solid var(--ink); border-radius: 30px; background: none; font-size: 14px; }
.chat-try button:hover { background: var(--ink); color: var(--bone); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: #f7f7f8; }
.chat-form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid #c7c7cc; border-radius: 40px; background: #fff; font: 16px var(--ios); }
.chat-form button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue); color: var(--bone); display: grid; place-items: center; }
.chat-form button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: clamp(52px, 15.5vw, 120px); }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .how, .timeline { grid-template-columns: 1fr; }
  .steps, .t-steps { grid-template-columns: 1fr; }
  .t-steps li, .t-steps li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid #f1eee626; }
  .rows li, .p-row { grid-template-columns: 1fr; }
  .rows .n { font-size: 28px; }
  .mark span { display: none; }
  .back { padding: 0 12px; }
}
@media (max-width: 560px) {
  .back span + * , .back { font-size: 14px; }
  .chat { left: 12px; right: 12px; }
  .chat-tab { margin-left: auto; }
  .chat.open { inset: 0; }
  .chat-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 901px) { .hero h1 span, .hero h1 em { white-space: nowrap; } }
.price + .faq { padding-top: 0; }
.faq summary::after { top: 50%; transform: translateY(-50%); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
@media (max-width: 700px) {
  .menu { position: static; }
  .menu-list { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); min-width: 0; }
  .menu-list a { font-size: 20px; padding: 11px 14px; }
  .stamp { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .bot.hop { animation: none !important; }
  .bot.blink .open, .bot.blink2 .open { animation: soft-blink .5s ease-in-out !important; }
  @keyframes soft-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
}

/* the engine: copy on the left, a live timer on the right */
.speed { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--pad); padding: clamp(48px, 6vw, 110px) var(--pad); border-top: 1px solid var(--ink); align-items: start; }
.speed-copy { display: grid; gap: 20px; }
.speed h2 { font-size: clamp(38px, 5.4vw, 104px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.speed h2 em { display: block; color: var(--signal); }
.speed-copy > p:not(.kicker):not(.fine) { font-size: clamp(17px, 1.35vw, 21px); max-width: 56ch; }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 6px; }
.proof li { padding: 14px 16px 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--soft); }
.proof b { display: block; font: italic 400 clamp(26px, 2.4vw, 40px)/1.05 var(--serif); color: var(--ink); letter-spacing: -.03em; }
.meter { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); --surf: #fff; }
.meter-num { font: italic 400 clamp(72px, 8vw, 150px)/.9 var(--serif); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.meter-num small { font-size: .35em; margin-left: .05em; }
.meter-label { font-size: 15px; color: var(--soft); min-height: 2.9em; }
.meter .bub { margin: 4px 8px 0; }
.meter .btn { align-self: flex-start; margin-top: 12px; }
.meter .btn[disabled] { opacity: .5; cursor: progress; }
.also { font-size: 16px; color: var(--soft); }
.also a { color: var(--ink); font-weight: 500; }
.end > p a { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .speed { grid-template-columns: 1fr; }
  .meter { position: static; }
}
