/* Services page (services.html and its French twin). Builds on the intent-page
   layout in theme-minimal.css; colours come from the theme tokens so the page
   follows the light and dark schemes. Product renders sit on a light "stage"
   in both schemes, like the app viewer. */

.svc-page {
  --svc-stage: #f3f3f1;
  --svc-stage-line: #e2e2dc;
}

.svc-page main { overflow: clip; }

/* The theme gives list items a disc; these lists draw their own markers. */
.svc-proof-line li,
.svc-jumps li,
.svc-card li,
.svc-community li,
.svc-outputs li,
.svc-page .intent-checklist li { list-style: none; }

/* The theme underlines every plain link with a long :not() chain; these are
   cards and pills, not inline links. */
.svc-page a.svc-example,
.svc-page .svc-jumps a,
.svc-page .svc-community a,
.svc-page a.svc-step-link,
.svc-page a.svc-link { text-decoration: none !important; }

.svc-page a.svc-link:hover { text-decoration: underline !important; text-underline-offset: 4px; }

.svc-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */
.svc-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.svc-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3.9vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.svc-hero .intent-hero__lead { margin-top: 22px; }

.svc-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.svc-proof-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.svc-proof-line li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Deliverable viewer: always light, like the app's studio backdrop */
.svc-viewer {
  color-scheme: light;
  --ink: #0a0a0b;
  --ink-2: #52525b;
  --ink-3: #62626a;
  --paper: #ffffff;
  --line: #e2e2dc;
  --accent: #0069d8;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--svc-stage-line);
  border-radius: var(--radius-lg);
  background: var(--svc-stage);
  color: var(--ink);
  box-shadow: 0 24px 60px -32px rgba(10, 10, 11, 0.35);
}

.svc-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #e9e9e5;
}

.svc-tabs button {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.svc-tabs button[aria-selected="true"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 10, 11, 0.08);
}

.svc-tabs button:focus-visible,
.svc-stepper button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.svc-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.svc-panel[hidden] { display: none; }

.svc-panel > img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Manual page: a document viewer with a scrollable printed page. The page
   follows maintenance-manual conventions: running header, task number,
   ANSI Z535-style signal words, numbered figure callouts, a parts table,
   steps keyed to the callouts, change bars and a page footer. */
