/* =====================================================================
   Alongside AI — graphic refresh (20 Nov 2026)

   One extra stylesheet on top of styles.css and extras.css. Nothing in
   those two files is changed.

   - same colours (the variables in styles.css), same logo, same fonts,
     same wording, same behaviour;
   - every rule starts with "html.refresh", so it only applies on pages
     whose <html> tag has class="refresh". Taking that class off a page
     gives its old look back.

   The only new shade is --band, a half-and-half mix of two colours the
   site already uses (--teal-50 and --bg).
   ===================================================================== */

html.refresh {
  --band: #ecf2ef;
  --section-pad: clamp(64px, 8vw, 104px);
  --card-shadow: 0 1px 2px rgba(21, 34, 43, .04), 0 8px 24px rgba(21, 34, 43, .06);
  /* the two rings of the logo, drawn large and faint */
  --rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 440' fill='none'%3E%3Ccircle cx='222' cy='220' r='200' stroke='%2315222b' stroke-opacity='.07' stroke-width='3'/%3E%3Ccircle cx='418' cy='220' r='200' stroke='%230d6c6b' stroke-opacity='.2' stroke-width='3'/%3E%3C/svg%3E");
}

/* ------------------------------------------------- 1. page rhythm */
/* Today every section after the dark figures band sits on the same
   off-white, so the page reads as one long run. Here the sections
   alternate: off-white, pale teal band, white. */

html.refresh #how,
html.refresh #training,
html.refresh #pricing,
html.refresh #about,
html.refresh #faq { padding-top: var(--section-pad) !important; }

html.refresh .demo,
html.refresh #training { background: var(--band); border-block: 1px solid var(--line); }

html.refresh #about { background: var(--surface); border-block: 1px solid var(--line); }
html.refresh #about .facts li { background: var(--bg); }

/* short teal rule in front of each section label */
html.refresh .section-head .eyebrow,
html.refresh .about-copy .eyebrow,
html.refresh .check-copy .eyebrow,
html.refresh .deck-intro .eyebrow,
html.refresh .demo-side .eyebrow,
html.refresh .nf .eyebrow { display: flex; align-items: center; gap: 12px; }
html.refresh .section-head .eyebrow::before,
html.refresh .about-copy .eyebrow::before,
html.refresh .check-copy .eyebrow::before,
html.refresh .deck-intro .eyebrow::before,
html.refresh .demo-side .eyebrow::before,
html.refresh .nf .eyebrow::before { content: ""; flex: none; align-self: flex-start; width: 28px; height: 2px; margin-top: .72em; border-radius: 2px; background: var(--teal); }

/* -------------------------------------------- 2. cards stand out */
/* White cards on an off-white page had nothing but a faint shadow to
   separate them. A hairline outline makes each one a clear object. */

html.refresh .card,
html.refresh .price-card,
html.refresh .estimator,
html.refresh .dial-card,
html.refresh .faq-item { border: 1px solid var(--line); }

html.refresh .card,
html.refresh .price-card,
html.refresh .estimator { box-shadow: var(--card-shadow); }

html.refresh .card:hover,
html.refresh .price-card:hover { border-color: var(--teal-100); box-shadow: var(--shadow-md); }

/* ----------------------------------------------------- 3. hero */
/* The logo's two rings, large and faint, behind the day dial. */

html.refresh .hero::before {
  width: 780px; height: 540px;
  right: -210px; top: -40px;
  border-radius: 0;
  filter: none;
  background:
    var(--rings) no-repeat center / contain,
    radial-gradient(closest-side, rgba(13, 108, 107, .1), rgba(13, 108, 107, 0));
}

/* Tablets and phones: the rings shrink into the top corner, clear of the text. */
@media (max-width: 900px) {
  html.refresh .hero::before { width: 440px; height: 304px; right: -190px; top: -70px; }
}

