/* ==========================================================================
   WEBSITE UPKEEP: main stylesheet
   The design system is written up in DESIGN-SYSTEM.md. Sections, in order:
     1. Tokens            8. Header & nav         15. Plans
     2. Reset & base      9. Footer               16. Steps, reviews
     3. Type             10. Home hero & log      17. FAQ, forms, contact
     4. Layout           11. Page hero            18. CTA band, offer
     5. Buttons & links  12. Trust, chips, logos  19. Pages: markets, work, prose
     6. Icons            13. Bento, proof band    20. Motion
     7. Cards & lists    14. Splits & features    21. Utilities
   Mobile first: base rules are the phone layout, min-width queries add.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* brand blues, all from the logo. --sky-500 is the "upkeep.com" blue and
     the one blue used for text, links, icons and accents. The other three
     are the logo's check facets, for decoration only. */
  --sky-50: #EEF8FE;
  --sky-100: #DDF1FC;
  --sky-300: #9BD6F1;
  --sky-400: #53C2F0;
  --sky-500: #44AEE2;
  --sky-600: #3F9DC1;
  --blue-700: #4082BF;
  /* ink */
  --ink-900: #0C1A2B;
  --ink-800: #12233A;
  --ink-700: #1E2F47;
  --ink-600: #2B3E58;
  --text: #243447;
  --muted: #5B6B7D;
  --line: #DDE8F1;
  --line-strong: #C7D7E5;
  --mist: #F2F7FB;
  --paper: #FBFDFF;
  --white: #FFFFFF;
  /* action */
  --orange-500: #FF9A21;
  --orange-600: #F08700;
  --orange-50: #FFF4E6;
  --ok: #22A06B;

  /* type */
  --font-display: "Wix Madefor Display", "Wix Madefor Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Wix Madefor Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-small: .875rem;

  /* space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 10vw, 136px);
  --section-tight: clamp(48px, 6vw, 80px);
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;

  /* shape */
  /* small radii; shadows are neutral and only for things that float */
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px;
  --shadow-1: 0 1px 2px rgba(12, 26, 43, .06);
  --shadow-2: 0 1px 2px rgba(12, 26, 43, .06), 0 10px 24px -14px rgba(12, 26, 43, .3);
  --shadow-device: 0 26px 50px -26px rgba(12, 26, 43, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

/* 2. RESET & BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sky-600); }
p, ul, ol, figure, blockquote, dl { margin: 0; }
/* zero specificity, so a component's own padding always wins */
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky-100); color: var(--ink-900); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink-900); color: #fff; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* 3. TYPE ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink-800); font-weight: 700; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.025em; font-weight: 800; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.022em; font-weight: 800; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.025em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.accent { color: var(--sky-500); }
/* a short kicker over hero headings only; section headings stand alone */
.eyebrow { display: block; margin-bottom: var(--s-3); font-size: 1rem; font-weight: 600; color: var(--sky-500); }
.mono { font-family: var(--font-mono); }
strong { font-weight: 600; color: var(--ink-800); }

/* 4. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: var(--section-tight) 0; }
.section--flush-top { padding-top: 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink-900); color: rgba(255, 255, 255, .78); }
.section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }
.section--ink .lead { color: rgba(255, 255, 255, .72); }
/* two plain sections in a row share one gap */
.section:not(.section--mist):not(.section--ink) + .section:not(.section--mist):not(.section--ink) { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: var(--s-4); }
.section-head__aside { color: var(--muted); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
@media (min-width: 900px) {
  .section-head:has(.section-head__aside) { max-width: none; display: grid; grid-template-columns: 7fr 4fr; column-gap: var(--s-8); align-items: end; }
  .section-head:has(.section-head__aside) h2 { grid-column: 1; }
  .section-head__aside { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; justify-content: flex-end; margin: 0 !important; }
}
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-5); }

/* 5. BUTTONS & LINKS ------------------------------------------------------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r-md);
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange-500); color: var(--ink-900); }
.btn--primary:hover { background: var(--orange-600); color: var(--ink-900); }
.btn--ghost { background: #fff; color: var(--ink-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink-800); color: var(--ink-900); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { color: var(--ink-900); background: var(--sky-50); }
.btn--sm { --btn-h: 42px; padding: 0 16px; font-size: .9375rem; }
.btn--sm .icon { width: 18px; height: 18px; }
.btn--lg { --btn-h: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; }
@media (max-width: 559px) {
  .actions--stack-sm { flex-direction: column; align-items: stretch; align-self: stretch; }
  .actions--stack-sm .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sky-500); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--ink-800); background-size: calc(100% - 26px) 1.5px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--sky-500); }
.link-arrow--light:hover { color: #fff; }

/* 6. ICONS ----------------------------------------------------------------- */
.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.checks { width: 40px; height: 25px; flex: none; }

