/* When it faces your customers, Idea 1 (owner's pick, 10 Nov 2026): "Not another 'Dear Customer'".
   Hero: a phone lock screen, three robotic texts and one from the business. Section 2: one reply with its words, rule and look marked.
   Section 3, choice A: the same business on WhatsApp, email, the bill and its website. --ci-c is the sample business's own colour,
   set by page-cf-idea1-1110.js (the dental clinic's teal without it). No tag pills or tick marks (owner's standing rule). */

.cf-hero { padding-bottom: 72px; }
.ci-hstage { display: grid; place-items: center; }

/* ---------------------------------------------------------------- hero: the lock screen */
.ci-lock { --ci-c: #0f766e; width: 300px; }
.ci-lock-screen { display: flex; flex-direction: column; align-items: stretch; padding: 0 12px 14px; color: #fff; font-family: var(--font-text);
  background: radial-gradient(70% 45% at 20% 12%, #9fb7d9 0, transparent 70%), radial-gradient(70% 50% at 90% 60%, #c7b3d8 0, transparent 70%),
    radial-gradient(80% 50% at 30% 100%, #e6b9a6 0, transparent 70%), linear-gradient(170deg, #6f84a8, #8e7fa3 55%, #b48f93); }
.ci-lock-top { height: 34px; display: grid; place-items: center; flex: none; }
.ci-island { display: block; width: 84px; height: 22px; border-radius: 99px; background: #000; margin-top: 8px; }
.ci-date { margin: 14px 0 0; text-align: center; font: 600 14px/1.2 var(--font-text); letter-spacing: .01em; opacity: .92; }
.ci-time { margin: 0; text-align: center; font: 600 70px/1 var(--font-text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; opacity: .94; }
.ci-stack { display: grid; gap: 7px; margin-top: auto; }
.ci-nt { padding: 9px 11px 10px; border-radius: 16px; background: rgb(255 255 255 / 30%); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  color: #1d1d1f; text-align: left; }
.ci-nt p { margin: 3px 0 0; font: 400 12.5px/1.32 var(--font-text); }
.ci-from { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ci-from b { font: 600 12px/1.2 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-from time { margin-left: auto; font: 400 11.5px/1 var(--font-text); opacity: .6; flex: none; }
.ci-sms { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 700 6.5px/1 var(--font-text); font-style: normal; letter-spacing: .04em;
  color: #fff; background: #8e939c; }
.ci-bot { color: #2b2d33; }
.ci-bot p { color: #3a3d45; }
.ci-bot b { letter-spacing: .03em; }
.ci-mine { background: rgb(255 255 255 / 94%); box-shadow: 0 14px 28px -14px rgb(20 20 40 / 45%), 0 0 0 1.5px var(--ci-c); transform: scale(1.03); transform-origin: 50% 100%; }
.ci-mine p { font-size: 13px; color: #1d1d1f; }
.ci-mine [data-ci] { transition: filter .32s ease, opacity .32s ease; }
.ci-mine.ci-out [data-ci] { filter: blur(6px); opacity: 0; }
.ci-mine .ci-mark { width: 22px; height: 22px; font-size: 12px; }
.ci-swipe { margin: 12px 0 0; text-align: center; font: 500 11px/1 var(--font-text); opacity: .7; }

/* the four texts arrive one by one, the business last (armed by the script; without it they simply show) */
.ci-lock.is-armed:not(.is-in) .ci-nt { opacity: 0; }
.ci-lock.is-in .ci-nt { animation: ci-drop .55s var(--kit-ease, cubic-bezier(.2, .7, .2, 1)) both; animation-delay: calc(var(--i) * .28s + .15s); }
@keyframes ci-drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.ci-lock.is-in .ci-mine { animation-name: ci-drop-mine; }
@keyframes ci-drop-mine { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: scale(1.03); } }

/* the business's mark: its colour and its first letter, the same shape everywhere it appears */
.ci-mark { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font: 600 14px/1 var(--font-text); font-style: normal;
  color: #fff; background: var(--ci-c); }
[data-ci-biz="realty"] .ci-mark, .ci-mark[data-ci-biz="realty"] { border-radius: 7px; }
[data-ci-biz="coffee"] .ci-mark { border-radius: 50% 50% 50% 14%; }

/* ---------------------------------------------------------------- shared: heading, switch, swap */
.ci-head { max-width: 640px; }
.ci-head .kit-p { margin-top: 14px; max-width: 30em; }
.ci-switch { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 34px 0 28px; border-bottom: 1px solid var(--kit-line); }
.ci-sw { position: relative; padding: 10px 0 12px; border: 0; background: none; cursor: pointer; font: 500 16px/1.2 var(--font-text); color: var(--ink-2); }
.ci-sw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--kit-ease, ease); }
.ci-sw.is-on { color: var(--ink); }
.ci-sw.is-on::after { transform: scaleX(1); }
@media (hover: hover) { .ci-sw:not(.is-on):hover { color: var(--ink); } }
.ci-sw:focus-visible { outline: 2px solid var(--ring, var(--kit-accent)); outline-offset: 3px; border-radius: 4px; }
[data-ci-scope] [data-ci] { transition: filter .26s ease, opacity .26s ease; }
[data-ci-scope].ci-out [data-ci] { filter: blur(5px); opacity: 0; }
[data-ci-scope] .ci-mark, [data-ci-scope] .ci-chat-bar, [data-ci-scope] .ci-web-btn, [data-ci-scope] .ci-tbar { transition: background-color .4s ease; }
.ci-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- 2. one message, marked */
.ci-one { padding-top: 64px; }
.ci-one-stage { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 56px; align-items: center; }
.ci-chat { border-radius: 24px; overflow: hidden; background: #efeae2; box-shadow: 0 0 0 1px var(--kit-line), 0 30px 60px -36px rgb(16 24 40 / 40%); font-family: var(--font-text); }
.ci-chat-bar { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: #fff; background: var(--ci-c); }
.ci-chat-bar .ci-mark { width: 38px; height: 38px; font-size: 17px; color: var(--ci-c); background: #fff; }
.ci-chat-bar span { display: grid; gap: 2px; }
.ci-chat-bar b { font: 600 16px/1.2 var(--font-text); }
.ci-chat-bar small { font: 400 13px/1.2 var(--font-text); opacity: .85; }
.ci-chat-bar .ci-n3 { position: static; margin-left: auto; }
.ci-chat-wall { display: flex; flex-direction: column; gap: 12px; padding: 26px 20px 30px; }
.ci-b { margin: 0; padding: 10px 14px; max-width: 86%; border-radius: 16px; font: 400 16px/1.45 var(--font-text); color: #1d1d1f; }
.ci-in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.ci-out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 4px; }
.ci-mw { background: linear-gradient(transparent 58%, rgb(250 204 21 / 55%) 58%); }
.ci-mr { background: linear-gradient(transparent 58%, rgb(96 165 250 / 45%) 58%); }
.ci-n { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font: 700 11px/1 var(--font-text); color: #fff; vertical-align: 3px; margin-left: 3px; }
.ci-n1 { background: #a16207; }
.ci-n2 { background: #1d4ed8; }
.ci-n3 { background: #fff; color: var(--ci-c); }
.ci-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.ci-key li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
.ci-key .ci-n { width: 28px; height: 28px; font-size: 14px; margin: 0; vertical-align: 0; }
.ci-k1 .ci-n { background: #a16207; }
.ci-k2 .ci-n { background: #1d4ed8; }
.ci-k3 .ci-n { background: var(--ci-c); color: #fff; }
.ci-key b { font: 400 30px/1.15 var(--font-display); color: var(--ink); }
.ci-key p { grid-column: 2; margin: 6px 0 0; font: 400 17px/1.5 var(--font-text); color: var(--ink-2); max-width: 26em; }

/* ---------------------------------------------------------------- 3A. the same on every screen */
.ci-screens { padding-top: 64px; }
.ci-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ci-tile { margin: 0; min-width: 0; }
.ci-tile figcaption { margin-top: 12px; font: 500 15px/1.2 var(--font-text); color: var(--ink-2); }
.ci-tile-scr { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px;
  background: #fff; box-shadow: 0 0 0 1px var(--kit-line), 0 22px 44px -32px rgb(16 24 40 / 40%); font-family: var(--font-text); color: #1d1d1f; }
.ci-tile-scr p { margin: 0; }
.ci-line { display: block; height: 7px; border-radius: 4px; background: #eceef1; }
.ci-line--short { width: 60%; }
/* WhatsApp */
.ci-t-wa { padding: 0; background: #efeae2; }
.ci-tbar { display: flex; align-items: center; gap: 9px; padding: 12px 14px; color: #fff; background: var(--ci-c); }
.ci-tbar .ci-mark { width: 26px; height: 26px; font-size: 12px; color: var(--ci-c); background: #fff; }
.ci-tbar b { font: 600 14px/1.2 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-t-wa .ci-b { margin: 14px 12px 0 auto; font-size: 14px; max-width: 88%; }
/* email */
.ci-mail-from { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ci-mail-from span { display: grid; gap: 2px; min-width: 0; }
.ci-mail-from b { font: 600 14px/1.2 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-mail-from small { font: 400 12px/1.2 var(--font-text); color: #6b7079; }
.ci-mail-subj { font: 600 16px/1.3 var(--font-text); margin-top: 6px !important; }
.ci-mail-body { font: 400 14px/1.4 var(--font-text); color: #3a3d45; }
/* bill */
.ci-t-bill { border-top: 6px solid var(--ci-c); }
.ci-bill-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed #d6d9de; }
.ci-bill-head b { font: 600 14px/1.25 var(--font-text); }
.ci-bill-row { display: flex; justify-content: space-between; gap: 10px; font: 400 14px/1.35 var(--font-text); }
.ci-bill-row span:last-child { font-weight: 600; color: var(--ci-c); }
.ci-bill-thanks { margin-top: auto !important; font: 400 15px/1.3 var(--font-text); }
/* website */
.ci-t-web { padding: 0; gap: 0; }
.ci-web-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #f1f2f4; border-bottom: 1px solid #e3e5e9; }
.ci-web-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d0d3d8; }
.ci-web-bar span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; font: 400 11.5px/1.2 var(--font-text); color: #6b7079; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-web-nav { display: flex; align-items: center; gap: 9px; padding: 12px 14px 0; }
.ci-web-nav .ci-mark { width: 24px; height: 24px; font-size: 11px; }
.ci-web-nav b { font: 600 13.5px/1.2 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-web-h { padding: 20px 14px 0; font: 600 21px/1.2 var(--font-text); letter-spacing: -.01em; }
.ci-web-btn { align-self: flex-start; margin: 16px 14px 0; padding: 9px 14px; border-radius: 10px; font: 600 13.5px/1 var(--font-text); color: #fff; background: var(--ci-c); }

/* the choice lines, for the owner's review only (data-review) */
.ci-choice { margin: 0 auto; padding-top: 28px; font: 500 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  border-top: 1px dashed var(--kit-line); }

/* ---------------------------------------------------------------- narrower windows */
@media (max-width: 1199px) {
  .ci-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ci-tile-scr { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 1023px) {
  .ci-one-stage { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ci-chat { max-width: 520px; }
  .ci-key { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ci-key li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .ci-key p { grid-column: 1; margin-top: 0; }
  .ci-key b { font-size: 26px; }
}
@media (max-width: 767px) {
  .cf-hero { padding-bottom: 48px; }
  .ci-one, .ci-screens { padding-top: 48px; }
  .ci-switch { gap: 2px 20px; margin: 26px 0 22px; }
  .ci-sw { font-size: 15px; }
  .ci-key { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ci-key li { grid-template-columns: 30px minmax(0, 1fr); }
  .ci-key p { grid-column: 2; }
  .ci-b { font-size: 15px; }
}
@media (max-width: 559px) {
  .ci-tiles { grid-template-columns: minmax(0, 1fr); }
  .ci-tile-scr { aspect-ratio: auto; min-height: 190px; }
  .ci-lock { width: min(300px, 86vw); }
}

@media (prefers-reduced-motion: reduce) {
  .ci-lock.is-in .ci-nt { animation: none; }
  .ci-mine [data-ci], [data-ci-scope] [data-ci], .ci-sw::after { transition: none; }
}
