/* =========================================================
   DEVOPS EXPERTS INDIA - HIRE DEVOPS ENGINEERS
   Light, open layout. No card boxes. Motion is driven by
   scroll reveals, the capability switcher and the timeline.
   ========================================================= */


/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */

:root {

    /* Brand (new theme: ink + lime on warm cream) */
    --hd-ink: #14141E;
    --hd-ink-2: #23232F;
    --hd-ink-3: #1B1B27;
    --hd-lime: #DDF24A;
    --hd-lime-deep: #C6DC2E;
    --hd-blue: #14141E;
    --hd-indigo: #23232F;
    --hd-brand-1: #14141E;
    --hd-brand-2: #23232F;
    --hd-gradient: linear-gradient(93.06deg, #14141E 38.02%, #23232F 80.46%);
    --hd-gradient-btn: linear-gradient(to left, #14141E, #23232F);
    --hd-blue-soft: #EEEFF3;
    --hd-blue-faint: rgba(221, 242, 74, 0.35);

    /* Ink */
    --hd-heading: #14141E;
    --hd-body: #4A4B58;
    --hd-muted: #6B6C78;
    --hd-faint: #9294A5;
    --hd-on-dark: #FFFFFF;
    --hd-on-dark-soft: rgba(255, 255, 255, 0.78);

    /* Surfaces */
    --hd-surface: #FFFFFF;
    --hd-soft: #F7F8FA;
    --hd-tint: #F1F2F5;
    --hd-cream: #F7F8FA;
    --hd-line: #E3E4E8;
    --hd-line-strong: #CDCFD6;

    /* Elevation */
    --hd-shadow-header: 0 1px 0 rgba(20, 20, 30, 0.05), 0 8px 28px rgba(20, 20, 30, 0.05);
    --hd-shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.04), 0 6px 16px rgba(20, 20, 30, 0.06);
    --hd-shadow-md: 0 2px 6px rgba(20, 20, 30, 0.05), 0 14px 32px rgba(20, 20, 30, 0.09);
    --hd-shadow-btn: 0 10px 24px rgba(20, 20, 30, 0.28);

    /* Shape and rhythm */
    --hd-radius-sm: 8px;
    --hd-radius: 12px;
    --hd-radius-lg: 16px;
    --hd-radius-xl: 24px;
    --hd-pad: 72px;
    --hd-header-h: 82px;

    /* Motion */
    --hd-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hd-dur: 0.3s;

    /* Type */
    --hd-font: 'Lexend Deca', 'Segoe UI', system-ui, -apple-system, sans-serif;
}


/* ---------------------------------------------------------
   2. BASE
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--hd-header-h) + 16px);
}

body {
    font-family: var(--hd-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--hd-body);
    background: var(--hd-surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    color: var(--hd-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0;
}

p {
    margin: 0;
}

ul, ol, dl {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

dd {
    margin: 0;
}

a {
    color: var(--hd-blue);
    text-decoration: none;
    transition: color var(--hd-dur) var(--hd-ease);
}

a:hover {
    color: var(--hd-indigo);
}

address {
    margin: 0;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--hd-brand-1);
    outline-offset: 3px;
    border-radius: 8px;
}

.hd-skip {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 1100;
    padding: 10px 16px;
    background: var(--hd-ink);
    color: var(--hd-on-dark);
    border-radius: var(--hd-radius-sm);
    font-weight: 500;
}

.hd-skip:focus {
    top: 12px;
    color: var(--hd-on-dark);
}

.hd-ico {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hd-ico--solid {
    fill: currentColor;
    stroke: none;
}

.hd-grad {
    background: var(--hd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ---------------------------------------------------------
   3. SHARED PATTERNS
   --------------------------------------------------------- */

.hd-section {
    position: relative;
    padding-block: var(--hd-pad);
    overflow: clip;
}

.hd-section--soft {
    background:
        radial-gradient(720px 420px at 0% 0%, rgba(20, 20, 30, 0.07), transparent 65%),
        radial-gradient(720px 420px at 100% 100%, rgba(221, 242, 74, 0.06), transparent 65%),
        var(--hd-soft);
}

/* Centred section intro */

.hd-head {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 56px;
}

.hd-head::before {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: var(--hd-gradient);
}

.hd-process__intro .hd-head::before {
    margin-inline: 0;
}

.hd-head__title {
    font-size: 36px;
    letter-spacing: -0.02em;
}

.hd-head__text {
    margin-top: 12px;
    font-size: 16px;
    color: var(--hd-body);
}

/* Eyebrow label */

.hd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    box-shadow: var(--hd-shadow-sm);
    color: var(--hd-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hd-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hd-gradient);
    box-shadow: 0 0 0 4px var(--hd-blue-faint);
}

/* Small uppercase labels used inside sections */

.hd-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
}

/* Note */

.hd-note {
    max-width: 760px;
    margin: 48px auto 0;
    text-align: center;
    font-size: 15px;
    color: var(--hd-muted);
}

.hd-note a {
    font-weight: 500;
    border-bottom: 1px solid currentColor;
}

/* Buttons */

.hd-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    transition:
        transform var(--hd-dur) var(--hd-ease),
        box-shadow var(--hd-dur) var(--hd-ease),
        color var(--hd-dur) var(--hd-ease);
}

.hd-btn:hover {
    transform: translateY(-2px);
}

.hd-btn--sm {
    min-height: 42px;
    padding: 0 22px;
    font-size: 15px;
}

.hd-btn--lg {
    min-height: 58px;
    padding: 0 32px;
    font-size: 17px;
}

.hd-btn--gradient {
    background: var(--hd-gradient-btn);
    color: var(--hd-on-dark);
    box-shadow: var(--hd-shadow-btn);
}

.hd-btn--gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--hd-ease);
}

.hd-btn--gradient:hover {
    color: var(--hd-on-dark);
    box-shadow: 0 12px 28px rgba(20, 20, 30, 0.32);
}

.hd-btn--gradient:hover::after {
    transform: translateX(120%);
}

.hd-btn .hd-ico {
    position: relative;
    z-index: 1;
    transition: transform var(--hd-dur) var(--hd-ease);
}

.hd-btn:hover .hd-ico {
    transform: translateX(4px);
}

/* Chips: brand-colour logos + label */

.hd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hd-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    font-size: 13px;
    font-weight: 500;
    color: var(--hd-heading);
    transition: transform var(--hd-dur) var(--hd-ease), box-shadow var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease);
}

.hd-chips li:hover {
    transform: translateY(-2px);
    border-color: var(--hd-line-strong);
    box-shadow: var(--hd-shadow-sm);
}

.hd-chips img {
    width: auto;
    height: 18px;
    max-width: 34px;
    object-fit: contain;
}

.hd-mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 6px;
    background: var(--hd-blue-soft);
    color: var(--hd-blue);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Check list (FAQ) */

.hd-checks li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
}

.hd-checks li + li {
    margin-top: 10px;
}

.hd-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hd-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Scroll reveal. Only hides once the script has run, so a failed
   script still shows the page. Stagger delays are set by script. */

.js .hd-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s var(--hd-ease),
        transform 0.7s var(--hd-ease);
}

.js .hd-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Hero entrance */

.js .hd-in {
    opacity: 0;
    transform: translateY(18px);
    animation: hdIn 0.8s var(--hd-ease) forwards;
}

.js .hd-in--1 { animation-delay: 0.05s; }
.js .hd-in--2 { animation-delay: 0.15s; }
.js .hd-in--3 { animation-delay: 0.28s; }
.js .hd-in--4 { animation-delay: 0.4s; }
.js .hd-in--5 { animation-delay: 0.52s; }

@keyframes hdIn {
    to {
        opacity: 1;
        transform: none;
    }
}


/* ---------------------------------------------------------
   4. HEADER
   --------------------------------------------------------- */

.hd-header-sentinel {
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
}

.hd-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hd-line);
    transition: box-shadow 0.3s var(--hd-ease), background 0.3s var(--hd-ease);
}

.hd-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--hd-shadow-header);
}

