/* coreaspectai.com extras on the shared kit (combined plan, 19 Nov 2026).
   Load order: tokens.css (emuu: --success only) -> ca-sites-tokens.css -> ca-sites.css -> this file.
   Only what the kit does not have: the live-call card, the six-jobs card details, demo QR, forms.
   No new hex values: every colour is a token. Never edit the synced ca-sites*.css; edit brand/ and re-sync. */

[hidden] { display: none !important; }

/* Plus Jakarta Sans at 800 leaves a gap before . and , at display sizes */
.pn { margin-left: -0.09em; }
.hero .lede { margin-bottom: 28px; }

/* ---- live-call card (hero, right) ---- */
.livecall { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-hero); padding: 24px; box-shadow: var(--shadow-raised); display: flex; flex-direction: column; gap: 12px; max-width: 460px; width: 100%; justify-self: center; }
.call-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.call-head b { display: block; font-weight: 700; }
.call-head small { display: block; color: var(--muted); font-size: 14px; }
.call-time { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.call-time .live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; }
.wave i { width: 6px; height: 30%; border-radius: 3px; background: var(--lead-text); animation: wave 1.2s ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.5s; } .wave i:nth-child(4) { animation-delay: -.8s; }
.wave i:nth-child(5) { animation-delay: -.3s; } .wave i:nth-child(6) { animation-delay: -.65s; } .wave i:nth-child(7) { animation-delay: -.1s; }
@keyframes wave { from { height: 20%; } to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 50%; } }
.livecall .line { margin: 0; max-width: 85%; padding: 10px 16px; border-radius: 16px; font-size: 16px; line-height: 1.45; background: var(--raised); border: 1px solid var(--line); }
.livecall .line.me { align-self: flex-end; background: var(--lead); color: var(--on-lead); border-color: var(--lead); }
.livecall .line.agent { background: var(--lead-soft); }

/* ---- the one band: "The notes are the product." ---- */
.band .more { margin: 0; max-width: 54ch; font-size: 16px; }
.band .lede { margin-bottom: 16px; color: inherit; }
@media (min-width: 900px) { .band .split { grid-template-columns: 1fr 1fr; } }
.band .notes .row { padding: 9px 0; }

/* ---- six jobs: .cards with a number and a "You get" rule; swipe row with a cue on phones ---- */
.jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jobs .card { padding: 24px; }
.jobs .card p { margin-bottom: 0; }
.jobs .get { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.jobs .card p { padding-bottom: 14px; }
.swipe-hint { display: none; font-size: 14px; font-weight: 600; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 899px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .jobs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--ca-gutter)); padding: 0 var(--ca-gutter) 8px; scroll-padding-inline: var(--ca-gutter); }
  .jobs .card { flex: 0 0 82%; scroll-snap-align: start; padding: 20px; }
  .swipe-hint { display: block; }
}

