/* Focused AWS healthcare solution brief. Shared brand tokens live in style.css. */
.apn-page {
  --apn-amber: #eebd78;
  --apn-border: rgba(198, 204, 232, .14);
  --apn-muted: #a9adbf;
  --apn-green: #a5dcb9;
  background: var(--navy);
  text-wrap: pretty;
}
.apn-page [hidden] { display: none !important; }
.apn-page :is(a, button, summary):focus-visible { outline: 2px solid var(--apn-amber); outline-offset: 6px; }
.apn-page :is(section, main, [role="tabpanel"]) { scroll-margin-top: 105px; }
.apn-page :is(h1, h2, h3, h4) { text-wrap: balance; }
.apn-page :is(a, button) { -webkit-tap-highlight-color: transparent; }
.apn-page main .btn-p { justify-content: center; }
.apn-page main .btn-p span { font-size: 16px; }
.apn-skip { position: fixed; top: 12px; left: 16px; padding: 10px 16px; z-index: 200; background: white; color: #111322; border-radius: 6px; transform: translateY(-160%); }
.apn-skip:focus { transform: translateY(0); }

/* The hero diagram is all native HTML and CSS. */
.apn-hero { padding: 80px 0 0; background: radial-gradient(ellipse 900px 420px at 50% -60px, rgba(250, 36, 60, .13), transparent 65%); }
.apn-overline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
.apn-overline .eyebrow { margin: 0; }
.apn-powered-by { display: inline-flex; flex-shrink: 0; padding: 8px 0; }
.apn-powered-by img { display: block; width: 112px; height: auto; }
.apn-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.apn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apn-product { font-size: 15px; font-weight: 600; color: var(--red-dim); margin-bottom: 18px; }
.apn-hero h1 { font-size: clamp(38px, 4.8vw, 62px); font-weight: 900; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 24px; }
.apn-hero h1 span { color: var(--red); }
.apn-lead { font-size: 18px; line-height: 1.65; color: var(--gray-300); max-width: 580px; }
.apn-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 32px 0 24px; }
.apn-text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--gray-200); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.6; }
.apn-text-link:hover { color: var(--red-dim); }
.apn-text-link span { color: var(--red-dim); font-size: 18px; flex-shrink: 0; }
.apn-status { max-width: 470px; color: var(--apn-muted); font-size: 11px; line-height: 1.7; padding-left: 12px; border-left: 2px solid rgba(238, 189, 120, .5); }
.apn-status > span { display: block; color: var(--apn-amber); font-weight: 600; }
.apn-hero-visual { min-width: 0; padding: 24px; background: linear-gradient(135deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--apn-border); border-radius: 18px; box-shadow: 0 28px 65px -20px rgba(0, 0, 0, .4); }
.apn-visual-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.apn-mini-label { display: block; color: var(--apn-muted); font-size: 10px; letter-spacing: .06em; font-weight: 600; text-transform: uppercase; }
.apn-live-label { color: var(--apn-green); font-size: 10px; display: inline-flex; align-items: center; gap: 6px; }
.apn-live-label::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.apn-local-boundary { border: 1px dashed rgba(190, 198, 229, .27); border-radius: 11px; padding: 16px; background: rgba(13, 17, 30, .25); }
.apn-boundary-label { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--gray-300); margin-bottom: 16px; }
.apn-boundary-label svg { width: 15px; height: 15px; fill: none; stroke: var(--gray-300); stroke-width: 1.5; flex-shrink: 0; }
.apn-source-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.apn-source-pair > div { border: 1px solid var(--apn-border); background: #202438; border-radius: 8px; padding: 12px; }
.apn-line-icon { display: block; color: #bbc4e0; font-size: 20px; line-height: 1; margin-bottom: 9px; }
.apn-source-pair strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.apn-source-pair small { display: block; font-size: 10px; line-height: 1.5; margin-top: 2px; color: var(--apn-muted); }
.apn-flow-line { height: 20px; width: 1px; margin: 0 auto; background: linear-gradient(var(--apn-border), rgba(240,86,93,.7)); position: relative; }
.apn-flow-line::after { content: ''; width: 5px; height: 5px; border-right: 1px solid var(--red-dim); border-bottom: 1px solid var(--red-dim); transform: rotate(45deg); position: absolute; bottom: 4px; left: -2px; }
.apn-privacy-node { padding: 12px; text-align: center; background: rgba(240, 86, 93, .07); border: 1px solid rgba(240, 86, 93, .29); border-radius: 8px; }
.apn-privacy-node .apn-mini-label { color: #f4a3a8; font-size: 9px; }
.apn-privacy-node strong { display: block; font-size: 13px; font-weight: 600; margin: 3px 0; }
.apn-privacy-node > span:last-child { display: block; font-size: 10px; color: var(--gray-300); }
.apn-cloud-connector { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 37px; font-size: 9px; color: var(--apn-muted); }
.apn-cloud-connector span:first-child, .apn-cloud-connector span:last-child { color: var(--apn-amber); font-size: 15px; }
.apn-bedrock-node { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 17px; border: 1px solid rgba(238, 189, 120, .42); border-radius: 9px; background: linear-gradient(100deg, rgba(238, 189, 120, .08), rgba(238, 189, 120, .02)); }
.apn-bedrock-node .apn-mini-label { font-size: 9px; color: var(--apn-amber); margin-bottom: 3px; }
.apn-bedrock-node strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.apn-aws-mark { font-size: 15px; font-weight: 700; color: var(--apn-amber); border-bottom: 2px solid var(--apn-amber); border-radius: 0 0 45% 45%; padding: 0 3px 2px; }
.apn-review-node { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: rgba(119, 183, 148, .05); border: 1px solid rgba(165, 220, 185, .25); border-radius: 9px; }
.apn-review-check { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border: 1px solid rgba(165, 220, 185, .34); border-radius: 50%; color: var(--apn-green); font-size: 12px; }
.apn-review-node strong { display: block; font-size: 12px; font-weight: 600; }
.apn-review-node div > span { display: block; font-size: 10px; color: var(--gray-300); margin-top: 2px; }
.apn-visual-caption { font-size: 9px; color: var(--apn-muted); text-align: center; margin-top: 16px; }
.apn-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 58px; padding: 27px 0; border-block: 1px solid var(--apn-border); }
.apn-facts > div { padding: 0 28px; border-left: 1px solid var(--apn-border); }
.apn-facts > div:first-child { padding-left: 0; border-left: 0; }
.apn-facts dt { font-size: 10px; color: var(--apn-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.apn-facts dd { font-size: 15px; font-weight: 600; }

/* Identify flow8's role at each local processing boundary. */
.apn-infra-logo { display: block; width: 76px; height: 22px; max-width: 100%; object-fit: contain; flex-shrink: 0; }
.apn-source-pair .apn-infra-logo { width: 62px; height: 18px; margin: 1px 0 10px; }
.apn-node-brand { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 9px; }
.apn-node-brand > span { color: #f4a3a8; font-size: 11px; }
.apn-review-node > .apn-infra-logo { width: 62px; height: 18px; }
.apn-zone-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; min-height: 43px; padding-top: 17px; }
.apn-zone-brand > span:last-child { color: var(--gray-300); font-size: 11px; }
.apn-zone-brand-aws > span:last-child { color: var(--apn-amber); }
.apn-control-rail > .apn-rail-brand { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 9px 14px; }
.apn-rail-brand .apn-infra-logo { width: 69px; height: 20px; }
.apn-rail-brand > span { font-size: 11px; line-height: 1.8; }

/* Section rhythm */
.apn-section { padding: 80px 0; }
.apn-section-alt { background: var(--navy-2); border-block: 1px solid rgba(198, 204, 232, .05); }
.apn-kicker { color: var(--red-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 12px; }
.apn-page h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.02em; line-height: 1.12; font-weight: 900; }
.apn-section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 48px; margin-bottom: 48px; }
.apn-section-heading > p { color: var(--gray-300); font-size: 14px; line-height: 1.8; padding-bottom: 2px; }
.apn-case-strip { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 30px; padding: 25px 28px; margin-bottom: 39px; border: 1px solid var(--apn-border); border-radius: 16px; background: rgba(255,255,255,.018); }
.apn-case-strip > div { align-self: start; }
.apn-case-strip > div > span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--apn-muted); font-weight: 600; }
.apn-case-strip > div:last-child > span { color: #f4a3a8; }
.apn-case-strip p { margin-top: 7px; color: var(--gray-200); font-size: 13px; line-height: 1.7; }
.apn-case-arrow { color: var(--red-dim); font-size: 22px; }

/* Progressively enhanced, accessible workflow tabs */
.apn-workflow-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; border-bottom: 1px solid var(--apn-border); margin-bottom: 35px; }
.apn-workflow-tabs button { appearance: none; font-family: inherit; background: transparent; color: var(--gray-300); border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; padding: 15px 16px 18px; text-align: left; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.apn-workflow-tabs button > span { color: var(--apn-muted); font-size: 10px; margin-right: 8px; }
.apn-workflow-tabs small { display: block; margin: 5px 0 0 23px; color: var(--apn-muted); font-size: 10px; font-weight: 400; }
.apn-workflow-tabs button:hover { color: white; background: rgba(255,255,255,.025); }
.apn-workflow-tabs button[aria-selected="true"] { color: white; border-bottom-color: var(--red-dim); background: linear-gradient(0deg, rgba(240, 86, 93, .07), transparent); }
.apn-workflow-tabs button[aria-selected="true"] > span { color: var(--red-dim); }
.apn-workflow-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 7px 0 0; }
.apn-workflow-panel + .apn-workflow-panel:not([hidden]) { margin-top: 34px; }
.apn-workflow-copy { padding-top: 12px; }
.apn-workflow-copy h3 { font-size: 30px; letter-spacing: -.02em; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.apn-workflow-copy > p:not(.apn-kicker) { color: var(--gray-300); font-size: 14px; line-height: 1.8; }
.apn-checklist { list-style: none; margin-top: 23px; display: grid; gap: 10px; }
.apn-checklist li { position: relative; color: var(--gray-200); padding-left: 24px; font-size: 13px; line-height: 1.65; }
.apn-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--red-dim); font-size: 12px; }
.apn-example { min-width: 0; background: var(--navy-3); border: 1px solid rgba(198, 204, 232, .2); border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0, 0, 0, .11); }
.apn-example-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--apn-border); background: rgba(255,255,255,.018); }
.apn-example-head > span:first-child { font-size: 11px; color: var(--gray-200); font-weight: 600; }
.apn-example-head > span:last-child { font-size: 9px; color: var(--apn-muted); }
.apn-example-body { padding: 20px; }
.apn-example-context { color: var(--apn-muted); font-size: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.apn-example-context code { font-size: 9px; padding: 3px 6px; border: 1px solid var(--apn-border); border-radius: 4px; color: var(--gray-200); }
.apn-message { padding: 16px; background: #22263b; border: 1px solid var(--apn-border); border-radius: 8px; font-size: 13px; line-height: 1.8; color: var(--gray-200); }
.apn-message + .apn-message { margin-top: 13px; }
.apn-message .apn-mini-label { color: #f4a3a8; margin-bottom: 7px; font-size: 9px; }
.apn-message-user { margin-left: 34px; background: rgba(108, 126, 177, .12); border-color: rgba(134,153,206,.24); }
.apn-example-footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.apn-pill { font-size: 9px; color: var(--gray-300); border: 1px solid var(--apn-border); padding: 4px 8px; border-radius: 4px; }
.apn-pill-green { border-color: rgba(165,220,185,.21); color: var(--apn-green); background: rgba(165,220,185,.04); }
.apn-example-note { padding: 12px 20px; border-top: 1px solid var(--apn-border); color: var(--apn-muted); font-size: 9px; line-height: 1.6; }
.apn-example-rule { border-left: 2px solid var(--apn-amber); margin-top: 18px; padding-left: 12px; }
.apn-example-rule span { display: block; font-size: 10px; color: var(--apn-muted); }
.apn-example-rule strong { display: block; font-size: 12px; font-weight: 500; color: var(--gray-200); margin-top: 4px; }

/* Architecture and technical expansion */
.apn-architecture { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.12fr) minmax(0, 2fr); gap: 13px; margin-top: 42px; }
.apn-architecture-zone { min-width: 0; padding: 17px 16px 20px; border: 1px dashed rgba(198, 204, 232, .3); border-radius: 16px; background: rgba(17,19,34,.3); position: relative; }
.apn-architecture-zone:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 52%; color: var(--apn-amber); font-size: 14px; width: 10px; z-index: 1; }
.apn-architecture-zone > span { display: block; color: var(--apn-muted); font-size: 9px; letter-spacing: .01em; padding-bottom: 17px; border-bottom: 1px solid var(--apn-border); }
.apn-zone-aws { border-style: solid; border-color: rgba(238,189,120,.5); background: linear-gradient(145deg, rgba(238,189,120,.08), rgba(238,189,120,.015)); }
.apn-zone-aws > span { color: var(--apn-amber); border-bottom-color: rgba(238,189,120,.22); }
.apn-architecture-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; padding-top: 19px; }
.apn-zone-aws .apn-architecture-steps { grid-template-columns: minmax(0, 1fr); }
.apn-step-number { color: var(--red-dim); font-size: 11px; font-weight: 600; }
.apn-zone-aws .apn-step-number { color: var(--apn-amber); }
.apn-architecture-steps h3 { font-size: 15px; font-weight: 600; line-height: 1.3; margin: 12px 0 9px; letter-spacing: -.02em; }
.apn-architecture-steps p { font-size: 11px; line-height: 1.8; color: var(--gray-300); }
.apn-control-rail { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; padding: 14px; border: 1px solid var(--apn-border); border-radius: 7px; text-align: center; }
.apn-control-rail > span { color: #f4a3a8; font-size: 10px; font-weight: 600; }
.apn-control-rail p { color: var(--gray-300); font-size: 10px; line-height: 1.8; }
.apn-control-rail b { color: #687089; font-weight: 400; margin: 0 8px; }
.apn-architecture-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin: 31px 0; }
.apn-architecture-notes h3 { font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.apn-architecture-notes p { font-size: 12px; color: var(--gray-300); line-height: 1.8; }
.apn-technical-details { border: 1px solid var(--apn-border); border-radius: 16px; }
.apn-page summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.apn-page summary::-webkit-details-marker { display: none; }
.apn-page summary > span { font-size: 22px; line-height: 1; color: var(--apn-muted); font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.apn-page details[open] > summary > span { transform: rotate(45deg); }
.apn-technical-details > summary { padding: 20px 24px; font-size: 13px; font-weight: 500; }
.apn-technical-details > summary:hover { color: var(--red-dim); }
.apn-details-body { padding: 0 24px 24px; }
.apn-service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); gap: 28px; padding: 22px 0; border-top: 1px solid var(--apn-border); align-items: start; }
.apn-service-row h4 { font-size: 12px; font-weight: 600; color: var(--apn-amber); }
.apn-service-row p { color: var(--gray-300); font-size: 12px; line-height: 1.8; }
.apn-service-row > span { color: var(--apn-muted); font-size: 10px; text-align: right; }
.apn-doc-links { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 10px; color: var(--apn-muted); margin-top: 10px; }
.apn-doc-links a { color: var(--gray-200); text-underline-offset: 4px; }
.apn-doc-links a:hover { color: var(--red-dim); }

/* Outcomes and delivery */
.apn-outcomes-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.apn-section-intro { color: var(--gray-300); font-size: 14px; line-height: 1.8; margin-top: 23px; }
.apn-measure-note { color: var(--apn-muted); font-size: 11px; line-height: 1.8; border-left: 2px solid var(--apn-border); padding-left: 14px; margin-top: 24px; }
.apn-outcome-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 25px; padding: 25px 0; border-bottom: 1px solid var(--apn-border); align-items: baseline; }
.apn-outcome-row h3 { font-size: 14px; line-height: 1.6; font-weight: 500; }
.apn-outcome-row p { font-size: 12px; line-height: 1.8; color: var(--gray-300); }
.apn-outcome-head { padding-top: 3px; padding-bottom: 15px; }
.apn-outcome-head span { color: var(--red-dim); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.apn-delivery-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--apn-border); padding: 30px 0; margin-top: 43px; }
.apn-delivery-steps li { padding: 0 25px; border-left: 1px solid var(--apn-border); }
.apn-delivery-steps li:first-child { padding-left: 0; border-left: 0; }
.apn-delivery-steps li:last-child { padding-right: 0; }
.apn-delivery-steps li > span { font-size: 24px; letter-spacing: -.035em; font-weight: 500; color: var(--red-dim); }
.apn-delivery-steps h3 { font-size: 15px; margin: 15px 0 9px; line-height: 1.5; font-weight: 600; }
.apn-delivery-steps p { color: var(--gray-300); font-size: 12px; line-height: 1.8; }
.apn-partner-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; margin-bottom: 20px; }
.apn-partner-heading h3 { font-size: 15px; font-weight: 600; }
.apn-partner-heading > span { font-size: 10px; color: var(--apn-muted); }
.apn-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.apn-partners article { background: rgba(255,255,255,.02); border: 1px solid var(--apn-border); border-radius: 9px; padding: 24px; }
.apn-partner-role { color: var(--apn-amber); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.apn-partners h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 13px 0 10px; }
.apn-partners article > p:last-child { color: var(--gray-300); font-size: 12px; line-height: 1.8; }
.apn-commercial-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); gap: 25px; margin-top: 23px; padding-top: 23px; border-top: 1px solid var(--apn-border); }
.apn-commercial-note strong { font-size: 11px; font-weight: 500; }
.apn-commercial-note p { font-size: 11px; color: var(--apn-muted); line-height: 1.8; }