.hd-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--hd-header-h);
    flex-wrap: wrap;
}

.hd-brand {
    display: inline-flex;
    align-items: center;
}

.hd-brand__logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.hd-header__collapse,
.hd-header__collapse:not(.show) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 1 1 auto;
}

.hd-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hd-nav__link {
    position: relative;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    color: #14141E;
    white-space: nowrap;
    transition: color 0.22s var(--hd-ease), background-color 0.22s var(--hd-ease);
}

.hd-nav__link:hover {
    color: var(--hd-ink);
    background: var(--hd-tint);
}

.hd-nav__link[aria-current="page"] {
    color: var(--hd-brand-1);
    background: var(--hd-blue-soft);
}

.hd-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius-sm);
}

.hd-toggler span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--hd-ink);
    transition: transform var(--hd-dur) var(--hd-ease), opacity var(--hd-dur) var(--hd-ease);
}

.hd-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hd-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hd-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------------------------------------------------------
   5. HERO (light)
   --------------------------------------------------------- */

.hd-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 700px;
    padding-block: 96px 104px;
    background: #14141E;
    color: var(--hd-on-dark);
    overflow: hidden;
}

/* Legibility overlay: deepens the blue behind the copy, fades out over the visual */

.hd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20, 20, 30, 0.72) 0%, rgba(20, 20, 30, 0.48) 34%, rgba(20, 20, 30, 0.08) 58%, rgba(20, 20, 30, 0) 100%);
    pointer-events: none;
}

/* Soft glow so the copy column never fights the artwork */

.hd-hero__blob {
    position: absolute;
    z-index: 1;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}

.hd-hero__blob--a {
    top: -200px;
    left: -160px;
    background: radial-gradient(circle, rgba(20, 20, 30, 0.55), transparent 65%);
}

.hd-hero__blob--b {
    bottom: -260px;
    left: 8%;
    background: radial-gradient(circle, rgba(221, 242, 74, 0.45), transparent 65%);
    animation-delay: -6s;
}

@keyframes hdFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-24px, 28px, 0) scale(1.06); }
}

.hd-hero > .container {
    position: relative;
    z-index: 2;
}

.hd-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.hd-hero .hd-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    color: var(--hd-on-dark);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hd-hero .hd-eyebrow::before {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.hd-hero__title {
    margin-top: 24px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--hd-on-dark);
}

.hd-hero__title .hd-grad {
    background: linear-gradient(93deg, #A9CBFF 10%, #E2D3FF 90%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hd-hero__text {
    margin-top: 22px;
    max-width: 600px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.hd-hero__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    margin-top: 30px;
}

.hd-hero__points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--hd-on-dark);
}

.hd-hero__points .hd-ico {
    margin-top: 0.2em;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    color: var(--hd-on-dark);
    stroke-width: 2.8;
}

.hd-hero .hd-btn {
    margin-top: 36px;
    box-shadow: 0 12px 28px rgba(20, 20, 30, 0.45);
}

.hd-hero .hd-btn--gradient:hover {
    box-shadow: 0 16px 34px rgba(20, 20, 30, 0.55);
}


/* ---------------------------------------------------------
   6. PROBLEMS (open grid, hairline dividers)
   --------------------------------------------------------- */

.hd-problems {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--hd-line);
}

.hd-problem {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 32px 36px;
    border-bottom: 1px solid var(--hd-line);
}

.hd-problem:nth-child(3n + 2),
.hd-problem:nth-child(3n + 3) {
    border-left: 1px solid var(--hd-line);
}

/* Gradient hairline that draws in on hover */

.hd-problem::after {
    content: '';
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: -1px;
    height: 2px;
    background: var(--hd-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--hd-ease);
}

.hd-problem:hover::after {
    transform: scaleX(1);
}

.hd-problem__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--hd-blue-soft);
    color: var(--hd-blue);
    font-size: 24px;
    transition: background var(--hd-dur) var(--hd-ease), color var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease);
}

.hd-problem:hover .hd-problem__icon {
    background: var(--hd-gradient);
    color: var(--hd-on-dark);
    transform: rotate(-6deg) scale(1.05);
}

.hd-problem h3 {
    margin-bottom: 12px;
    font-size: 21px;
    transition: color var(--hd-dur) var(--hd-ease);
}

.hd-problem:hover h3 {
    color: var(--hd-blue);
}

.hd-problem p {
    flex: 1 1 auto;
    font-size: 15px;
}

.hd-problem__map {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hd-heading);
}

.hd-problem__map span {
    display: block;
    width: 100%;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-faint);
}

.hd-problem__map .hd-ico {
    color: var(--hd-blue);
    transition: transform var(--hd-dur) var(--hd-ease);
}

.hd-problem__map:hover {
    color: var(--hd-blue);
}

.hd-problem__map:hover .hd-ico {
    transform: translateX(4px);
}

/* Section-level CTA banner: rounded card on the hero artwork */

.hd-cta {
    margin-top: 72px;
}

.hd-cta--wide {
    margin-bottom: 0;
}

.hd-cta__inner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 56px;
    border-radius: var(--hd-radius-xl);
    background: #14141E;
    color: var(--hd-on-dark);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(20, 20, 30, 0.22);
}

.hd-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(20, 20, 30, 0.92) 0%, rgba(20, 20, 30, 0.74) 46%, rgba(20, 20, 30, 0.3) 100%);
}

.hd-cta__inner::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -60px;
    z-index: -1;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 242, 74, 0.45), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.hd-cta__title {
    max-width: 640px;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--hd-on-dark);
}

.hd-cta .hd-btn {
    flex: 0 0 auto;
    box-shadow: 0 12px 28px rgba(20, 20, 30, 0.45);
}

.hd-cta .hd-btn--gradient:hover {
    box-shadow: 0 16px 34px rgba(20, 20, 30, 0.55);
}


/* ---------------------------------------------------------
   7. CAPABILITIES (vertical list + detail panel)
   --------------------------------------------------------- */

.hd-cap {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.hd-cap__list {
    position: sticky;
    top: calc(var(--hd-header-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Connector line down the list */

.hd-cap__list::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 33px;
    width: 2px;
    background: var(--hd-line);
    z-index: 0;
}

.hd-cap__item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px 14px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--hd-muted);
    cursor: pointer;
    overflow: hidden;
    transition:
        background var(--hd-dur) var(--hd-ease),
        color var(--hd-dur) var(--hd-ease),
        border-color var(--hd-dur) var(--hd-ease),
        box-shadow var(--hd-dur) var(--hd-ease),
        transform var(--hd-dur) var(--hd-ease);
}

.hd-cap__item:hover {
    color: var(--hd-heading);
    background: rgba(255, 255, 255, 0.7);
}

.hd-cap__item[aria-selected="true"] {
    color: var(--hd-heading);
    background: var(--hd-surface);
    border-color: var(--hd-line);
    box-shadow: var(--hd-shadow-md);
    transform: translateX(4px);
}

.hd-cap__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--hd-soft);
    border: 2px solid var(--hd-line);
    color: var(--hd-muted);
    font-size: 12px;
    font-weight: 600;
    transition: background var(--hd-dur) var(--hd-ease), color var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease);
}

.hd-cap__item[aria-selected="true"] .hd-cap__num {
    background: var(--hd-gradient);
    border-color: transparent;
    color: var(--hd-on-dark);
    box-shadow: 0 0 0 4px var(--hd-blue-faint);
}

.hd-cap__label {
    flex: 1 1 auto;
    line-height: 1.35;
}

.hd-cap__arrow {
    color: var(--hd-blue);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease);
}

.hd-cap__item[aria-selected="true"] .hd-cap__arrow {
    opacity: 1;
    transform: none;
}

/* Autoplay progress line along the bottom of the active item */

.hd-cap__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--hd-gradient);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
    opacity: 0;
}

.hd-cap.is-autoplay .hd-cap__item[aria-selected="true"] .hd-cap__bar {
    opacity: 1;
}

/* Panel */

.hd-cap__stage {
    position: relative;
    padding: 40px 44px;
    background: var(--hd-tint);
    border-radius: 28px;
}

