/* Visual treatment of the supplied standalone HTML, shared by Django pages. */
body { background: transparent; }
.itk-bg { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.reveal { opacity: 1; transform: none; }
html.motion-ready .reveal { opacity: 0; transform: translateY(26px); filter: blur(3px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.2,1), filter .72s ease; transition-delay: var(--reveal-delay, 0ms); }
html.motion-ready .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.utility-bar { border-bottom: 1px solid var(--line); background: var(--bg-soft); color: var(--text-faint); font-size: 12px; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 37px; gap: 20px; }
.utility-bar__contacts { display: flex; gap: 24px; }
.utility-bar a:hover { color: var(--blue); }
.site-header { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.header-inner { gap: 24px; }
.desktop-nav { gap: clamp(20px, 2.2vw, 34px); }
.brand { width: 250px; }

.hero--reference { padding: 36px 0 20px; }
.hero--reference::before { display: none; }
.hero--reference .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; padding: 64px 56px; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #02162e, #062c4c); }
.hero--reference .hero-copy h1 { max-width: 16ch; margin-bottom: 22px; color: #fff; font-size: clamp(34px, 3.3vw, 47px); }
.hero--reference .hero-copy .eyebrow { margin-bottom: 20px; background: rgba(103,166,255,.16); color: #8ab8ff; }
.hero--reference .hero-copy .lead { max-width: 46ch; margin-bottom: 30px; color: #b8c8da; font-size: 18px; line-height: 1.55; }
.button--hero-secondary { border-color: rgba(255,255,255,.45); background: transparent; color: #fff; }
.button--hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.hero--reference .dashboard-visual { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); box-shadow: 0 30px 70px rgba(0,0,0,.4); transform: perspective(1200px) rotateY(-4deg); }
.hero--reference .visual-top { color: #8ea4bd; }
.hero--reference .visual-status { color: #fff; }
.hero--reference .integration-flow { display: none; }
.hero--reference .chart-area { fill: url(#area); }
.hero--reference .chart-card--wide:hover .chart-line { animation: none; }
html.motion-ready .hero--reference .dashboard-visual .chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion-ready .hero--reference .dashboard-visual.is-chart-active .chart-line { animation: itk-chart-draw 2.1s cubic-bezier(.22,1,.36,1) forwards; }
html.motion-ready .hero--reference .dashboard-visual .chart-area { opacity: 0; }
html.motion-ready .hero--reference .dashboard-visual.is-chart-active .chart-area { animation: itk-chart-area 1.3s .65s ease-out both; }
html.motion-ready .hero--reference .dashboard-visual .chart-dots circle { opacity: 0; }
html.motion-ready .hero--reference .dashboard-visual.is-chart-active .chart-dots circle { animation: itk-chart-dot .5s ease-out both; }
.dashboard-visual.is-chart-active .chart-dots circle:nth-child(1) { animation-delay: .65s !important; }
.dashboard-visual.is-chart-active .chart-dots circle:nth-child(2) { animation-delay: .86s !important; }
.dashboard-visual.is-chart-active .chart-dots circle:nth-child(3) { animation-delay: 1.07s !important; }
.dashboard-visual.is-chart-active .chart-dots circle:nth-child(4) { animation-delay: 1.28s !important; }
.dashboard-visual.is-chart-active .chart-dots circle:nth-child(5) { animation-delay: 1.49s !important; }
@keyframes itk-chart-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes itk-chart-area { from { opacity: 0; } to { opacity: 1; } }
@keyframes itk-chart-dot { from { opacity: 0; } to { opacity: 1; } }
.home-page .trust-grid article { padding-block: 24px; }
.home-page .section { padding-block: 84px; }
.home-page .section-heading { margin-bottom: 42px; }
.home-page .products-section { padding-bottom: 84px; }
.home-page .services-section { padding-block: 84px; }

.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.home-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.2,.75,.2,1); }
.home-product-card:hover, html.motion-ready .home-product-card.reveal.is-visible:hover { transform: translateY(-7px) scale(1.018); border-color: var(--blue); box-shadow: 0 20px 42px color-mix(in srgb, var(--blue) 13%, transparent); transition-delay: 0ms; }
.home-product-card .service-icon { transition: transform .32s ease; }
.home-product-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.home-product-card__visual { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid color-mix(in srgb, var(--blue) 20%, var(--line)); background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 650; }
.home-product-card__visual .service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); }
.home-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.home-product-card h3 { margin-bottom: 12px; font-size: 21px; }
.home-product-card p { min-height: 85px; margin-bottom: 20px; font-size: 14px; }
.home-product-card__bottom { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.home-product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.home-product-card__price strong { color: var(--text); font-size: 22px; line-height: 1.2; }
.home-product-card__price small { color: var(--text-faint); font-size: 12px; }
.home-product-card .button { align-self: stretch; justify-content: center; }
.button--soft { border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); background: var(--blue-soft); color: var(--blue); }
.button--soft:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, var(--surface)); }
.service-category { min-height: 310px; overflow: hidden; isolation: isolate; transition: border-color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.2,.75,.2,1); }
.service-category::before { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--blue-soft), var(--surface) 67%); opacity: 0; content: ""; pointer-events: none; transition: opacity .32s ease; }
.service-category > :not(.category-number) { position: relative; z-index: 1; }
.service-category:hover, html.motion-ready .service-category.reveal.is-visible:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--blue) 48%, var(--line)); box-shadow: 0 18px 36px color-mix(in srgb, var(--blue) 10%, transparent); transition-delay: 0ms; }
.service-category:hover::before { opacity: 1; }
.service-category .category-number { top: 16px; right: 20px; z-index: 1; color: var(--line-strong); font-size: 56px; font-weight: 680; letter-spacing: -.04em; line-height: 1; transition: color .32s ease, transform .32s ease; }
.service-category:hover .category-number { color: color-mix(in srgb, var(--blue) 20%, var(--line)); transform: scale(1.06); }
.service-category h3 { margin-top: 56px; }
.service-category .inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 650; }
.service-category .inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: stretch; gap: 14px; }
.home-offer-grid .plan-card { min-height: 440px; }
.home-offer-grid .plan-card--highlight { box-shadow: var(--shadow-md); }
.home-offer-grid .plan-card__title { min-height: 2.4em; font-size: 21px; }
.home-offer-grid .plan-card__price { min-height: 2.2em; margin-top: 6px; font-size: 29px; }
.home-offer-grid .plan-card__text { min-height: 3.5em; }
.home-offer-grid .plan-card__features { margin-bottom: 22px; }
.home-offer-grid .button { justify-content: center; margin-top: auto; }
.home-offer-grid .plan-card__cta { padding-top: 16px; }
.home-page .cases-section .case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