/* 7. CARDS & LISTS --------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: clamp(24px, 3vw, 32px); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s;
}
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.card--link { height: 100%; text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; border-color: var(--sky-500); }
.card--ink { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.card--ink p { color: rgba(255, 255, 255, .7); }
.card-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* checklist: double-check bullets */
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 20px; height: 13px;
  background: var(--sky-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
.section--ink .checklist li::before { background: var(--sky-500); }
.checklist--panel { padding-top: var(--s-5); gap: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* feature list: title + text rows split by hairlines */
.feature-list { display: grid; margin: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.feature { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 4px; }
.feature p { color: var(--muted); }
/* three features in a row, over the plans */
.feature-row { display: grid; gap: 0 var(--s-6); margin-bottom: var(--s-8); }
@media (min-width: 900px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }

/* 8. HEADER & NAV ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header[data-scrolled] { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 104px; height: auto; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.site-header__cta { display: none; }
@media (min-width: 560px) { .site-header__cta { display: inline-flex; } }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink-800); }
.nav-toggle__close { display: none; }
.site-header[data-open] .nav-toggle__open { display: none; }
.site-header[data-open] .nav-toggle__close { display: block; }

/* phone and tablet: the menu is a panel under the header */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  display: none; flex-direction: column; gap: 2px;
  padding: var(--s-4) var(--gutter) var(--s-7); overflow-y: auto;
  background: var(--paper); border-top: 1px solid var(--line);
}
.site-header[data-open] .nav { display: flex; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; border: 0; background: none;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-800);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__link[aria-current="page"], .nav__item[data-current] > .nav__link { color: var(--sky-500); }
.nav__trigger .icon { transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega { display: none; padding: var(--s-3) 0 var(--s-4); }
.nav__item--menu[data-open] .mega { display: block; }
.mega__grid { display: grid; gap: 4px; }
.mega__link { display: flex; gap: var(--s-3); align-items: flex-start; padding: 10px; border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: background .2s; }
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--sky-50); color: var(--text); }
.mega__link strong { display: block; font-size: .9875rem; }
.mega__link small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega__icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 1px; color: var(--sky-500); }
.mega__promo { display: none; }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin: var(--s-2) 10px 0; font-weight: 600; text-decoration: none; }
.nav__cta-mobile { margin-top: var(--s-5); }
.nav__note { margin-top: var(--s-2); text-align: center; font-size: var(--fs-small); color: var(--muted); }
body[data-nav-open] { overflow: hidden; }

@media (min-width: 1080px) {
  :root { --header-h: 72px; }
  .site-header__logo img { width: 116px; }
  .nav-toggle, .nav__cta-mobile { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 2px;
    padding: 0; margin-left: var(--s-6); overflow: visible; background: none; border: 0;
  }
  .nav__item { position: relative; }
  .nav__link {
    width: auto; padding: 10px 14px; border: 0; border-radius: var(--r-md);
    font-family: var(--font-text); font-size: .9875rem; font-weight: 500; color: var(--ink-700);
    gap: 6px; transition: color .2s, background .2s;
  }
  .nav__link:hover { color: var(--ink-900); background: rgba(68, 174, 226, .08); }
  .nav__link[aria-current="page"], .nav__item[data-current] > .nav__link { color: var(--ink-900); }
  .nav__item[data-current] > .nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--sky-500);
  }
  .mega {
    position: absolute; top: calc(100% + 10px); left: -16px; width: min(760px, 80vw);
    display: grid; grid-template-columns: 1fr 230px; gap: var(--s-3);
    padding: var(--s-3); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: 0 30px 60px -30px rgba(12, 26, 43, .4);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item--menu:hover .mega, .nav__item--menu:focus-within .mega, .nav__item--menu[data-open] .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .mega__promo {
    display: flex; flex-direction: column; gap: 6px; padding: var(--s-5); border-radius: var(--r-md);
    background: var(--ink-900);
    color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .875rem; line-height: 1.45;
  }
  .mega__promo strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; }
  .mega__promo .eyebrow { margin: 0; }
  .mega__promo .link-arrow { margin-top: auto; color: var(--sky-500); }
  .mega__promo:hover { color: rgba(255, 255, 255, .9); }
  .mega__all { grid-column: 1 / -1; margin: 0; padding: 10px; border-top: 1px solid var(--line); }
}

/* 9. FOOTER ---------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, .68); padding: var(--s-9) 0 var(--s-6); font-size: .9375rem; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--ink-900); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand { display: grid; gap: var(--s-4); justify-items: start; max-width: 380px; }
.site-footer__brand img { width: 168px; }
.site-footer__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: var(--s-4); }
.site-footer__title--gap { margin-top: var(--s-6); }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__cities { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); margin-bottom: var(--s-4); }
.social { display: flex; gap: var(--s-2); }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .08); border-color: var(--sky-500); }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; align-items: center; padding-top: var(--s-5); font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.site-footer__checks { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); }
.site-footer__checks .checks { width: 28px; height: 18px; }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); } }

/* 10. HOME HERO & UPKEEP LOG ---------------------------------------------- */
.hero-home { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.hero-home__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero-home h1 .accent { display: block; }
.hero-home .lead { margin-top: var(--s-5); max-width: 26ch; color: var(--ink-700); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; letter-spacing: -.01em; }
.hero-home__text { margin-top: var(--s-4); max-width: 46ch; color: var(--muted); }
.hero-home .actions { margin-top: var(--s-6); gap: var(--s-3) var(--s-6); }
.hero-home__assure { margin-top: var(--s-4); font-size: .9375rem; color: var(--muted); }
/* the logo blue as one flat block under the devices, running off the right edge */
.hero-home__stage { position: relative; padding-top: var(--s-6); }
.hero-home__stage::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 22%; left: 16%; right: -50vw; background: var(--sky-500); }
.hero-home__devices { width: 100%; filter: drop-shadow(0 28px 28px rgba(12, 26, 43, .28)); }
.hero-home .log { margin: -40px 0 0 auto; position: relative; }
.hero-home .chips { margin-top: clamp(40px, 5vw, 64px); padding-top: var(--s-5); border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .hero-home__grid { grid-template-columns: 5fr 7fr; gap: var(--s-6); }
  .hero-home__stage { padding: var(--s-8) 0 var(--s-9); }
  .hero-home__devices { width: 86%; margin-left: auto; }
  .hero-home .log { position: absolute; left: -6%; bottom: 0; margin: 0; }
}

