/* Service pages only (body.pg-service), round 3, 2026-11-16. Loaded after style.css by partials/head.html.
   1. Width caps: every band keeps its full-width background, but its content stops at --sv-max (the hero, the
      calculator band and the closing band at --sv-wide), so nothing stretches on 1920-2560 px screens.
   2. One accent per page: the service colour (body.sv-<id>) on the hero eyebrow, the hero's highlighted word and the
      section headings' gradient word.
   3. Section rhythm: plain / tinted band / plain / dark card / plain / tinted band.
   4. The example strip (partials/example-card.html).
   5. FAQ without the sticky heading (it slid over the Related links on wide screens). */

.pg-service {
  --sv-max: 1320px;
  --sv-wide: 1640px;
  --sv-c1: #3d4bff; --sv-c2: #7a2bd9; --sv-ink: #4b2bd0;
  --sv-grad: linear-gradient(100deg, var(--sv-c1), var(--sv-c2));
  --sv-tint: #f4f3fa;
}
.sv-ai       { --sv-c1: #7a2bd9; --sv-c2: #ff3d7f; --sv-ink: #6a1fc4; --sv-tint: #f7f1fd; }
.sv-software { --sv-c1: #3d4bff; --sv-c2: #7a2bd9; --sv-ink: #3440e0; --sv-tint: #f1f2ff; }
.sv-websites { --sv-c1: #2f5bff; --sv-c2: #0aa5c8; --sv-ink: #1f4fd6; --sv-tint: #eff6fd; }
.sv-seo      { --sv-c1: #0c9a68; --sv-c2: #3d4bff; --sv-ink: #0a7a52; --sv-tint: #eef8f3; }
.sv-content  { --sv-c1: #ff6a1a; --sv-c2: #ff3d7f; --sv-ink: #b8420c; --sv-tint: #fff4ee; }
.sv-branding { --sv-c1: #e0257a; --sv-c2: #7a2bd9; --sv-ink: #b0175a; --sv-tint: #fdf1f6; }
.sv-bundles  { --sv-c1: #3d4bff; --sv-c2: #ff6a1a; --sv-ink: #5a33d6; --sv-tint: #f5f2fb; --sv-grad: var(--grad); }

/* 1. width caps */
.pg-service main > .block { padding-left: max(var(--gut), calc((100% - var(--sv-cap, var(--sv-max))) / 2)); padding-right: max(var(--gut), calc((100% - var(--sv-cap, var(--sv-max))) / 2)); }
.pg-service main > .ph-wrap, .pg-service main > .cta-wrap, .pg-service main > .calc-teaser-wrap { --sv-cap: var(--sv-wide); }
.pg-service .nav, .pg-service .foot { padding-left: max(var(--gut), calc((100% - var(--sv-wide)) / 2)); padding-right: max(var(--gut), calc((100% - var(--sv-wide)) / 2)); }
.pg-service main > .fn-notes { max-width: min(var(--sv-wide), calc(100% - 2 * var(--gut))); margin: 12px auto 0; }
.pg-service .sec-head { max-width: 820px; }
.pg-service .sv-tiers .pr-static, .pg-service .pr-tiers { max-width: none; }

/* 2. the service colour */
.pg-service .ph-eyebrow { background: #fff; border-color: #fff; color: var(--sv-ink); font-weight: 500; box-shadow: 0 12px 30px -16px rgba(20, 10, 60, .55); }
.pg-service .ph-eyebrow .dot { background: var(--sv-grad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sv-c2) 25%, transparent); }
.pg-service .ph-title em { color: var(--sv-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pg-service .ph-title em { background: var(--sv-grad), #fff; -webkit-background-clip: text, padding-box; background-clip: text, padding-box; color: transparent; }
}
.pg-service .sec-head .sec-title em, .pg-service .sv-for .sec-title em, .pg-service .faq-head .sec-title em, .pg-service .sv-get-title em { background: var(--sv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-service .sv-eyebrow { color: var(--sv-ink); }
.pg-service .ticks li::before { background: var(--sv-grad); }
.pg-service .step-out .step-n { background: var(--sv-grad); -webkit-background-clip: text; background-clip: text; }
.pg-service .step-out .out .mono { color: var(--sv-ink); }

/* 3. rhythm and legible type */
.pg-service .sv-sec { padding-top: clamp(44px, 6vw, 96px); }
.pg-service .sv-two { gap: clamp(24px, 5vw, 80px); align-items: center; }
.pg-service .sv-for .sec-title { font-size: clamp(28px, 2.2vw + 12px, 52px); line-height: 1.02; text-wrap: balance; }
.pg-service .sv-for .sv-lead { font-size: clamp(19px, .6vw + 15px, 23px); line-height: 1.4; margin-top: 22px; }
.pg-service .sv-for p { font-size: 1.05rem; }
.pg-service .sv-get { background: var(--sv-tint); border: 1px solid color-mix(in srgb, var(--sv-c1) 14%, transparent); }
.sv-get-title { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 1vw + 14px, 30px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.pg-service .sv-get .ticks li { font-size: 1.05rem; font-weight: 600; }
.pg-service .sv-note { font-size: .98rem; color: var(--ink-2); }

.pg-service .sp-sec { background: var(--sv-tint); }
.pg-service .step-out { border-color: transparent; box-shadow: 0 20px 40px -34px rgba(20, 10, 80, .45); }
.pg-service .step-out h3 { font-size: 1.2rem; }
.pg-service .step-out p { font-size: 1rem; }
.pg-service .step-out .out { font-size: 1rem; }

.pg-service .sv-how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px clamp(18px, 3vw, 40px); max-width: none; font-size: 1rem; color: var(--ink-2); }
.pg-service .sv-how li { position: relative; padding-left: 18px; }
.pg-service .sv-how li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sv-grad); }

.sv-own-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(22px, 4vw, 64px); align-items: start; padding: clamp(26px, 4.4vw, 68px); border-radius: var(--r); background: var(--ink); color: #fff; }
.sv-own-card .sec-title { color: #fff; }
.sv-own-card .sec-title em { background: var(--sv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.35) saturate(1.1); }
.pg-service .sv-own-card .ticks { margin: 0; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(18px, 3vw, 40px); }
.sv-own-card .ticks li { color: rgba(255, 255, 255, .9); font-size: 1.04rem; }

/* 4. example strip */
.ex-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ex { min-width: 0; }
.ex-in { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ex-in:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(20, 10, 80, .5); }
.ex-media { position: relative; aspect-ratio: 16 / 10; border-radius: 0; display: grid; place-items: center; }
.ex-shot { position: absolute; z-index: 1; left: 7%; right: 7%; top: 9%; bottom: 0; padding-top: 16px; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff
  radial-gradient(circle at 12px 8px, #ff6159 3px, transparent 3.5px) no-repeat,
  radial-gradient(circle at 24px 8px, #ffbd2e 3px, transparent 3.5px) no-repeat,
  radial-gradient(circle at 36px 8px, #28c840 3px, transparent 3.5px) no-repeat; box-shadow: 0 30px 60px -26px rgba(10, 0, 40, .6); transition: transform .5s var(--ease); }
.ex-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ex-shot.is-portrait { left: 50%; right: auto; top: 7%; bottom: 7%; width: auto; aspect-ratio: 9 / 19; transform: translateX(-50%); padding: 4px; border-radius: 20px; background: #0b0b10; }
.ex-shot.is-portrait img { border-radius: 16px; }
.ex-phone { position: absolute; z-index: 2; right: 4%; bottom: 6%; width: 18%; aspect-ratio: 390 / 844; padding: 3px; border-radius: 14px; background: #0b0b10; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.ex-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 11px; }
.ex.has-phone .ex-shot { right: 16%; }
.ex-in:hover .ex-shot:not(.is-portrait) { transform: translateY(-6px); }
.ex-in:hover .ex-phone { transform: translateY(-10px) rotate(2deg); }
.ex-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ex-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 26px); flex: 1; }
.ex-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); }
.ex-status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #e6f6ee; color: #0b6b45; }
.ex-own .ex-status { background: #eef0ff; color: #3440e0; }
.ex-concept .ex-status { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.ex-day .ex-status { background: #f1e9fb; color: #6a1fc4; }
.ex-tool .ex-status { background: var(--ink); color: #fff; }
.ex-body h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(21px, .9vw + 15px, 30px); line-height: 1; letter-spacing: -.02em; }
.ex-link { color: inherit; text-decoration: none; }
.ex-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ex-line { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.ex-role { margin: 0; font-size: .95rem; color: var(--ink-2); }
.ex-role b { color: var(--ink); }
.ex-note { margin: 0; color: var(--muted); }
.ex-cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .02em; }
.ex-in:hover .ex-cta .chev:not(.chev-out) { transform: translateX(3px) rotate(45deg); }
.ex-in:hover .ex-cta .chev-out { transform: translate(2px, -2px); }
.ex .fn-ref a { position: relative; z-index: 4; }
.sv-ex .fn-notes { margin-left: auto; margin-right: auto; }

/* the first card, and a card left alone on the last row, lie on their side */
@media (min-width: 861px) {
  .ex-lead, .ex:not(.ex-lead):last-child:nth-child(even) { grid-column: 1 / -1; }
  .ex-lead .ex-in, .ex:not(.ex-lead):last-child:nth-child(even) .ex-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .ex-lead .ex-body, .ex:not(.ex-lead):last-child:nth-child(even) .ex-body { justify-content: center; padding: clamp(24px, 3vw, 48px); gap: 14px; }
  .ex-lead .ex-body h3 { font-size: clamp(28px, 1.8vw + 14px, 46px); }
  .ex-lead .ex-line { font-size: clamp(17px, .4vw + 14px, 20px); }
  .ex-lead .ex-cta { margin-top: 10px; }
}

/* 5. FAQ: heading beside the questions, never sticky; Related in its own full-width row */
.pg-service .sv-faq { max-width: none; margin: 0; background: var(--sv-tint); grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 72px); }
.pg-service .sv-faq .faq-head { position: static; margin: 0; display: grid; gap: 14px; align-content: start; }
.pg-service .sv-faq .faq-head .sec-title { margin-top: 0; font-size: clamp(30px, 2.4vw + 12px, 58px); }
.sv-faq-more { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.pg-service .acc-faq .acc-item { background: #fff; }
.pg-service .acc-faq .acc-item.open { background: #fff; box-shadow: 0 0 0 2px color-mix(in srgb, var(--sv-c1) 35%, transparent); }
.pg-service .sv-faq .related { grid-column: 1 / -1; margin-top: clamp(8px, 2vw, 20px); padding-top: clamp(20px, 2.6vw, 32px); border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pg-service .sv-faq .related .sv-h { margin: 0; }
.pg-service .related a { background: #fff; }

@media (max-width: 1000px) {
  .pg-service .sv-faq { grid-template-columns: minmax(0, 1fr); }
  .sv-own-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .ex-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pg-service .sv-how, .pg-service .sv-own-card .ticks { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ex-in, .ex-shot, .ex-phone { transition: none; }
  .ex-in:hover, .ex-in:hover .ex-shot:not(.is-portrait), .ex-in:hover .ex-phone { transform: none; }
}