.partner-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-marquee__track { display: flex; width: max-content; animation: itk-marquee 26s linear infinite; will-change: transform; }
.partner-marquee__set { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.partner-marquee__set .partner-chip { width: 250px; flex: 0 0 250px; }
.partner-marquee:hover .partner-marquee__track, .partner-marquee:focus-within .partner-marquee__track { animation-play-state: paused; }
.partner-marquee--static { -webkit-mask-image: none; mask-image: none; }
.partner-marquee--static .partner-marquee__track { max-width: var(--container); margin-inline: auto; animation: none; }
@keyframes itk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cta-panel--reference { grid-template-columns: .85fr 1.15fr; gap: 64px; padding: 56px; }
.cta-panel--reference .cta-overview h2 { max-width: 14ch; font-size: clamp(30px, 3vw, 42px); }
.cta-steps { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: cta-step; }
.cta-steps li { position: relative; min-height: 64px; padding-left: 52px; counter-increment: cta-step; }
.cta-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; content: counter(cta-step); font-size: 13px; font-weight: 700; }
.cta-steps li:not(:last-child)::after { position: absolute; top: 38px; bottom: -17px; left: 18px; border-left: 1px dashed var(--line-strong); content: ""; }
.cta-steps strong, .cta-steps span { display: block; }
.cta-steps strong { color: var(--text); font-size: 15px; }
.cta-steps span { margin-top: 6px; color: var(--text-soft); font-size: 13px; line-height: 1.5; }
.cta-contacts { display: grid; gap: 6px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 13px; }
.cta-contacts a:hover { color: var(--blue); }

