.home-redesign { background: #eaf8f5; }
.home-redesign .home-hero { padding: 5.8rem 0 0; overflow: clip; background: radial-gradient(circle at 82% 42%, #a5e8dc 0, transparent 34%), #eaf8f5; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.intro-category { display: inline-flex; margin: 0 0 1.55rem; padding: .45rem .85rem; border: 1px solid #a7d8d0; border-radius: 100px; color: #065d61; background: #ffffffaa; font-size: 0.78rem; font-weight: 600; }
.home-redesign h1 { font-size: clamp(3.35rem, 4.75vw, 4.65rem); line-height: 1.07; font-weight: 600; letter-spacing: -0.034em; }
.home-redesign h1 em { font-style: normal; color: #006a72; }
.intro-description { max-width: 550px; margin: 1.7rem 0 0; font-size: 1.15rem; line-height: 1.6; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.1rem; }
.intro-contact { font-size: 0.85rem; font-weight: 600; text-decoration: none; text-underline-offset: 5px; }
.intro-contact:hover { text-decoration: underline; }
.intro-note { margin: 0.85rem 0 0; font-size: 0.77rem; color: #405b61; }
.hero-visual { position: relative; min-width: 0; padding: 1.5rem 0 3.2rem; }
.hero-visual::before { content: ''; position: absolute; inset: -2rem -3rem 0; border: 1px solid #76cfc044; border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.diagnostic { position: relative; margin: 0; min-width: 0; border: 1px solid #bcd9d4; border-radius: 16px; background: #fff; box-shadow: 0 35px 80px -30px #174a4859, 0 8px 22px #174a4814; transform: none; }
.diagnostic-top { display: flex; align-items: center; gap: 0.65rem; padding: 1rem 1.1rem; border-bottom: 1px solid #f4f4f5; color: #475569; font-size: 0.72rem; }
.diagnostic-lang { margin-left: auto; font-size: 0.68rem; }
.diagnostic-heading { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; }
.diagnostic-rule { color: #475569; font-size: 0.68rem; letter-spacing: 0.03em; }
.home-redesign .diagnostic-heading h2 { margin-top: 0.35rem; font-size: 1.4rem; letter-spacing: -0.02em; }
.risk-label { padding: 0.3rem 0.6rem; color: #9b401d; background: #fff0e8; border-radius: 4px; font-size: 0.7rem; font-weight: 600; }
.diagnostic-code { background: #f4f4f5; border-block: 1px solid #f4f4f5; padding: 1rem 0; overflow-x: auto; }
.diagnostic-code > div { display: flex; align-items: baseline; white-space: pre; padding: 0.3rem 1rem; font-size: 0.69rem; }
.diagnostic-code > div > span { width: 2rem; flex-shrink: 0; color: #475569; font: 0.65rem "JetBrains Mono", monospace; }
.diagnostic-code code { color: #111520; font-family: "JetBrains Mono", monospace; }
.diagnostic-code b { font-weight: 400; color: #475569; }
.diagnostic-code mark { color: #874122; background: #ffe9d8; border-bottom: 1px solid #e8b891; }
.diagnostic-trace { padding: 1rem 1.4rem; }
.diagnostic-trace > span { font-size: 0.7rem; color: #475569; }
.diagnostic-trace > div { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.7rem; }
.diagnostic-trace code { font: 0.73rem "JetBrains Mono", monospace; color: #475569; }
.trace-connector { position: relative; flex: 1; height: 1px; background: #dce3ec; }
.trace-connector::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #475569; border-right: 1px solid #475569; transform: rotate(45deg); }
.diagnostic-result { display: flex; align-items: center; gap: 0.7rem; padding: 0 1.4rem 1.1rem; }
.result-check { color: #475569; font-size: 1.7rem; }
.diagnostic-result strong { font-size: 0.75rem; font-weight: 500; }
.diagnostic-result p { font-size: 0.68rem; margin: 0.25rem 0 0; color: #475569; }
.diagnostic-fix { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; gap: 1rem; background: #f4f4f5; color: #475569; border-top: 1px solid #dce3ec; border-radius: 0 0 11px 11px; text-decoration: none; }
.diagnostic-fix:hover { background: #f4f4f5; }
.diagnostic-fix small { display: block; font-size: 0.68rem; margin-bottom: 0.3rem; }
.diagnostic-fix strong { font-size: 0.85rem; font-weight: 600; }
.diagnostic figcaption { position: absolute; bottom: -2.1rem; width: 100%; text-align: center; font-size: 0.7rem; color: #475569; }
.integration-band { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-top: 3.5rem; padding-block: 2.4rem; border-top: 1px solid #b7d8d2; }
.integration-band > p { margin: 0; max-width: 180px; font-size: 0.78rem; color: #35565a; }
.integration-band > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2.5rem; }
.integration-band > div > span { display: flex; align-items: center; gap: 0.65rem; font-size: 1rem; font-weight: 600; color: #29424a; }
.integration-band img { filter: grayscale(1); }
.home-redesign .product-section { --ink: #f4f4f5; --ink-2: #dce3ec; --line: #475569; color: var(--ink); background: #111520; padding-top: 7rem; padding-bottom: 3.5rem; }
.product-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-label { font-size: 0.88rem; font-weight: 600; margin: 0 0 1.3rem; color: var(--accent-deep); }
.product-section .section-label { color: var(--web-identity-marketing-accent); }
.product-heading h2 { max-width: 750px; font-size: clamp(2.5rem, 4.3vw, 4rem); }
.text-link { display: inline-flex; align-items: center; gap: 1.4rem; font-size: 0.87rem; font-weight: 600; text-decoration: none; padding-bottom: 0.4rem; border-bottom: 1px solid currentColor; }
.text-link:hover { gap: 1.8rem; }
.product-section .text-link { color: #dce3ec; white-space: nowrap; }
.product-tour { margin-top: 3.8rem; }
.product-tabs { display: flex; gap: 2.5rem; border-bottom: 1px solid #475569; }
.product-tabs button { position: relative; border: 0; padding: 1rem 0 1.2rem; background: none; color: #dce3ec; font: 500 0.95rem "Geist", sans-serif; cursor: pointer; }
.product-tabs button span { color: #94a3b8; font-size: 0.7rem; margin-right: 0.7rem; }
.product-tabs button[aria-selected="true"] { color: #f4f4f5; box-shadow: 0 2px var(--accent); }
.product-panel-description { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; }
.product-panel-description h3 { color: #f4f4f5; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
.product-panel-description p { color: #dce3ec; font-size: 0.8rem; margin: 0; max-width: 440px; }
.product-screen { display: block; border: 1px solid #5c7283; padding: 8px; background: #263144; border-radius: 16px; box-shadow: 0 28px 65px #0006; }
.product-screen img { display: block; width: 100%; height: auto; border-radius: 5px; }
@media (min-width: 851px) {
  .product-screen { height: min(39vw, 530px); overflow: hidden; }
  .product-screen img { width: 150%; max-width: none; margin-left: -19%; }
  .product-panels [id*="panel-1-"] .product-screen img { margin-left: -34%; }
  .product-panels [id*="panel-2-"] .product-screen img { margin-left: -2%; }
}
.product-caption { color: #dce3ec; font-size: 0.7rem; text-align: right; margin: 0.65rem 0 0; }
.coverage-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.5rem; list-style: none; margin: 2.4rem 0 0; padding: 0; color: #dce3ec; font-size: 0.82rem; }
.coverage-boundary { margin: 1rem 0 0; color: #dce3ec; font-size: 0.7rem; text-align: center; }
.home-redesign .workflow-section { background: #fff; }
.workflow-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7rem; }
.workflow-copy > p:not(.section-label) { margin: 1.4rem 0 1.8rem; max-width: 470px; font-size: 1rem; }
.fix-example { border: 1px solid #dce3ec; border-radius: 10px; box-shadow: 0 20px 60px -30px #47556945; overflow: hidden; background: #fff; }
.fix-example-head { display: flex; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #f4f4f5; font-size: 0.75rem; }
.fix-example-head span:last-child { color: #475569; }
.example-note { margin: 0; padding: .9rem 1.25rem 1rem; border-top: 1px solid #edf1f4; font-size: 0.72rem; color: #475569; }
.home-redesign .deployment-section { background: #eaf8f5; }
.deployment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; }
.deployment-intro { max-width: 420px; margin: 1.5rem 0 1.8rem; }
.deployment-options article { padding-block: 1.8rem; border-top: 1px solid #c9e3dd; }
.deployment-options article:first-child { padding-top: 0; border: 0; }
.deployment-options article:last-child { padding-bottom: 0; }
.deployment-options h3 { font-size: 1.35rem; }
.deployment-options p { margin: 0.8rem 0; font-size: 0.95rem; }
.deployment-tags { font-size: 0.77rem; color: #475569; }
.resources-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.home-redesign .resources-section { background: #fff; }
.resources-heading h2 { max-width: 580px; }
.resources-heading p { max-width: 300px; margin: 0; font-size: 0.9rem; }
.resource-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.resource-links a { position: relative; display: block; text-decoration: none; border-top: 1px solid #dce3ec; padding: 1.5rem 2rem 0 0; }
.resource-links a > span:first-child { font-size: 1.1rem; font-weight: 600; }
.resource-links a p { margin: 0.65rem 0 0; font-size: 0.87rem; }
.resource-links a > span:last-child { position: absolute; top: 1.5rem; right: 0; color: var(--accent); }
.resource-links a:hover > span:first-child { color: var(--accent-deep); }
.home-redesign .questions-section { background: #fff; border-top: 1px solid var(--line); }
.questions-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 6rem; }
.questions-layout .text-link { margin-top: 1.8rem; }
.questions-layout details { border-bottom: 1px solid var(--line); }
.questions-layout details:first-child { border-top: 1px solid var(--line); }
.questions-layout summary { position: relative; cursor: pointer; padding: 1.3rem 2rem 1.3rem 0; list-style: none; font-size: 0.96rem; font-weight: 500; }
.questions-layout summary::-webkit-details-marker { display: none; }
.questions-layout summary::after { content: '+'; position: absolute; right: 0; color: var(--accent); font-size: 1.3rem; top: 1rem; }
.questions-layout details[open] summary::after { content: '−'; }
.questions-layout details p { font-size: 0.9rem; padding: 0 2rem 0.6rem 0; }
.home-redesign .contact-section { background: #111520; --ink: #f4f4f5; --ink-2: #dce3ec; --accent-deep: var(--web-identity-marketing-accent); color: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 7rem; }
.contact-layout > div > p:not(.section-label) { max-width: 420px; margin-top: 1.5rem; }
.contact-layout > div > a { color: #f4f4f5; font-size: 0.95rem; text-underline-offset: 5px; }
.contact-layout form { display: flex; flex-direction: column; gap: 1rem; }
.contact-layout label { font-size: 0.8rem; color: #f4f4f5; }
.contact-layout input, .contact-layout textarea, .contact-layout select { display: block; width: 100%; border: 1px solid #94a3b8; background: #111520; color: #fff; border-radius: 5px; padding: 0.75rem; margin-top: 0.5rem; font: 0.9rem "Geist", sans-serif; resize: vertical; }
.contact-layout textarea::placeholder { color: #dce3ec; }
.contact-layout .btn-primary { background: var(--web-identity-marketing-accent); border-color: var(--web-identity-marketing-accent); color: #07120f; align-self: start; }
.contact-layout .btn-primary:hover { background: #00ebc4; border-color: #00ebc4; transform: translateY(-2px); }
.contact-layout form > p { font-size: 0.73rem; color: #dce3ec; margin: 0; }
@media (max-width: 1100px) {
  .intro-layout { gap: 2.5rem; }
  .workflow-layout, .deployment-layout, .contact-layout, .questions-layout { gap: 3rem; }
  .integration-band > div { gap: 1.5rem; }
}
@media (max-width: 850px) {
  .home-redesign section { padding-block: 4rem; }
  .home-redesign .home-hero { padding-top: 3rem; padding-bottom: 0; }
  .intro-layout { grid-template-columns: 1fr; gap: 3rem; }
  .intro-copy { max-width: 570px; }
  .home-redesign h1 { font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; padding-top: 0; }
  .diagnostic { max-width: 560px; width: 100%; margin-inline: auto; transform: none; }
  .integration-band { display: block; margin-top: 2.5rem; }
  .integration-band > p { max-width: none; margin-bottom: 1.3rem; }
  .integration-band > div { justify-content: flex-start; gap: 1rem 2rem; }
  .workflow-layout, .deployment-layout, .contact-layout, .questions-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .workflow-copy { grid-row: 1; }
  .fix-example { max-width: 560px; }
  .resources-heading, .product-heading { display: block; }
  .resources-heading p { max-width: none; margin-top: 1.2rem; }
  .product-heading .text-link { margin-top: 1.5rem; }
  .product-panel-description { display: block; }
  .product-panel-description p { margin-top: 0.6rem; max-width: none; }
  .product-screen { height: min(53vw, 470px); overflow: hidden; }
  .product-screen img { width: 170%; max-width: none; margin-left: -15%; }
  .product-panels [id*="panel-1-"] .product-screen img { margin-left: -55%; }
  .resource-links { gap: 1rem; }
  .resource-links a > span:first-child { font-size: 0.95rem; }
}
@media (max-width: 540px) {
  .home-redesign h1 { font-size: clamp(2.65rem, 11vw, 3.4rem); }
  .intro-category { margin-bottom: 1.25rem; }
  .hero-visual::before { inset: 0 -1rem 2rem; }
  .intro-description { font-size: 1rem; }
  .intro-actions { gap: 1.1rem; }
  .intro-contact { font-size: 0.81rem; }
  .diagnostic-code > div { font-size: 0.6rem; padding-inline: 0.7rem; }
  .diagnostic-code > div > span { width: 1.4rem; }
  .diagnostic-top { padding: 0.8rem; gap: 0.4rem; font-size: 0.65rem; }
  .diagnostic-lang { font-size: 0.6rem; }
  .diagnostic-heading, .diagnostic-trace, .diagnostic-fix { padding: 1rem; }
  .diagnostic-result { padding-inline: 1rem; }
  .integration-band > div { gap: 1rem 1.5rem; }
  .integration-band > div > span { font-size: 0.85rem; }
  .integration-band img { width: 20px; height: 20px; }
  .product-tabs { gap: 1.2rem; }
  .product-tabs button { font-size: 0.78rem; }
  .product-tabs button span { display: none; }
  .product-tour { margin-top: 1.5rem; }
  .product-screen { height: min(94vw, 370px); }
  .product-screen img { width: 300%; margin-left: -37%; }
  .product-panels [id*="panel-1-"] .product-screen img { margin-left: -155%; }
  .product-panels [id*="panel-2-"] .product-screen img { margin-left: -12%; }
  .coverage-line { gap: 1rem 1.5rem; }
  .resource-links { grid-template-columns: 1fr; gap: 1.5rem; }
  .resource-links a { padding-top: 1.2rem; }
  .resource-links a > span:first-child { font-size: 1.1rem; }
}

/* The illustrative flow repeats while visible, with an explicit pause control. */
.diagnostic figcaption { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; bottom: -2.8rem; text-align: left; }
.motion-replay { display: inline-flex; align-items: center; gap: 0.35rem; border: 0; background: none; padding: 0.5rem 0; color: #475569; font: inherit; cursor: pointer; text-underline-offset: 4px; }
.motion-replay[hidden] { display: none; }
.motion-replay:hover { text-decoration: underline; }
.motion-replay > span { font-size: 1.1rem; }
.diagnostic-code > div { position: relative; }

.trace-connector::before { content: ''; position: absolute; inset: -1px 0; background: #475569; transform: scaleX(0); transform-origin: left; }
.product-tabs button::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: #dce3ec; transform: scaleX(0); transform-origin: left; }
.product-tabs button[aria-selected="true"] { box-shadow: none; }
.product-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .home-redesign .btn span, .text-link span, .resource-links a > span:last-child, .diagnostic-fix > span:last-child { display: inline-block; transition: transform 220ms ease; }
  .home-redesign .btn:is(:hover, :focus-visible) span, .diagnostic-fix:is(:hover, :focus-visible) > span:last-child { transform: translate(2px, -2px); }
  .text-link:is(:hover, :focus-visible) span, .resource-links a:is(:hover, :focus-visible) > span:last-child { transform: translateX(4px); }
  .text-link:hover { gap: 1.4rem; }
  .product-tabs button::after { transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
  .product-panels .is-animating { animation: product-enter 280ms cubic-bezier(.2,.7,.2,1); }
  .diagnostic.is-playing { animation: diagnostic-arrive 850ms cubic-bezier(.16,1,.3,1); }
  
  
  .is-playing .trace-connector::before { animation: trace-cycle 7s linear infinite; }
  .is-playing .diagnostic-fix { animation: recommendation-cycle 7s linear infinite; }
  .is-paused, .is-paused * , .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
  @keyframes diagnostic-arrive { from { transform: translateY(18px) rotate(-1deg); } to { transform: none; } }
  @keyframes product-enter { from { transform: translateY(8px); opacity: .55; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .motion-replay { display: none; }
  .home-redesign *, .home-redesign *::before, .home-redesign *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 540px) {
  .diagnostic figcaption { font-size: 0.62rem; }
}
.diagnostic-sequence { display: flex; position: relative; justify-content: space-between; margin: 1rem 1.4rem 0; padding-bottom: 1rem; border-bottom: 2px solid #dce3ec; color: #475569; font-size: .7rem; }
.diagnostic-sequence::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--web-identity-marketing-accent); box-shadow: 0 0 0 4px #00d4b028; }

.trace-connector::before { background: var(--web-identity-marketing-accent); height: 3px; }
.motion-pause { border: 0; padding: .5rem 0; background: none; color: #475569; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.motion-pause[hidden] { display: none; }
.diagnostic figcaption { flex-wrap: wrap; top: 100%; bottom: auto; margin-top: .5rem; }
.diagnostic figcaption > span { flex: 1 1 100%; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .diagnostic-sequence::after { animation: sequence-travel 7s linear infinite; }
  @keyframes sequence-travel { 0%,8% { left: 0; } 40%,50% { left: calc(var(--sieve-unit) * 50 - 4px); background: var(--web-identity-accent-secondary); } 80%,95% { left: calc(var(--sieve-unit) * 100 - 8px); } 100% { left: 0; } }
  @keyframes trace-cycle { 0%,30% { transform: scaleX(0); opacity: 1; } 60%,80% { transform: scaleX(1); opacity: 1; } 95%,100% { transform: scaleX(1); opacity: 0; } }
  @keyframes recommendation-cycle { 0%,60%,100% { background: #f4f4f5; } 72%,90% { background: #00d4b038; } }
}
@media (prefers-reduced-motion: reduce) { .motion-pause { display: none; } }
/* Both complete snippets stay readable without animation. */
.diagnostic-code { display: grid; padding: 0; }
.diagnostic-code > .code-version { display: block; padding: 1rem 1.1rem; white-space: normal; }
.diagnostic-code > .code-version > .code-version-label { display: block; width: auto; margin-bottom: .65rem; font: 500 .7rem "Geist", sans-serif; color: #475569; }
.code-version pre { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font: .69rem/1.75 "JetBrains Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .diagnostic.is-playing .code-version { grid-area: 1 / 1; }
  .is-playing .vulnerable-version { animation: vulnerable-code 7s linear infinite; }
  .is-playing .fixed-version { animation: fixed-code 7s linear infinite; }
  @keyframes vulnerable-code { 0%,55%,100% { opacity: 1; transform: none; } 60%,96% { opacity: 0; transform: translateY(-8px); } }
  @keyframes fixed-code { 0%,55%,100% { opacity: 0; transform: translateY(8px); } 62%,94% { opacity: 1; transform: none; } }
}
@media (max-width: 540px) { .code-version pre { font-size: .64rem; } }
.diagnostic-sequence:has(.motion-slider:not([hidden])) { flex-wrap: wrap; border-bottom: 0; padding-bottom: 0; }
.diagnostic-sequence:has(.motion-slider:not([hidden]))::after { display: none; }
.motion-slider { flex: 1 1 100%; width: 100%; height: 24px; margin: .35rem 0 0; padding: 0; accent-color: #006f78; cursor: ew-resize; }
.motion-slider[hidden] { display: none; }
.diagnostic-code > .fixed-version { padding: 1rem 0 0; background: #fff; border-left: 0; }
.diagnostic-code > .fixed-version > .code-version-label { display: flex; justify-content: space-between; padding-inline: 1.1rem; }
.patch-count { color: #475569; font-family: "JetBrains Mono", monospace; }
.patch-line { display: block; position: relative; padding: .1rem .75rem .1rem 1.8rem; }
.patch-line::before { position: absolute; left: .65rem; }
.patch-remove { color: #943c2c; background: #fff0ed; }
.patch-remove::before { content: '−'; }
.patch-add { color: #064e4b; background: #dff8f2; }
.patch-add::before { content: '+'; }
.diagnostic-code > .code-version > .merge-ready { width: auto; display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; border-top: 1px solid #c0e8de; color: #064e4b; background: #effbf7; font: 600 .78rem "Geist", sans-serif; }
.merge-ready > span { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #00d4b0; color: #07120f; }
@media (prefers-reduced-motion: no-preference) {
  .has-code-sizing.is-playing .diagnostic-code { position: relative; display: block; overflow: hidden; animation: code-height 7s linear infinite; }
  .has-code-sizing.is-playing .code-version { position: absolute; inset: 0 0 auto; width: 100%; }
  @keyframes code-height {
    0%,55%,100% { height: var(--code-before-height); }
    62%,94% { height: var(--code-after-height); }
  }
}
.intro-layout { align-items: start; }

.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 3.6rem 0 0; padding: 0; border-top: 1px solid #4c6771; }
.journey li { position: relative; padding: 1.5rem 1.3rem 0 0; }
.journey li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #00d4b0; }
.journey span { display: block; margin-bottom: .8rem; color: #89e4d5; font: 600 .72rem var(--web-font-marketing-sans); }
.journey strong { display: block; color: #fff; font-size: 1.15rem; }
.journey p { max-width: 25ch; margin: .55rem 0 0; color: #dce3ec; font-size: .82rem; line-height: 1.5; }
.journey + .product-tour { margin-top: 4rem; }
@media (max-width: 700px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; border: 0; margin-top: 2.6rem; }
  .journey li { padding: 1rem .5rem 0 0; border-top: 1px solid #4c6771; }
  .journey strong { font-size: 1rem; }
  .journey p { font-size: .78rem; }
  .journey + .product-tour { margin-top: 3rem; }
}
@media (max-width: 540px) {
  .product-screen { height: 370px; }
  .product-screen img { width: 500%; margin-left: -72%; }
  .product-panels [id*="panel-1-"] .product-screen img { margin: -275px 0 0 -333%; }
  .product-panels [id*="panel-2-"] .product-screen img { margin: -130px 0 0 -8%; }
}

.motion-stage { display: grid; grid-template-rows: 1fr; }
.motion-stage-inner { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .is-playing .diagnostic-flow-stage { animation: flow-stage 7s linear infinite; }
  .is-playing .diagnostic-recommendation-stage { animation: recommendation-stage 7s linear infinite; }
  @keyframes flow-stage {
    0%,20%,62%,100% { grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
    30%,55% { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
  }
  @keyframes recommendation-stage {
    0%,55%,100% { grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
    65%,94% { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
  }
}

/* Remediation record: the steps behind a proposed fix, not a second copy of the hero diff. */
.remediation-record { margin: 0; }
.record-steps { list-style: none; margin: 0; padding: 1.6rem 1.25rem 0.4rem; }
.record-steps li { position: relative; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 1rem; padding-bottom: 1.5rem; }
.record-steps li:not(:last-child)::before { content: ''; position: absolute; left: calc(0.75rem - 1px); top: 1.75rem; bottom: 0.25rem; width: 2px; border-radius: 1px; background: #bfe6dc; transform-origin: top; }
.record-mark { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #00d4b0; color: #07120f; font-size: 0.72rem; font-weight: 700; }
.record-done .record-mark::after { content: '✓'; }
.record-next .record-mark { background: #fff; box-shadow: inset 0 0 0 2px #00a88c; }
.record-steps strong { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.5rem; }
.record-steps p { margin: 0.2rem 0 0; color: #35565a; font-size: 0.86rem; line-height: 1.55; }
.record-steps code { padding: 0.05rem 0.3rem; border-radius: 4px; background: #f1f5f4; color: #111520; font: 0.78rem "JetBrains Mono", monospace; }
.record-steps .patch-count { color: #064e4b; font-size: 0.8rem; }
.record-role { display: block; color: #0f6b5e; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; }
.deployment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
@media (prefers-reduced-motion: no-preference) {
  .fix-example.is-playing .record-steps li { animation: record-step 520ms cubic-bezier(.16, 1, .3, 1) both; }
  .fix-example.is-playing .record-steps li::before { animation: record-line 420ms cubic-bezier(.16, 1, .3, 1) both; }
  .fix-example.is-playing .record-steps li:nth-child(2), .fix-example.is-playing .record-steps li:nth-child(1)::before { animation-delay: 280ms; }
  .fix-example.is-playing .record-steps li:nth-child(3), .fix-example.is-playing .record-steps li:nth-child(2)::before { animation-delay: 560ms; }
  .fix-example.is-playing .record-steps li:nth-child(4), .fix-example.is-playing .record-steps li:nth-child(3)::before { animation-delay: 840ms; }
  .fix-example.is-playing .record-steps li:nth-child(5), .fix-example.is-playing .record-steps li:nth-child(4)::before { animation-delay: 1120ms; }
  .fix-example.is-playing .record-steps li:nth-child(6), .fix-example.is-playing .record-steps li:nth-child(5)::before { animation-delay: 1400ms; }
  @keyframes record-step { from { opacity: 0.3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes record-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* Vulnerability explorer teaser (home): a search that opens /vulnerabilities, beside a real version map */
.vdb-teaser { --sev-critical: #ff5c7a; --sev-high: #ff8a5c; --sev-medium: #f0b84a; --sev-clean: #2ee6c8; padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--deep); }
html[data-theme="light"] .vdb-teaser { --sev-critical: #c81e45; --sev-high: #c2410c; --sev-medium: #a16207; --sev-clean: #00796b; }
.vdb-teaser-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .vdb-teaser-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.vdb-teaser h2 { margin: .8rem 0 .9rem; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; text-wrap: balance; }
.vdb-teaser-copy > p:not(.dot-label):not(.vdb-teaser-try) { max-width: 54ch; margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }
.vdb-teaser-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; margin-top: 1.6rem; }
.vdb-teaser-form select, .vdb-teaser-form input { min-width: 0; min-height: 50px; padding: 0 .9rem; border: 1px solid var(--rim); border-radius: 12px; background: var(--abyss); color: var(--ink); font: inherit; }
.vdb-teaser-form input:focus-visible, .vdb-teaser-form select:focus-visible { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px var(--glow-soft); }
.vdb-teaser-form .btn { min-height: 50px; }
.vdb-teaser-try { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: .9rem 0 0; font-size: .92rem; color: var(--ink-2); }
.vdb-teaser-try a { display: inline-flex; align-items: center; min-height: 32px; color: var(--glow-2); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--glow-2) 40%, transparent); }
.vdb-teaser-try a:hover { border-bottom-color: currentColor; }
.vdb-teaser-map { display: grid; gap: 1rem; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, var(--abyss)); color: inherit; text-decoration: none; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.vdb-teaser-map:hover { transform: translateY(-3px); }
.vdb-teaser-map:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.vdb-teaser-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 5px; }
.vdb-teaser-cells i { aspect-ratio: 1; border-radius: 5px; }
.vdb-teaser .is-critical i, .vdb-teaser-cells .is-critical { background: color-mix(in srgb, var(--sev-critical) 72%, var(--deep)); }
.vdb-teaser .is-high i, .vdb-teaser-cells .is-high { background: color-mix(in srgb, var(--sev-high) 72%, var(--deep)); }
.vdb-teaser .is-medium i, .vdb-teaser-cells .is-medium { background: color-mix(in srgb, var(--sev-medium) 72%, var(--deep)); }
.vdb-teaser .is-clean i, .vdb-teaser-cells .is-clean { background: color-mix(in srgb, var(--sev-clean) 40%, var(--deep)); }
.vdb-teaser-keys { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .85rem; color: var(--ink-2); }
.vdb-teaser-keys i { display: inline-block; width: .75rem; height: .75rem; margin-right: .4rem; border-radius: 3px; vertical-align: -.08rem; }
.vdb-teaser-cap { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 640px) { .vdb-teaser-form { grid-template-columns: minmax(0, 1fr); } .vdb-teaser-try a { min-height: 44px; } .vdb-teaser-cells { grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .vdb-teaser-map { transition: none; } .vdb-teaser-map:hover { transform: none; } }
.vdb-teaser .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vdb-teaser-form select { max-width: 100%; }
@media (max-width: 640px) { .vdb-teaser-form select { justify-self: start; } }

/* Home intro: one sentence per line, with room between them */
.intro-description .intro-s { display: block; }
.intro-description .intro-s + .intro-s { margin-top: .55em; }
.contact-expect { max-width: 420px; margin: 1.3rem 0 1.6rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.contact-expect li { position: relative; padding-left: 1.1rem; line-height: 1.55; }
.contact-expect li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--web-identity-marketing-accent); }
.intro-description.intro-more { margin-top: .55em; }
@media (max-width: 720px) {
  .intro-copy { display: flex; flex-direction: column; }
  .intro-copy > .intro-more { order: 1; margin-top: 1.6rem; }
  .intro-copy > .role-strip { order: 2; }
  .contact-layout > div { display: contents; }
  .contact-layout > form { order: 1; }
  .contact-layout > div > .contact-expect, .contact-layout > div > a[href^="mailto:"] { order: 2; }
  .contact-layout { gap: 0; }
  .contact-layout > form { margin-top: 2rem; }
  .contact-layout > div > .contact-expect { margin: 2.5rem 0 1rem; }
}


/* Position the evidence labels before the canvas script starts, including without JS. */
.home-redesign .sieve-stage { container-type: inline-size; --sieve-unit: 1%; }
@media (max-width: 850px) { .home-redesign .sieve-stage { --sieve-unit: calc(var(--stage-h) / 100); } }
.home-redesign .sieve-label { left: 50%; }
.home-redesign .sieve-label[data-level="0"] { top: calc(var(--sieve-unit) * 17 - 28px); }
.home-redesign .sieve-label[data-level="1"] { top: calc(var(--sieve-unit) * 42 - 25px); }
.home-redesign .sieve-label[data-level="2"] { top: calc(var(--sieve-unit) * 66 - 22px); }
@container (min-width: 560px) {
  .home-redesign .sieve-label[data-level="0"] { top: calc(var(--sieve-unit) * 17 - 36px); }
  .home-redesign .sieve-label[data-level="1"] { top: calc(var(--sieve-unit) * 41 - 33px); }
  .home-redesign .sieve-label[data-level="2"] { top: calc(var(--sieve-unit) * 62 - 30px); }
}
@container (min-width: 851px) {
  .home-redesign .sieve-label[data-level="0"] { top: calc(var(--sieve-unit) * 16 - 46px); }
  .home-redesign .sieve-label[data-level="1"] { top: calc(var(--sieve-unit) * 44 - 42px); }
  .home-redesign .sieve-label[data-level="2"] { top: calc(var(--sieve-unit) * 72 - 38px); }
}
.home-redesign .sieve-pause[hidden] { display: inline-block; visibility: hidden; }

/* Resource directory at the end of the homepage. */
.home-resources { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--abyss); border-top: 1px solid var(--rim); }
.home-resources h2 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); }
.home-resource-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.home-resource-links li { min-width: 0; border-top: 1px solid var(--rim); }
.home-resource-links a { display: grid; gap: .35rem; padding: 1rem 0; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.5; }
.home-resource-links strong { display: flex; justify-content: space-between; gap: .5rem; font-size: 1rem; color: var(--ink); }
.home-resource-links strong span { color: var(--glow-2); }
.home-resource-links a:hover strong { color: var(--glow-2); }
.home-resource-links a:focus-visible { outline: 2px solid var(--glow-2); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 900px) { .home-resource-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-resource-links { grid-template-columns: minmax(0, 1fr); } }

/* Sovereignty band between the home hero and the proof loop. */
.home-redesign .sovereign-band { padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim); }
.sovereign-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); grid-template-areas: "head facts" "link facts"; gap: .5rem 3rem; align-items: start; }
.sovereign-head { grid-area: head; }
.sovereign-mark { display: block; width: 60px; height: 5px; margin-bottom: .85rem; border-radius: 1px; background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
html[data-theme="light"] .sovereign-mark { outline: 1px solid rgb(15 23 42 / .12); outline-offset: 0; }
.sovereign-head h2 { margin: 0; max-width: 16ch; font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.sovereign-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.sovereign-facts li { min-width: 0; padding-left: 1rem; border-left: 1px solid var(--rim); }
.sovereign-facts strong { display: block; margin-bottom: .25rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.sovereign-facts p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.sovereign-link { grid-area: link; justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--glow-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sovereign-link:hover { text-decoration-thickness: 2px; }
.sovereign-link:focus-visible { outline: 2px solid var(--glow-2); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 900px) {
  .sovereign-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "facts" "link"; gap: 1.1rem; }
  .sovereign-head h2 { max-width: none; }
}
@media (max-width: 560px) {
  .sovereign-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sovereign-facts li { padding: .75rem 0; border-left: 0; border-top: 1px solid var(--rim); }
  .sovereign-facts li:last-child { border-bottom: 1px solid var(--rim); }
}

.home-redesign .foot-policies { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: .5rem 1.5rem; margin-bottom: .5rem; }
.home-redesign .foot-policies a { color: var(--ink-2); padding-block: .3rem; }