.hd-cap__stage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(500px 240px at 100% 0%, rgba(20, 20, 30, 0.08), transparent 70%);
    pointer-events: none;
}

.hd-cap__panel {
    position: relative;
    animation: hdPanel 0.55s var(--hd-ease);
}

@keyframes hdPanel {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hd-cap__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    color: var(--hd-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hd-cap__badge .hd-ico {
    padding: 4px;
    border-radius: 50%;
    background: var(--hd-gradient);
    color: var(--hd-on-dark);
    font-size: 20px;
}

.hd-cap__panel h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 28px;
}

.hd-cap__row {
    padding: 22px 0;
    border-top: 1px solid rgba(16, 17, 48, 0.08);
}

.hd-cap__row:first-of-type {
    border-top: 0;
}

.hd-cap__row h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
}

.hd-cap__row h4::before {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--hd-gradient);
}

.hd-cap__row p {
    font-size: 15.5px;
    color: var(--hd-body);
}

.hd-cap__row--outcome {
    position: relative;
    margin-block: 4px;
    padding: 22px 24px;
    border-top: 0;
    border-radius: 16px;
    background: var(--hd-surface);
    border-left: 3px solid var(--hd-blue);
    box-shadow: var(--hd-shadow-sm);
}

.hd-cap__row--outcome + .hd-cap__row {
    border-top: 0;
}

.hd-cap__row--outcome p {
    color: var(--hd-heading);
    font-weight: 500;
}

/* White check rows, as in the reference */

.hd-cap__checks {
    display: grid;
    gap: 8px;
}

.hd-cap__checks li {
    position: relative;
    padding: 12px 16px 12px 44px;
    border-radius: 12px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    font-size: 15px;
    color: var(--hd-heading);
    transition: transform var(--hd-dur) var(--hd-ease), box-shadow var(--hd-dur) var(--hd-ease);
}

.hd-cap__checks li:hover {
    transform: translateX(4px);
    box-shadow: var(--hd-shadow-sm);
}

.hd-cap__checks li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}


/* ---------------------------------------------------------
   8. OWNERSHIP (five open columns)
   --------------------------------------------------------- */

.hd-own {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hd-own__item {
    position: relative;
    padding: 30px 30px 30px;
    border: 1px solid var(--hd-line-strong);
    border-radius: var(--hd-radius-lg);
    background: linear-gradient(180deg, var(--hd-soft) 0%, var(--hd-tint) 100%);
    overflow: hidden;
    transition:
        transform var(--hd-dur) var(--hd-ease),
        box-shadow var(--hd-dur) var(--hd-ease),
        border-color var(--hd-dur) var(--hd-ease);
}

/* Corner glow that fades in on hover */

.hd-own__item::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 20, 30, 0.16), transparent 65%);
    opacity: 0;
    transition: opacity 0.5s var(--hd-ease);
    pointer-events: none;
}

.hd-own__item:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 20, 30, 0.5);
    box-shadow: var(--hd-shadow-md);
}

.hd-own__item:hover::before {
    opacity: 1;
}

.hd-own__num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(20, 20, 30, 0.35);
    transition: color var(--hd-dur) var(--hd-ease);
}

.hd-own__item:hover .hd-own__num {
    color: var(--hd-blue);
    -webkit-text-stroke: 0;
}

.hd-own__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 18px 0 16px;
    border-radius: 14px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line-strong);
    color: var(--hd-blue);
    font-size: 22px;
    transition: background var(--hd-dur) var(--hd-ease), color var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease);
}

.hd-own__item:hover .hd-own__icon {
    background: var(--hd-gradient);
    border-color: transparent;
    color: var(--hd-on-dark);
    transform: translateY(-3px);
}

.hd-own__item h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.hd-own__item p {
    max-width: 560px;
    font-size: 15px;
}

/* Fifth card spans the row and lays out horizontally (2, 2, 1) */

.hd-own__item:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
        "num title"
        "icon text";
    column-gap: 28px;
    align-items: start;
}

.hd-own__item:last-child .hd-own__num {
    grid-area: num;
}

.hd-own__item:last-child .hd-own__icon {
    grid-area: icon;
    margin: 12px 0 0;
}

.hd-own__item:last-child h3 {
    grid-area: title;
    align-self: end;
    margin: 6px 0 10px;
}

.hd-own__item:last-child p {
    grid-area: text;
    max-width: 780px;
}


/* ---------------------------------------------------------
   9. ENGAGEMENT MODELS (full-width rows, three-column facts)
   --------------------------------------------------------- */

.hd-models {
    overflow: hidden;
    border: 1px solid var(--hd-line-strong);
    border-radius: var(--hd-radius-lg);
    background: var(--hd-surface);
    box-shadow: var(--hd-shadow-sm);
}

.hd-models__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.hd-models__table th,
.hd-models__table td {
    padding: 26px 26px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid var(--hd-line);
    border-left: 1px solid var(--hd-line);
}

.hd-models__table th:first-child,
.hd-models__table td:first-child {
    border-left: 0;
}

.hd-models__table thead th {
    display: table-cell;
    padding: 16px 26px;
    background: var(--hd-tint);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
    border-bottom: 1px solid var(--hd-line-strong);
}

.hd-models__table thead th .hd-ico {
    margin-right: 6px;
    padding: 2px;
    border-radius: 50%;
    vertical-align: -3px;
    stroke-width: 2.6;
    font-size: 15px;
    background: var(--hd-blue-soft);
}

.hd-models__table thead th.hd-models__th--no {
    color: var(--hd-muted);
}

.hd-models__table thead th.hd-models__th--no .hd-ico {
    background: var(--hd-line);
}

.hd-models__table col:first-child { width: 26%; }

.hd-models__table thead th:nth-child(1) { width: 22%; }
.hd-models__table thead th:nth-child(2) { width: 30%; }

.hd-models__table tbody tr:last-child th,
.hd-models__table tbody tr:last-child td {
    border-bottom: 0;
}

.hd-model {
    position: relative;
    transition: background var(--hd-dur) var(--hd-ease);
}

.hd-model:hover {
    background: var(--hd-soft);
}

.hd-model__lead {
    position: relative;
}

.hd-model h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.hd-models__table td {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--hd-body);
}

.hd-models__table td::before {
    display: none;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
    content: attr(data-label);
}

.hd-models__table td.hd-model__no::before {
    color: var(--hd-muted);
}



/* ---------------------------------------------------------
   10. PROCESS (sticky intro + scroll-driven timeline)
   --------------------------------------------------------- */

.hd-process {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}

.hd-process__intro {
    position: sticky;
    top: calc(var(--hd-header-h) + 32px);
}

.hd-process__intro .hd-head__text {
    max-width: 460px;
}

.hd-timeline {
    --fill: 0;
    position: relative;
    padding-left: 76px;
}

/* Track and animated fill */

.hd-timeline::before,
.hd-timeline::after {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    border-radius: 2px;
}

.hd-timeline::before {
    background: var(--hd-line);
}

.hd-timeline::after {
    background: var(--hd-gradient);
    transform: scaleY(var(--fill));
    transform-origin: top;
    transition: transform 0.15s linear;
}

.hd-step {
    position: relative;
    padding-bottom: 48px;
}

.hd-step:last-child {
    padding-bottom: 0;
}

.hd-step__dot {
    position: absolute;
    top: 0;
    left: -76px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hd-surface);
    border: 2px solid var(--hd-line);
    color: var(--hd-muted);
    font-size: 24px;
    transition: background 0.4s var(--hd-ease), color 0.4s var(--hd-ease), border-color 0.4s var(--hd-ease), box-shadow 0.4s var(--hd-ease), transform 0.4s var(--hd-ease);
}

.hd-step.is-active .hd-step__dot {
    background: var(--hd-gradient);
    border-color: transparent;
    color: var(--hd-on-dark);
    box-shadow: 0 0 0 6px var(--hd-blue-faint), var(--hd-shadow-btn);
    transform: scale(1.06);
}

.hd-step__eyebrow {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
}