/* One clear order: headline, what it is, the detail. */
html.refresh .hero-copy { gap: 18px; }
html.refresh .hero h1 .nowrap,
html.refresh h1 .accent { color: var(--teal); }
html.refresh .hero-what { color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); }
html.refresh .hero-what ~ .lede { font-weight: 400; font-size: 1.12rem; color: var(--ink-2); }
html.refresh .hero-for { margin: 0; font-size: .95rem; color: var(--muted); }
html.refresh .cta-row { margin-top: 10px; }
html.refresh .hero-points { width: 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

/* --------------------------------------------- 4. figures band */
/* Same dark band; a teal rule beside each figure and the rings from the
   LinkedIn banner on the right. */

html.refresh .stats { position: relative; overflow: hidden; }
html.refresh .stats::before,
html.refresh .stats::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
html.refresh .stats::before { width: 460px; height: 460px; right: -170px; top: -150px; border: 2px solid rgba(42, 163, 151, .26); }
html.refresh .stats::after  { width: 460px; height: 460px; right: -330px; top: 20px; border: 2px solid rgba(255, 255, 255, .08); }
html.refresh .stats .wrap { position: relative; z-index: 1; }
html.refresh .stat { padding-left: clamp(18px, 2.2vw, 26px); border-left: 2px solid #2aa397; }

/* -------------------------------------------------- 5. services */
/* Before: a two-by-two grid where the receptionist card was far taller
   than its neighbour, leaving a hole. After: the receptionist is one
   wide lead card with the demo number in its own panel, and the other
   three sit in one even row. */

html.refresh .card .link-btn + .link-btn { margin-top: 0; }

@media (min-width: 901px) {
  html.refresh .grid-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  html.refresh .grid-services > .card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 12px clamp(28px, 4vw, 56px);
    align-items: start;
    padding: 34px;
  }
  html.refresh .grid-services > .card:first-child > * { grid-column: 1; }
  html.refresh .grid-services > .card:first-child h3 { font-size: 1.5rem; }
  html.refresh .grid-services > .card:first-child > p { font-size: 1.02rem; }
  html.refresh .grid-services > .card:first-child > .card-call {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: stretch;
    align-content: center;
    gap: 12px;
    padding: 28px;
    border: 0;
    border-radius: 18px;
    background: var(--teal-50);
  }
  html.refresh .grid-services > .card:first-child .card-call-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--teal-700);
  }

  /* "Also available": three short columns, quieter than the main cards */
  html.refresh .also ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; }
}
html.refresh .also .card { background: transparent; box-shadow: none; }

/* ------------------------------------------------------ 6. demo */
/* On the pale band the closed rows become white, so they read as
   things to tap. */

html.refresh .demo-item { background: var(--surface); }
html.refresh .demo-item:not(.is-open):hover { border-color: var(--teal); }

/* ---------------------------------------------- 7. how it works */
/* Numbered circles joined by a line instead of four loose columns. */

html.refresh .step { position: relative; }
html.refresh .step-num {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0;
}
html.refresh .step-bar { display: none; }
@media (min-width: 1021px) {
  html.refresh .step-bar { display: block; position: absolute; top: 23px; left: 60px; right: -16px; height: 2px; margin: 0; border-radius: 2px; }
  html.refresh .step:last-child .step-bar { display: none; }
}

