/* RevMatic AI | roofcue.css
   The RoofCue sample: a photo of the chosen roof, a Lower to Higher band (never an amount), the homeowner's three
   choices and the roofer's inbox. Driven by /assets/js/pages/roofcue.js; without JavaScript the shingle photo, its
   band and one sample request show, and the controls hide.
   The Cue line touches (2026-10-01): RoofCue's own teal (--cue-roof from cue.css, the teal of the RoofCue roof outline)
   on the hero dot, the sample's glow, the band, the size readout, the slider and the new request. Never on a button:
   the style buttons, the Book button and every focus ring stay the site's violet, as on the GoldCue page. */

/* the hero line "Part of the Cue line": a teal dot */
.rc-hero .app-meta__by::before { background: var(--cue-roof); box-shadow: 0 0 0 3px rgba(99, 226, 198, 0.2), 0 0 10px rgba(99, 226, 198, 0.9); }
/* the "Cue line" link is a flex item in that line, so it gets the full 44px tap height, underlined like .cue-link */
.rc-hero .cue-link {
  display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-color 0.18s;
}
.rc-hero .cue-link:hover { text-decoration-color: var(--cue-roof); }

.rc__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.rc__view {
  position: relative; isolation: isolate; padding: 18px 12px 24px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 55% at 72% 26%, rgba(99, 226, 198, 0.13), rgba(99, 226, 198, 0) 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(140, 112, 255, 0.08), rgba(140, 112, 255, 0) 70%);
}
.rc__side { padding: 24px 16px 26px; min-width: 0; }
@media (min-width: 768px) {
  .rc__view { padding: 28px 32px 32px; }
  .rc__side { padding: 30px 32px; }
}
@media (min-width: 1024px) {
  .rc__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .rc__view { display: flex; flex-direction: column; justify-content: center; padding: 36px 44px 40px; border-bottom: 0; border-right: 1px solid var(--line); }
  .rc__side { padding: 36px 40px 38px; }
}

/* ------------------------------------------------ the roof: four photos, the chosen one fades in */
.rc__photos { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-btn); background: var(--plum); }
.rc__photos picture { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 0.6s var(--ease-out); }
.rc__photos picture.is-on { opacity: 1; }
.rc__photos img { width: 100%; height: 100%; object-fit: cover; }
.rc__photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 6, 11, 0) 55%, rgba(7, 6, 11, 0.5) 100%); }
.rc__photos figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: var(--ink-88); letter-spacing: 0.1em; }
@media (prefers-reduced-motion: reduce) { .rc__photos picture { transition: none; } }

/* ------------------------------------------------ the band: where each kind of roof sits */
.rc__range { margin-top: 10px; padding: 0 4px; }
.rc__track { position: relative; height: 10px; margin-top: 30px; border-radius: 999px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(99, 226, 198, 0.06), rgba(99, 226, 198, 0.14)); }
.rc__seg {
  --a: 0.2; --b: 0.45;
  position: absolute; top: -1px; bottom: -1px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%);
  border-radius: 999px; background: linear-gradient(90deg, rgba(99, 226, 198, 0.55), var(--cue-roof));
  box-shadow: 0 0 18px rgba(99, 226, 198, 0.45), 0 0 30px rgba(99, 226, 198, 0.25);
  transition: left 0.6s var(--ease-out), width 0.6s var(--ease-out);
}
.rc__segl { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); color: var(--platinum); letter-spacing: 0.08em; white-space: nowrap; }
.rc__ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; letter-spacing: 0.1em; }
.rc__sum { margin-top: 16px; font: 500 17px/1.4 var(--font-text); color: var(--platinum); }
.rc__cap { margin-top: 6px; max-width: 34em; font: 400 14.5px/1.5 var(--font-text); color: var(--smoke); }

/* ------------------------------------------------ the homeowner's choices */
.rc__static { font: 400 16px/1.55 var(--font-text); color: var(--ink-88); }
.js .rc__static { display: none; }
html:not(.js) .rc__controls { display: none; }
.rc__grp + .rc__grp { margin-top: 20px; }
.rc__gl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; font: 600 15px/1.3 var(--font-text); color: var(--platinum); }
.rc__out { font: 500 13px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--cue-roof); font-variant-numeric: tabular-nums; }
.rc__slider {
  --p: 30%;
  display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.rc__slider::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(99, 226, 198, 0.55) 0, var(--cue-roof) var(--p), var(--line-strong) var(--p)); }