.hd-step h3 {
    margin: 8px 0 12px;
    font-size: 24px;
    transition: color 0.4s var(--hd-ease);
}

.hd-step p {
    font-size: 15.5px;
    max-width: 560px;
}


/* ---------------------------------------------------------
   11. TECHNOLOGY STACK (accordion of categories)
   --------------------------------------------------------- */

.hd-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    align-items: start;
}

.hd-stack__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hd-stack__item {
    background: var(--hd-surface);
    border: 1px solid var(--hd-line-strong);
    border-radius: var(--hd-radius-lg);
    overflow: hidden;
    transition: border-color var(--hd-dur) var(--hd-ease), box-shadow var(--hd-dur) var(--hd-ease);
}

.hd-stack__item:hover {
    border-color: rgba(20, 20, 30, 0.4);
}

.hd-stack__item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(20, 20, 30, 0.55);
    box-shadow: var(--hd-shadow-md);
}

.hd-stack .accordion-header {
    margin: 0;
}

.hd-stack__btn.accordion-button {
    gap: 12px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hd-heading);
    transition: color var(--hd-dur) var(--hd-ease), background var(--hd-dur) var(--hd-ease);
}

.hd-stack__btn.accordion-button::before {
    content: '';
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hd-line-strong);
    transition: background var(--hd-dur) var(--hd-ease), box-shadow var(--hd-dur) var(--hd-ease);
}

.hd-stack__btn.accordion-button:hover {
    color: var(--hd-blue);
}

.hd-stack__btn.accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, var(--hd-blue-soft), var(--hd-surface));
    box-shadow: none;
    color: var(--hd-blue);
}

.hd-stack__btn.accordion-button:not(.collapsed)::before {
    background: var(--hd-gradient);
    box-shadow: 0 0 0 4px var(--hd-blue-faint);
}

.hd-stack__btn.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.hd-stack__btn.accordion-button:focus-visible {
    outline: 2px solid var(--hd-blue);
    outline-offset: -2px;
}

.hd-stack__btn small {
    margin-left: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--hd-muted);
}

.hd-stack__btn.accordion-button::after {
    width: 32px;
    height: 32px;
    margin-left: auto;
    border-radius: 50%;
    background-color: var(--hd-blue-soft);
    background-position: center;
    background-size: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    transition: transform 0.4s var(--hd-ease), background-color var(--hd-dur) var(--hd-ease);
}

.hd-stack__btn.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-color: var(--hd-blue);
    transform: rotate(180deg);
}

.hd-stack__body.accordion-body {
    padding: 4px 22px 22px 44px;
}

.hd-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hd-logos li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    background: var(--hd-soft);
    border: 1px solid var(--hd-line-strong);
    color: var(--hd-heading);
    font-size: 13.5px;
    font-weight: 500;
    transition: transform var(--hd-dur) var(--hd-ease), box-shadow var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease), background var(--hd-dur) var(--hd-ease);
}

.hd-logos li:hover {
    transform: translateY(-3px);
    background: var(--hd-surface);
    border-color: rgba(20, 20, 30, 0.5);
    box-shadow: var(--hd-shadow-md);
}

.hd-logos img {
    width: auto;
    height: 22px;
    max-width: 40px;
    object-fit: contain;
}

/* Certifications: image badges only, one row on desktop */

.hd-certs {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--hd-line-strong);
    text-align: center;
}

.hd-certs h3 {
    font-size: 24px;
}

.hd-certs__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}

.hd-certs__list li {
    display: flex;
    flex: 0 1 150px;
    min-width: 0;
}

.hd-certs__list img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform 0.4s var(--hd-ease), filter 0.4s var(--hd-ease);
}

.hd-certs__list li:hover img {
    transform: translateY(-6px) scale(1.04);
    filter: drop-shadow(0 14px 22px rgba(16, 24, 40, 0.14));
}

.hd-certs__note {
    max-width: 720px;
    margin: 32px auto 0;
    font-size: 15px;
    color: var(--hd-muted);
}


/* ---------------------------------------------------------
   12. INDUSTRIES (scroll-snap slider, image + text)
   --------------------------------------------------------- */

.hd-slider {
    position: relative;
}

.hd-slider__track {
    display: flex;
    gap: 32px;
    padding: 4px 0 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.hd-slider__track::-webkit-scrollbar {
    display: none;
}

.hd-slider__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.hd-slide {
    flex: 0 0 calc((100% - 64px) / 3);
    scroll-snap-align: start;
}

.hd-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.hd-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    color: var(--hd-blue);
    font-size: 20px;
    box-shadow: var(--hd-shadow-sm);
    transition: background var(--hd-dur) var(--hd-ease), color var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease), opacity var(--hd-dur) var(--hd-ease);
}

.hd-slider__btn:hover:not(:disabled) {
    background: var(--hd-gradient);
    border-color: transparent;
    color: var(--hd-on-dark);
    transform: translateY(-2px);
}

.hd-slider__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.hd-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--hd-line-strong);
    transition: width 0.4s var(--hd-ease), background 0.4s var(--hd-ease);
}

.hd-slider__dot.is-active {
    width: 30px;
    background: var(--hd-gradient);
}

.hd-industry {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hd-line-strong);
    border-radius: var(--hd-radius-lg);
    background: var(--hd-surface);
    overflow: hidden;
    transition:
        transform var(--hd-dur) var(--hd-ease),
        box-shadow var(--hd-dur) var(--hd-ease),
        border-color var(--hd-dur) var(--hd-ease);
}

.hd-industry:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 20, 30, 0.5);
    box-shadow: var(--hd-shadow-md);
}

.hd-industry__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--hd-tint);
}

.hd-industry__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--hd-ease);
}

.hd-industry__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(16, 17, 48, 0.45) 100%);
}

.hd-industry:hover .hd-industry__media img {
    transform: scale(1.06);
}

.hd-industry__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 26px 26px;
}

.hd-industry h3 {
    position: relative;
    align-self: flex-start;
    margin-bottom: 14px;
    padding-bottom: 12px;
    font-size: 19px;
    line-height: 1.35;
    transition: color var(--hd-dur) var(--hd-ease);
}

.hd-industry:hover h3 {
    color: var(--hd-blue);
}

.hd-industry h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--hd-gradient);
    transition: width 0.5s var(--hd-ease);
}

.hd-industry:hover h3::after {
    width: 100%;
}

.hd-industry h4 {
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-blue);
}

.hd-industry p {
    font-size: 14.5px;
}

.hd-industry p + h4 {
    margin-top: 14px;
}



/* ---------------------------------------------------------
   13. WHY US (open numbered grid)
   --------------------------------------------------------- */

.hd-why {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hd-line);
    border-left: 1px solid var(--hd-line);
}

.hd-why__item {
    position: relative;
    padding: 40px 32px;
    border-right: 1px solid var(--hd-line);
    border-bottom: 1px solid var(--hd-line);
    transition: background var(--hd-dur) var(--hd-ease);
}

.hd-why__item:hover {
    background: var(--hd-surface);
}

.hd-why__num {
    position: absolute;
    top: 30px;
    right: 28px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(20, 20, 30, 0.3);
    transition: color var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease);
}

.hd-why__item:hover .hd-why__num {
    color: var(--hd-blue);
    -webkit-text-stroke: 0;
    transform: translateY(-4px);
}

.hd-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--hd-blue-soft);
    color: var(--hd-blue);
    font-size: 24px;
    transition: background var(--hd-dur) var(--hd-ease), color var(--hd-dur) var(--hd-ease), transform var(--hd-dur) var(--hd-ease);
}

.hd-why__item:hover .hd-why__icon {
    background: var(--hd-gradient);
    color: var(--hd-on-dark);
    transform: rotate(-6deg) scale(1.05);
}

.hd-why__item h3 {
    margin-bottom: 12px;
    padding-right: 64px;
    font-size: 20px;
}

.hd-why__item p {
    font-size: 15px;
}


/* ---------------------------------------------------------
   14. FAQ (open accordion)
   --------------------------------------------------------- */