/* "Safe by design" is the trust message, so it gets the dark card. */
html.refresh .safe { position: relative; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-md); }
html.refresh .safe::before,
html.refresh .safe::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; }
html.refresh .safe::before { left: -150px; bottom: -200px; border: 2px solid rgba(255, 255, 255, .08); }
html.refresh .safe::after  { left: -40px; bottom: -250px; border: 2px solid rgba(42, 163, 151, .3); }
html.refresh .safe > * { position: relative; z-index: 1; }
html.refresh .safe h2 { color: #fff; }
html.refresh .safe p { color: rgba(255, 255, 255, .78); }
html.refresh .safe li { color: rgba(255, 255, 255, .8); }
html.refresh .safe li strong { color: #fff; }
html.refresh .safe .tick { background: #2aa397; }

/* ------------------------------------------------- 8. training */
/* Four narrow columns of long text become two wide cards a row, with
   the icon at the side, so the lines are a comfortable length. */

@media (min-width: 601px) {
  html.refresh .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.refresh .grid-4 .card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px 20px; align-content: start; }
  html.refresh .grid-4 .card > * { grid-column: 2; }
  html.refresh .grid-4 .card > .icon-box { grid-column: 1; grid-row: 1 / span 2; }
  html.refresh .grid-4 .card .link-btn { justify-self: start; }
}

/* -------------------------------------------------- 9. pricing */
/* The four prices sit on one line, with a rule under each. */

html.refresh .price-card { gap: 8px; padding: 26px 24px; }
html.refresh .price-card .value {
  display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end;
  column-gap: .3em;
  margin-bottom: 4px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.55rem, 2.3vw, 1.9rem);
  line-height: 1.1;
}
@media (min-width: 601px) {
  html.refresh .price-card .value { min-height: 2.5em; }
}
html.refresh .price-card--dark { border-color: var(--ink); }
html.refresh .price-card--dark .value { border-bottom-color: rgba(255, 255, 255, .2); }

/* ---------------------------------------------------- 10. FAQ */
/* Heading on the left, questions on the right, instead of a narrow
   list with an empty right-hand side. */

html.refresh .faq { max-width: none; }
html.refresh .faq-item { box-shadow: none; transition: border-color .25s, box-shadow .25s; }
html.refresh .faq-item:hover { border-color: var(--teal-100); box-shadow: var(--card-shadow); }
html.refresh .faq-item:has(.faq-q[aria-expanded="true"]) { border-color: var(--teal); box-shadow: var(--card-shadow); }
@media (min-width: 901px) {
  html.refresh #faq > .wrap { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
  html.refresh #faq .section-head { position: sticky; top: 112px; margin-bottom: 0; }
}

/* ------------------------------------------------- 11. footer */
/* The logo rings beside the name, and links underlined only when
   pointed at (five columns of underlines looked busy). */

html.refresh .site-footer { padding-block: 56px 28px; }
html.refresh .site-footer a { text-decoration: none; }
html.refresh .site-footer a:hover,
html.refresh .site-footer a:focus-visible { text-decoration: underline; }
html.refresh .footer-name { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
html.refresh .footer-name::before {
  content: "";
  flex: none;
  width: 34px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 6 28 20' fill='none'%3E%3Ccircle cx='12' cy='16' r='8' stroke='%23ffffff' stroke-width='2.6'/%3E%3Ccircle cx='20' cy='16' r='8' stroke='%232aa397' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =====================================================================
   The other pages (added after Juan approved the home page)
   ===================================================================== */

/* ------------------------------------------------ 12. trades page */
/* Same pieces as the home page (hero rings, card outlines, numbered
   steps, dark "Straight answers" card, two-column questions). The
   "What else I can do" section sits on the pale band. */

html.refresh #calls + .section { padding-top: var(--section-pad) !important; background: var(--band); border-block: 1px solid var(--line); }

/* ------------------------------- 13. rings on the inside pages */
/* Time checks, the care / pharmacy / electrician pages and the privacy
   notice get the rings in the top corner, so they feel like the same
   site as the home page. */

html.refresh main.check,
html.refresh main.deck-page,
html.refresh main.prose,
html.refresh main.nf { position: relative; }
html.refresh main.check::before,
html.refresh main.deck-page::before,
html.refresh main.prose::before,
html.refresh main.nf::before {
  content: "";
  position: absolute; z-index: -1;
  top: -30px; right: -250px;
  width: 600px; height: 414px;
  background: var(--rings) no-repeat center / contain;
  pointer-events: none;
}
@media (max-width: 900px) {
  html.refresh main.check::before,
  html.refresh main.deck-page::before,
  html.refresh main.prose::before,
  html.refresh main.nf::before { top: -50px; right: -200px; width: 420px; height: 290px; }
}

/* ------------------------------------------- 14. time check pages */
/* The chooser: the four choices use the same icon-at-the-side card as
   the training section. */
@media (min-width: 601px) {
  html.refresh .choice-grid .card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px 20px; align-content: start; }
  html.refresh .choice-grid .card > * { grid-column: 2; }
  html.refresh .choice-grid .card > .icon-box { grid-column: 1; grid-row: 1 / span 2; }
  html.refresh .choice-grid .card .link-btn { justify-self: start; }
}
html.refresh .choice-card:hover .icon-box { background: var(--teal); color: #fff; }

/* The form pages: the heavy shadow of the form was made for the teal
   contact block; on the plain page an outline and a lighter shadow sit
   better. "What happens" uses the same numbered circles as "How it
   works". */
html.refresh .check-form.form-card,
html.refresh .check-done { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
html.refresh .check-steps { padding: 22px 24px; border-radius: 18px; }
html.refresh .check-steps ol { display: grid; gap: 12px; margin-top: 12px; padding: 0; list-style: none; counter-reset: step; }
html.refresh .check-steps li { position: relative; margin: 0; padding-left: 40px; min-height: 28px; counter-increment: step; }
html.refresh .check-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -1px;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .86rem;
}
html.refresh .check-form .form-intro { border: 1px solid var(--line); }

/* -------------------- 15. care, pharmacy and electrician pages */
/* Each slide gets its number and a hairline, an outline like the cards,
   and the closing box becomes the teal block from the home page. */

html.refresh .deck-slides { counter-reset: slide; gap: 30px; }
html.refresh .deck-slides > li { counter-increment: slide; }
html.refresh .deck-slides > li::before {
  content: counter(slide, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  background: linear-gradient(var(--line), var(--line)) no-repeat 38px 50% / calc(100% - 38px) 1px;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em;
  color: var(--teal-eyebrow);
}
html.refresh .deck-slides a { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--card-shadow); transition: box-shadow .3s, transform .3s var(--ease); }
html.refresh .deck-slides a:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

html.refresh .deck-text { max-width: 1000px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--card-shadow); }
html.refresh .deck-text > * { max-width: 68ch; }

html.refresh .deck-end { position: relative; overflow: hidden; padding: clamp(28px, 4.5vw, 48px); border-radius: 28px; background: var(--teal); box-shadow: none; }
html.refresh .deck-end::before,
html.refresh .deck-end::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .13); pointer-events: none; }
html.refresh .deck-end::before { right: -110px; top: -170px; }
html.refresh .deck-end::after  { right: -30px; top: -130px; }
html.refresh .deck-end > * { position: relative; z-index: 1; }
html.refresh .deck-end h2 { color: #fff; }
html.refresh .deck-end p { max-width: 60ch; color: rgba(255, 255, 255, .92); }
html.refresh .deck-end .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
html.refresh .deck-end .btn-primary:hover { background: var(--teal-50); }
html.refresh .deck-end .btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
html.refresh .deck-end .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
html.refresh .deck-end :focus-visible { outline-color: #fff; }

/* ------------------------------------------- 16. privacy notice */
/* A long page of text: a hairline above each heading breaks it into
   clear parts. */

html.refresh .prose h2 { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
/* further out and fainter here, so the rings stay clear of the reading text */
html.refresh main.prose::before { top: -70px; right: -520px; opacity: .7; }
@media (max-width: 900px) {
  html.refresh main.prose::before { top: -110px; right: -240px; }
}

/* ------------------------------------------------ 17. live demo */
@media (min-width: 761px) {
  html.refresh main.demo-stage { position: relative; }
  html.refresh main.demo-stage::before {
    content: "";
    position: absolute; z-index: -1;
    right: -220px; top: 50%;
    width: 640px; height: 440px;
    transform: translateY(-50%);
    background: var(--rings) no-repeat center / contain;
    pointer-events: none;
  }
}

/* --------------------------------------------- 18. "not found" */
/* The live page is two lines of plain text. Here it has the logo, the
   rings and two buttons. (This one needs a few lines of new HTML.) */

.nf { display: grid; justify-items: start; gap: 18px; padding-block: clamp(56px, 10vw, 120px); }
.nf h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.nf .cta-row { margin-top: 8px; }