/* Inner pages inherit the same dark opening panel as the reference hero. */
.page-hero { padding: 36px 0 20px; border: 0; background: var(--bg); }
.page-hero > .container { width: min(var(--container), calc(100% - var(--gutter) * 2)); max-width: none; padding: 52px 56px; border-radius: 20px; background: linear-gradient(135deg, #02162e, #062c4c); }
.page-hero--split > .container:not(:has(.page-hero__media)) { display: block; }
.page-hero h1 { max-width: 19ch; font-size: clamp(38px, 3.7vw, 54px); }
.page-hero .lead { max-width: 64ch; font-size: 18px; }
.page-hero h1, .page-hero h2 { color: #fff; }
.page-hero .lead, .page-hero p { color: #b8c8da; }
.page-hero .detail-result-card p { color: var(--text); }
.page-hero .eyebrow { background: rgba(103,166,255,.16); color: #8ab8ff; }
.page-hero .breadcrumbs { color: #a5bad3; }
.page-hero .breadcrumbs b, .product-hero .breadcrumbs b, .article-header .breadcrumbs b { color: #c7d8eb; }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .button--text { color: #fff; }
.page-hero__media { border-color: rgba(255,255,255,.18); }
.page-hero__media--empty { background: rgba(255,255,255,.08); color: #8ab8ff; }
.product-hero { padding: 36px 0 20px; border: 0; background: var(--bg); }
.product-hero > .container { padding: 52px 56px; border-radius: 20px; background: linear-gradient(135deg, #02162e, #062c4c); }
.product-hero h1 { max-width: 19ch; color: #fff; font-size: clamp(38px, 3.7vw, 54px); }
.product-hero .lead { color: #b8c8da; font-size: 18px; }
.product-hero .eyebrow { background: rgba(103,166,255,.16); color: #8ab8ff; }
.product-hero .breadcrumbs { color: #a5bad3; }
.product-hero .breadcrumbs a:hover { color: #fff; }
.product-hero .button--outline { border-color: rgba(255,255,255,.45); color: #fff; }
.product-hero .button--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.article-header { padding: 36px 0 24px; border: 0; background: var(--bg); }
.article-header > .container { width: min(var(--container), calc(100% - var(--gutter) * 2)); max-width: none; padding: 52px 56px; border-radius: 20px; background: linear-gradient(135deg, #02162e, #062c4c); }
.article-header h1 { max-width: 24ch; color: #fff; font-size: clamp(38px, 3.7vw, 54px); }
.article-header .lead, .article-header .article-meta { color: #b8c8da; }
.article-header .eyebrow { background: rgba(103,166,255,.16); color: #8ab8ff; }
.article-header .breadcrumbs { color: #a5bad3; }
.article-header .breadcrumbs a:hover { color: #fff; }
.article-cover { margin-top: 32px; }
.about-story-panel { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; padding: 42px 48px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.about-story-panel p { max-width: 62ch; margin: 20px 0 0; font-size: 18px; }
.contact-quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 14px; }
.contact-quick-grid > a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.contact-quick-grid > a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-quick-grid .eyebrow { margin-bottom: 6px; }
.contact-quick-grid strong { max-width: 100%; overflow-wrap: anywhere; color: var(--text); font-size: 19px; }
.contact-quick-grid span:last-child { color: var(--text-soft); font-size: 13px; }

.site-footer { padding-top: 56px; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--text); }
.footer-lead { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.footer-lead .footer-brand { max-width: none; }
.footer-lead .footer-brand p { margin-top: 10px; }
.footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; padding-block: 38px 44px; }
.footer-grid h3 { color: var(--text); }
.footer-brand p, .footer-grid a:not(.button), .footer-grid span { color: var(--text-soft); }
.footer-grid a:not(.button):hover, .footer-bottom a:hover { color: var(--blue); }
.brand--footer { color: var(--text); }
.footer-bottom { border-top-color: var(--line); color: var(--text-faint); }
.site-footer .button--on-dark { border-color: var(--line-strong); color: var(--blue); }
.site-footer .button--on-dark:hover { border-color: var(--blue); background: var(--blue-soft); }
html[data-theme="dark"] .site-footer { background: var(--surface-navy); color: #eff6ff; }
html[data-theme="dark"] .footer-grid h3 { color: #fff; }
html[data-theme="dark"] .footer-brand p, html[data-theme="dark"] .footer-grid a:not(.button), html[data-theme="dark"] .footer-grid span { color: #a9bbcf; }
html[data-theme="dark"] .brand--footer { color: #fff; }
html[data-theme="dark"] .site-footer .button--on-dark { color: #fff; border-color: rgba(255,255,255,.5); }

@media (max-width: 1100px) {
  .utility-bar { display: none; }
  .hero--reference .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 30px; }
  .hero--reference .dashboard-visual { max-width: 680px; transform: none; }
  .home-product-grid, .home-offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-panel--reference { grid-template-columns: 1fr; gap: 36px; }
  .about-story-panel { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .hero--reference { padding-top: 16px; }
  .hero--reference .hero-grid { padding: 32px 22px; border-radius: 16px; }
  .hero--reference .hero-copy h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero--reference .hero-copy .lead { font-size: 16px; }
  .hero--reference .button-row { display: grid; }
  .hero--reference .button-row .button { justify-content: center; }
  .home-page .section { padding-block: 62px; }
  .home-product-grid, .home-offer-grid, .home-page .cases-section .case-grid { grid-template-columns: 1fr; }
  .home-product-card p, .home-offer-grid .plan-card__text { min-height: 0; }
  .home-offer-grid .plan-card { min-height: 0; }
  .page-hero { padding-top: 16px; }
  .page-hero > .container { padding: 32px 22px; border-radius: 16px; }
  .product-hero { padding-top: 16px; }
  .product-hero > .container, .article-header > .container { padding: 32px 22px; border-radius: 16px; }
  .cta-panel--reference { padding: 28px 22px; }
  .about-story-panel { padding: 28px 22px; }
  .footer-lead { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .partner-marquee__set .partner-chip { width: 220px; flex-basis: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero--reference .dashboard-visual .chart-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero--reference .dashboard-visual .chart-area, .hero--reference .dashboard-visual .chart-dots circle { opacity: 1 !important; animation: none !important; }
  .home-product-card, .service-category, .service-category .category-number { transform: none !important; transition: none !important; }
  .partner-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .partner-marquee__track { animation: none; will-change: auto; }
  .partner-marquee__set--clone { display: none; }
}