.hd-faq {
    max-width: 900px;
    margin-inline: auto;
    border-top: 1px solid var(--hd-line);
}

.hd-faq__item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--hd-line);
    border-radius: 0;
}

.hd-faq .accordion-header {
    margin: 0;
}

.hd-faq__btn.accordion-button {
    gap: 16px;
    padding: 24px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--hd-heading);
    transition: color var(--hd-dur) var(--hd-ease), padding-left var(--hd-dur) var(--hd-ease);
}

.hd-faq__btn.accordion-button:hover {
    color: var(--hd-blue);
}

.hd-faq__btn.accordion-button:not(.collapsed) {
    background: transparent;
    box-shadow: none;
    color: var(--hd-blue);
}

.hd-faq__btn.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.hd-faq__btn.accordion-button:focus-visible {
    outline: 2px solid var(--hd-blue);
    outline-offset: 2px;
}

/* Arrow that turns upward when open */

.hd-faq__btn.accordion-button::after {
    width: 32px;
    height: 32px;
    margin-left: auto;
    border-radius: 50%;
    background-color: var(--hd-blue-soft);
    background-position: center;
    background-size: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314141E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    transition: transform 0.4s var(--hd-ease), background-color var(--hd-dur) var(--hd-ease);
}

.hd-faq__btn.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-color: var(--hd-blue);
    transform: rotate(180deg);
}

.hd-faq__body.accordion-body {
    padding: 0 64px 26px 0;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--hd-body);
}

.hd-faq__body p + p,
.hd-faq__body p + .hd-checks,
.hd-faq__body .hd-checks + p {
    margin-top: 12px;
}


/* ---------------------------------------------------------
   15. FOOTER (site footer)
   --------------------------------------------------------- */

.hd-footer {
    --ftr-blue: #14141E;
    --ftr-heading: #14141E;
    --ftr-muted: #6B6C78;
    --ftr-line: #E3E4E8;
    --ftr-surface: #F1F2F5;
    position: relative;
    padding: 56px 0 26px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
    border-top: 1px solid var(--hd-line);
    overflow: hidden;
    font-size: 15px;
}

.hd-footer::before {
    content: '';
    position: absolute;
    right: -170px;
    bottom: -210px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 20, 30, 0.1) 0%, rgba(221, 242, 74, 0.05) 45%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hd-footer .container {
    position: relative;
    z-index: 1;
}

.hd-footer__top {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 1.15fr 1fr;
    gap: 40px 48px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--ftr-line);
}

.hd-footer__logo-wrap {
    display: inline-block;
    margin-bottom: 22px;
}

.hd-footer__logo {
    width: 130px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.hd-footer__desc {
    max-width: 290px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--hd-body);
}

.hd-footer__title {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ftr-heading);
}

.hd-footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hd-ink) 55%, var(--hd-lime) 55%);
}

.hd-footer__links li + li {
    margin-top: 11px;
}

.hd-footer__links a {
    display: inline-block;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hd-body);
    transition: color 0.25s var(--hd-ease), transform 0.25s var(--hd-ease);
}

.hd-footer__links a:hover {
    color: var(--ftr-blue);
    transform: translateX(3px);
}

.hd-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--hd-body);
    line-height: 1.6;
}

.hd-footer__contact li + li {
    margin-top: 14px;
}

.hd-footer__contact a {
    color: var(--hd-body);
}

.hd-footer__contact a:hover {
    color: var(--ftr-blue);
}

.hd-footer__cico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ftr-surface);
    border: 1px solid rgba(20, 20, 30, 0.1);
    color: var(--ftr-blue);
    font-size: 15px;
}

.hd-footer__social-wrap {
    margin-top: 26px;
}

.hd-footer__social-wrap h4 {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ftr-heading);
}

.hd-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hd-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hd-surface);
    border: 1px solid var(--ftr-line);
    color: var(--hd-blue);
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition:
        transform 0.3s var(--hd-ease),
        background 0.3s var(--hd-ease),
        border-color 0.3s var(--hd-ease),
        color 0.3s var(--hd-ease);
}

.hd-footer__social a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--hd-blue), var(--ftr-blue));
    border-color: transparent;
    color: var(--hd-on-dark);
}

.hd-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
}

.hd-footer__copy {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ftr-muted);
}

.hd-footer__copy a {
    color: var(--ftr-blue);
    font-weight: 500;
}

.hd-footer__policy {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hd-footer__policy span {
    position: relative;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ftr-muted);
}

.hd-footer__policy span + span::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C7CEDC;
    transform: translateY(-50%);
}


/* ---------------------------------------------------------
   16. BACK TO TOP
   --------------------------------------------------------- */

.hd-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--hd-gradient-btn);
    color: var(--hd-on-dark);
    box-shadow: var(--hd-shadow-btn);
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity var(--hd-dur) var(--hd-ease),
        transform var(--hd-dur) var(--hd-ease);
}

.hd-top.is-visible {
    opacity: 1;
    transform: none;
}

.hd-top:hover {
    transform: translateY(-2px);
}




/* ---------------------------------------------------------
   16b. INTERACTION AND MOTION EXTRAS
   --------------------------------------------------------- */

/* Reading progress line along the bottom edge of the sticky header */

.hd-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--hd-gradient);
    transform: scaleX(var(--hd-progress, 0));
    transform-origin: left;
    pointer-events: none;
}

/* Section heading bar draws in when the heading is revealed */

.js .hd-head.hd-reveal::before {
    transform: scaleX(0);
    transition: transform 0.8s var(--hd-ease) 0.15s;
}

.js .hd-head.hd-reveal.is-visible::before {
    transform: scaleX(1);
}

/* Hero artwork drifts slowly */

.hd-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:;
    will-change: transform;
    animation: hdDrift 28s ease-in-out infinite alternate;
}

@keyframes hdDrift {
    from { transform: scale(1); }
    to { transform: scale(1.07) translateX(-1%); }
}

/* Technology chips stagger in when a category opens */

.hd-stack .collapsing .hd-logos li,
.hd-stack .collapse.show .hd-logos li {
    animation: hdChip 0.45s var(--hd-ease) both;
}

.hd-stack .hd-logos li:nth-child(2)  { animation-delay: 0.04s; }
.hd-stack .hd-logos li:nth-child(3)  { animation-delay: 0.08s; }
.hd-stack .hd-logos li:nth-child(4)  { animation-delay: 0.12s; }
.hd-stack .hd-logos li:nth-child(5)  { animation-delay: 0.16s; }
.hd-stack .hd-logos li:nth-child(6)  { animation-delay: 0.20s; }
.hd-stack .hd-logos li:nth-child(7)  { animation-delay: 0.24s; }
.hd-stack .hd-logos li:nth-child(8)  { animation-delay: 0.28s; }
.hd-stack .hd-logos li:nth-child(9)  { animation-delay: 0.32s; }
.hd-stack .hd-logos li:nth-child(10) { animation-delay: 0.36s; }
.hd-stack .hd-logos li:nth-child(11) { animation-delay: 0.40s; }
.hd-stack .hd-logos li:nth-child(12) { animation-delay: 0.44s; }
.hd-stack .hd-logos li:nth-child(n + 13) { animation-delay: 0.48s; }

@keyframes hdChip {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* CTA banner glow floats */

.hd-cta__inner::after {
    animation: hdFloat 12s ease-in-out infinite;
}

/* Pointer tilt on cards (driven by script.js) */

[data-tilt] {
    transform-style: preserve-3d;
}

[data-tilt].is-tilting {
    transition: box-shadow var(--hd-dur) var(--hd-ease), border-color var(--hd-dur) var(--hd-ease);
}

/* Performance: browsers skip layout and paint for sections far off screen */

.hd-section,
.hd-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}


/* =========================================================
   16b. NEW THEME: ink, lime and warm cream
   Colour tokens live in :root. This block restyles the parts
   that were built around the old blue-violet artwork and adds
   the DevOps-flavoured pieces (console hero, tool orbit,
   pipeline, ticker). Everything animated is decorative and
   switched off under prefers-reduced-motion.
   ========================================================= */