.rc__slider::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
.rc__slider::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--cue-roof); }
.rc__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--platinum); border: 0; box-shadow: 0 0 0 4px rgba(99, 226, 198, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5);
}
.rc__slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--platinum); border: 0; box-shadow: 0 0 0 4px rgba(99, 226, 198, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5); }
.rc__slider:focus-visible { outline: 2px solid var(--plasma-soft); outline-offset: 2px; border-radius: 6px; }
.rc__book { width: 100%; margin-top: 26px; border-color: rgba(187, 169, 255, 0.6); }
.rc__book:hover { border-color: var(--plasma-soft); background: rgba(140, 112, 255, 0.12); }
.rc__book-s { color: var(--smoke); font-weight: 400; }

/* ------------------------------------------------ the roofer's inbox */
.rc__inbox { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.rc__inh { display: block; margin-bottom: 12px; letter-spacing: 0.1em; }
.rc__msgs { display: grid; gap: 8px; }
.rc-msg { padding: 12px 14px 13px; border-radius: var(--r-btn); background: var(--plum); border: 1px solid rgba(243, 240, 248, 0.12); }
.rc-msg.is-new { animation: rise 0.45s var(--ease-out); border-color: rgba(99, 226, 198, 0.5); }
.rc-msg__top { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; letter-spacing: 0.07em; }
.rc-msg__top span:first-child { color: var(--cue-roof); }
.rc-msg__t { margin-top: 6px; font: 600 15.5px/1.35 var(--font-text); color: var(--platinum); }
.rc-msg__l { margin-top: 3px; font: 400 14.5px/1.45 var(--font-text); color: var(--ink-78); }
.rc-msg__s { margin-top: 6px; font: 400 13px/1.4 var(--font-text); color: var(--smoke); }
.rc__empty { padding: 16px 14px; border-radius: var(--r-btn); border: 1px dashed var(--line-strong); font: 400 14.5px/1.5 var(--font-text); color: var(--smoke); }

/* ================================================================ The real page, under How it works (2026-10-01)
   RoofCue's own page on a phone, the roof outlined from above, in the teal halo the home page and /apps/cue/ use.
   It plays the part the chain band plays on the GoldCue page. */
.rc-band {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  margin: clamp(48px, 2rem + 3vw, 88px) 0 0; border-radius: var(--r-card); border: 1px solid var(--line);
  background: radial-gradient(55% 70% at 78% 70%, rgba(99, 226, 198, 0.16), rgba(99, 226, 198, 0) 72%), var(--plum);
}
.rc-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(99, 226, 198, 0), rgba(99, 226, 198, 0.8), rgba(99, 226, 198, 0)); }
.rc-band__copy { display: block; padding: 28px 20px 8px; }
.rc-band__k { display: block; letter-spacing: 0.1em; color: var(--cue-roof); }
.rc-band__line { display: block; margin-top: 12px; max-width: 18em; font: 400 clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem)/1.15 var(--font-sig); font-style: italic; color: var(--platinum); text-wrap: balance; }
.rc-band__p { display: block; margin-top: 14px; max-width: 30em; font: 400 16px/1.6 var(--font-text); color: var(--ink-78); }
.rc-band__phone { display: block; justify-self: center; width: min(250px, 70%); margin-top: 20px; }
.rc-band__phone img {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 960; object-fit: cover; object-position: top;
  border: 7px solid #0b0a0e; border-bottom: 0; border-radius: 30px 30px 0 0;
  box-shadow: 0 0 0 1px rgba(243, 240, 248, 0.16), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 226, 198, 0.24);
}
@media (min-width: 768px) {
  .rc-band { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: end; gap: 32px; padding: 0 48px; }
  .rc-band__copy { align-self: center; padding: 48px 0; }
  .rc-band__phone { width: 100%; margin-top: 40px; }
  .rc-band__phone img { border-width: 8px; border-radius: 34px 34px 0 0; }
}
@media (min-width: 1024px) {
  .rc-band { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 64px; padding: 0 72px 0 64px; }
}

/* phone widths: no sample label under 12px (2026-10-06) */
@media (max-width: 767px) {
  .rc__ends { font-size: 12px; }
  .rc-msg__top { font-size: 12px; }
}