.svc-panel--manual { background: #e6e6e2; }

.svc-panel--manual::after {
  position: absolute;
  inset: auto 0 0;
  height: 26px;
  background: linear-gradient(rgba(230, 230, 226, 0), #e6e6e2);
  content: "";
  pointer-events: none;
}

.svc-doc-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  font-size: 0.8rem;
}

.svc-doc-bar__name {
  overflow: hidden;
  flex: 1;
  color: var(--ink);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.svc-doc-bar__page { color: var(--ink-3); white-space: nowrap; }

.svc-doc-bar a {
  color: var(--accent);
  font-weight: 650;
  white-space: nowrap;
}

.svc-doc-scroll {
  position: absolute;
  inset: 42px 0 0;
  overflow-y: auto;
  padding: 16px 16px 30px;
  scrollbar-width: thin;
}

.svc-doc-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.svc-doc {
  max-width: 560px;
  margin: 0 auto;
  padding: 26px 30px 18px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.1), 0 10px 26px -14px rgba(10, 10, 11, 0.35);
  color: #1b1b1f;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Low specificity, so the classes below still set their own sizes; it beats
   the site-wide p size from Styles.css. */
.svc-doc :where(p) { margin: 0; font-size: inherit; line-height: inherit; }

.svc-doc__running {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding-bottom: 7px;
  border-bottom: 2px solid #0a0a0b;
  color: #3f3f46;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.svc-doc__running strong { color: #0a0a0b; font-weight: 700; }
.svc-doc__running strong,
.svc-doc__running span span,
.svc-doc__running > span:last-child { white-space: nowrap; }

.svc-doc__chapter {
  margin-top: 14px;
  color: #52525b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.svc-doc__title {
  margin-top: 2px;
  color: #0a0a0b;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.svc-doc__task {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  border: 1.5px solid #0a0a0b;
  font-size: 0.82rem;
  vertical-align: 2px;
}

.svc-doc__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
  padding: 7px 0;
  border-block: 1px solid #d4d4d0;
}

.svc-doc__meta dt {
  color: #52525b;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.svc-doc__meta dd { margin: 0; font-weight: 600; }

.svc-doc__notice {
  margin: 12px 0;
  border: 1.5px solid #0a0a0b;
}

.svc-doc__notice > p:last-child { padding: 7px 10px; }

.svc-doc__signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 10px;
  border-bottom: 1.5px solid #0a0a0b;
  color: #0a0a0b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-doc__notice--warning .svc-doc__signal { background: #ff7900; }
.svc-doc__notice--caution .svc-doc__signal { background: #ffd100; }

.svc-doc__signal svg { width: 15px; height: 15px; flex: none; }
.svc-doc__signal svg path:first-child { fill: #0a0a0b; }
.svc-doc__signal .svc-doc__mark { fill: none; stroke: #ff7900; stroke-linecap: round; stroke-width: 2.4; }

.svc-doc__figure {
  margin: 14px 0;
  border: 1px solid #d4d4d0;
}

.svc-doc__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.svc-doc__figure figcaption {
  padding: 7px 10px;
  border-top: 1px solid #d4d4d0;
  color: #3f3f46;
  font-size: 0.75rem;
}

.svc-doc__figure figcaption strong { color: #0a0a0b; }

.svc-doc__keys > span { white-space: nowrap; }

.svc-doc__key {
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin: 0 3px 0 8px;
  place-items: center;
  border: 1.5px solid #0a0a0b;
  border-radius: 50%;
  color: #0a0a0b;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.svc-doc__table {
  width: 100%;
  margin: 4px 0 14px;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.svc-doc__table caption {
  padding-bottom: 5px;
  color: #0a0a0b;
  font-weight: 700;
  text-align: left;
}

.svc-doc__table th,
.svc-doc__table td {
  padding: 4px 7px;
  border: 1px solid #c9c9c4;
  text-align: left;
  vertical-align: top;
}

.svc-doc__table th {
  background: #f1f1ee;
  color: #0a0a0b;
  font-weight: 700;
}

.svc-doc__table td:first-child,
.svc-doc__table td:last-child,
.svc-doc__table th:first-child,
.svc-doc__table th:last-child { width: 3.2em; text-align: center; }

.svc-doc__sub {
  margin-top: 12px;
  color: #0a0a0b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-doc__steps {
  margin: 6px 0 0;
  padding-left: 22px;
}

.svc-doc__steps li {
  position: relative;
  margin: 4px 0;
  padding-left: 2px;
  list-style: decimal;
}

.svc-doc__steps li::marker { font-weight: 700; }

/* Change bar: the line was revised in this revision. */
.svc-doc__changed::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: -40px;
  width: 3px;
  background: #0a0a0b;
  content: "";
}

.svc-doc code {
  padding: 0 4px;
  border-radius: 3px;
  background: #f1f1ee;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.svc-doc__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 18px;
  padding-top: 7px;
  border-top: 1px solid #d4d4d0;
  color: #52525b;
  font-size: 0.75rem;
}

.svc-doc__foot span:last-child { color: #0a0a0b; font-weight: 700; }

.svc-panel__foot {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.svc-panel__foot a {
  color: var(--accent);
  font-weight: 600;
}

/* 3D instruction panel */
.svc-panel--steps { background: var(--svc-stage); }

.svc-step-figure {
  position: absolute;
  inset: 0 0 112px;
  margin: 0;
}

.svc-step-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.svc-step-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 86px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.svc-step-card[hidden] { display: none; }

.svc-step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.svc-step-card p { margin: 0; }

.svc-step-card .svc-step-count {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.svc-step-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.svc-stepper {
  display: flex;
  gap: 6px;
}

.svc-stepper button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
}

.svc-stepper button:disabled {
  color: #b4b4ba;
  cursor: default;
}

.svc-step-link {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

/* AR panel */
.svc-panel--ar > img {
  object-fit: cover;
  object-position: 64% center;
}

.svc-panel--ar .svc-panel__foot {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(rgba(10, 10, 11, 0), rgba(10, 10, 11, 0.82));
  color: #f2f2f4;
}

.svc-viewer figcaption {
  margin: 12px 4px 2px;
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* At a glance */
.svc-glance {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.svc-glance__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 52px;
}

.svc-glance__head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: 30px;
}

.svc-glance__head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.svc-glance__head p:last-child {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.svc-glance dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.svc-glance dl > div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.svc-glance dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.svc-glance dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.svc-icon {
  display: inline-grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.svc-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Section heads */
.svc-head {
  max-width: 760px;
  margin: 0 0 36px;
}

.svc-head--center {
  margin-inline: auto;
  text-align: center;
}

.svc-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.045em;
}

.svc-head > p:last-child:not(.intent-section__eyebrow) {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

.svc-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 32px;
  padding: 0;
  list-style: none;
}

.svc-jumps a {
  display: block;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.svc-jumps a:hover { border-color: var(--ink); }

/* Service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.svc-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  scroll-margin-top: 110px;
}

.svc-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--svc-stage);
}

.svc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card__media--render img { object-fit: contain; padding: 6px 18px; }

.svc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 28px;
}

.svc-card__label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.svc-card__body > p {
  margin: 0 0 16px;
  color: var(--ink-2);
  line-height: 1.65;
}

.svc-card ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.svc-card li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.45;
}

.svc-card li::before {
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.svc-io {
  width: 100%;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.svc-io strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}


/* Machinery Regulation */
.svc-reg {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.svc-reg__visual {
  position: relative;
  margin: 0;
}

.svc-reg__visual img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.svc-reg__visual figcaption {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.85rem;
  text-align: center;
}


.svc-reg h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.045em;
}

.svc-reg__lead {
  margin: 16px 0 22px;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

.svc-reg h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.svc-reg .intent-checklist li { padding-block: 13px; }
.svc-reg .intent-checklist li::before { top: 14px; }

.svc-source {
  margin: 14px 0 24px;
  color: var(--ink-3);
  font-size: 0.88rem;
}

.svc-source a { color: var(--ink-2); }

.svc-reg .intent-callout p { color: var(--ink-2); }

/* Examples */
.svc-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.svc-example {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.svc-example:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.svc-example:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.svc-example__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--svc-stage);
}

.svc-example__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-example__media--page img { object-position: top center; }

.svc-example__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.svc-example__kind {
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-example h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.svc-example p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.svc-example__cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 650;
}

.svc-community {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 20px 40px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.svc-community p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.svc-community p strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.svc-community ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-community a {
  display: block;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.svc-community img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--svc-stage);
  object-fit: cover;
}

/* Who it's for */
.svc-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.svc-audience article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.svc-audience figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--svc-stage);
}

.svc-audience img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-audience__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 24px;
}

.svc-audience h3 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.svc-audience p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.svc-audience .svc-link { margin-top: auto; padding-top: 16px; }

/* Handover */
.svc-handover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.svc-handover h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.045em;
}

.svc-handover__lead {
  margin: 16px 0 20px;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

.svc-handover h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.svc-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.svc-handover__visual {
  position: relative;
  margin: 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--svc-stage-line);
  border-radius: var(--radius-lg);
  background: var(--svc-stage);
}

.svc-handover__visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2e2dc;
  border-radius: 12px;
  box-shadow: 0 22px 50px -30px rgba(10, 10, 11, 0.45);
}

.svc-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.svc-outputs li {
  padding: 6px 12px;
  border: 1px solid #d9d9d2;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #3f3f46;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Extras accordion */
.svc-extras {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.svc-extras .svc-head { margin-bottom: 0; }
.svc-extras .intent-faq { width: 100%; }

/* Process */
.svc-process.intent-workflow { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Final call to action */
.svc-quote.intent-final-cta { align-items: center; }

.svc-quote__form {
  display: grid;
  gap: 10px;
  min-width: min(340px, 100%);
}

.svc-quote__form label {
  color: var(--on-surface-inverse-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.svc-quote__form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #55555c;
  border-radius: 12px;
  background: #1d1d22;
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
}

.svc-quote__form select:focus-visible {
  outline: 3px solid #6cb6ff;
  outline-offset: 2px;
}

.svc-quote__form .button-primary { justify-content: center; text-align: center; }

.svc-quote__alt {
  margin: 6px 0 0;
  color: var(--on-surface-inverse-2);
  font-size: 0.9rem;
}

.svc-page .svc-quote__alt a {
  color: var(--on-surface-inverse) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1100px) {
  .svc-glance dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-community { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .svc-hero { grid-template-columns: 1fr; padding-top: 24px; }
  .svc-viewer { max-width: 680px; }
  .svc-glance__head,
  .svc-reg,
  .svc-handover,
  .svc-extras { grid-template-columns: 1fr; }
  .svc-reg__visual { max-width: 560px; }
  .svc-examples,
  .svc-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-process.intent-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .svc-hero { width: min(100% - 30px, 1180px); padding-bottom: 56px; }
  .svc-hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .svc-wrap,
  .svc-glance__inner { width: min(100% - 30px, 1180px); }
  .svc-viewer { padding: 10px; }
  .svc-tabs { border-radius: 16px; }
  /* Longer labels (French) wrap to two lines instead of running out of the bar. */
  .svc-tabs button { padding: 7px 6px; border-radius: 12px; font-size: 0.82rem; line-height: 1.2; white-space: normal; }
  .svc-panel { aspect-ratio: 4 / 4.9; }
  .svc-step-figure { inset: 34px 0 122px; }
  .svc-doc-scroll { padding: 10px 10px 26px; }
  .svc-doc { padding: 18px 16px 14px; }
  .svc-doc__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-doc__changed::before { left: -34px; }
  .svc-step-card { grid-template-columns: auto minmax(0, 1fr); }
  .svc-stepper { grid-column: 1 / -1; justify-content: flex-end; margin-top: -4px; }
  .svc-step-card { min-height: 0; }
  .svc-glance dl,
  .svc-grid,
  .svc-examples,
  .svc-audience { grid-template-columns: 1fr; }
  .svc-card__body { padding: 22px 20px 24px; }
  .svc-community ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-process.intent-workflow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-example { transition: none; }
  .svc-example:hover { transform: none; }
}