/* ---- Shared accents ------------------------------------- */

.hd-head::before {
    background: linear-gradient(90deg, var(--hd-ink) 0 60%, var(--hd-lime) 60% 100%);
}

.hd-section--soft {
    background: var(--hd-soft);
}

.hd-eyebrow {
    color: var(--hd-ink);
}

.hd-eyebrow::before {
    background: var(--hd-lime);
    box-shadow: 0 0 0 4px rgba(221, 242, 74, 0.35), 0 0 0 5px var(--hd-ink);
}

.hd-btn--gradient {
    background: var(--hd-gradient-btn);
    color: var(--hd-on-dark);
}

.hd-btn--gradient::after {
    background: linear-gradient(110deg, transparent 30%, rgba(221, 242, 74, 0.55) 50%, transparent 70%);
}

.hd-btn--gradient:hover {
    color: var(--hd-on-dark);
    box-shadow: 0 14px 30px rgba(20, 20, 30, 0.36);
}

/* Lime buttons on dark ground */

.hd-hero .hd-btn--gradient,
.hd-cta .hd-btn--gradient {
    background: var(--hd-lime);
    color: var(--hd-ink);
    box-shadow: 0 12px 30px rgba(221, 242, 74, 0.22);
}

.hd-hero .hd-btn--gradient::after,
.hd-cta .hd-btn--gradient::after {
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
}

.hd-hero .hd-btn--gradient:hover,
.hd-cta .hd-btn--gradient:hover {
    color: var(--hd-ink);
    box-shadow: 0 16px 38px rgba(221, 242, 74, 0.34);
}

/* Icon tiles flip to lime on hover */

.hd-problem:hover .hd-problem__icon,
.hd-why__item:hover .hd-why__icon,
.hd-own__item:hover .hd-own__icon {
    background: var(--hd-lime);
    color: var(--hd-ink);
}

.hd-progress {
    background: linear-gradient(90deg, var(--hd-ink), var(--hd-lime));
}

.hd-top {
    background: var(--hd-ink);
    color: var(--hd-lime);
}

.hd-footer__social a:hover {
    background: var(--hd-ink);
    color: var(--hd-lime);
}

/* ---- Hero ----------------------------------------------- */

.hd-hero {
    background:
        radial-gradient(900px 520px at 78% 38%, rgba(221, 242, 74, 0.09), transparent 70%),
        linear-gradient(135deg, #14141E 0%, #1B1B27 55%, #23232F 100%);
}

.hd-hero::before {
    background: linear-gradient(90deg, rgba(20, 20, 30, 0.55) 0%, rgba(20, 20, 30, 0) 55%);
}

/* Engineering-paper grid that slowly pans */

.hd-hero__bg {
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 68% 45%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 80% at 68% 45%, #000 15%, transparent 78%);
    animation: hdGrid 36s linear infinite;
}

@keyframes hdGrid {
    to { background-position: 56px 56px, 56px 56px; }
}

.hd-hero__blob--a {
    background: radial-gradient(circle, rgba(221, 242, 74, 0.30), transparent 65%);
}

.hd-hero__blob--b {
    background: radial-gradient(circle, rgba(221, 242, 74, 0.16), transparent 65%);
}

.hd-hero .hd-eyebrow {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(221, 242, 74, 0.45);
    color: var(--hd-lime);
}

.hd-hero .hd-eyebrow::before {
    background: var(--hd-lime);
    box-shadow: 0 0 0 4px rgba(221, 242, 74, 0.25);
    animation: hdPulse 2.2s ease-in-out infinite;
}

@keyframes hdPulse {
    50% { box-shadow: 0 0 0 7px rgba(221, 242, 74, 0); }
}

.hd-hero__title .hd-grad {
    background: linear-gradient(93deg, #DDF24A 10%, #F4FFA8 90%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hd-hero__text {
    color: var(--hd-on-dark-soft);
}

.hd-hero__points .hd-ico {
    background: var(--hd-lime);
    box-shadow: none;
    color: var(--hd-ink);
}

.hd-hero__grid {
    grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
    gap: 32px;
}

/* ---- Hero console visual -------------------------------- */

.hd-hero__visual {
    position: relative;
    height: 540px;
    min-width: 0;
}

.hd-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
}

.hd-orbit__ring {
    position: absolute;
    border-radius: 50%;
}

.hd-orbit__ring--a {
    inset: 0;
    border: 1px dashed rgba(255, 255, 255, 0.22);
}

.hd-orbit__ring--b {
    inset: 62px;
    border: 1px solid rgba(221, 242, 74, 0.16);
    background: radial-gradient(circle, rgba(221, 242, 74, 0.07), transparent 68%);
}

.hd-orbit__spin {
    position: absolute;
    inset: 0;
    animation: hdSpin 48s linear infinite;
}

.hd-orbit__arm {
    position: absolute;
    inset: 0;
    transform: rotate(var(--a));
}

.hd-orbit__chip {
    position: absolute;
    top: -24px;
    left: calc(50% - 24px);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hd-surface);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.06);
    animation: hdUpright 48s linear infinite;
}

.hd-orbit__chip img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@keyframes hdSpin {
    to { transform: rotate(360deg); }
}

@keyframes hdUpright {
    from { transform: rotate(calc(var(--a) * -1)); }
    to { transform: rotate(calc(var(--a) * -1 - 360deg)); }
}

.hd-hero__photo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 380px;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.5), 12px 12px 0 var(--hd-lime);
    transform: translate(-50%, -50%) rotate(-2deg);
    animation: hdBob 7s ease-in-out infinite;
}

.hd-hero__photo img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes hdBob {
    0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
    50% { transform: translate(-50%, calc(-50% - 10px)) rotate(-1deg); }
}

/* Terminal card */

.hd-term {
    position: absolute;
    top: 26px;
    right: -4px;
    z-index: 3;
    width: 224px;
    border-radius: 14px;
    background: #0B0B12;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    animation: hdBob2 6s ease-in-out infinite;
}

.hd-term__bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hd-term__bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3A3A48;
}

.hd-term__bar i:first-child {
    background: var(--hd-lime);
}

.hd-term__body {
    padding: 12px 14px 14px;
    font-size: 12px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.hd-term__body b {
    color: var(--hd-lime);
    font-weight: 600;
}

.hd-term__ok em {
    font-style: normal;
    color: var(--hd-lime);
}

.hd-term__cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    vertical-align: -2px;
    background: var(--hd-lime);
    animation: hdBlink 1.05s steps(1) infinite;
}

@keyframes hdBlink {
    50% { opacity: 0; }
}

@keyframes hdBob2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* Pipeline card */

.hd-pipe {
    position: absolute;
    left: -8px;
    bottom: 22px;
    z-index: 3;
    width: 336px;
    padding: 18px 20px 20px;
    border-radius: 16px;
    background: var(--hd-surface);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
    animation: hdBob2 7.5s ease-in-out -2s infinite;
}

.hd-pipe__steps {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.hd-pipe__steps li {
    position: relative;
    padding-top: 22px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--hd-faint);
    animation: hdStep 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.85s);
}

.hd-pipe__steps li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--hd-surface);
    border: 2px solid var(--hd-line-strong);
    animation: hdDot 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.85s);
}

.hd-pipe__rail {
    position: absolute;
    top: 25px;
    left: 34px;
    right: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--hd-line);
}

.hd-pipe__fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: var(--hd-ink);
    animation: hdFill 6s ease-in-out infinite;
}

@keyframes hdFill {
    0% { width: 0; }
    70%, 92% { width: 100%; }
    100% { width: 100%; opacity: 0; }
}

@keyframes hdStep {
    0% { color: var(--hd-faint); }
    8%, 88% { color: var(--hd-ink); }
    100% { color: var(--hd-faint); }
}

@keyframes hdDot {
    0% { background: var(--hd-surface); border-color: var(--hd-line-strong); }
    8%, 88% { background: var(--hd-lime); border-color: var(--hd-ink); }
    100% { background: var(--hd-surface); border-color: var(--hd-line-strong); }
}

/* ---- Tool ticker ---------------------------------------- */

