@charset "utf-8";
/* ================================================================
   Get Me Automated — standalone service page styles
   ----------------------------------------------------------------
   Loaded via $page_styles by the service pages that are hand-built
   rather than rendered through render_service() (currently
   /ai-search-optimization/ and /web-development/).

   Everything is scoped under .page-service so it cannot bleed into
   the rest of the site, and every value comes from the global.css
   :root tokens — no new palette, no new fonts.
   ================================================================ */

/* ----- Hero -------------------------------------------------- */
.page-service .page-hero h1 .accent        { color: var(--teal-dk); }
.page-service .page-hero h1 .accent-yellow { color: var(--yellow-dk); }
.page-service .page-hero .lede { margin-bottom: 28px; }

.page-service .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .page-service .hero-actions { flex-direction: column; align-items: stretch; }
  .page-service .hero-actions .btn { display: block; }
}

/* ----- Chip list (engines, stack, anything short) ------------- */
.page-service .engine-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.page-service .engine-list li {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 7px 13px;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.page-service .engine-list li::before {
  content: "\25C6";
  color: var(--teal-dk);
  font-size: .7em;
  margin-right: 7px;
  vertical-align: 1px;
}

/* ----- Pullquote --------------------------------------------- */
.page-service .aiso-pullquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-left-width: 10px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin: 36px 0;
  max-width: 60ch;
}
.page-service .aiso-pullquote em {
  color: var(--teal-dk);
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* ----- Two-up comparison ------------------------------------- */
.page-service .compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 820px) { .page-service .compare-grid { grid-template-columns: 1fr; } }
.page-service .compare-card h3 { margin-bottom: 10px; }
.page-service .compare-card.is-us { background: var(--cream-2); }
.page-service .compare-card.is-us .pill { background: var(--teal); color: var(--cream); border-color: var(--ink); }
.page-service .compare-card.is-us h3 { color: var(--teal-dk); }

/* ----- Numbered steps (used inside .dark-section) ------------- */
.page-service .step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 980px) { .page-service .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .page-service .step-grid { grid-template-columns: 1fr; } }

.page-service .step-num {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.page-service .step-num.is-teal    { background: var(--teal);    color: var(--cream); }
.page-service .step-num.is-teal-dk { background: var(--teal-dk); color: var(--cream); }
.page-service .step-num.is-blue    { background: var(--blue);    color: var(--cream); }
.page-service .step-num.is-blue-dk { background: var(--blue-dk); color: var(--cream); }
.page-service .step-num.is-yellow  { background: var(--yellow);  color: var(--ink); }
.page-service .step-num.is-navy    { background: var(--cream);   color: var(--ink); }

.page-service .step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.page-service .step p  { font-size: .95rem; line-height: 1.55; }

/* Ink-black defaults have to invert inside the dark band. `strong` is the
   dangerous one: the global `strong { color: var(--ink) }` beats
   `.dark-section p`, which paints bold copy black-on-black. */
.page-service .dark-section h3     { color: var(--cream); }
.page-service .dark-section strong { color: var(--cream); }
.page-service .dark-section .step p { color: var(--cream-2); }

/* Four-up stat band (global .stats-row is three-up). */
.page-service .stats-row.is-four { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.page-service .stats-row.is-four .stat-num { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
@media (max-width: 1000px) { .page-service .stats-row.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .page-service .stats-row.is-four { grid-template-columns: 1fr; gap: 20px; } }

/* ----- Callout ----------------------------------------------- */
.page-service .callout {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-left-width: 10px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-top: 32px;
  font-size: 1.02rem;
  line-height: 1.55;
}
.page-service .callout p { color: var(--ink-soft); }
.page-service .callout strong { color: var(--ink); }

/* ----- FAQ accordion ----------------------------------------- */
.page-service .faq-list {
  max-width: 78ch;
  border-top: 2px solid var(--ink);
}
.page-service .faq-item { border-bottom: 2px solid var(--ink); }
.page-service .faq-item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color var(--t-fast);
}
.page-service .faq-item > summary::-webkit-details-marker { display: none; }
.page-service .faq-item > summary:hover { color: var(--teal-dk); }
.page-service .faq-item > summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transition: background var(--t-fast), color var(--t-fast);
}
.page-service .faq-item[open] > summary::after {
  content: "\2212";
  background: var(--teal);
  color: var(--cream);
}
.page-service .faq-item > p {
  padding: 0 4px 24px;
  margin: 0;
  max-width: 70ch;
  color: var(--ink-soft);
}
.page-service .faq-item > summary:focus-visible {
  outline: 2px solid var(--teal-dk);
  outline-offset: 2px;
}

/* ----- Tier-difference columns (web development) -------------- */
.page-service .tier-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .page-service .tier-notes { grid-template-columns: 1fr; } }
.page-service .tier-note .tier-note-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.page-service .tier-note .tier-note-name {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
}
.page-service .tier-note .tier-note-price {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  color: var(--ink-mute);
  white-space: nowrap;
}
.page-service .tier-note h3 { font-size: 1.3rem; margin-bottom: 10px; }
.page-service .tier-note p  { font-size: .95rem; line-height: 1.55; margin-bottom: .9em; }
.page-service .tier-note p:last-child { margin-bottom: 0; }
.page-service .tier-note { display: flex; flex-direction: column; }
.page-service .tier-note .fit {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-mute);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.page-service .tier-note .fit strong { color: var(--ink); }