.log {
  width: min(100%, 360px); text-align: left;
  background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-device);
  font-size: .875rem; overflow: hidden;
}
.log__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--mist); }
.log__site { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.log__status { margin-left: auto; position: relative; display: inline-grid; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }
.log__status > span { grid-area: 1 / 1; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.log__status-run { background: var(--orange-50); color: #B05E00; opacity: 0; }
.log__status-ok { background: #E3F6EE; color: #13774D; }
.log__rows { padding: 6px 0; }
.log__row { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; }
.log__row + .log__row { border-top: 1px dashed var(--line); }
.log__tick { width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.log__task { color: var(--ink-800); font-weight: 500; line-height: 1.35; }
.log__meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.log__foot { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--mist); font-size: .8125rem; color: var(--muted); }
.log__bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.log__bar i { display: block; height: 100%; width: 84%; border-radius: inherit; background: var(--sky-500); }

/* Update request thread (includes/request-card.html) */
.request { width: min(100%, 420px); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-device); overflow: hidden; font-size: .9375rem; text-align: left; }
.request__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.request__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sky-50); color: var(--sky-500); }
.request__icon .icon { width: 17px; height: 17px; }
.request__title { font-weight: 600; color: var(--ink-800); }
.request__pill { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #E3F6EE; color: #13774D; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
.request__msg { margin: 14px 16px 0; padding: 12px 14px; border-radius: 16px; line-height: 1.5; }
.request__msg p { color: var(--ink-800); }
.request__msg--in { margin-right: 48px; background: var(--mist); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.request__msg--out { margin-left: 48px; background: var(--sky-50); border: 1px solid var(--sky-100); border-bottom-right-radius: 6px; }
.request__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.request__meta .checks { width: 22px; height: 14px; }
.request__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 0; padding: 14px 16px; background: var(--mist); border-top: 1px solid var(--line); }
.request__track li { position: relative; padding-top: 16px; font-family: var(--font-mono); font-size: .625rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.request__track li::before { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 3px var(--sky-100); }
.request__track li + li::after { content: ""; position: absolute; top: 4px; right: calc(50% + 9px); width: calc(100% - 12px); height: 2px; background: var(--sky-300); }
.js-motion .request__msg { opacity: 0; animation: logRow .5s var(--ease) forwards; }
.js-motion .request__msg--in { animation-delay: .3s; }
.js-motion .request__msg--out { animation-delay: 1.1s; }

/* Sites under care board (includes/care-board.html) */
.board { width: min(100%, 440px); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-device); overflow: hidden; }
.board__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.board__title { font-weight: 600; color: var(--ink-800); }
.board__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100); font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-500); }
.board__pill .checks { width: 22px; height: 14px; }
.board__row { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.board__row + .board__row { border-top: 1px dashed var(--line); }
.board__logo img { max-height: 22px; width: auto; max-width: 92px; mix-blend-mode: multiply; }
.board__logo--text { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-700); }
.board__logo--text .icon { width: 16px; height: 16px; color: var(--sky-500); }
.board__host { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.board__status { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: #13774D; white-space: nowrap; }
.board__status::before { content: ""; width: 16px; height: 11px; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 479px) { .board__row { grid-template-columns: 80px 1fr; } .board__status { grid-column: 2; } }

/* Portfolio mosaic: three client sites, fanned */
.mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-2); border: 4px solid #fff; background: #fff; }
.mosaic img { width: 100%; aspect-ratio: 422 / 356; object-fit: cover; }
.mosaic figure:first-child { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .mosaic { display: block; aspect-ratio: 1.15; }
  .mosaic figure { position: absolute; width: 58%; transition: transform .5s var(--ease); }
  .mosaic figure:nth-child(1) { left: 0; top: 4%; transform: rotate(-4deg); z-index: 1; }
  .mosaic figure:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); }
  .mosaic figure:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
  .mosaic:hover figure:nth-child(1) { transform: rotate(-6deg) translateX(-8px); }
  .mosaic:hover figure:nth-child(2) { transform: rotate(5deg) translateX(8px); }
}

/* 10b. PAGE VIGNETTES ------------------------------------------------------ */
/* The Upkeep Log belongs to the home hero. Every other page gets its own
   small interface card, each a different shape, so no visual repeats. */

/* floats on a hero image's corner from 960px; tucked under it on phones */
.page-hero__float { position: relative; z-index: 2; margin: -20px 0 0 4%; }
@media (min-width: 960px) { .page-hero__float { position: absolute; left: -6%; bottom: -5%; margin: 0; } }