.hd-ticker {
    position: relative;
    overflow: hidden;
    padding: 18px 0;
    background: var(--hd-tint);
    border-bottom: 1px solid var(--hd-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hd-ticker__track {
    display: flex;
    width: max-content;
    animation: hdTick 46s linear infinite;
}

.hd-ticker:hover .hd-ticker__track {
    animation-play-state: paused;
}

.hd-ticker__set {
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
    padding-right: 14px;
}

.hd-ticker__set li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    border-radius: 999px;
    background: var(--hd-surface);
    border: 1px solid var(--hd-line);
    font-size: 14px;
    font-weight: 500;
    color: var(--hd-heading);
    white-space: nowrap;
}

.hd-ticker__set img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@keyframes hdTick {
    to { transform: translateX(-50%); }
}

/* ---- Photos from the previous page ---------------------- */

.hd-photo {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--hd-line-strong);
    box-shadow: 12px 12px 0 var(--hd-lime), var(--hd-shadow-md);
    background: var(--hd-surface);
}

.hd-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.hd-photo--process {
    max-width: 400px;
    margin-top: 40px;
}

.hd-engage-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

.hd-engage-head .hd-head {
    max-width: none;
    margin: 0;
    text-align: left;
}

.hd-engage-head .hd-head::before {
    margin-inline: 0;
}

/* ---- CTA banner on ink ---------------------------------- */

.hd-cta__inner {
    background:
        radial-gradient(520px 260px at 92% 0%, rgba(221, 242, 74, 0.16), transparent 70%),
        linear-gradient(135deg, #14141E 0%, #23232F 100%);
    box-shadow: 0 24px 48px rgba(20, 20, 30, 0.24);
}

.hd-cta__inner::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 10%, #000 100%);
}

/* ---- Responsive for the new pieces ---------------------- */

@media (max-width: 1399.98px) {

    .hd-hero__visual {
        height: 500px;
    }

    .hd-orbit {
        width: 460px;
        height: 460px;
    }

    .hd-hero__photo {
        width: 340px;
    }

    .hd-term {
        right: 0;
        width: 206px;
    }

    .hd-pipe {
        left: 0;
        width: 312px;
    }
}

@media (max-width: 1199.98px) {

    .hd-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 16px;
    }

    .hd-hero__visual {
        height: 460px;
    }

    .hd-orbit {
        width: 400px;
        height: 400px;
    }

    .hd-hero__photo {
        width: 290px;
    }

    .hd-term {
        width: 188px;
        top: 6px;
    }

    .hd-pipe {
        width: 280px;
        padding: 14px 16px 16px;
    }

    .hd-pipe__rail {
        left: 28px;
        right: 28px;
        top: 21px;
    }

    .hd-engage-head {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 40px;
    }
}