/* Scope and final CTA */
.apn-scope-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.apn-scope-grid .apn-text-link { margin-top: 26px; }
.apn-scope-list details { border-top: 1px solid var(--apn-border); }
.apn-scope-list details:last-child { border-bottom: 1px solid var(--apn-border); }
.apn-scope-list summary { padding: 22px 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.apn-scope-list summary:hover { color: var(--red-dim); }
.apn-scope-list details > p { font-size: 12px; line-height: 1.9; color: var(--gray-300); padding: 0 24px 24px 0; }
.apn-contact { padding: 0 0 72px; }
.apn-contact-inner { padding: 47px 48px; border: 1px solid rgba(240,86,93,.26); border-radius: 16px; background: radial-gradient(ellipse at 100% 100%, rgba(240,86,93,.11), transparent 70%), #1b1b2c; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.apn-contact-inner h2 { font-size: clamp(30px, 3vw, 39px); }
.apn-contact-inner p:not(.apn-kicker) { font-size: 13px; line-height: 1.8; color: var(--gray-300); max-width: 490px; margin-top: 18px; }
.apn-contact-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }

@media (max-width: 1100px) {
  .apn-hero-grid { gap: 30px; }
  .apn-hero h1 { font-size: 49px; }
  .apn-hero-visual { padding: 18px; }
  .apn-workflow-panel, .apn-section-heading, .apn-outcomes-grid, .apn-scope-grid { gap: 42px; }
  .apn-architecture { grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr) minmax(0, 2fr); gap: 10px; }
  .apn-architecture-zone { padding-inline: 12px; }
  .apn-architecture-steps { gap: 14px; }
  .apn-architecture-zone:not(:last-child)::after { right: -11px; }
  .apn-partners article { padding: 20px; }
}

