/* Product visuals: Jess's call console, step icons, owner lock screen, calendar, real thread, test sheet, chat widget. */

/* Hero: Jess's console with the real call, transcript synced to the audio by visuals.js */
.console { margin: 0; background: var(--card); color: var(--card-text); border: 1px solid var(--card-line); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 18px; display: grid; gap: 12px; max-width: 500px; width: 100%; justify-self: center; }
.console header { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.console header img { width: 64px; height: 64px; border-radius: 50%; }
.console header div { display: grid; gap: 2px; }
.console header b { font-size: 1.02rem; color: var(--card-text); }
.console header span { font-size: .84rem; color: var(--card-muted); }
.status { font: 700 .74rem/1 var(--body) !important; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #EEF0F6; color: var(--card-muted) !important; }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9AA1B5; margin-right: 6px; vertical-align: 1px; }
.console.live .status { background: #E6F4EA; color: #1E6B3A !important; }
.console.live .status::before { background: #22A55A; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; padding-inline: 4px; }
.wave i { flex: 1; height: 18%; border-radius: 2px; background: var(--accent-strong); opacity: .25; }
.console.live .wave i { opacity: .85; animation: bar .9s ease-in-out infinite; }
.console.live .wave i:nth-child(3n) { animation-duration: .7s; } .console.live .wave i:nth-child(4n+1) { animation-duration: 1.1s; } .console.live .wave i:nth-child(5n+2) { animation-delay: -.4s; }
@keyframes bar { 0%, 100% { height: 18%; } 50% { height: 95%; } }
.play { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 0; border-radius: var(--btn-radius); background: var(--btn-alt); color: var(--btn-alt-text); font-weight: 700; cursor: pointer; }
.play small { font-weight: 500; opacity: .75; }
.console .note { font-size: .8rem; color: var(--card-muted); }
.console .lines { max-height: 300px; overflow-y: auto; padding-right: 4px; scroll-behavior: smooth; }
.console .lines li { grid-template-columns: 54px 1fr; transition: opacity .3s; }
.console .lines .ai b { color: var(--accent-strong); }
.console.started .lines li { opacity: .28; }
.console.started .lines li.said { opacity: 1; }
.console.started .lines li.now span { background: #FFF3D1; border-radius: 4px; }
.console.started .sms { opacity: .28; transition: opacity .4s; }
.console.done .sms { opacity: 1; }

/* How it works: icons on each step */
.steps .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); color: var(--heading); }
.steps .ico svg { width: 34px; height: 34px; }
.steps li::before { display: none; }
.steps li { border-top: 0; padding-top: 0; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 68px; right: -16px; border-top: 2px dashed var(--line-strong); }
@media (max-width: 960px) { .steps li::after { display: none; } }

/* What lands on your phone: lock screen + calendar */
.see-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.lockscreen { background: linear-gradient(160deg, #233A9E 0%, #171B35 70%); color: #fff; border-radius: 40px; padding: 30px 14px 22px; border: 8px solid #0E1124; box-shadow: 0 20px 50px rgba(23, 27, 53, .25); display: grid; gap: 6px; max-width: 360px; width: 100%; justify-self: center; }
.ls-time { text-align: center; font: 600 3.4rem/1 var(--body); letter-spacing: -.02em; }
.ls-date { text-align: center; font-size: .9rem; opacity: .85; margin-bottom: 14px; }
.notes { display: grid; gap: 8px; }
.note-card { background: rgba(255, 255, 255, .9); color: #171B35; border-radius: 16px; padding: 10px 12px; display: grid; gap: 4px; backdrop-filter: blur(6px); }
.note-card header { display: grid; grid-template-columns: 18px 1fr auto; gap: 7px; align-items: center; font-size: .78rem; }
.note-card header img { width: 18px; height: 18px; }
.note-card header b { text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.note-card time { color: #6A7085; font-size: .74rem; }
.note-card p { font-size: .86rem; line-height: 1.35; }
.note-card.urgent { box-shadow: inset 4px 0 0 #B33A2E; }
.note-card.urgent header b { color: #B33A2E; }
.calendar { background: var(--card); color: var(--card-text); border: 1px solid var(--card-line); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 18px; display: grid; gap: 12px; min-width: 0; }
.calendar header { display: flex; justify-content: space-between; align-items: baseline; }
.calendar header span { color: var(--card-muted); font-size: .9rem; }
.cal-grid { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); gap: 6px; --row: 34px; }
.cal-hours { display: grid; grid-template-rows: 26px repeat(5, calc(var(--row) * 2)); font-size: .72rem; color: var(--card-muted); }
.cal-hours span:first-child { grid-row: 2; }
.cal-day { display: grid; grid-template-rows: 26px repeat(10, var(--row)); background: repeating-linear-gradient(#fff 0 calc(var(--row) * 2 - 1px), #EFEAE0 calc(var(--row) * 2 - 1px) calc(var(--row) * 2)); background-position: 0 26px; background-repeat: no-repeat; background-size: 100% calc(100% - 26px); border-radius: 6px; min-width: 0; }
.cal-day b { font-size: .8rem; text-align: center; color: var(--card-muted); }
.ev { grid-row: calc(var(--s) + 2) / span var(--l); grid-column: 1; margin: 1px 2px; padding: 4px 6px; border-radius: 6px; background: #E6E9F3; color: #3A4160; font: 500 .72rem/1.25 var(--body); font-style: normal; overflow: hidden; }
.ev.new { background: var(--accent-strong); color: #fff; box-shadow: 0 6px 16px rgba(41, 70, 199, .35); }
.ev.new small { display: block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #FFC247; }
.ev.new.drop { animation: drop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes drop { from { transform: translateY(-40px) scale(.9); opacity: 0; } }
.new-day b { color: var(--accent-strong); }

/* Real thread from one of Sean's businesses, names covered */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.proof-copy { display: grid; gap: 16px; }
.thread-phone { background: #fff; color: #171B35; border: 8px solid #0E1124; border-radius: 36px; padding: 16px 12px; box-shadow: 0 20px 50px rgba(23, 27, 53, .18); display: grid; gap: 10px; width: 100%; justify-self: center; }
.thread-phone header { display: grid; justify-items: center; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid #ECE7DC; }
.thread-phone header small { color: #6A7085; font-size: .76rem; }
.thread-phone ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.thread-phone li { display: grid; gap: 2px; max-width: 86%; }
.thread-phone li > span { padding: 8px 12px; border-radius: 16px; font-size: .88rem; line-height: 1.35; }
.thread-phone li time { font-size: .68rem; color: #8A90A2; padding-inline: 6px; }
.thread-phone .in { justify-self: start; }
.thread-phone .in > span { background: #ECEEF4; border-bottom-left-radius: 4px; }
.thread-phone .out { justify-self: end; text-align: right; }
.thread-phone .out > span { background: var(--accent-strong); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.answering { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .answering { grid-template-columns: minmax(0, 1fr); } }
.site-shot { position: relative; display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--card-line); margin-bottom: 6px; }
.site-shot img { display: block; width: 100%; height: auto; }
.site-shot svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.site-shot svg path:first-child { stroke: #171B35; stroke-width: 2.2; }
.site-shot svg path:last-child { stroke: #FFC247; stroke-width: 1; }
.shot-tag { position: absolute; display: grid; gap: 1px; max-width: 92%; background: #FFC247; color: #171B35; font-size: .76rem; font-weight: 600; line-height: 1.25; padding: 7px 12px; border: 2px solid #fff; border-radius: 10px; box-shadow: 0 0 0 2px #171B35, 0 6px 16px rgba(0, 0, 0, .45); }
.shot-tag b { font-size: 1.08rem; font-weight: 800; line-height: 1.15; }
.site-link { font-weight: 600; font-size: .9rem; color: var(--accent-text); overflow-wrap: anywhere; }
#proof .proof { align-items: start; }
.other-thread { grid-column: 1 / -1; max-width: none; }
.other-thread summary { cursor: pointer; font-weight: 600; color: var(--accent-text); }
.other-thread .thread-phone { max-width: 420px; margin-top: 12px; }
.redact { filter: blur(4px); opacity: .75; user-select: none; }

/* Guarantee: test sheet styled like a job ticket */
.ticket { background: #FFFDF6; color: #171B35; border: 1px solid #E2D7BF; border-radius: 6px; padding: 18px 20px; display: grid; gap: 10px; box-shadow: 0 1px 0 #E2D7BF, 0 8px 22px rgba(60, 40, 0, .07); background-image: repeating-linear-gradient(#FFFDF6 0 31px, #EFE6D2 31px 32px); transform: rotate(-.6deg); }
.ticket header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid #171B35; padding-bottom: 6px; }
.ticket header b { font: 700 1.05rem/1.2 var(--display); }
.ticket header span { font-size: .78rem; color: #6A6250; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticket li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .92rem; line-height: 1.35; }
.ticket li i { font-style: normal; width: 18px; height: 18px; border: 1.5px solid #171B35; border-radius: 3px; display: grid; place-items: center; font-size: .8rem; color: #1F7A3E; font-weight: 800; margin-top: 1px; }
.ticket footer { display: flex; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #4E5568; padding-top: 6px; }
.ticket em { font: italic 1rem/1 var(--display); color: #9A927E; }

@media (max-width: 900px) {
  .see-grid, .proof { grid-template-columns: minmax(0, 1fr); }
  .cal-grid { --row: 28px; }
  .ev { font-size: .64rem; padding: 3px 4px; }
}
@media (max-width: 480px) {
  .console header { grid-template-columns: 52px 1fr; }
  .console header img { width: 52px; height: 52px; }
  .status { grid-column: 1 / -1; justify-self: start; }
  .cal-grid { grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 3px; }
}
@media (prefers-reduced-motion: reduce) { .console.live .wave i, .ev.new.drop, .console.live .status::before { animation: none; } }

/* Alina chat widget */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; background: #171B35; color: #fff; font: 600 .95rem/1 var(--body); box-shadow: 0 10px 30px rgba(23, 27, 53, .3); cursor: pointer; }
.chat-fab img { width: 36px; height: 36px; border-radius: 50%; background: #F3EEE4; }
.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 21; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 36px)); background: #fff; color: #171B35; border-radius: 18px; box-shadow: 0 20px 60px rgba(23, 27, 53, .3); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.chat-panel header { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; background: #171B35; color: #fff; }
.chat-panel header img { width: 40px; height: 40px; border-radius: 50%; background: #F3EEE4; }
.chat-panel header b { display: block; font-size: .98rem; }
.chat-panel header small { font-size: .78rem; opacity: .8; }
.chat-panel header button { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat-log { overflow-y: auto; padding: 14px; display: grid; gap: 8px; align-content: start; background: #FAF7F0; }
.chat-log p { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.4; white-space: pre-wrap; }
.chat-log .bot { justify-self: start; background: #fff; border: 1px solid #E5DFD2; border-bottom-left-radius: 4px; }
.chat-log .me { justify-self: end; background: #2946C7; color: #fff; border-bottom-right-radius: 4px; }
.chat-log .typing { color: #6A7085; font-style: italic; border: 0; background: none; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid #E5DFD2; }
.chat-form input { border: 1px solid #CFC8B8; border-radius: 10px; padding: 10px 12px; font: inherit; }
.chat-form button { border: 0; border-radius: 10px; background: #FFC247; color: #171B35; font-weight: 700; padding: 0 14px; cursor: pointer; }
.chat-foot { font-size: .72rem; color: #6A7085; padding: 0 12px 10px; }
@media (max-width: 900px) { .chat-fab { bottom: 84px; padding: 8px; } .chat-fab span { display: none; } }

/* Round 4 fixes (Fable + Astra) */
.console .lines { max-height: 260px; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.console.open .lines { max-height: none; -webkit-mask-image: none; mask-image: none; }
.console.live .lines { -webkit-mask-image: none; mask-image: none; }
.more { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--accent-strong); font-weight: 700; text-decoration: underline; cursor: pointer; }
.console .try { font-size: .88rem; color: var(--card-muted); border-top: 1px solid var(--card-line); padding-top: 10px; }
.console .try a { color: var(--card-text); }
.cal-hours span:nth-child(1) { grid-row: 2; } .cal-hours span:nth-child(2) { grid-row: 3; } .cal-hours span:nth-child(3) { grid-row: 4; } .cal-hours span:nth-child(4) { grid-row: 5; } .cal-hours span:nth-child(5) { grid-row: 6; }
.works-for { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.works-for b { margin-right: 6px; color: var(--heading); }
.works-for span { background: var(--card); border: 1px solid var(--card-line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; color: var(--card-text); }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.callouts li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 14px; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; }
.callouts b { color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.kicker { color: #6B4E0E; }
.chat-fab.away { transform: translateY(160%); }
.chat-fab { transition: transform .25s; }
@media (max-width: 900px) {
  .hero-copy { display: contents; }
  .hero .wrap { gap: 18px; }
  .hero .kicker { order: 1; } .hero h1 { order: 2; } .hero .console { order: 3; } .hero .lead { order: 4; } .hero .actions { order: 5; } .hero .assure { order: 6; } .hero .byline { order: 7; }
}
@media (max-width: 600px) {
  .cal-grid { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); --row: 32px; }
  .cal-day:nth-child(n+4) { display: none; }
  .ev { font-size: .78rem; padding: 4px 6px; }
  .calendar header span::after { content: " (2 days shown)"; }
}

/* Sean's photo (10/31) in place of the drawing */
.byline .face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; flex: none; box-shadow: 0 0 0 2px var(--card); }
.about { grid-template-columns: 240px minmax(0, 1fr); align-items: center; }
.sean-photo { width: 100%; max-width: 240px; height: auto; border-radius: 14px; box-shadow: var(--card-shadow); display: block; }
@media (max-width: 640px) { .about { grid-template-columns: minmax(0, 1fr); } .sean-photo { max-width: 180px; } }

.consent-note { font-size: .78rem; line-height: 1.4; color: var(--card-muted, #5A6072); margin: 0; }
.hero { padding-block: clamp(20px, 3vw, 36px) clamp(44px, 6vw, 72px); }
@media (min-width: 901px) { .hero .wrap { align-items: start; } }