/* Monthly report (includes/report-card.html), care plans hero */
.report { width: min(100%, 420px); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-device); overflow: hidden; text-align: left; }
.report__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink-900); color: #fff; }
.report__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(68, 174, 226, .16); }
.report__mark .checks { width: 26px; height: 16px; }
.report__title strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.report__title small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: rgba(255, 255, 255, .62); }
.report__traffic { padding: 18px 18px 6px; }
.report__label { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.report__big { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; color: var(--ink-900); }
.report__trend { padding: 3px 9px; border-radius: 999px; background: #E3F6EE; color: #13774D; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: 0; }
.report__spark { display: block; width: 100%; height: auto; margin-top: 12px; }
.report__area { fill: rgba(68, 174, 226, .14); }
.report__line { fill: none; stroke: var(--sky-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.report__kpis li { padding: 14px 10px 14px 18px; }
.report__kpis li + li { border-left: 1px solid var(--line); }
.report__kpis b { display: block; font-family: var(--font-display); font-size: 1.375rem; color: var(--ink-900); }
.report__kpis span { display: block; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.report__next { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--mist); border-top: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--ink-700); }
.report__next .icon { width: 16px; height: 16px; color: var(--sky-500); }
.js-motion .report__line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s var(--ease) .5s forwards; }
.js-motion .report__area { opacity: 0; animation: appear .8s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Year of costs (includes/cost-chart.html), pricing */
.cost { width: min(100%, 460px); margin: 0 auto; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-device); text-align: left; }
.cost__head { display: grid; gap: 8px; }
.cost__head strong { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink-900); }
.cost__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .75rem; color: var(--muted); }
.cost__key { display: inline-flex; align-items: center; gap: 6px; }
.cost__key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.cost__key--plan::before { background: var(--sky-500); }
.cost__key--fix::before { background: var(--ink-700); }
.cost__chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 190px; margin: 18px 0 26px; padding-top: 30px; border-bottom: 1px solid var(--line-strong); }
.cost__chart li { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.cost__chart i { width: 42%; max-width: 12px; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.cost__chart i:first-child { height: 24%; background: var(--sky-500); }
.cost__chart i + i { height: calc(var(--fix) * 100%); background: var(--ink-700); }
.cost__chart span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.cost__chart li[data-note]::after {
  content: attr(data-note); position: absolute; left: 50%; bottom: calc(var(--fix) * 100% + 6px); transform: translateX(-50%);
  padding: 2px 7px; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-1);
  font-size: .6875rem; font-weight: 600; color: var(--ink-800);
}
.cost__chart li:nth-child(-n+3)[data-note]::after { left: 0; transform: none; }
.cost__chart li:nth-child(n+10)[data-note]::after { left: auto; right: 0; transform: none; }
.cost__note { display: flex; align-items: flex-start; gap: 8px; font-size: .8125rem; line-height: 1.45; color: var(--ink-700); }
.cost__note .icon { flex: none; width: 18px; height: 18px; color: var(--sky-500); }
.js-motion .cost__chart i { transform: scaleY(0); transition: transform .9s var(--ease) .2s; }
.js-motion .cost__chart li[data-note]::after { opacity: 0; transition: opacity .4s 1s; }
.js-motion .cost.is-in .cost__chart i { transform: none; }
.js-motion .cost.is-in .cost__chart li[data-note]::after { opacity: 1; }

/* Uptime strip (includes/uptime-card.html), hosting hero */
.uptime { width: min(300px, calc(100% - 8%)); padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-device); font-size: .875rem; text-align: left; }
.uptime__top { display: flex; align-items: center; gap: 8px; color: var(--ink-800); }
.uptime__top strong { font-weight: 600; }
.uptime__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.uptime__fig { margin-left: auto; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.uptime__bars { display: block; height: 26px; margin: 12px 0 10px; background: linear-gradient(90deg, var(--ok) 0 62%, transparent 62%) 0 0 / calc(100% / 30) 100% repeat-x; opacity: .85; }
.uptime__foot { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.uptime__foot span { display: inline-flex; align-items: center; gap: 5px; }
.uptime__foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }
.js-motion .uptime__dot { animation: pulse 2.4s ease-out infinite; }
.js-motion .uptime__bars { animation: wipe 1.2s var(--ease) .5s both; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* WordPress update run (includes/wp-run.html), WordPress hero */
.wprun { width: min(320px, calc(100% - 8%)); padding: 14px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-device); text-align: left; }
.wprun__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .875rem; font-weight: 600; color: var(--ink-800); }
.wprun__title .icon { width: 18px; height: 18px; color: var(--sky-500); }
.wprun__title small { margin-left: auto; font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; color: var(--muted); }
.wprun__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; }
.wprun__steps li { position: relative; padding-top: 16px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-700); }
.wprun__steps li::before, .wprun__steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; }
.wprun__steps li::before { background: var(--line); }
.wprun__steps li::after { background: var(--sky-500); transform-origin: left; }
.wprun__steps li:last-child::after { background: var(--ok); }
.js-motion .wprun__steps li::after { transform: scaleX(0); animation: fill .5s var(--ease) forwards; animation-delay: calc(.7s + var(--i) * .45s); }
@keyframes fill { to { transform: none; } }

/* Change-is-live toast (includes/live-toast.html), updating hero */
.toast { display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(330px, 92%); padding: 12px 18px 12px 12px; background: var(--ink-900); color: #fff; border-radius: 16px; box-shadow: var(--shadow-device); text-align: left; }
.toast__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(68, 174, 226, .18); }
.toast__icon .checks { width: 26px; height: 16px; }
.toast__text strong { display: block; font-size: .9375rem; color: #fff; }
.toast__text small { display: block; margin-top: 2px; font-size: .75rem; color: rgba(255, 255, 255, .66); }
.js-motion .toast { animation: toastIn .6s var(--ease) 1s both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* Search result (includes/search-card.html), SEO */
.serp { width: min(100%, 440px); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-device); overflow: hidden; text-align: left; }
.serp__bar { display: flex; align-items: center; gap: 10px; margin: 16px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: var(--shadow-1); font-size: .9375rem; color: var(--ink-800); }
.serp__bar .icon { width: 18px; height: 18px; color: var(--muted); }
.serp__results { display: grid; gap: 8px; padding: 0 16px 16px; }
.serp__ghost { display: grid; gap: 7px; padding: 10px 12px; }
.serp__ghost i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.serp__ghost i:first-child { width: 55%; height: 10px; background: var(--sky-100); }
.serp__ghost i:last-child { width: 85%; }
.serp__hit { position: relative; padding: 14px 14px 14px 82px; background: var(--sky-50); border: 1px solid var(--sky-300); border-radius: 14px; }
.serp__rank { position: absolute; left: 10px; top: 14px; width: 62px; display: grid; justify-items: center; text-align: center; }
.serp__rank b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--ink-900); }
.serp__rank small { margin-top: 4px; white-space: nowrap; font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .04em; text-transform: uppercase; color: #13774D; }
.serp__hit cite { display: block; font-style: normal; font-size: .75rem; color: var(--muted); }
.serp__hit strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1rem; line-height: 1.3; color: var(--ink-900); }
.serp__hit p { margin-top: 4px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.js-motion .serp__hit { transform: translateY(56px); opacity: .5; transition: transform 1s var(--ease) .3s, opacity 1s var(--ease) .3s; }
.js-motion .serp.is-in .serp__hit { transform: none; opacity: 1; }

/* Site health ring (includes/health-badge.html), maintenance hero */
.health { display: flex; align-items: center; gap: 12px; width: max-content; padding: 8px 20px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-device); text-align: left; }
.health__ring { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; }
.health__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.health__track, .health__fill { fill: none; stroke-width: 5; }
.health__track { stroke: var(--line); }
.health__fill { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 98 100; }
.health__ring b { font-family: var(--font-display); font-size: 1rem; color: var(--ink-900); }
.health__text strong { display: block; font-size: .9375rem; color: var(--ink-800); }
.health__text small { display: block; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.js-motion .health__fill { animation: ring 1.4s var(--ease) .6s both; }
@keyframes ring { from { stroke-dasharray: 0 100; } }

/* 11. PAGE HERO (inner pages) --------------------------------------------- */
.page-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: var(--s-7); align-items: center; margin-top: var(--s-5); }
.page-hero__copy h1 { max-width: 16ch; }
.page-hero__copy .lead { margin-top: var(--s-5); max-width: 52ch; }
.page-hero__copy .chips, .page-hero__copy .checklist { margin-top: var(--s-5); }
.page-hero__copy .actions { margin-top: var(--s-6); }
.page-hero__media { position: relative; }
.page-hero__media > img { width: 100%; filter: drop-shadow(0 34px 34px rgba(12, 26, 43, .16)); }
.page-hero__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(22px, 3vw, 32px); }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s-8); }
  .page-hero__grid--form { grid-template-columns: 6fr 5fr; align-items: start; }
  .page-hero__grid--form .page-hero__copy { padding-top: var(--s-5); }
}

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sky-500); }
.crumbs [aria-current] { color: var(--ink-700); }

