/* Service guide — shared dark page, compact type and native content disclosure. */
html body.signature-live.sgd-body,
html body.signature-live main.sgd-main { background: #00211e !important; color: #f4fff8; }
html body.signature-live main.sgd-main { padding: 0 !important; }
.sgd-shell {
  --sgd-muted: #b5cbc2;
  --sgd-line: rgba(185, 213, 201, .23);
  width: min(1600px, calc(100% - 2 * clamp(22px, 4vw, 72px)));
  margin: 0 auto;
  padding-top: calc(var(--dsn-header-height, 88px) + 42px);
}
.sgd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--sgd-muted); font-size: 12px; }
.sgd-breadcrumb a { color: #f4fff8; }
.sgd-breadcrumb > span { opacity: .8; }
.sgd-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 88px); min-height: 610px; padding-block: 64px 80px; }
.sgd-kicker { margin: 0 0 20px; color: #d5fb09; font-size: 12px !important; font-weight: 550; letter-spacing: .035em; }
html body.signature-live main.sgd-main .sgd-hero h1 {
  max-width: 12ch; margin: 0 0 26px; color: #f4fff8;
  font-size: clamp(38px, 5vw, 74px) !important; line-height: 1.07 !important;
  font-weight: 620 !important; letter-spacing: -.05em !important;
}
.sgd-intro { max-width: 47ch; margin: 0 0 32px; color: var(--sgd-muted); font-size: 17px !important; line-height: 1.65; }
.sgd-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 13px 19px; border-radius: 5px; background: #d5fb09; color: #00211e !important; font-size: 13px; font-weight: 650; text-decoration: none; transition: background .25s, transform .35s; }
.sgd-cta:hover { background: #e4ff69; transform: translateY(-2px); }
.sgd-text-link { display: inline-flex; align-items: center; gap: 9px; padding-block: 14px; color: #f4fff8; font-size: 13px; }
.sgd-hero-copy > .sgd-text-link { margin-left: 20px; }
.sgd-visual { min-width: 0; width: 100%; margin: 0; }
.sgd-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.sgd-visual figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; color: #a0bdaf; font-size: 11px; }
.sgd-live-dot { width: 5px; height: 5px; background: #d5fb09; border-radius: 50%; box-shadow: 0 0 12px #d5fb0940; }
.sgd-orbit { transform-origin: 331px 206px; animation: sgd-orbit 32s linear infinite; }
.sgd-paths { stroke-dasharray: 6 7; animation: sgd-flow 18s linear infinite; }
.sgd-signal { transform-origin: 158px 218px; animation: sgd-pulse 4s ease-in-out infinite; }
@keyframes sgd-orbit { to { transform: rotate(360deg); } }
@keyframes sgd-flow { to { stroke-dashoffset: -156; } }
@keyframes sgd-pulse { 50% { opacity: .55; transform: scale(.85); } }
.sgd-problems, .sgd-scope, .sgd-process, .sgd-work, .sgd-close { padding-block: clamp(60px, 7vw, 100px); }
.sgd-section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: 38px; }
.sgd-section-head:has(> .sgd-kicker) { display: block; }
html body.signature-live main.sgd-main h2 { margin: 0; max-width: 21ch; font-size: clamp(28px, 3.1vw, 46px) !important; line-height: 1.15 !important; font-weight: 600 !important; letter-spacing: -.035em !important; }
html body.signature-live main.sgd-main h3 { margin: 0 0 14px; font-size: clamp(20px, 1.75vw, 27px) !important; line-height: 1.25 !important; font-weight: 580 !important; letter-spacing: -.025em !important; }
.sgd-number { color: #d5fb09; font-size: 11px; font-weight: 500; }
.sgd-problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(25px, 4vw, 68px); }
.sgd-problem-grid article { min-width: 0; padding-top: 25px; box-shadow: inset 0 1px var(--sgd-line); }
.sgd-problem-grid .sgd-number { display: block; margin-bottom: 28px; }
.sgd-problem-grid p, .sgd-scope-intro > p:last-child, .sgd-process p, .sgd-close p { color: var(--sgd-muted); line-height: 1.7; font-size: 15px; }
.sgd-scope { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(40px, 8vw, 140px); }
.sgd-scope-intro { position: sticky; top: calc(var(--dsn-header-height, 88px) + 35px); }
.sgd-scope-intro > p:last-child { max-width: 36ch; margin-top: 24px; }
.sgd-accordions { min-width: 0; box-shadow: 0 -1px var(--sgd-line); }
.sgd-accordions details { box-shadow: inset 0 -1px var(--sgd-line); }
.sgd-accordions summary { display: grid; grid-template-columns: 25px minmax(0, 1fr) 20px; align-items: start; gap: 14px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 18px; line-height: 1.35; }
.sgd-accordions summary::-webkit-details-marker { display: none; }
.sgd-accordions summary .sgd-number { padding-top: 5px; }
.sgd-plus { color: #d5fb09; font-size: 24px; line-height: 1; transition: transform .3s; }
.sgd-accordions details[open] .sgd-plus { transform: rotate(45deg); }
.sgd-prose { padding: 0 34px 28px 39px; color: var(--sgd-muted); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.sgd-prose p { margin: 0 0 18px; }
.sgd-prose li { margin-bottom: 10px; }
.sgd-prose a { color: #d5fb09; text-decoration: underline; text-underline-offset: 3px; }
.sgd-prose strong { color: #f4fff8; }
.sgd-prose img { max-width: 100%; height: auto; }
.sgd-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 70px); list-style: none; counter-reset: process; padding: 0; margin: 0; }
.sgd-process li { counter-increment: process; min-width: 0; }
.sgd-process li::before { content: '0' counter(process); display: block; margin-bottom: 30px; color: #d5fb09; font-size: 12px; }
.sgd-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.sgd-work-grid > a { display: block; min-width: 0; }
.sgd-work-grid figure { margin: 0 0 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #082d27; }
.sgd-work-grid img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 1s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.sgd-work-grid a:is(:hover, :focus-visible) img { filter: grayscale(0); transform: scale(1.025); }
.sgd-work-grid > a > span { display: block; color: var(--sgd-muted); margin-bottom: 12px; font-size: 12px; }
.sgd-work-grid h3 { display: flex; justify-content: space-between; gap: 12px; color: #f4fff8; }
.sgd-work-grid i { font-style: normal; color: #d5fb09; }
.sgd-close { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 35px; }
.sgd-close p { max-width: 48ch; margin-top: 22px; }
.sgd-close .sgd-cta { flex-shrink: 0; margin-bottom: 15px; }
.sgd-main :is(a, summary):focus-visible { outline: 2px solid #d5fb09 !important; outline-offset: 5px; }
.sgd-scope { scroll-margin-top: 110px; }
@media (max-width: 900px) {
  .sgd-hero { grid-template-columns: 1fr; gap: 20px; padding-block: 48px; }
  .sgd-visual { max-width: 570px; justify-self: center; }
  .sgd-scope { grid-template-columns: 1fr; gap: 34px; }
  .sgd-scope-intro { position: static; }
  .sgd-close { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .sgd-shell { padding-top: calc(var(--dsn-header-height, 76px) + 30px); }
  .sgd-breadcrumb { font-size: 11px; }
  .sgd-hero { min-height: auto; padding-bottom: 25px; }
  .sgd-hero-copy > .sgd-text-link { margin-left: 0; margin-top: 8px; display: flex; }
  .sgd-cta { gap: 12px; font-size: 12px; max-width: 100%; }
  .sgd-visual { margin-inline: -10px; width: calc(100% + 20px); }
  .sgd-problem-grid, .sgd-process ol, .sgd-work-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sgd-problem-grid .sgd-number, .sgd-process li::before { margin-bottom: 18px; }
  .sgd-accordions summary { font-size: 16px; gap: 10px; }
  .sgd-prose { padding-inline: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sgd-orbit, .sgd-paths, .sgd-signal { animation: none; }
  .sgd-cta, .sgd-plus, .sgd-work-grid img { transition: none; }
}
body[data-motion='off'] :is(.sgd-orbit, .sgd-paths, .sgd-signal) { animation: none; }
/* The guide always uses the light wordmark on the dark header. */
html body.sgd-body .dsn-header .dsn-logo img { content: url('../../../public/brand/logo.svg') !important; }
html body.sgd-body .dsn-header .dsn-wordmark { --dsn-wordmark-ink: #f4fff8; --dsn-wordmark-tag: #d5fb09; }

/* Archive-wide variants, linked topics and long CMS titles. */
.sgd-hero-copy { min-width: 0; }
.sgd-hero-copy { animation:sgd-arrive .85s cubic-bezier(.22,.72,.23,1) both; }
.sgd-hero > .sgd-visual { animation:sgd-arrive 1.1s .08s cubic-bezier(.22,.72,.23,1) both; }
@keyframes sgd-arrive { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
.sgd-hero h1, .sgd-hero h2, .sgd-hero p { overflow-wrap: anywhere; }
.sgd-tags { display:flex; flex-wrap:wrap; gap:10px 22px; margin:26px 0 0; padding:0; list-style:none; color:#b5cbc2; font-size:12px; }
.sgd-tags li::before { content:'·'; color:#d5fb09; margin-right:8px; }
.sgd-related { padding-block:60px 90px; }
.sgd-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.sgd-related-grid a { display:flex; flex-direction:column; gap:18px; padding:26px; background:#092b25; border:1px solid #b5cbc22b; border-radius:8px; transition:background .3s,transform .4s; }
.sgd-related-grid a:hover { background:#10382d; transform:translateY(-3px); }
.sgd-related-grid small { color:#d5fb09; font-size:11px; }
.sgd-related-grid strong { font-size:20px; font-weight:550; line-height:1.35; }
.sgd-related-grid span { color:#b5cbc2; font-size:12px; }
.sgd-visual .sgd-pane { transform-box:fill-box; transform-origin:center; animation:sgd-float 8s ease-in-out infinite alternate; }
.sgd-visual .sgd-pane:nth-of-type(2) { animation-delay:-4s; }
@keyframes sgd-float { to { transform:translateY(-7px); } }
@media (max-width:600px) { .sgd-related-grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .sgd-visual .sgd-pane, .sgd-hero-copy, .sgd-hero > .sgd-visual { animation:none; } .sgd-related-grid a { transition:none; } }
body[data-motion='off'] :is(.sgd-visual .sgd-pane, .sgd-hero-copy, .sgd-hero > .sgd-visual) { animation:none; }