@media (max-width: 900px) {
  .apn-page:lang(de) main { hyphens: auto; }
  .apn-hero { padding-top: 64px; }
  .apn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .apn-hero h1 { font-size: clamp(43px, 6.9vw, 60px); }
  .apn-lead { max-width: 640px; }
  .apn-hero-visual { max-width: 620px; width: 100%; padding: 24px; }
  .apn-hero-copy { max-width: 700px; }
  .apn-facts { margin-top: 38px; }
  .apn-facts > div { padding-inline: 18px; }
  .apn-facts dd { font-size: 13px; }
  .apn-section { padding: 64px 0; }
  .apn-section-heading { grid-template-columns: 1fr; gap: 22px; }
  .apn-section-heading > p { max-width: 620px; }
  .apn-workflow-panel { gap: 28px; }
  .apn-workflow-copy h3 { font-size: 26px; }
  .apn-workflow-tabs button { font-size: 12px; padding-inline: 10px; }
  .apn-workflow-tabs small { font-size: 9px; }
  .apn-example-head { flex-wrap: wrap; }
  .apn-architecture { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .apn-architecture-zone { padding: 18px 22px 23px; }
  .apn-architecture-zone > span { font-size: 11px; padding-bottom: 12px; }
  .apn-architecture-zone:not(:last-child)::after { content: '↓'; top: auto; bottom: -21px; left: calc(50% - 5px); right: auto; }
  .apn-architecture-steps { gap: 35px; }
  .apn-architecture-steps h3 { margin-top: 8px; font-size: 16px; }
  .apn-architecture-steps p { font-size: 12px; }
  .apn-outcomes-grid, .apn-scope-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .apn-outcomes-grid > div:first-child { max-width: 590px; }
  .apn-delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .apn-delivery-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .apn-delivery-steps li:nth-child(2) { padding-right: 0; }
  .apn-partners { gap: 12px; }
  .apn-partners article { padding: 20px 16px; }
  .apn-partners h3 { font-size: 17px; }
  .apn-commercial-note { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .apn-contact-inner { padding: 34px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .apn-contact-actions { align-items: flex-start; }
}

@media (max-width: 600px) {
  .apn-hero { padding-top: 48px; }
  .apn-overline { gap: 12px; margin-bottom: 28px; }
  .apn-overline .eyebrow { font-size: 10px; letter-spacing: .05em; }
  .apn-powered-by img { width: 100px; }
  .apn-product { font-size: 13px; margin-bottom: 15px; }
  .apn-hero h1 { font-size: clamp(36px, 9.5vw, 53px); margin-bottom: 20px; line-height: 1.08; }
  .apn-lead { font-size: 16px; line-height: 1.65; }
  .apn-actions { gap: 18px; margin-top: 24px; }
  .apn-status { margin-top: 27px; }
  .apn-hero-grid { gap: 29px; }
  .apn-hero-visual { border-radius: 12px; padding: 17px; }
  .apn-visual-top { margin-bottom: 15px; gap: 6px 12px; }
  .apn-visual-top .apn-mini-label, .apn-live-label { font-size: 9px; }
  .apn-local-boundary { padding: 12px; }
  .apn-boundary-label { font-size: 9px; gap: 6px; }
  .apn-source-pair > div { padding: 10px; }
  .apn-source-pair strong { font-size: 11px; }
  .apn-source-pair small { font-size: 9px; }
  .apn-privacy-node strong { font-size: 12px; }
  .apn-cloud-connector { font-size: 8px; gap: 8px; }
  .apn-review-node strong { font-size: 11px; }
  .apn-review-node div > span { font-size: 9px; }
  .apn-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 0; padding: 25px 0; margin-top: 30px; }
  .apn-facts > div { padding-inline: 17px; }
  .apn-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .apn-facts > div:nth-child(even) { padding-right: 0; }
  .apn-facts dt { font-size: 9px; }
  .apn-facts dd { font-size: 13px; }
  .apn-section { padding: 56px 0; }
  .apn-page h2 { font-size: 31px; line-height: 1.18; }
  .apn-kicker { font-size: 12px; margin-bottom: 12px; }
  .apn-section-heading { gap: 20px; margin-bottom: 28px; }
  .apn-section-heading > p { font-size: 13px; }
  .apn-case-strip { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 21px; margin-bottom: 27px; }
  .apn-case-arrow { transform: rotate(90deg); width: 20px; }
  .apn-case-strip p { font-size: 12px; }
  .apn-workflow-tabs { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 25px; padding: 5px; border: 1px solid var(--apn-border); border-radius: 8px; }
  .apn-workflow-tabs button { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; padding: 12px; border: 0; border-left: 2px solid transparent; border-radius: 4px; font-size: 12px; }
  .apn-workflow-tabs button > span { margin: 0; }
  .apn-workflow-tabs small { margin: 0 0 0 auto; font-size: 9px; }
  .apn-workflow-tabs button[aria-selected="true"] { border-left-color: var(--red-dim); background: rgba(240,86,93,.08); }
  .apn-workflow-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0; }
  .apn-workflow-copy { padding-top: 0; }
  .apn-workflow-copy h3 { font-size: 27px; }
  .apn-workflow-copy > p:not(.apn-kicker) { font-size: 13px; }
  .apn-checklist li { font-size: 12px; }
  .apn-example-head, .apn-example-body { padding: 16px; }
  .apn-message { padding: 13px; font-size: 12px; }
  .apn-message-user { margin-left: 18px; }
  .apn-example-note { padding-inline: 16px; }
  .apn-architecture { margin-top: 31px; }
  .apn-architecture-zone { padding: 17px; }
  .apn-architecture-steps { gap: 20px; }
  .apn-architecture-steps p { font-size: 11px; }
  .apn-control-rail { gap: 6px; padding: 14px 10px; }
  .apn-control-rail p { font-size: 9px; }
  .apn-control-rail b { margin: 0 4px; }
  .apn-architecture-notes { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-block: 27px; }
  .apn-technical-details > summary { padding: 17px; font-size: 12px; }
  .apn-details-body { padding: 0 17px 20px; }
  .apn-service-row { grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 18px 0; }
  .apn-service-row > span { text-align: left; }
  .apn-outcome-row { gap: 19px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-block: 19px; }
  .apn-outcome-row h3 { font-size: 12px; }
  .apn-outcome-row p { font-size: 11px; }
  .apn-outcome-head { padding-top: 0; padding-bottom: 14px; }
  .apn-outcome-head span { font-size: 9px; }
  .apn-section-intro { font-size: 13px; }
  .apn-delivery-steps { margin-top: 31px; gap: 26px 0; }
  .apn-delivery-steps li { padding-inline: 17px; }
  .apn-delivery-steps h3 { font-size: 13px; }
  .apn-delivery-steps p { font-size: 11px; }
  .apn-partner-heading { margin-top: 33px; }
  .apn-partners { grid-template-columns: minmax(0, 1fr); }
  .apn-partners article { padding: 23px; }
  .apn-partners h3 { font-size: 20px; }
  .apn-commercial-note { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .apn-scope-grid { gap: 29px; }
  .apn-scope-list summary { font-size: 13px; }
  .apn-contact { padding-bottom: 45px; }
  .apn-contact-inner { padding: 27px 23px; gap: 25px; }
  .apn-contact-inner h2 { font-size: 30px; }
  .apn-contact-inner .apn-kicker { max-width: 250px; }
  .apn-contact-actions { align-items: stretch; }
  .apn-contact-actions .apn-text-link { justify-content: center; }
}

@media (max-width: 360px) {
  .apn-hero h1 { font-size: 34px; }
  .apn-hero-visual { padding: 13px; }
  .apn-local-boundary { padding: 10px; }
  .apn-source-pair { gap: 7px; }
  .apn-source-pair > div { padding: 8px; }
  .apn-source-pair strong { font-size: 10px; }
  .apn-privacy-node strong { font-size: 11px; }
  .apn-review-node { gap: 9px; padding: 11px; }
  .apn-review-node strong { font-size: 10px; }
  .apn-cloud-connector { gap: 6px; }
  .apn-page h2 { font-size: 28px; }
  .apn-workflow-tabs button { gap: 3px 7px; padding-inline: 8px; font-size: 11px; }
  .apn-workflow-tabs small { font-size: 8px; }
  .apn-architecture-steps { gap: 17px; }
  .apn-contact-inner { padding-inline: 19px; }
}

/* Keep explanatory copy readable on both phone and desktop layouts. */
.apn-page :is(.apn-section-heading > p, .apn-workflow-copy > p:not(.apn-kicker), .apn-section-intro) { font-size: 15px; }
.apn-page :is(.apn-case-strip p, .apn-checklist li, .apn-message, .apn-architecture-steps p, .apn-architecture-notes p, .apn-service-row p, .apn-outcome-row p, .apn-delivery-steps p, .apn-partners article > p:last-child, .apn-scope-list details > p, .apn-contact-inner p:not(.apn-kicker)) { font-size: 14px; }
.apn-page :is(.apn-status, .apn-measure-note, .apn-commercial-note p, .apn-commercial-note strong) { font-size: 12px; }
.apn-page :is(.apn-source-pair strong, .apn-review-node strong) { font-size: 13px; }
.apn-page :is(.apn-source-pair small, .apn-boundary-label, .apn-privacy-node > span:last-child, .apn-review-node div > span, .apn-visual-caption, .apn-example-note, .apn-pill, .apn-control-rail p, .apn-doc-links, .apn-workflow-tabs small) { font-size: 11px; }
.apn-page :is(.apn-cloud-connector, .apn-mini-label, .apn-live-label, .apn-example-head > span:last-child) { font-size: 10px; }
.apn-page :is(.apn-outcome-row h3, .apn-workflow-tabs button, .apn-technical-details > summary, .apn-scope-list summary) { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html:has(.apn-page) { scroll-behavior: auto !important; }
  .apn-page, .apn-page * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .apn-page main .btn-p:hover { transform: none; }
}

@media print {
  .apn-page { background: white !important; color: #111322 !important; font-size: 10pt; }
  .apn-page * { color: #111322 !important; text-shadow: none !important; box-shadow: none !important; }
  .apn-page main .container { max-width: none; padding: 0; }
  .apn-page :is(section, article, aside, details, li, [class*="apn-"]) { background: transparent !important; border-color: #b9bdc6 !important; }
  .apn-page .apn-skip, .apn-page > nav, .apn-page .apn-actions, .apn-page .apn-workflow-tabs, .apn-page .apn-contact-actions { display: none !important; }
  .apn-page .apn-hero { padding-top: 0; }
  .apn-page .apn-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; }
  .apn-page .apn-hero h1 { font-size: 29pt; }
  .apn-page h2 { font-size: 23pt; }
  .apn-page .apn-section { padding: 28pt 0; }
  .apn-page :is(.apn-section-heading, .apn-outcomes-grid, .apn-scope-grid) { gap: 22pt; }
  .apn-page .apn-workflow-panel[hidden] { display: grid !important; }
  .apn-page .apn-workflow-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 24pt; gap: 22pt; }
  .apn-page :is(.apn-hero-visual, .apn-facts, .apn-workflow-panel, .apn-architecture-zone, .apn-outcome-row, .apn-partners article, .apn-delivery-steps li, details) { break-inside: avoid; }
  .apn-page :is(h1, h2, h3, .apn-kicker) { break-after: avoid; }
  .apn-page details::details-content { display: block; content-visibility: visible; }
  .apn-page details > summary > span { display: none; }
  .apn-page .apn-technical-details > .apn-details-body, .apn-page .apn-scope-list details > p { display: block !important; }
  .apn-page .apn-contact { padding-bottom: 25pt; }
  .apn-page .apn-contact-inner { padding: 25pt; }
  .apn-page .apn-powered-by { padding: 8px; background: #111322 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