/* ---- demo: text + QR card ---- */
.demo-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
.qr-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--ca-radius-card); padding: 24px; }
.qr { width: min(200px, 100%); aspect-ratio: 1; background: #FFFFFF; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.qr svg { display: block; width: 100%; height: 100%; }
.qr-card .fine { margin: 0; }
@media (max-width: 899px) { .qr-card { flex-direction: row; text-align: left; } .qr { width: 120px; flex: none; } }

/* ---- forms ---- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--ca-radius-card); padding: 28px; box-shadow: var(--shadow-raised); }
.panel h3 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--lead-text); background: var(--lead-soft); }
.contact-form { display: grid; gap: 16px; margin-top: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 16px; font-weight: 600; }
.contact-form .choice label { display: inline-flex; }
.contact-form input:not([type=radio]), .contact-form select { font: inherit; font-size: 16px; min-height: 52px; padding: 0 16px; width: 100%; border: 1px solid var(--line-strong); border-radius: var(--ca-radius-btn); background: var(--ground); color: var(--ink); }
.contact-form input::placeholder { color: var(--muted); }
/* select: drop the native control (WebKit draws a grey bevel that ignores the dark field) and draw the chevron in --ink */
.contact-form select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.contact-form input:focus-visible, .contact-form select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.contact-form input[aria-invalid="true"] { border-color: var(--hex-red); box-shadow: inset 0 0 0 1px var(--hex-red); }
.contact-form button { justify-self: start; }
@media (min-width: 600px) {
  #contact-form { grid-template-columns: 1fr 1fr; }
  #contact-form > button, #contact-form > .status { grid-column: 1 / -1; }
}
.contact-form button:disabled { opacity: .6; cursor: progress; transform: none; }
.contact-form .status { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---- contact ---- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact-grid .sub { margin-bottom: 20px; }
.phone-line { font-size: 20px; margin: 0; }
.phone-line a { font-weight: 700; }
.contact-grid .fine { margin: 4px 0 20px; }
.price { font-weight: 600; margin: 0; }

/* ---- footer: AI site only lists itself in Products ---- */
.foot .founder { margin-top: 12px; }
.foot .base span { max-width: none; }

@media (max-width: 599px) {
  .card { padding: 20px; }
  .cards { gap: 12px; }
  .qr-card, .wave { display: none; }   /* a phone cannot scan itself; the button is the way in */
  .foot { padding: 40px 0 24px; }
  .sub { margin-bottom: 20px; }
  .band .notes .row { grid-template-columns: 96px 1fr; gap: 10px; }
  .foot .base { margin-top: 32px; }
  .contact-form button { justify-self: stretch; }
  .panel { padding: 20px; }
  .livecall { padding: 20px; }
}
.foot .brand { color: var(--ink); }

/* ---- phone length trims (overnight 19-20 Nov): spacing only, no content cut; target under 6,000px at 390 ---- */
@media (max-width: 599px) {
  .hero .split { gap: 28px; }
  .hero .lede { margin-bottom: 20px; }
  .hero .fine { margin-top: 12px; }
  .livecall { gap: 10px; }
  .call-head { padding-bottom: 12px; }
  .livecall .line { padding: 8px 14px; }
  .contact-grid { gap: 24px; }
  .contact-grid .sub { margin-bottom: 16px; }
  .contact-grid .fine { margin-bottom: 14px; }
  #contact-form { gap: 12px; margin-top: 12px; }
  .contact-form label { gap: 4px; }
  .foot .cols { row-gap: 28px; }
  .band .split { gap: 28px; }
  #how .steps { gap: 18px; }
}

/* care page: emuu screens (light/dark pair per shot, follows the mode button) */
.screens { display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr)); margin:24px 0 0; padding:0; list-style:none; }
.screens figure { margin:0; }
.screens img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:left top; border:1px solid var(--line); border-radius:var(--radius-card); background:var(--surface); }
.screens figcaption { margin-top:8px; font-size:15px; color:var(--muted); }
.screens figcaption b { color:var(--ink); }
.screens .d { display:none; }
:root[data-theme="dark"] .screens .d { display:block; } :root[data-theme="dark"] .screens .l { display:none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .screens .d { display:block; } :root:not([data-theme="light"]) .screens .l { display:none; } }
@media (max-width:599px) { .screens li:nth-child(n+3) { display:none; } }
/* care page: rules heading with the pilot button on the same line */
.rules-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; margin-bottom:28px; }
.rules-head h2 { margin:0; }

/* Industries dropdown (Stuart 1 Dec: one menu with better keywords). Desktop: a panel; phone menu: an open-in-place group. */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); }
.dd-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; top: calc(100% + 8px); left: -14px; min-width: 300px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, .14); z-index: 60; }
.dd.open .dd-menu { display: block; }
.nav .dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav .dd-menu a:hover, .nav .dd-menu a:focus-visible { background: var(--lead-soft); }
.dd-menu b { display: block; font-size: 15px; white-space: nowrap; }
.dd-menu small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .dd-btn svg { transition: none; } }
@media (max-width: 899px) {
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); }
  .dd-menu { position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .nav .dd-menu a { border-bottom: 0; padding: 10px 8px; }
}

/* Footer links never wrap (rule 13; QA helper 14 at 360 px): one line, a touch smaller on very narrow phones, ellipsis as last resort. */
.foot .cols li a { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
@media (max-width: 380px) { .foot .cols { column-gap: 16px; } .foot .cols li { font-size: 14px; } }
.foot p a { white-space: nowrap; }
.foot .cols > * { min-width: 0; }

/* FAQ (industry pages) */
.faq { border-top: 1px solid var(--line); max-width: 52em; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--lead-text); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); max-width: 46em; }

/* 10 industries: two columns on desktop so the panel fits a 720 px-tall screen; scroll as a last resort */
@media (min-width: 900px) {
  .dd-menu { left: 50%; transform: translateX(-50%); min-width: 0; width: 600px; max-height: calc(100vh - 90px); overflow-y: auto; }
  .dd.open .dd-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
}

/* ---- industry pages (approved wireframe, 2 Dec): use-case cards with Try it / closest demo / pilot build ---- */
.uc-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.uc-card h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.uc-card .tag { margin: 0 0 12px; }
.uc-card .honest { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.uc-card .say { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.uc-card .say li { background: var(--lead-soft); border-radius: 10px; padding: 8px 12px; font-size: 15px; }
.uc-card .btn { margin-top: auto; align-self: flex-start; }
.uc-card.is-build { border-style: dashed; }
