.if-system-console { min-width: 0; padding: 20px; border: 1px solid #3d5948; border-radius: 8px; background: #15261f; color: #f1f2ec; box-shadow: 0 18px 55px #00000018; font-family: "Manrope", Arial, sans-serif; }
.if-console-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.if-console-top > span { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; }
.if-console-top i { width: 6px; height: 6px; border-radius: 50%; background: #d1f58c; box-shadow: 0 0 12px #d1f5845c; }
.if-console-top small { color: #bfcec2; font-size: 11px; }
.if-system-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border: 0; border-radius: 4px; background: #101d18; }
.if-system-tabs button { min-width: 0; min-height: 40px; padding: 7px 8px; border: 0; border-radius: 2px; background: transparent; color: #afc2b5; font: 500 11px/1.5 "Manrope", Arial, sans-serif; cursor: pointer; font-size: 12px; }
.if-system-tabs button[aria-selected="true"] { background: #d1f58c; color: #17201e; }
.if-system-tabs button:not([aria-selected="true"]):hover { background: #294133; color: #f1f2ec; }
.if-system-map { position: relative; height: 210px; margin: 13px -3px 10px; isolation: isolate; background-image: radial-gradient(#54705855 .7px, transparent .7px); background-size: 15px 15px; }
.if-system-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.if-system-wires path { stroke: #4b6854; stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.if-system-wires path.is-active { stroke: #d1f58c; stroke-width: 2; }
.if-system-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; flex-direction: column; justify-content: center; width: 126px; min-height: 84px; padding: 11px 5px; border: 0; border-radius: 7px; background: #284332; box-shadow: 0 0 0 6px #14231e; }
.if-core-mark { font-size: 13px; font-weight: 700; letter-spacing: -.06em; color: #d1f58c; }
.if-core-mark > span { margin-left: 2px; font-weight: 400; }
.if-system-core > strong { margin-top: 5px; font-size: 14px; font-weight: 500; letter-spacing: -.035em; }
.if-system-core > small { margin-top: 4px; color: #c2d4c2; font-size: 10px; }
.if-system-node { position: absolute; display: flex; align-items: center; gap: 8px; width: 117px; min-height: 43px; padding: 8px 10px; border: 1px solid #466a50; border-radius: 4px; background: #182b22; color: #d6e0d4; text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.if-system-node > span { color: #b2c8a2; font-size: 10px; font-family: "IBM Plex Mono", monospace; }
.if-system-node > strong { font: 500 10px/1.4 "Manrope", Arial, sans-serif; font-size: 12px; overflow-wrap: anywhere; }
.if-system-node[aria-current="step"] { border-color: #d1f58c; background: #2c452e; color: #e6ffc0; box-shadow: 0 0 18px #b8e36c12; }
.if-system-node[aria-current="step"] > span { color: #d1f58c; }
.if-system-node:hover { border-color: #d1f58c; }
.if-node-0 { left: 5px; top: 16px; }
.if-node-1 { right: 5px; top: 16px; }
.if-node-2 { left: 5px; bottom: 16px; }
.if-node-3 { right: 5px; bottom: 16px; }
.if-console-detail { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 15px; padding: 20px 0; border-top: 1px solid #3c5143; min-height: 150px; }
.if-console-screen { display: block; position: relative; align-self: start; height: 70px; border: 1px solid #5f785b; border-radius: 3px; overflow: hidden; background: #1d3025; }
.if-console-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.if-console-screen > span { position: absolute; bottom: 0; right: 0; padding: 0 4px; background: #14231ee6; color: #d1f58c; font-size: 14px; }
.if-step-copy small { display: block; color: #b6d395; font: 9px/1.5 "IBM Plex Mono", monospace; font-size: 10px; }
.if-step-copy strong { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.home-page .if-step-copy p { margin-top: 6px; color: #d0ddd1; font-size: 13px; line-height: 1.7; }
.if-console-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #3c5143; }
.if-run-scenario { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 11px; border: 1px solid #90ae6f; border-radius: 3px; background: #263d29; color: #d1f58c; font: 500 10px/1.5 "Manrope", Arial, sans-serif; cursor: pointer; font-size: 12px; }
.if-run-scenario:hover { background: #d1f58c; color: #17201e; }
.if-console-actions > a { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; color: #c4d0c3; font-size: 12px; }
.if-console-actions > a:hover { color: #d1f58c; }
.home-page .if-console-caption { margin-top: 12px; color: #b7cab9; font-size: 11px; letter-spacing: .02em; }
.if-console-noscript { font-size: 11px; line-height: 1.8; }
.if-search-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-width: 36px; min-height: 40px; padding: 6px; border: 1px solid #536653; border-radius: 3px; color: #e0e8dc; background: transparent; cursor: pointer; }
.if-search-trigger[hidden] { display: none; }
.if-search-trigger:hover { border-color: #d1f58c; color: #d1f58c; }
.if-search-trigger kbd { display: none; font: 9px/1.5 "Manrope", Arial, sans-serif; color: #a7b6a5; }
.if-command { width: min(650px, calc(100% - 32px)); max-width: 650px; max-height: min(720px, calc(100dvh - 50px)); margin: auto; padding: 0; border: 1px solid #718367; border-radius: 8px; color: #e8eee3; background: #14231e; box-shadow: 0 25px 100px #0008; font-family: "Manrope", Arial, sans-serif; color-scheme: dark; }
.if-command::backdrop { background: #06120ed9; backdrop-filter: blur(10px); }
.if-command-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px 0; }
.if-command .if-command-head h2 { margin: 0; color: #f1f2ec; font: 500 21px/1.5 "Manrope", Arial, sans-serif; letter-spacing: -.035em; }
.if-command-head button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #52674f; border-radius: 3px; color: #f1f2ec; background: transparent; font-size: 25px; cursor: pointer; }
.if-command-head button:hover { background: #d1f58c; color: #17201e; }
.if-command-input { display: block; margin: 14px 24px 0; }
.if-command-input > span { display: block; margin-bottom: 10px; color: #aebfb2; font-size: 10px; }
.if-command-input input { box-sizing: border-box; width: 100%; min-width: 0; height: 51px; padding: 0 14px; border: 1px solid #75945f; border-radius: 4px; background: #0e1b15; color: #f1f2ec; font: 13px/1.5 "Manrope", Arial, sans-serif; }
.if-command-input input::placeholder { color: #849782; }
.if-command-status { padding: 14px 24px 9px; color: #aebfb2; font-size: 10px; }
.if-command-results { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0 12px 10px; list-style: none; }
.if-command-results li { margin: 0; padding: 0; }
.if-command-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 20px; margin: 2px 0; padding: 12px; border: 1px solid transparent; border-radius: 4px; color: #eef2e8; text-decoration: none; }
.if-command-results strong { font-size: 13px; line-height: 1.55; font-weight: 500; }
.if-command-results small { grid-column: 1; color: #a7baad; font-size: 10px; line-height: 1.7; }
.if-command-results span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #a7c68d; font-size: 9px; }
.if-command-results a:hover, .if-command-results a:focus-visible { outline: none; border-color: #789861; background: #273d2c; }
.if-command-empty { margin: 10px 24px 26px; color: #bdcdbf; font-size: 13px; line-height: 1.8; }
.if-command-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid #3c5143; color: #a7baad; font-size: 9px; }
.if-command-footer kbd { display: inline-block; min-width: 18px; padding: 2px 4px; margin-right: 3px; border: 1px solid #4b6350; border-radius: 2px; font: inherit; text-align: center; color: #d5e2cc; }
body.is-search-open { overflow: hidden; }
.site-footer .footer-contacts { min-width: 0; }
.site-footer .footer-contacts .footer-contact-link { display: flex; align-items: center; gap: 11px; min-height: 32px; color: #d4e1d0; font-weight: 500; }
.site-footer .footer-contacts .footer-contact-link > span { color: inherit; font-size: 13px; overflow-wrap: anywhere; }
.site-footer .footer-contacts .footer-contact-phone > span { color: #f1f2ec; font-size: 17px; letter-spacing: -.025em; white-space: nowrap; }
.site-footer .footer-contacts .footer-contact-link > svg, .site-footer .footer-office > svg { flex: 0 0 18px; color: #b9d493; }
.site-footer .footer-contacts .footer-contact-link:hover, .site-footer .footer-contacts .footer-contact-link:hover > span { color: #d1f58c; }
.site-footer .footer-office { display: flex; align-items: flex-start; gap: 11px; margin-top: 6px; padding-top: 16px; border-top: 1px solid #3c4c40; font-style: normal; }
.site-footer .footer-office > svg { margin-top: 3px; }
.site-footer .footer-office > span { color: #c2cec5; font-size: 13px; line-height: 1.85; }
.site-footer .footer-company-details { display: flex; flex-direction: column; gap: 5px; margin: 7px 0 0 29px; }
.site-footer .footer-company-details > span { color: #b5c4b8; font-size: 12px; }
.contact-list-item > a { overflow-wrap: anywhere; }
.contact-list-item > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.if-system-console :focus-visible, .if-search-trigger:focus-visible, .if-command :focus-visible { outline: 2px solid #d1f58c; outline-offset: 3px; }
@media (min-width: 1440px) { .if-search-trigger kbd { display: inline; } }
@media (max-width: 1180px) { .if-system-console { padding: 17px; } .if-system-node { width: 102px; padding: 8px; gap: 6px; } .if-system-core { width: 110px; } .if-console-top small { display: none; } }
@media (max-width: 980px) { .if-search-trigger { order: 2; } .home-page .mobile-menu-button { order: 3; margin-left: 0; } .if-system-tabs button { font-size: 11px; padding: 6px 4px; } .if-system-node { width: 94px; } .if-system-core { width: 105px; } .if-console-detail { grid-template-columns: 73px minmax(0, 1fr); gap: 11px; } }
@media (max-width: 720px) {
    .if-system-console { padding: 18px; width: 100%; box-sizing: border-box; }
    .if-console-top { margin-bottom: 16px; }
    .if-console-top small { display: inline; font-size: 11px; }
    .if-system-map { height: 230px; margin-top: 14px; }
    .if-system-tabs button { font-size: 11px; }
    .if-system-node { width: 110px; min-height: 44px; }
    .if-system-core { width: 118px; }
    .if-console-detail { display: flow-root; min-height: 0; padding: 18px 0; }
    .if-console-screen { float: left; width: 76px; height: 76px; margin: 0 14px 12px 0; }
    .if-step-copy strong { font-size: 14px; }
    .home-page .if-step-copy p { clear: both; margin-top: 0; padding-top: 10px; font-size: 13px; }
    .if-console-actions > a, .if-run-scenario { font-size: 12px; min-height: 42px; }
    .if-command { max-height: calc(100dvh - 24px); width: calc(100% - 24px); }
    .if-command-head { padding: 16px 16px 0; }
    .if-command-input { margin: 12px 16px 0; }
    .if-command-input input { font-size: 16px; }
    .if-command-status { padding-left: 16px; }
    .if-command-results { max-height: min(340px, 45dvh); padding-left: 8px; padding-right: 8px; }
    .if-command-results a { gap: 5px 12px; }
    .if-command-footer { padding: 13px 16px; font-size: 8px; }
    .if-command-empty { margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 380px) {
    .if-system-console { padding: 14px; }
    .if-system-node { width: 96px; }
    .if-system-core { width: 103px; }
    .if-console-top small { display: none; }
    .if-system-tabs button { font-size: 11px; }
    .if-console-screen { width: 60px; height: 60px; margin-right: 12px; }
    .if-step-copy strong { font-size: 14px; }
    .home-page .if-step-copy p { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
    .if-system-console.is-running .if-system-wires path.is-active { stroke-dasharray: 6 10; animation: if-signal 1.1s linear infinite; }
    .if-system-console.is-running .if-system-core { animation: if-core-pulse 2s ease-in-out infinite; }
    .if-command[open] { animation: if-search-enter .16s ease-out; }
    @keyframes if-signal { to { stroke-dashoffset: -32; } }
    @keyframes if-core-pulse { 50% { border-color: #d1f58c; box-shadow: 0 0 0 6px #14231e, 0 0 30px #d1f58c20; } }
    @keyframes if-search-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

/* Ordered workflows support a different number of steps in each product. */
.if-system-console .if-system-map { height: auto; margin: 16px 0; background: none; }
.if-system-console .if-system-core { position: static; inset: auto; transform: none; flex-direction: row; justify-content: flex-start; gap: 10px; width: 100%; min-height: 0; margin-bottom: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.if-system-console .if-system-core > strong, .if-system-console .if-system-core > small { margin: 0; }
.if-system-console .if-system-core > small { margin-left: auto; font-size: 11px; }
.if-system-console .if-system-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.if-system-console .if-system-nodes[data-step-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.if-system-console .if-system-node { position: relative; inset: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; width: 100%; min-width: 0; min-height: 62px; padding: 8px; border-radius: 3px; }
.if-system-console .if-system-node > span { font-size: 11px; }
.if-system-console .if-system-node > strong { font-size: 12px; overflow-wrap: anywhere; }
.if-system-console .if-console-screen[hidden] { display: none; }
.if-system-console .if-console-detail.is-text-only { display: block; }
.if-system-console.is-running .if-system-core { animation: none; box-shadow: none; }
.hf-journey-steps-long { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .hf-journey-steps-long { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    .hf-journey-steps-long { grid-template-columns: minmax(0, 1fr); }
    .if-system-console .if-system-core > small { max-width: 100px; text-align: right; }
}

/* Participants and directional connections for the public product demonstration. */
.if-system-console { scroll-margin-top: 110px; }
.if-party-icon > span { display: grid; place-items: center; }
.if-party-icon > span[hidden] { display: none; }
.if-system-console .if-interaction { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.25fr) 36px minmax(0, 1fr); align-items: center; min-width: 0; padding: 12px 0 18px; }
.if-participant { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; color: #c5d3c7; }
.if-party-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #526b55; border-radius: 4px; background: #182b22; color: #c5d3c7; }
.if-party-icon svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.5; }
.if-participant > strong { font-size: 12px; line-height: 1.5; font-weight: 500; }
.if-participant.is-active { color: #e6ffc0; }
.if-participant.is-active .if-party-icon { border-color: #d1f58c; color: #d1f58c; background: #2c452e; }
.if-system-console .if-interaction .if-system-core { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 106px; margin: 0; padding: 10px 2px; border: 1px solid #526b55; border-radius: 4px; background: #182b22; transform: none; box-shadow: none; }
.if-system-console .if-interaction .if-system-core.is-active { border-color: #d1f58c; background: #243d2b; }
.if-system-console .if-interaction .if-system-core > small { margin: 0; max-width: none; color: #c5d3c7; font-size: 11px; text-align: center; }
.if-system-console .if-interaction .if-system-core > strong { margin: 0; color: #f1f2ec; font-size: 13px; line-height: 1.4; letter-spacing: -.035em; }
.if-system-console .if-interaction .if-core-mark { color: #d1f58c; font-size: 20px; }
.if-interaction .if-kind { display: none; }
.if-connections { display: block; width: 100%; height: 64px; overflow: visible; }
.if-connections g { stroke: #4b6854; stroke-width: 1.5; }
.if-connections g.is-active { stroke: #d1f58c; }
.if-system-console .if-system-nodes[data-step-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.if-system-console .if-system-nodes[data-step-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.if-system-console .if-system-node { align-items: center; padding: 7px 3px; text-align: center; }
.if-system-console .if-system-node > strong { font-size: 11px; }
@media (max-width: 980px) {
    .if-system-console .if-interaction { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.25fr) 20px minmax(0, 1fr); }
    .if-system-console .if-system-node { min-height: 44px; }
    .if-system-console .if-system-node > strong { display: none; }
    .if-system-console .if-system-node > span { font-size: 13px; }
}
@media (max-width: 380px) {
    .if-system-console .if-interaction { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.25fr) 16px minmax(0, 1fr); }
    .if-participant > strong { font-size: 11px; }
    .if-system-console .if-interaction .if-system-core > strong { font-size: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
    .if-system-console.is-running .if-connections g.is-active .if-flow-line { stroke-dasharray: 5 5; animation: if-flow-move .9s linear infinite; }
    .if-system-console.is-running [data-party="platform"] .if-core-mark { animation: if-platform-glow 1.6s ease-in-out infinite; }
    @keyframes if-flow-move { to { stroke-dashoffset: -20; } }
    @keyframes if-platform-glow { 50% { opacity: .45; } }
}
/* Privacy preference is a button, styled alongside footer navigation links. */
.footer-column .footer-cookie-settings { display: block; width: fit-content; padding: 0; border: 0; background: none; color: var(--muted); font-family: inherit; font-size: 13.5px; font-weight: 400; line-height: 1.45; text-align: left; cursor: pointer; }
.footer-column .footer-cookie-settings:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-page .footer-column .footer-cookie-settings { color: #c2cec5; font-size: 13px; }
.home-page .footer-column .footer-cookie-settings:hover { color: var(--hf-lime); }