/* 12. TRUST STRIP, CHIPS, LOGO WALLS -------------------------------------- */
.trust { padding: clamp(32px, 4vw, 48px) 0; }
.trust + .section:not(.section--mist):not(.section--ink) { padding-top: clamp(48px, 7vw, 96px); }
.trust__label { text-align: center; font-size: .9375rem; font-weight: 600; color: var(--muted); margin-bottom: var(--s-5); }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5) var(--s-4); align-items: center; justify-items: center; }
.trust__list img { max-height: 64px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .3s, opacity .3s; }
.trust__list li:hover img { filter: none; opacity: 1; }
@media (min-width: 820px) { .trust__list { grid-template-columns: repeat(6, 1fr); } .trust__list--7 { grid-template-columns: repeat(7, 1fr); } .trust__list img { max-height: 76px; } }

/* service index: plain text links split by slashes */
.chips { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .9375rem; }
.chips li:not(:last-child)::after { content: "/"; margin: 0 12px; color: var(--line-strong); }
.chip { color: var(--ink-700); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.chip:hover { color: var(--sky-500); text-decoration-color: currentColor; }

.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.logo-wall li { display: grid; place-items: center; min-height: 84px; padding: var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.logo-wall img { max-height: 40px; width: auto; max-width: 100%; }
.logo-wall__more { gap: 8px; display: flex !important; font-size: .875rem; font-weight: 600; color: var(--ink-700); text-align: center; }
.logo-wall__more .icon { color: var(--sky-500); }
.logo-wall--plugins li { min-height: 72px; }
.logo-wall--plugins img { max-height: 30px; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

.platforms__inner { display: grid; gap: var(--s-7); align-items: center; }
.platforms__copy p { margin: var(--s-4) 0 var(--s-5); color: var(--muted); }
.platforms__sub { margin: var(--s-6) 0 var(--s-3); font-size: .9375rem; font-weight: 600; color: var(--ink-700); }
@media (min-width: 960px) { .platforms__inner { grid-template-columns: 5fr 7fr; gap: var(--s-8); } }

/* 13. BENTO, PROOF BAND ---------------------------------------------------- */
.intro-grid { display: grid; gap: var(--s-7); }
.intro-grid__copy p { margin-top: var(--s-4); color: var(--muted); }
.intro-grid__copy .lead { color: var(--ink-700); }
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: 4fr 8fr; gap: var(--s-8); align-items: start; }
  .intro-grid__copy { position: sticky; top: calc(var(--header-h) + 32px); }
}
/* the three service groups on the home page, as ruled rows */
.pillars { border-top: 2px solid var(--ink-800); }
.pillar { display: grid; gap: var(--s-4); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.015em; }
.pillar__head p { margin-top: var(--s-2); max-width: 46ch; color: var(--muted); }
.pillar__head .link-arrow { margin-top: var(--s-3); }
@media (min-width: 700px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}

.proof-band { padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.proof-band__grid { display: grid; gap: var(--s-7); align-items: center; }
.proof-band__media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.proof-band__media--photo img { max-width: 440px; margin: 0 auto; border-radius: var(--r-md); filter: none; }
.proof-band__copy p { margin-top: var(--s-4); }
.proof-band__facts { font-weight: 600; color: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.stat { padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .18); }
.stat__fig { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -.02em; color: #fff; }
.stat__fig em { font-style: normal; color: var(--sky-500); }
.stat__label { display: block; margin-top: 8px; font-size: .875rem; color: rgba(255, 255, 255, .66); }
@media (min-width: 1024px) {
  .proof-band__grid { grid-template-columns: 6fr 6fr; gap: var(--s-8); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
}

/* 14. SPLITS & FEATURE ROWS ----------------------------------------------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
.split + .split { margin-top: var(--section); }
.split__copy > p { margin-top: var(--s-4); color: var(--muted); }
.split__copy .lead { color: var(--ink-700); }
.split__copy .actions, .split__copy > .btn, .split__copy > .link-arrow { margin-top: var(--s-6); }
.split__copy .checklist { margin-top: var(--s-5); }
.split__media { position: relative; isolation: isolate; }
.split__media img { position: relative; width: 100%; }
.split__media--panel { padding: clamp(20px, 4vw, 48px); }
.split__media--panel::before { content: ""; position: absolute; z-index: -1; inset: 8% 0 0 12%; background: var(--sky-100); }
.split__media--panel img { filter: drop-shadow(0 26px 30px rgba(12, 26, 43, .18)); }
.split__media--frame img { border-radius: var(--r-lg); box-shadow: var(--shadow-device); border: 1px solid var(--line); }
@media (min-width: 960px) {
  .split { grid-template-columns: 6fr 6fr; gap: var(--s-9); }
  .split--wide-copy { grid-template-columns: 7fr 5fr; }
  .split--flip .split__media { order: -1; }
  .split--flip .split__media--panel::before { inset: 8% 12% 0 0; }
}

/* 15. PLANS ---------------------------------------------------------------- */
.plans__toggle { display: flex; width: max-content; margin: 0 0 var(--s-6); padding: 4px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.plans__opt { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-sm); background: none; font-weight: 600; font-size: .9375rem; color: var(--muted); transition: background .25s var(--ease), color .2s; }
.plans__opt[aria-pressed="true"] { background: var(--ink-900); color: #fff; }
.plans__grid { display: grid; gap: var(--s-5); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s-5);
  padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.plan--featured { border: 2px solid var(--sky-500); }
.plan__flag { display: flex; align-items: center; gap: 8px; margin: -8px 0 -12px; font-size: .9375rem; font-weight: 700; color: var(--sky-500); }
.plan__flag .checks { width: 26px; height: 16px; }
.plan__name { font-size: 1.5rem; }
.plan__pitch { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .plan__pitch { min-height: 4.7em; } }
.plan__price { margin-top: var(--s-5); display: flex; align-items: flex-start; font-family: var(--font-display); color: var(--ink-900); line-height: 1; }
.plan__price [data-price] { font-size: clamp(3rem, 2.4rem + 2vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan__currency { font-size: 1.5rem; font-weight: 700; margin-top: 8px; margin-right: 2px; }
.plan__per { align-self: flex-end; margin: 0 0 8px 4px; font-family: var(--font-text); font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan__billing { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.plan__list { display: grid; align-content: start; gap: 10px; padding-top: var(--s-5); border-top: 1px dashed var(--line-strong); font-size: .9375rem; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 12px; background: var(--sky-500); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M1.5 8.5l4 4 8-8.5M10.5 11.5l1 1 9-9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.plans__note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: var(--s-6); font-size: .9375rem; color: var(--muted); }
.plans__note .icon { color: var(--sky-500); }
[data-price].is-swapping { animation: priceSwap .35s var(--ease); }
@keyframes priceSwap { 0% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .plans__grid { grid-template-columns: repeat(3, 1fr); }
}

/* comparison table (care plans page) */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; position: sticky; left: 0; background: #fff; }
.compare thead th { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink-800); background: var(--mist); }
.compare thead th:first-child { background: var(--mist); }
.compare thead th small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .8125rem; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); }
.compare .yes .icon { margin: 0 auto; }
.compare .no { color: var(--line-strong); }
.compare .featured { background: rgba(238, 248, 254, .7); }
.compare-group td { background: var(--mist) !important; font-weight: 700; color: var(--ink-800); text-align: left !important; }

/* task grid: maintenance tasks as ruled columns (includes/tasks.html, city pages) */
.task-grid { display: grid; gap: 0 var(--s-7); }
.task { padding: var(--s-5) 0; border-top: 1px solid var(--line-strong); }
.task h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 6px; }
.task p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 700px) { .task-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .task-grid { grid-template-columns: repeat(3, 1fr); } }

/* 16. STEPS & REVIEWS ------------------------------------------------------ */
.steps__list { display: grid; gap: var(--s-6); counter-reset: step; }
.step { padding-top: var(--s-4); border-top: 2px solid var(--ink-800); counter-increment: step; }
.step::before { content: counter(step); display: block; margin-bottom: var(--s-4); font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem); line-height: .9; letter-spacing: -.04em; color: var(--sky-500); }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--muted); }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }

