/* "Let's talk": one quiet page in the homepage's world, built around the agent.
   Navigation, footer and base tokens come from services.css. */
.ct-page { --ct-ink: #eef2e8; --ct-soft: #c9d3cb; --ct-muted: #94a69c; --ct-lime: #cbf879; --ct-aqua: #7fe0cf;
  --ct-line: #b8dbc51f; --ct-line-strong: #b8dbc538; --ct-field: #08100d; --ct-ease: cubic-bezier(.2, .7, .2, 1); }
.ct-page main { overflow-x: clip; }
.ct { position: relative; min-height: calc(100svh - 84px); padding: clamp(128px, 18svh, 176px) 0 clamp(72px, 10svh, 112px); isolation: isolate; }
/* A faint dot field and two slow glows, the homepage's atmosphere without its scenes. */
.ct::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, #b8dbc51a 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 10%, transparent 75%); }
.ct::after { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 46% 36% at 50% 30%, #cbf8790f, transparent 70%), radial-gradient(ellipse 40% 34% at 72% 70%, #7fe0cf0c, transparent 70%);
  animation: ct-drift 18s ease-in-out infinite alternate; }
@keyframes ct-drift { to { transform: translate3d(0, -2%, 0) scale(1.04); } }
.ct-wrap { width: min(100% - 48px, 760px); margin: 0 auto; }

.ct h1 { margin: 0; font: 500 clamp(48px, 6.4vw, 92px)/1 'Space Grotesk', sans-serif; letter-spacing: -.045em; color: var(--ct-ink); text-align: center; }
.ct h1 span { color: var(--ct-lime); font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.035em; }
.ct-page .ct-lede { max-width: 560px; margin: 22px auto 0; font-size: 18px; line-height: 1.7; color: var(--ct-soft); text-align: center; text-wrap: balance; }

.ct-panel { position: relative; margin-top: clamp(36px, 6svh, 56px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--ct-line); border-radius: 18px;
  background: linear-gradient(180deg, #111c17e6, #0a120fe6); box-shadow: inset 0 1px #ffffff0d, 0 40px 120px #00000080; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Start: the agent or a plain message, sharing the same details */
.ct-modes { display: flex; gap: clamp(18px, 3vw, 34px); margin: -4px 0 22px; }
.ct-modes button { position: relative; padding: 6px 0 10px; border: 0; background: none; font: 500 15px 'Space Grotesk', sans-serif; color: var(--ct-muted); cursor: pointer; transition: color .3s; }
.ct-modes button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: radial-gradient(circle, var(--ct-lime) 1px, transparent 1.4px) 0 50% / 6px 3px repeat-x; opacity: 0; transform: scaleX(.3); transition: opacity .3s, transform .5s var(--ct-ease); }
.ct-modes button:hover { color: var(--ct-soft); }
.ct-modes button[aria-checked='true'] { color: var(--ct-ink); }
.ct-modes button[aria-checked='true']::after { opacity: 1; transform: none; }
.ct-modes button:focus-visible { outline: 1px solid var(--ct-lime); outline-offset: 4px; border-radius: 4px; }
.ct-page :is([data-message-only], [data-schedule-only])[hidden] { display: none; }
.ct-start textarea { resize: vertical; min-height: 120px; }
.ct-sent[hidden] { display: none; }
.ct-sent .ct-back { display: block; margin: 18px 0 0; padding: 0; }
.ct-sent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 20px; }
.ct-sent-actions[hidden] { display: none; }
.ct-sent-actions .ct-restart { margin: 0; text-decoration: underline; text-underline-offset: 3px; }
/* Schedule: a month of days and the times for the chosen one */
.ct-schedule { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; padding: 18px; border: 1px solid var(--ct-line); border-radius: 14px; background: #08100dcc; }
.ct-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font: 500 15px 'Space Grotesk', sans-serif; color: var(--ct-ink); }
.ct-cal-head button { width: 32px; height: 32px; border: 1px solid var(--ct-line-strong); border-radius: 8px; background: none; color: var(--ct-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.ct-cal-head button:disabled { opacity: .3; cursor: default; }
.ct-cal-week, .ct-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.ct-cal-week span { font: 500 11px Inter, sans-serif; color: var(--ct-muted); padding-bottom: 4px; }
.ct-cal-grid button, .ct-cal-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font: 500 14px Inter, sans-serif; }
.ct-cal-grid span { color: #94a69c55; }
.ct-cal-grid button { position: relative; border: 1px solid transparent; background: #cbf8790c; color: var(--ct-ink); cursor: pointer; transition: background .2s, border-color .2s; }
.ct-cal-grid button::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ct-lime); opacity: .7; }
.ct-cal-grid button:hover { border-color: #cbf87955; }
.ct-cal-grid button[aria-pressed='true'] { background: var(--ct-lime); color: #15200f; }
.ct-cal-grid button[aria-pressed='true']::after { background: #15200f; }
.ct-times { display: flex; flex-direction: column; min-width: 0; }
.ct-page .ct-times-head { margin: 4px 0 12px; font: 500 15px 'Space Grotesk', sans-serif; color: var(--ct-ink); }
.ct-time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 236px; overflow-y: auto; padding-right: 2px; align-content: start; }
.ct-time-list button { padding: 9px 6px; border: 1px solid var(--ct-line-strong); border-radius: 9px; background: none; font: 500 13.5px Inter, sans-serif; color: var(--ct-soft); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ct-time-list button:hover { border-color: #cbf87966; color: var(--ct-ink); }
.ct-time-list button[aria-checked='true'] { border-color: var(--ct-lime); background: #cbf8791f; color: var(--ct-ink); }
.ct-page .ct-tz { margin: auto 0 0; padding-top: 12px; font-size: 12px; color: var(--ct-muted); }
.ct-page .ct-times p.ct-empty { margin: 0; font-size: 13.5px; color: var(--ct-muted); }
/* Start */
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-fields label { display: grid; gap: 8px; font: 500 13px/1.2 'Space Grotesk', sans-serif; color: var(--ct-soft); }
.ct-fields small { margin-left: 6px; font: 400 12px Inter, sans-serif; color: var(--ct-muted); }
.ct-wide { grid-column: 1 / -1; }
.ct-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-page input, .ct-page textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid var(--ct-line-strong); border-radius: 10px; background: var(--ct-field);
  color: var(--ct-ink); font: 400 15px/1.5 Inter, sans-serif; transition: border-color .2s, box-shadow .2s; }
.ct-page input:focus, .ct-page textarea:focus { outline: none; border-color: #cbf87999; box-shadow: 0 0 0 3px #cbf8791a; }
.ct-start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.ct-start-row .svc-button { gap: 14px; }
.ct-page .ct-note { margin: 0; font-size: 13px; color: var(--ct-muted); }
.ct-page .ct-error { margin: 14px 0 0; font-size: 14px; color: #ffb4a6; }
.ct-page .ct-error[hidden] { display: none; }

/* Shared with the agent workspace (contact-work.css) */
.ct-start[hidden] { display: none; }
.ct-orb { width: 8px; height: 8px; border-radius: 50%; background: var(--ct-lime); box-shadow: 0 0 0 4px #cbf8791f, 0 0 14px var(--ct-lime); animation: ct-breathe 3.2s ease-in-out infinite; }
@keyframes ct-breathe { 50% { box-shadow: 0 0 0 6px #cbf8790f, 0 0 20px var(--ct-lime); } }
.ct-restart { margin-left: auto; padding: 4px 0; border: 0; background: none; font: 400 13px Inter, sans-serif; color: var(--ct-muted); cursor: pointer; }
.ct-restart:hover { color: var(--ct-ink); }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The request form (days, times, format): the fallback when no open times can be booked */
.ct-reqform fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.ct-reqform legend, .ct-reqform label > span { display: block; margin-bottom: 8px; font: 500 13px 'Space Grotesk', sans-serif; color: var(--ct-soft); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips button { padding: 7px 13px; border: 1px solid var(--ct-line-strong); border-radius: 999px; background: none; font: 400 13px Inter, sans-serif; color: var(--ct-soft); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ct-chips button[aria-pressed='true'] { border-color: #cbf87980; background: #cbf8791c; color: var(--ct-ink); }
.ct-reqform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ct-reqform label { display: block; }
.ct-reqform textarea { min-height: 70px; resize: vertical; }
.ct-meet-done { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ct-ink); }
.ct-meet-done .ct-orb { flex: none; }

.ct-page .ct-foot { margin: 26px auto 0; max-width: 520px; font-size: 14px; line-height: 1.7; color: var(--ct-muted); text-align: center; }
.ct-panel noscript p { margin: 16px 0 0; color: var(--ct-soft); }

@media (max-width: 640px) {
  .ct-fields, .ct-reqform-grid, .ct-schedule { grid-template-columns: 1fr; }
  .ct-schedule { padding: 14px; }
  .ct-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
  .ct-modes button { padding: 8px 2px 12px; font-size: 13px; line-height: 1.25; text-wrap: balance; }
  .ct-page .ct-lede { font-size: 16px; }
  .ct-page input, .ct-page textarea { font-size: 16px; } /* iOS zooms into smaller fields */
}
@media (prefers-reduced-motion: reduce) {
  .ct::after, .ct-orb { animation: none; }
}