@media (max-width: 991.98px) {

    .hd-hero__visual {
        height: 440px;
        max-width: 520px;
        margin-inline: auto;
        width: 100%;
    }

    .hd-engage-head {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hd-engage-head .hd-photo {
        max-width: 420px;
    }

    .hd-photo--process {
        max-width: 380px;
    }
}

@media (max-width: 575.98px) {

    .hd-hero__visual {
        height: 400px;
    }

    .hd-orbit {
        width: 330px;
        height: 330px;
    }

    .hd-orbit__chip {
        width: 40px;
        height: 40px;
        top: -20px;
        left: calc(50% - 20px);
    }

    .hd-orbit__chip img {
        width: 22px;
        height: 22px;
    }

    .hd-hero__photo {
        width: 250px;
        box-shadow: 0 24px 44px rgba(0, 0, 0, 0.5), 8px 8px 0 var(--hd-lime);
    }

    .hd-term {
        width: 164px;
        top: 0;
    }

    .hd-term__body {
        font-size: 11px;
    }

    .hd-pipe {
        width: 250px;
        bottom: 8px;
    }

    .hd-pipe__steps li {
        font-size: 10.5px;
    }

    .hd-photo {
        box-shadow: 8px 8px 0 var(--hd-lime), var(--hd-shadow-md);
    }

    .hd-ticker__set li {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hd-orbit__spin,
    .hd-orbit__chip,
    .hd-hero__bg,
    .hd-hero__photo,
    .hd-term,
    .hd-pipe,
    .hd-pipe__steps li,
    .hd-pipe__steps li::before,
    .hd-pipe__fill,
    .hd-ticker__track,
    .hd-term__cursor,
    .hd-hero .hd-eyebrow::before {
        animation: none;
    }

    .hd-pipe__fill {
        width: 100%;
    }

    .hd-ticker__track {
        flex-wrap: wrap;
        width: auto;
    }
}


/* =========================================================
   17. RESPONSIVE
   ========================================================= */

@media (max-width: 1399.98px) {

    .hd-own {
        gap: 16px;
    }
}

@media (max-width: 1199.98px) {

    :root {
        --hd-pad: 72px;
    }

    .hd-head__title {
        font-size: 34px;
    }

    .hd-hero__title {
        font-size: 42px;
    }

    .hd-cap {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 24px;
    }

    .hd-cap__stage {
        padding: 32px;
    }

    .hd-models__table th,
    .hd-models__table td {
        padding: 20px 18px;
    }

    .hd-models__table thead th {
        padding: 14px 18px;
    }

    .hd-slide {
        flex-basis: calc((100% - 32px) / 2);
    }

    .hd-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {

    :root {
        --hd-pad: 64px;
        --hd-header-h: 72px;
    }

    /* Header collapses into a stacked panel */
    .hd-toggler {
        display: flex;
    }

    .hd-brand__logo {
        height: 50px;
    }

    .hd-header__collapse {
        flex: 1 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 8px 0 20px;
    }

    .hd-header__collapse:not(.show) {
        display: none;
    }

    .hd-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .hd-nav__link {
        padding: 12px 14px;
        border-radius: var(--hd-radius-sm);
    }

    .hd-hero {
        padding-block: 64px 72px;
    }

    .hd-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hd-stack {
        gap: 16px;
    }

    .hd-head {
        margin-bottom: 40px;
    }

    .hd-problems {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hd-problem {
        padding: 32px 24px 28px;
    }

    .hd-problem:nth-child(n) {
        border-left: 0;
    }

    .hd-problem:nth-child(2n) {
        border-left: 1px solid var(--hd-line);
    }

    .hd-problem::after {
        left: 24px;
        right: 24px;
    }

    .hd-cta {
        margin-top: 56px;
    }

    .hd-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 40px 36px;
    }

    .hd-cta__title {
        font-size: 26px;
    }

    /* Capability list becomes a horizontal scroller above the panel */
    .hd-cap {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hd-cap__list {
        position: static;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding: 6px 4px 12px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .hd-cap__list::before {
        display: none;
    }

    .hd-cap__item {
        flex: 0 0 auto;
        max-width: 280px;
        scroll-snap-align: start;
        padding: 10px 14px 10px 10px;
        font-size: 14px;
    }

    .hd-cap__item[aria-selected="true"] {
        transform: none;
    }

    .hd-cap__arrow {
        display: none;
    }

    .hd-own__item {
        padding: 26px 24px;
    }

    .hd-process {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hd-process__intro {
        position: static;
        text-align: center;
    }

    .hd-process__intro .hd-head__text {
        margin-inline: auto;
    }

    .hd-models__table,
    .hd-models__table tbody,
    .hd-models__table tr,
    .hd-models__table th,
    .hd-models__table td {
        display: block;
    }

    .hd-models__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .hd-models__table th,
    .hd-models__table td {
        padding: 18px 24px;
        border-left: 0;
        border-bottom: 0;
    }

    .hd-models__table tr {
        border-bottom: 1px solid var(--hd-line-strong);
    }

    .hd-models__table tbody tr:last-child {
        border-bottom: 0;
    }

    .hd-model__lead {
        display: flex;
        align-items: center;
        gap: 14px;
        padding-top: 26px;
        padding-bottom: 6px;
    }

    .hd-models__table td::before {
        display: block;
    }

    .hd-models__table tr td:last-child {
        padding-bottom: 26px;
    }

    .hd-stack__btn.accordion-button {
        padding: 16px 18px;
        font-size: 16px;
    }

    .hd-stack__body.accordion-body {
        padding: 2px 18px 18px 18px;
    }

    .hd-why {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    :root {
        --hd-pad: 56px;
    }

    .hd-head__title {
        font-size: 28px;
    }

    .hd-head__text {
        font-size: 16px;
    }

    .hd-hero {
        padding-block: 48px 56px;
    }

    .hd-hero__title {
        font-size: 33px;
    }

    .hd-hero__text {
        font-size: 16px;
    }

    .hd-hero__points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hd-hero__points li {
        font-size: 15px;
    }

    .hd-hero {
        min-height: 0;
        background-position: 68% center;
    }

    .hd-hero::before {
        background: linear-gradient(180deg, rgba(20, 20, 30, 0.78) 0%, rgba(20, 20, 30, 0.66) 100%);
    }

    .hd-stack {
        grid-template-columns: 1fr;
    }

    .hd-btn {
        white-space: normal;
        text-align: center;
    }

    .hd-hero .hd-btn,
    .hd-cta .hd-btn {
        width: 100%;
    }

    .hd-problems {
        grid-template-columns: 1fr;
    }

    .hd-problem:nth-child(n) {
        border-left: 0;
        padding-inline: 0;
    }

    .hd-problem::after {
        left: 0;
        right: 0;
    }

    .hd-cta__title {
        font-size: 23px;
    }

    .hd-cap__stage {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .hd-cap__panel h3 {
        font-size: 22px;
    }

    .hd-cap__row {
        padding: 18px 0;
    }

    .hd-cap__row--outcome {
        padding: 18px;
    }

    .hd-own {
        grid-template-columns: 1fr;
    }

    .hd-own__item:last-child {
        display: block;
    }

    .hd-own__item:last-child .hd-own__icon {
        margin: 18px 0 16px;
    }

    .hd-own__item:last-child h3 {
        margin: 0 0 10px;
    }

    .hd-models__table th,
    .hd-models__table td {
        padding: 14px 18px;
    }

    .hd-model__lead {
        flex-wrap: wrap;
        gap: 10px 14px;
        padding-top: 22px;
    }

    .hd-model__lead h3 {
        flex-basis: 100%;
        font-size: 19px;
    }

    .hd-cta__inner {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .hd-timeline {
        padding-left: 60px;
    }

    .hd-timeline::before,
    .hd-timeline::after {
        left: 21px;
    }

    .hd-step__dot {
        left: -60px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .hd-step h3 {
        font-size: 20px;
    }

    .hd-step {
        padding-bottom: 36px;
    }

    .hd-certs__list {
        flex-wrap: wrap;
        gap: 16px 20px;
    }

    .hd-certs__list li {
        flex: 0 1 calc(33.333% - 14px);
        max-width: 130px;
    }

    .hd-slide {
        flex-basis: 100%;
    }

    .hd-slider__track {
        gap: 20px;
    }

    .hd-why {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .hd-why__item {
        padding: 30px 0;
        border-right: 0;
    }

    .hd-why__num {
        right: 0;
    }

    .hd-faq__btn.accordion-button {
        padding: 18px 0;
        font-size: 15.5px;
    }

    .hd-faq__body.accordion-body {
        padding-right: 0;
    }

    .hd-footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hd-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hd-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .hd-reveal,
    .js .hd-in {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hd-hero__blob,
    .hd-hero__bg,
    .hd-cta__inner::after,
    .hd-stack .hd-logos li {
        animation: none;
    }

    .hd-btn:hover,
    .hd-chips li:hover,
    .hd-logos li:hover,
    .hd-problem:hover .hd-problem__icon,
    .hd-own__item:hover .hd-own__icon,
    .hd-why__item:hover .hd-why__icon,
    .hd-cap__item[aria-selected="true"],
    .hd-industry:hover .hd-industry__media img {
        transform: none;
    }
}


/* =========================================================
   POLISH PASS: ownership, engagement models, why-us
   (overrides only; no content changes)
   ========================================================= */

/* ---- Ownership: white cards, lime rail, ink icon chips ---- */

.hd-own__item {
    background: var(--hd-surface);
    border-color: var(--hd-line);
    box-shadow: var(--hd-shadow-sm);
}

.hd-own__item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--hd-lime) 0%, var(--hd-lime) 28%, var(--hd-ink) 28%);
    transform-origin: left;
    transform: scaleX(0.28);
    transition: transform 0.6s var(--hd-ease);
}

.hd-own__item:hover::after {
    transform: scaleX(1);
    background: var(--hd-lime);
}

.hd-own__item::before {
    background: radial-gradient(circle, rgba(221, 242, 74, 0.45), transparent 65%);
}

.hd-own__num {
    color: var(--hd-ink);
    -webkit-text-stroke: 0;
    font-size: 44px;
    background: linear-gradient(transparent 62%, var(--hd-lime) 62%, var(--hd-lime) 92%, transparent 92%);
    width: fit-content;
    padding: 0 4px;
}

.hd-own__item:hover .hd-own__num {
    color: var(--hd-ink);
}

.hd-own__icon {
    background: var(--hd-ink);
    border-color: var(--hd-ink);
    color: var(--hd-lime);
}

.hd-own__item:hover .hd-own__icon {
    background: var(--hd-lime);
    color: var(--hd-ink);
    border-color: var(--hd-lime);
}

/* ---- Engagement models: numbered leads, tinted outcome columns ---- */

.hd-models {
    counter-reset: model;
    border-color: var(--hd-line);
    box-shadow: var(--hd-shadow-md);
}

.hd-models__table thead th {
    background: var(--hd-ink);
    color: var(--hd-on-dark);
    border-bottom: 0;
}

.hd-models__table thead th .hd-ico {
    background: var(--hd-lime);
    color: var(--hd-ink);
}

.hd-models__table thead th.hd-models__th--no {
    color: var(--hd-on-dark-soft);
}

.hd-models__table thead th.hd-models__th--no .hd-ico {
    background: rgba(255, 255, 255, 0.18);
    color: var(--hd-on-dark);
}

.hd-model {
    counter-increment: model;
}

.hd-model__lead::before {
    content: '0' counter(model);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 40px;
    margin-bottom: 14px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--hd-ink);
    color: var(--hd-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hd-model__lead::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--hd-lime);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s var(--hd-ease);
}

.hd-model:hover .hd-model__lead::after {
    transform: scaleY(1);
}

.hd-models__table td.hd-model__yes {
    background: rgba(221, 242, 74, 0.14);
    color: var(--hd-ink-2);
}

.hd-models__table td.hd-model__no {
    background: var(--hd-soft);
    color: var(--hd-muted);
}

.hd-model:hover td.hd-model__yes {
    background: rgba(221, 242, 74, 0.28);
}

/* ---- Why us: dark band with lime accents ---- */

#why {
    position: relative;
    background: var(--hd-ink);
    color: var(--hd-on-dark);
    overflow: hidden;
}

#why::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 242, 74, 0.22), transparent 65%);
    pointer-events: none;
}

#why .container {
    position: relative;
}

#why .hd-head__title,
#why .hd-why__item h3 {
    color: var(--hd-on-dark);
}

#why .hd-head__text,
#why .hd-why__item p {
    color: var(--hd-on-dark-soft);
}

#why .hd-why {
    border-color: rgba(255, 255, 255, 0.12);
}

#why .hd-why__item {
    border-color: rgba(255, 255, 255, 0.12);
}

#why .hd-why__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

#why .hd-why__num {
    -webkit-text-stroke: 1px rgba(221, 242, 74, 0.55);
}

#why .hd-why__item:hover .hd-why__num {
    color: var(--hd-lime);
    -webkit-text-stroke: 0;
}

#why .hd-why__icon {
    background: var(--hd-lime);
    color: var(--hd-ink);
}

#why .hd-why__item:hover .hd-why__icon {
    background: var(--hd-surface);
    color: var(--hd-ink);
}