.reviews__grid { display: grid; gap: var(--s-5); }
.review { position: relative; display: flex; flex-direction: column; gap: var(--s-5); padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-700); }
.review figcaption { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.review figcaption strong { display: block; font-size: 1rem; }
.review__mark { width: 52px; height: 33px; }
.review--lead { background: var(--ink-900); border-color: var(--ink-900); }
.review--lead blockquote p { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.35; letter-spacing: -.01em; }
.review--lead figcaption { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .14); }
.review--lead figcaption strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--orange-500); }
.stars .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .reviews__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .reviews--single .reviews__grid { grid-template-columns: 1fr; max-width: 820px; }
}

/* 17. FAQ, FORMS, CONTACT -------------------------------------------------- */
.faq__inner { display: grid; gap: var(--s-6); }
.faq__lead { margin-top: var(--s-4); color: var(--muted); }
.faq__list { display: grid; gap: var(--s-3); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--sky-300); box-shadow: var(--shadow-1); }
.faq__q { display: flex; align-items: center; gap: var(--s-4); padding: 18px 20px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: 1.0625rem; line-height: 1.4; flex: 1; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sky-50); transition: background .2s, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--sky-500); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--sky-500); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 20px 20px; color: var(--muted); }
.faq__a a { font-weight: 600; }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: 4fr 7fr; gap: var(--s-8); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

.lead-form { display: grid; gap: var(--s-4); }
.lead-form__title { font-size: 1.375rem; }
.lead-form__intro { color: var(--muted); font-size: .9375rem; margin-top: -8px; }
.lead-form__grid { display: grid; gap: var(--s-3); }
@media (min-width: 560px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink-800); }
.field label span { color: var(--sky-500); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  font-size: 1rem; color: var(--ink-900); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2344AEE2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select:focus { outline: none; background-color: #fff; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(68, 174, 226, .18); }
.field input::placeholder, .field textarea::placeholder { color: #94A3B4; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(68, 174, 226, .18); }
.field [aria-invalid="true"] { border-color: #D9534F; box-shadow: 0 0 0 4px rgba(217, 83, 79, .12); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__fine { text-align: center; font-size: .8125rem; color: var(--muted); }
.lead-form__status:empty { display: none; }
.lead-form__status { padding: 12px 14px; border-radius: var(--r-md); font-size: .9375rem; font-weight: 500; }
.lead-form__status[data-state="ok"] { background: #E3F6EE; color: #13774D; }
.lead-form__status[data-state="error"] { background: #FDECEC; color: #A23B37; }
.lead-form.is-sent .lead-form__grid, .lead-form.is-sent > button { display: none; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }

.contact-block__inner { display: grid; gap: var(--s-7); }
.contact-block__copy .lead { margin-top: var(--s-4); }
.contact-block__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-2); }
.expect { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.expect li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.expect__n { width: 1.5em; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--sky-500); }
.expect strong { display: block; }
.expect span:not(.expect__n) { color: var(--muted); font-size: .9375rem; }
@media (min-width: 1024px) { .contact-block__inner { grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: start; } .contact-block__copy { position: sticky; top: calc(var(--header-h) + 32px); } }

/* 18. CTA BAND, OFFER ------------------------------------------------------ */
.cta-band { padding: var(--section-tight) 0; background: var(--ink-900); color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band__panel { display: grid; gap: var(--s-6); align-items: end; }
.cta-band__copy p { margin-top: var(--s-4); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
@media (max-width: 559px) { .cta-band__actions .btn { width: 100%; } }
@media (min-width: 960px) { .cta-band__panel { grid-template-columns: 1fr auto; gap: var(--s-8); } }

.offer { padding: var(--section-tight) 0; }
.offer__panel {
  position: relative; display: grid; gap: var(--s-5); align-items: center; overflow: hidden;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--orange-50); border: 1px solid #FFE1BC;
}
.offer__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -.025em; }
.offer__copy p:not(.eyebrow) { margin-top: 8px; color: var(--ink-700); max-width: 48ch; }
.offer__copy .eyebrow { color: #B05E00; }
.offer__fee { display: flex; align-items: baseline; gap: 10px; font-weight: 600; color: var(--ink-700); }
.offer__fee b { font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink-900); }
.offer__panel .btn { justify-self: start; }
@media (min-width: 960px) {
  .offer__panel { grid-template-columns: 1fr auto auto; gap: var(--s-7); }
}

/* 19. PAGES: SERVICES HUB, MARKETS, PORTFOLIO, PROSE, CITY ---------------- */

.states { display: grid; gap: var(--s-5); }
.state { padding: var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.state h2, .state h3 { font-size: 1.25rem; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.state h2 small, .state h3 small { font-family: var(--font-text); font-size: .875rem; font-weight: 500; color: var(--muted); }
.state ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.state a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink-700); font-size: .9375rem; transition: border-color .2s, color .2s, background .2s; }
.state a:hover { border-color: var(--sky-500); color: var(--sky-500); background: var(--sky-50); }
.state a .icon { width: 14px; height: 14px; color: var(--sky-500); }
@media (min-width: 720px) { .states { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .states { grid-template-columns: repeat(3, 1fr); } }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.work { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-900); }
.work img { width: 100%; aspect-ratio: 422 / 356; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.work:hover img { transform: scale(1.05); opacity: .85; }
.work figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: var(--r-md); background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink-800); }
.work figcaption small { display: block; font-weight: 500; font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(4, 1fr); } }

/* a client site screenshot, captioned, without fake browser chrome */
.shot img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-device); }
.shot figcaption { margin-top: var(--s-3); font-size: .875rem; font-weight: 600; color: var(--ink-700); }

.note { padding: clamp(22px, 3vw, 32px); background: var(--mist); border-radius: var(--r-lg); }
.note h3 { margin-bottom: 6px; }
.note p { color: var(--muted); }
.note p + p { margin-top: var(--s-3); }

.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 500; color: var(--ink-700); text-decoration: none; transition: border-color .2s, color .2s; }
.city-links a:hover { border-color: var(--sky-500); color: var(--sky-500); }
.city-links .icon { width: 16px; height: 16px; color: var(--sky-500); }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { font-weight: 500; }
.prose .lead { color: var(--ink-700); }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-size: .875rem; color: var(--muted); }
.post-card { display: grid; gap: var(--s-5); padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: border-color .2s; }
.post-card:hover { color: inherit; border-color: var(--sky-500); }
.post-card img { border-radius: var(--r-lg); background: var(--mist); }
.post-card p { color: var(--muted); }
@media (min-width: 900px) { .post-card { grid-template-columns: 5fr 6fr; align-items: center; gap: var(--s-7); } }

.value-grid { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }

.big-404 { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; letter-spacing: -.05em; }

/* 19b. SELLING SECTIONS ------------------------------------------------------
   Problems → fixes (home), month on a plan (care plans), industries,
   promises, plans at a glance, which plan fits (pricing), the maintenance
   checklist and the risks of skipping it (web maintenance). */

/* reassurance line under the hero buttons */
.hero-home__assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: var(--s-5); font-size: .9375rem; color: var(--ink-700); }
.hero-home__assure span { display: inline-flex; align-items: center; gap: 8px; }
.hero-home__assure .icon { width: 18px; height: 18px; color: var(--sky-500); }

/* problem → fix rows: the owner's complaint on the left, our answer on the right */
.problems { border-top: 2px solid var(--ink-800); }
.problem { display: grid; gap: var(--s-3); padding: var(--s-5) 0; border-bottom: 1px solid var(--line-strong); }
.problem__pain h3 { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.3; }
.problem__fix { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.problem__fix .checks { width: 30px; height: 19px; margin-top: 3px; }
.problem__fix p { color: var(--text); }
@media (min-width: 900px) { .problem { grid-template-columns: 5fr 6fr; gap: var(--s-8); padding: var(--s-6) 0; } }

/* plan tags: which plans include a thing */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: var(--r-sm); font-size: .8125rem; font-weight: 600; white-space: nowrap; background: var(--mist); color: var(--ink-700); border: 1px solid var(--line); }
.tag--plus { background: var(--sky-50); color: var(--sky-500); border-color: var(--sky-100); }
.tag--top { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* a month on a care plan: when it happens, what it is, which plans */
.rhythm { border-top: 2px solid var(--ink-800); }
.rhythm__item { display: grid; gap: 8px; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.rhythm__when { font-size: .9375rem; font-weight: 700; color: var(--sky-500); }
.rhythm__item h3 { font-size: 1.125rem; }
.rhythm__item p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .rhythm__item { grid-template-columns: 170px 1fr auto; align-items: baseline; column-gap: var(--s-6); }
  .rhythm__body { display: grid; gap: 4px; }
  .rhythm__item .tags { justify-content: flex-end; }
}

/* who it's for */
.industries { display: grid; grid-template-columns: 1fr; gap: 0 var(--s-6); }
.industry { padding: var(--s-4) 0; border-top: 1px solid var(--line-strong); }
.industry h3 { font-size: 1.0625rem; line-height: 1.3; }
.industry p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .industries { grid-template-columns: repeat(4, 1fr); } }

/* promises on the ink band */
.promises { display: grid; gap: 0 var(--s-6); }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: var(--s-5) 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.promise .checks { width: 36px; height: 23px; margin-top: 2px; }
.promise h3 { font-size: 1.125rem; color: #fff; }
.promise p { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: .9375rem; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .promises { grid-template-columns: repeat(3, 1fr); } }

/* house rules (about page): numbered, editorial, no card boxes */
.rules { display: grid; gap: 0 var(--s-7); counter-reset: rule; }
.rule { position: relative; padding: var(--s-5) 0 var(--s-5) 64px; border-top: 1px solid var(--line); counter-increment: rule; }
.rule::before { content: counter(rule); position: absolute; left: 0; top: var(--s-5); font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: var(--sky-500); }
.rule h3 { font-size: 1.1875rem; }
.rule p { margin-top: 6px; color: var(--muted); }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rules { grid-template-columns: repeat(3, 1fr); } .rule { padding-left: 0; padding-top: 72px; } .rule::before { top: var(--s-5); font-size: 2rem; } }

/* plans at a glance (care plans page) */
.glance { display: grid; gap: var(--s-4); }
.glance__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.glance__card--featured { border: 2px solid var(--sky-500); }
.glance__for { font-size: .875rem; font-weight: 600; color: var(--sky-500); }
.glance__card h3 { font-size: 1.5rem; }
.glance__price { font-family: var(--font-display); font-size: 1rem; color: var(--muted); }
.glance__price b { font-size: 2rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; }
.glance__card p { color: var(--muted); font-size: .9375rem; }
.glance__card .link-arrow { margin-top: auto; padding-top: 8px; }
@media (min-width: 900px) { .glance { grid-template-columns: repeat(3, 1fr); } }

/* which plan fits (pricing page) */
.fits { display: grid; gap: var(--s-4); }
.fit { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.fit--featured { border: 2px solid var(--sky-500); }
.fit__label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.fit h3 { font-size: 1.375rem; }
.fit p { color: var(--muted); }
.fit__pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.fit__pick span { font-weight: 600; color: var(--ink-800); }
.fit__pick small { display: block; font-weight: 500; font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) { .fits { grid-template-columns: repeat(3, 1fr); } }

/* included in every plan */
.included { display: grid; gap: var(--s-5); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.included h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.included .checklist { grid-template-columns: 1fr; }
@media (min-width: 640px) { .included .checklist { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
@media (min-width: 1024px) { .included { grid-template-columns: 4fr 7fr; gap: var(--s-8); } .included .checklist { grid-template-columns: repeat(3, 1fr); } }

/* the maintenance checklist (web maintenance page) */
.freq { display: grid; gap: var(--s-4); }
.freq__always { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 22px; border-radius: var(--r-lg); background: var(--ink-900); color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.freq__always b { font-weight: 700; color: var(--sky-500); }
.freq__card { padding: clamp(22px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.freq__card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px dashed var(--line-strong); font-size: 1.375rem; }
.freq__card h3 small { font-family: var(--font-text); font-size: .875rem; font-weight: 600; color: var(--sky-500); }
.freq__card .checklist { font-size: .9375rem; }
@media (min-width: 760px) { .freq { grid-template-columns: repeat(2, 1fr); } .freq__always { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .freq { grid-template-columns: repeat(4, 1fr); } }

/* what happens when maintenance slips */
.risks { display: grid; gap: var(--s-4); }
.risk { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.risk__head { margin-bottom: 8px; }
.risk h3 { font-size: 1.0625rem; line-height: 1.3; }
.risk p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 700px) { .risks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .risks { grid-template-columns: repeat(3, 1fr); } }

/* the options compared (care plans page) */
.compare--options th[scope="row"] { font-weight: 600; color: var(--ink-800); }
.compare--options td { color: var(--muted); font-size: .9375rem; }
.compare--options td.featured { color: var(--ink-800); font-weight: 500; }
.compare--options thead th.featured { background: var(--ink-900); color: #fff; }
.compare--options thead th.featured { border-top-left-radius: 0; }
.compare--options td.featured { background: var(--sky-50); }
.compare--options thead th.featured small { color: var(--sky-500); }

/* 20. MOTION --------------------------------------------------------------- */
/* Motion lives in the illustrations only. base.html adds .js-motion; main.js
   adds .is-in to a [data-reveal] illustration (cost chart, search result)
   when it scrolls into view, which starts its animation. */

/* Upkeep log: rows arrive, ticks draw, status flips from running to checked */
@keyframes logRow { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes logTick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; } }
.js-motion .log__row { opacity: 0; animation: logRow .5s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .34s); }
.js-motion .log__tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: logTick .5s var(--ease) forwards; }
.js-motion .log__row:nth-child(1) .log__tick path { animation-delay: .8s; }
.js-motion .log__row:nth-child(2) .log__tick path { animation-delay: 1.14s; }
.js-motion .log__row:nth-child(3) .log__tick path { animation-delay: 1.48s; }
.js-motion .log__row:nth-child(4) .log__tick path { animation-delay: 1.82s; }
.js-motion .log__row:nth-child(5) .log__tick path { animation-delay: 2.16s; }
.js-motion .log__status-run { opacity: 1; animation: fadeOut .3s 2.6s forwards; }
.js-motion .log__status-ok { opacity: 0; animation: fadeIn .4s var(--ease) 2.75s forwards; }
.js-motion .log__bar i { animation: grow 1.4s var(--ease) 2.4s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 21. UTILITIES ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--muted); }
