/* ==========================================================================
   HatchDesk theme v1 ("Bold Gradient")
   Loaded on every page by Views/Shared/_Layout.cshtml. Page styles live in the other files in this folder
   and are linked from each view's @section Styles in theme order (later files override earlier ones).
   Scoped to elements inside `.hd` so Bootstrap 3 / site.css pages are unaffected.
   Units are px on purpose: the site sets html { font-size: 10px }.
   ========================================================================== */

/* Self-hosted Google Fonts (SIL Open Font License): latin + latin-ext subsets, variable weights */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/hd/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/hd/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/hd/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/hd/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/hd/sora-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/hd/sora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --hd-brand: #0F75BD;
    --hd-indigo: #4F46E5;
    --hd-cyan: #06B6D4;
    --hd-lime: #C6F432;
    --hd-ink: #0B1020;
    --hd-paper: #F5F6FA;
    --hd-text: #475569;
    --hd-muted: #94A3B8;
    --hd-line: rgba(11, 16, 32, .10);
    --hd-display: "Sora", "Segoe UI", sans-serif;
    --hd-body: "Inter", "Segoe UI", sans-serif;
    --hd-mono: "JetBrains Mono", Consolas, monospace;
    --hd-ease: cubic-bezier(.2, .7, .2, 1);
    --hd-grad: radial-gradient(60% 80% at 85% 10%, rgba(6, 182, 212, .9) 0%, transparent 60%),
               radial-gradient(50% 70% at 10% 90%, rgba(79, 70, 229, .95) 0%, transparent 60%),
               linear-gradient(135deg, #0F75BD 0%, #2B4DD6 55%, #4F46E5 100%);
}

/* ---------- scoped reset (beats Bootstrap 3 element styles) ---------- */
.hd { font-family: var(--hd-body); color: var(--hd-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.hd *, .hd *::before, .hd *::after { box-sizing: border-box; }
.hd h1, .hd h2, .hd h3, .hd h4, .hd h5, .hd p, .hd ul, .hd ol, .hd li, .hd figure, .hd blockquote, .hd pre {
    margin: 0; padding: 0; border: 0; background: none; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; font-family: inherit;
}
.hd ul, .hd ol { list-style: none; }
.hd a { color: inherit; text-decoration: none; }
.hd a:hover, .hd a:focus { color: inherit; text-decoration: none; }
.hd a:focus-visible, .hd button:focus-visible { outline: 2px solid var(--hd-lime); outline-offset: 3px; border-radius: 8px; }
.hd img { max-width: 100%; vertical-align: middle; }
.hd button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }

.hd .hd-wrap { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.hd .hd-display { font-family: var(--hd-display); }
.hd .hd-mono { font-family: var(--hd-mono); }
.hd .hd-dot { color: var(--hd-brand); }
.hd .hd-dot-lime { color: var(--hd-lime); }
.hd .hd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.hd .hd-btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; font-family: var(--hd-display); font-weight: 700; font-size: 16px; transition: background-color .25s, color .25s, transform .25s; }
.hd .hd-btn-white { background: #fff; color: var(--hd-ink); padding: 8px 8px 8px 28px; }
.hd .hd-btn-white .hd-btn-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--hd-ink); color: #fff; transition: transform .3s var(--hd-ease); }
.hd .hd-btn-white:hover .hd-btn-icon { transform: rotate(45deg); }
.hd .hd-btn-ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 16px 28px; }
.hd .hd-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hd .hd-arrow-45 { transform: rotate(-45deg); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
/* translucent pill over the page header; scrolls away with the page (not sticky) */
.hd.hd-header { position: absolute; top: 0; left: 0; right: 0; z-index: 1040; padding: 16px 16px 0; }
.hd .hd-pill {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    max-width: 1152px; height: 64px; margin: 0 auto; padding: 0 8px 0 24px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hd .hd-logo img { height: 32px; width: auto; }

.hd .hd-nav { display: none; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hd .hd-nav-link { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s; }
.hd .hd-nav-link:hover, .hd .hd-has-menu:focus-within > .hd-nav-link { background: rgba(255, 255, 255, .1); color: #fff; }
.hd .hd-nav-link.is-active { color: #fff; }
.hd .hd-nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 999px; background: var(--hd-lime); }
.hd .hd-nav-link .fa-chevron-down { font-size: 9px; transition: transform .2s; }
.hd .hd-has-menu { position: relative; }
.hd .hd-has-menu:hover > .hd-nav-link .fa-chevron-down, .hd .hd-has-menu:focus-within > .hd-nav-link .fa-chevron-down { transform: rotate(180deg); }

.hd .hd-menu { position: absolute; top: 100%; left: 50%; padding-top: 16px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.hd .hd-menu.hd-menu-right { left: auto; right: 0; transform: translateY(8px); }
.hd .hd-has-menu:hover > .hd-menu, .hd .hd-has-menu:focus-within > .hd-menu, .hd .hd-has-menu.is-open > .hd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd .hd-has-menu:hover > .hd-menu.hd-menu-right, .hd .hd-has-menu:focus-within > .hd-menu.hd-menu-right, .hd .hd-has-menu.is-open > .hd-menu.hd-menu-right { transform: none; }
.hd .hd-menu-panel { background: #fff; border: 1px solid rgba(11, 16, 32, .05); border-radius: 24px; padding: 12px; box-shadow: 0 30px 60px -15px rgba(11, 16, 32, .3); }
.hd .hd-menu-item { display: flex; gap: 12px; align-items: center; border-radius: 16px; transition: background-color .2s; }
.hd .hd-menu-item:hover { background: var(--hd-paper); }
.hd .hd-menu-more { width: 240px; padding: 8px; }
.hd .hd-menu-more .hd-menu-item { padding: 10px 12px; font-size: 14px; color: var(--hd-ink); }
.hd .hd-menu-more .hd-menu-item i { width: 16px; color: var(--hd-brand); }

/* ---------- mega menus (Services / Hire Developers) ---------- */
/* anchored to the centre of the nav pill so wide panels never overflow the viewport */
.hd .hd-has-menu.hd-mega { position: static; }
.hd .hd-mega > .hd-menu { top: calc(100% - 14px); padding-top: 26px; }
.hd .hd-mm { position: relative; background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -20px rgba(11,16,32,.45), 0 0 0 1px rgba(11,16,32,.06); overflow: hidden; }
.hd .hd-mm::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--hd-brand),var(--hd-indigo),var(--hd-cyan),var(--hd-lime)); }
.hd .hd-mm-label { display:flex; align-items:center; gap:10px; font-family:var(--hd-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#94A3B8; }
.hd .hd-mm-label::after { content:""; flex:1; height:1px; background:rgba(11,16,32,.08); }

/* services */
.hd .hd-mm-services { width: 920px; display:grid; grid-template-columns: minmax(0,1fr) 250px; }
.hd .hd-mm-main { padding: 22px 18px 14px 22px; }
.hd .hd-mm-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 8px; margin-top:12px; }
.hd .hd-mm-item { position:relative; display:flex; align-items:center; gap:14px; padding:10px 12px; border-radius:16px; transition: background-color .25s, transform .25s var(--hd-ease); }
.hd .hd-mm-item:hover { background:var(--hd-paper); transform: translateX(3px); }
.hd .hd-mm-ic { position:relative; display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; border-radius:14px; font-size:17px; color:var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: all .3s var(--hd-ease); }
.hd .hd-mm-item:hover .hd-mm-ic { color:#fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 10px 20px -8px var(--c); transform: rotate(-6deg) scale(1.05); }
.hd .hd-mm-txt { min-width:0; flex:1; }
.hd .hd-mm-t { display:flex; align-items:center; gap:8px; font-family:var(--hd-display); font-size:14px; font-weight:600; color:var(--hd-ink); line-height:1.3; }
.hd .hd-mm-t .go { font-size:10px; color:var(--hd-brand); opacity:0; transform:translateX(-6px); transition: all .25s var(--hd-ease); }
.hd .hd-mm-item:hover .hd-mm-t .go { opacity:1; transform:none; }
.hd .hd-mm-d { display:block; margin-top:2px; font-size:12.5px; color:#64748B; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hd .hd-mm-badge { padding:2px 7px; border-radius:999px; background:var(--hd-lime); font-family:var(--hd-body); font-size:9.5px; font-weight:700; letter-spacing:.04em; color:var(--hd-ink); }
.hd .hd-mm-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:12px; padding:12px 12px 0; border-top:1px solid rgba(11,16,32,.06); font-size:12.5px; color:#64748B; }
.hd .hd-mm-foot b { color:var(--hd-ink); font-weight:700; }
.hd .hd-mm-foot a { display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--hd-brand); }
.hd .hd-mm-foot a:hover { color:var(--hd-indigo); }

.hd .hd-mm-feature { position:relative; display:flex; flex-direction:column; justify-content:space-between; gap:16px; padding:24px 22px; background: var(--hd-ink); color:#CBD5E1; overflow:hidden; }
.hd .hd-mm-feature::after { content:""; position:absolute; right:-60px; top:-60px; width:200px; height:200px; border-radius:999px; background:radial-gradient(circle, rgba(79,70,229,.55), transparent 70%); }
.hd .hd-mm-feature > * { position:relative; z-index:1; }
.hd .hd-mm-feature .k { font-family:var(--hd-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--hd-lime); }
.hd .hd-mm-feature h4, .hd .hd-mm-feature p.hd-mm-feature-title { margin-top:10px; font-family:var(--hd-display); font-size:20px; font-weight:700; line-height:1.25; color:#fff; }
.hd .hd-mm-feature p { margin-top:8px; font-size:13px; line-height:1.5; }
.hd .hd-mm-chat { display:grid; gap:6px; font-family:var(--hd-mono); font-size:11px; }
.hd .hd-mm-chat span { padding:7px 10px; border-radius:10px; background:rgba(255,255,255,.06); color:#E2E8F0; }
.hd .hd-mm-chat span.ok { background:rgba(198,244,50,.12); color:var(--hd-lime); }
.hd .hd-mm-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 16px; border-radius:999px; background:var(--hd-lime); font-family:var(--hd-display); font-size:13px; font-weight:700; color:var(--hd-ink); transition: transform .25s var(--hd-ease); }
.hd .hd-mm-cta:hover { color:var(--hd-ink); transform: translateY(-2px); }

/* developers */
.hd .hd-mm-dev { width: 640px; }
.hd .hd-mm-dev .hd-mm-main { padding: 22px 18px 18px 22px; }
.hd .hd-mm-stack { display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; }
.hd .hd-mm-stack i { padding:2px 8px; border-radius:999px; background:var(--hd-paper); font-style:normal; font-size:11px; font-weight:500; color:#475569; transition: background-color .25s; }
.hd .hd-mm-item:hover .hd-mm-stack i { background:#fff; }
.hd .hd-mm-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 22px; background: var(--hd-grad); color:#fff; }
.hd .hd-mm-bar b { display:block; font-family:var(--hd-display); font-size:15px; color:#fff; }
.hd .hd-mm-bar small { font-size:12px; color:rgba(255,255,255,.8); }
.hd .hd-mm-models { display:flex; gap:6px; margin-top:6px; }
.hd .hd-mm-models span { padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.16); font-size:11px; font-weight:600; }

/* entrance: panel + staggered items */
.hd .hd-has-menu:hover .hd-mm-item, .hd .hd-has-menu:focus-within .hd-mm-item { animation: hd-mm-in .4s var(--hd-ease) both; }
.hd .hd-mm-item:nth-child(2){animation-delay:.03s} .hd .hd-mm-item:nth-child(3){animation-delay:.06s} .hd .hd-mm-item:nth-child(4){animation-delay:.09s}
.hd .hd-mm-item:nth-child(5){animation-delay:.12s} .hd .hd-mm-item:nth-child(6){animation-delay:.15s} .hd .hd-mm-item:nth-child(7){animation-delay:.18s} .hd .hd-mm-item:nth-child(8){animation-delay:.21s}
@keyframes hd-mm-in { from { opacity:0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hd .hd-mm-item { animation:none !important; } }


.hd .hd-nav-actions { display: flex; align-items: center; gap: 8px; }
.hd .hd-phone { display: none; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hd .hd-phone:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hd .hd-phone span { font-size: 12px; color: var(--hd-lime); }
.hd .hd-talk { display: none; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--hd-lime); color: var(--hd-ink); font-family: var(--hd-display); font-size: 14px; font-weight: 700; transition: transform .25s var(--hd-ease); }
.hd .hd-talk:hover { color: var(--hd-ink); transform: scale(1.05); }
.hd .hd-burger { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 18px; }

.hd .hd-mobile { display: none; max-width: 1152px; margin: 8px auto 0; padding: 24px; background: var(--hd-ink); border-radius: 24px; box-shadow: 0 30px 60px -15px rgba(11, 16, 32, .5); max-height: calc(100vh - 110px); overflow-y: auto; color: #fff; }
.hd .hd-mobile.is-open { display: block; }
.hd .hd-mobile-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; font-family: var(--hd-display); font-size: 22px; font-weight: 600; color: #fff; }
.hd .hd-mobile-link:hover { color: var(--hd-lime); }
.hd .hd-mobile-sub { padding: 0 0 8px 12px; display: none; }
.hd .hd-mobile-sub.is-open { display: block; }
.hd .hd-mobile-sub a { display: block; padding: 8px 4px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.hd .hd-mobile-sub a:hover { color: #fff; }
.hd .hd-mobile-calls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hd .hd-mobile-calls a { white-space: nowrap; padding: 12px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); text-align: center; font-size: 14px; font-weight: 600; color: #fff; }
.hd .hd-mobile-cta { display: block; margin-top: 12px; padding: 16px; border-radius: 999px; background: var(--hd-lime); text-align: center; font-family: var(--hd-display); font-weight: 700; color: var(--hd-ink); }
.hd .hd-mobile-cta:hover { color: var(--hd-ink); }

/* reserves the old in-flow navbar height so inner page headers keep their layout */
.hd-nav-spacer { height: 96px; }

@media (min-width: 640px) {
    .hd .hd-talk { display: inline-flex; }
}
@media (min-width: 1100px) {
    .hd .hd-nav { display: flex; }
    .hd .hd-burger, .hd .hd-mobile, .hd .hd-mobile.is-open { display: none; }
}
@media (min-width: 1280px) {
    .hd .hd-phone { display: flex; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hd.hd-home { background: var(--hd-paper); margin-top: -96px; overflow-x: clip; }

/* ---------- hero ---------- */
.hd .hd-hero-outer { padding: 8px; }
.hd .hd-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 136px 20px 40px; background: var(--hd-grad); }
.hd .hd-noise::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hd .hd-ring { position: absolute; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); pointer-events: none; }
.hd .hd-ring-1 { right: -128px; top: 96px; width: 520px; height: 520px; }
.hd .hd-ring-2 { right: -40px; top: 192px; width: 360px; height: 360px; }
.hd .hd-hero-inner { position: relative; z-index: 1; }
.hd .hd-hero-grid { display: grid; gap: 56px; align-items: center; }
.hd .hd-hero-grid > * { min-width: 0; }
.hd .hd-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.hd .hd-eyebrow::before { content: ""; width: 40px; height: 1px; background: rgba(255, 255, 255, .6); }
.hd .hd-h1 { margin-top: 24px; font-family: var(--hd-display); font-size: 44px; font-weight: 800; line-height: .98; letter-spacing: -.02em; color: #fff; }
.hd .hd-h1-wrap > .hd-h1 { display: block; }
.hd .hd-rotator { display: inline-grid; color: var(--hd-lime); }
.hd .hd-rotator > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .5s var(--hd-ease); }
.hd .hd-rotator > span.is-on { opacity: 1; transform: none; }
.hd .hd-rotator > span.is-out { transform: translateY(-40%); }
.hd .hd-lead { margin-top: 32px; max-width: 520px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.hd .hd-hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }

/* code editor visual */
.hd .hd-visual { position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: 40px 0 80px; }
.hd .hd-glow { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.hd .hd-glow-lime { left: 50%; top: 50%; width: 320px; height: 320px; transform: translate(-50%, -50%); background: rgba(198, 244, 50, .3); }
.hd .hd-glow-cyan { right: 0; top: 0; width: 224px; height: 224px; background: rgba(6, 182, 212, .4); }
.hd .hd-editor { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(11, 16, 32, .86); box-shadow: 0 40px 80px -20px rgba(11, 16, 32, .7);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .8s var(--hd-ease); }
.hd .hd-editor:hover { transform: none; }
.hd .hd-editor-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hd .hd-editor-bar i.dot { width: 12px; height: 12px; border-radius: 999px; }
.hd .hd-tabs { display: flex; gap: 4px; margin-left: 16px; font-family: var(--hd-mono); font-size: 11px; }
.hd .hd-tabs span { padding: 4px 12px; border-radius: 6px; color: rgba(255, 255, 255, .4); }
.hd .hd-tabs span.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.hd .hd-code { display: block; overflow: hidden; white-space: pre; padding: 20px; font-family: var(--hd-mono); font-size: 12.5px; line-height: 1.85; color: #CBD5E1; }
.hd .hd-code .ln { display: inline-block; width: 1.9em; margin-right: 1em; text-align: right; color: rgba(255, 255, 255, .22); user-select: none; }
.hd .hd-code .k { color: #F472B6; } .hd .hd-code .s { color: var(--hd-lime); } .hd .hd-code .t { color: #67E8F9; }
.hd .hd-code .f { color: #A5B4FC; } .hd .hd-code .b { color: #FCD34D; } .hd .hd-code .c { color: #64748B; } .hd .hd-code .w { color: #fff; }
.hd .hd-caret { color: var(--hd-lime); animation: hd-blink 1s steps(1) infinite; }
.hd .hd-editor-foot { display: flex; justify-content: space-between; padding: 8px 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--hd-mono); font-size: 10.5px; color: rgba(255, 255, 255, .4); }
.hd .hd-editor-foot .ok { color: #6EE7B7; }

.hd .hd-float { position: absolute; z-index: 2; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(11, 16, 32, .45); }
.hd .hd-float-deploy { right: -8px; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .96); animation: hd-bob 6s ease-in-out infinite; }
.hd .hd-float-deploy .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: #10B981; color: #fff; font-size: 13px; }
.hd .hd-float b { display: block; font-family: var(--hd-display); font-size: 14px; color: var(--hd-ink); line-height: 1.3; }
.hd .hd-float small { font-size: 12px; color: #64748B; }
.hd .hd-float-api { left: -8px; bottom: -8px; display: none; width: 208px; padding: 16px; background: rgba(255, 255, 255, .96); animation: hd-bob 7s ease-in-out -2s infinite; }
.hd .hd-float-api .row1 { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #64748B; }
.hd .hd-float-api .delta { padding: 2px 8px; border-radius: 999px; background: #ECFDF5; color: #059669; font-size: 10px; font-weight: 700; }
.hd .hd-float-api .val { margin-top: 2px; font-family: var(--hd-display); font-size: 24px; font-weight: 700; color: var(--hd-ink); }
.hd .hd-float-api .val small { font-size: 13px; color: var(--hd-muted); }
.hd .hd-spark { stroke-dasharray: 200; stroke-dashoffset: 200; animation: hd-draw 2.2s .6s ease-out forwards; }
.hd .hd-float-ai { right: 0; bottom: 8px; display: flex; align-items: flex-start; gap: 10px; max-width: 232px; padding: 14px; border-bottom-right-radius: 4px; background: var(--hd-lime); color: var(--hd-ink); font-size: 13px; line-height: 1.4; animation: hd-bob 6.5s ease-in-out -4s infinite; }
.hd .hd-float-ai .ic { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--hd-ink); color: var(--hd-lime); font-size: 12px; }
.hd .hd-float-ai b { font-size: 13px; }
.hd .hd-typing { display: inline-flex; gap: 2px; margin-left: 2px; vertical-align: middle; }
.hd .hd-typing i { width: 4px; height: 4px; border-radius: 999px; background: var(--hd-ink); animation: hd-dot 1.2s infinite; }
.hd .hd-typing i:nth-child(2) { animation-delay: .2s; } .hd .hd-typing i:nth-child(3) { animation-delay: .4s; }

/* stats strip */
.hd .hd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 64px; overflow: hidden; border-radius: 24px; background: rgba(255, 255, 255, .15); }
.hd .hd-stat { padding: 24px; background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd .hd-stat strong { display: block; font-family: var(--hd-display); font-size: 36px; font-weight: 700; line-height: 1.2; color: #fff; }
.hd .hd-stat strong.lime { color: var(--hd-lime); }
.hd .hd-stat span { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ---------- marquees ---------- */
.hd .hd-marquee { overflow: hidden; padding: 56px 0; }
.hd .hd-marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; white-space: nowrap; animation: hd-scroll 28s linear infinite; font-family: var(--hd-display); font-size: 48px; font-weight: 800; color: var(--hd-ink); }
.hd .hd-marquee-track .outline { -webkit-text-stroke: 1.5px var(--hd-ink); color: transparent; }
.hd .hd-marquee-track i { font-size: .75em; }
.hd .hd-tech { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); }
.hd .hd-tech .hd-marquee-track { gap: 56px; font-size: 36px; color: var(--hd-muted); animation-duration: 34s; animation-direction: reverse; }

/* ---------- section headings ---------- */
.hd .hd-section { padding: 96px 0; }
.hd .hd-head { display: grid; gap: 24px; }
.hd .hd-h2 { font-family: var(--hd-display); font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--hd-ink); }
.hd .hd-head p { max-width: 448px; font-size: 18px; }
.hd .hd-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hd-display); font-weight: 700; color: var(--hd-brand); }
.hd .hd-link-arrow:hover { color: var(--hd-indigo); }

/* ---------- services rows ---------- */
.hd .hd-rows { margin-top: 56px; border-top: 1px solid var(--hd-line); }
.hd .hd-row { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--hd-line); transition: padding .3s var(--hd-ease); isolation: isolate; }
.hd .hd-row::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--hd-ease); background: linear-gradient(90deg, var(--hd-brand), var(--hd-indigo)); }
.hd .hd-rows > li:nth-child(3n+2) .hd-row::before { background: linear-gradient(90deg, var(--hd-indigo), var(--hd-cyan)); }
.hd .hd-rows > li:nth-child(3n) .hd-row::before { background: linear-gradient(90deg, var(--hd-cyan), var(--hd-brand)); }
.hd .hd-row:hover { padding-left: 24px; padding-right: 24px; }
.hd .hd-row:hover::before { transform: scaleY(1); }
.hd .hd-row-num { font-family: var(--hd-display); font-size: 14px; color: var(--hd-muted); }
.hd .hd-row-icon { display: none; width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.hd .hd-row-title { flex: 1; font-family: var(--hd-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--hd-ink); transition: color .2s; }
.hd .hd-row-desc { display: none; max-width: 320px; font-size: 14px; transition: color .2s; }
.hd .hd-row-go { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(11, 16, 32, .15); color: var(--hd-ink); transition: transform .3s var(--hd-ease), background-color .3s, border-color .3s; }
.hd .hd-row:hover .hd-row-num, .hd .hd-row:hover .hd-row-desc { color: rgba(255, 255, 255, .8); }
.hd .hd-row:hover .hd-row-title { color: #fff; }
.hd .hd-row:hover .hd-row-go { transform: rotate(45deg); background: #fff; border-color: #fff; }

/* ---------- work (horizontal scroller) ---------- */
.hd .hd-dark { background: var(--hd-ink); color: #94A3B8; }
.hd .hd-dark .hd-h2 { color: #fff; }
.hd .hd-work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hd .hd-circle-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color .2s, color .2s; }
.hd .hd-circle-btn:hover { background: #fff; color: var(--hd-ink); }
.hd .hd-circle-btn.lime { background: var(--hd-lime); border-color: var(--hd-lime); color: var(--hd-ink); }
.hd .hd-scroller { display: flex; gap: 24px; margin-top: 48px; padding-bottom: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(20px, calc((100vw - 1152px) / 2 + 20px)); scroll-padding-inline: max(20px, calc((100vw - 1152px) / 2 + 20px)); }
.hd .hd-scroller::-webkit-scrollbar { display: none; }
.hd .hd-work-card { flex-shrink: 0; width: 85vw; scroll-snap-align: start; transition: transform .5s var(--hd-ease); }
.hd .hd-work-card:hover { transform: rotate(-1.5deg) translateY(-6px); }
.hd .hd-work-frame { overflow: hidden; border-radius: 24px; padding: 24px; }
.hd .hd-work-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5); }
.hd .hd-work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; }
.hd .hd-work-meta h3 { font-family: var(--hd-display); font-size: 24px; font-weight: 700; color: #fff; }
.hd .hd-work-meta span { font-size: 14px; }
.hd .g1 { background: linear-gradient(135deg, var(--hd-brand), var(--hd-indigo)); }
.hd .g2 { background: linear-gradient(135deg, var(--hd-lime), var(--hd-cyan)); }
.hd .g3 { background: linear-gradient(135deg, var(--hd-indigo), #D946EF); }
.hd .g4 { background: linear-gradient(135deg, var(--hd-cyan), var(--hd-brand)); }
.hd .g5 { background: linear-gradient(135deg, #FB923C, #EC4899); }

/* ---------- process (sticky stacked cards) ---------- */
.hd .hd-process { display: grid; gap: 48px; }
.hd .hd-process-intro p { margin-top: 24px; max-width: 384px; font-size: 18px; }
.hd .hd-process-intro .hd-link-arrow { margin-top: 32px; }
.hd .hd-stack { display: grid; gap: 24px; }
.hd .hd-stack-card { position: sticky; padding: 40px; border-radius: 32px; box-shadow: 0 20px 25px -5px rgba(11, 16, 32, .06); }
.hd .hd-stack-card:nth-child(1) { top: 112px; background: #fff; }
.hd .hd-stack-card:nth-child(2) { top: 128px; background: linear-gradient(135deg, var(--hd-brand), var(--hd-indigo)); color: rgba(255, 255, 255, .85); }
.hd .hd-stack-card:nth-child(3) { top: 144px; background: var(--hd-ink); color: #CBD5E1; }
.hd .hd-stack-card:nth-child(4) { top: 160px; background: var(--hd-lime); color: rgba(11, 16, 32, .8); }
.hd .hd-stack-top { display: flex; justify-content: space-between; align-items: center; }
.hd .hd-stack-num { font-family: var(--hd-display); font-size: 60px; font-weight: 800; line-height: 1; opacity: .2; }
.hd .hd-stack-card:nth-child(1) .hd-stack-num { color: var(--hd-brand); }
.hd .hd-stack-card:nth-child(2) .hd-stack-num, .hd .hd-stack-card:nth-child(3) .hd-stack-num { color: #fff; }
.hd .hd-stack-top i { font-size: 28px; }
.hd .hd-stack-card:nth-child(1) .hd-stack-top i { color: var(--hd-brand); }
.hd .hd-stack-card:nth-child(2) .hd-stack-top i { color: #fff; }
.hd .hd-stack-card:nth-child(3) .hd-stack-top i { color: var(--hd-lime); }
.hd .hd-stack-card h3 { margin-top: 24px; font-family: var(--hd-display); font-size: 30px; font-weight: 700; color: var(--hd-ink); }
.hd .hd-stack-card:nth-child(2) h3, .hd .hd-stack-card:nth-child(3) h3 { color: #fff; }
.hd .hd-stack-card p { margin-top: 12px; font-size: 18px; }

/* ---------- hire developers ---------- */
.hd .hd-panel-outer { padding: 0 8px; }
.hd .hd-panel { border-radius: 28px; background: #fff; padding: 80px 20px; }
.hd .hd-grad-text { background: linear-gradient(90deg, var(--hd-brand), var(--hd-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hd .hd-dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.hd .hd-dev { display: block; padding: 24px; border-radius: 24px; background: var(--hd-paper); text-align: center; transition: transform .3s var(--hd-ease), background-color .3s; }
.hd .hd-dev i { font-size: 30px; transition: color .3s; }
.hd .hd-dev h3 { margin-top: 16px; font-family: var(--hd-display); font-weight: 700; color: var(--hd-ink); transition: color .3s; }
.hd .hd-dev:hover { transform: translateY(-4px); background: var(--hd-ink); }
.hd .hd-dev:hover i { color: var(--hd-lime) !important; }
.hd .hd-dev:hover h3 { color: #fff; }

/* ---------- testimonials ---------- */
.hd .hd-testi { display: grid; gap: 24px; }
.hd .hd-score { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-radius: 32px; background: linear-gradient(135deg, var(--hd-indigo), var(--hd-brand)); color: rgba(255, 255, 255, .85); }
.hd .hd-score strong { font-family: var(--hd-display); font-size: 72px; font-weight: 800; line-height: 1; color: #fff; }
.hd .hd-score .stars { color: var(--hd-lime); }
.hd .hd-quotes { position: relative; min-width: 0; }
.hd .hd-quote-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hd .hd-quote-track::-webkit-scrollbar { display: none; }
.hd .hd-quote { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-radius: 32px; background: #fff; box-shadow: 0 20px 25px -5px rgba(11, 16, 32, .05); }
.hd .hd-quote blockquote { font-family: var(--hd-display); font-size: 21px; font-weight: 600; line-height: 1.45; color: var(--hd-ink); }
.hd .hd-quote figcaption { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.hd .hd-quote figcaption b { display: block; font-size: 16px; color: var(--hd-ink); }
.hd .hd-quote figcaption a { color: var(--hd-brand); word-break: break-all; }
.hd .hd-avatar { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 999px; overflow: hidden; background: var(--hd-lime); font-family: var(--hd-display); font-weight: 700; color: var(--hd-ink); }
.hd .hd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hd .hd-quote-nav { display: flex; gap: 8px; margin-top: 20px; }
.hd .hd-quote-nav .hd-circle-btn { border-color: rgba(11, 16, 32, .15); color: var(--hd-ink); }
.hd .hd-quote-nav .hd-circle-btn:hover { background: var(--hd-ink); color: #fff; }
.hd .hd-quote-nav .hd-circle-btn.lime:hover { background: var(--hd-ink); border-color: var(--hd-ink); color: var(--hd-lime); }

/* ---------- blog wrapper (reuses _BlogModalPartial) ---------- */
.hd .hd-blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.hd .hd-blog-body { display: flex; justify-content: center; }

/* hide the generic CTA band on Home (footer carries the CTA); keeps #ScheduleModal in the DOM */
.hd-calltracking #demo-section { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hd.hd-footer { padding: 8px; background: transparent; }
.hd .hd-footer-card { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 20px 32px; background: var(--hd-grad); color: rgba(255, 255, 255, .75); }
.hd .hd-footer-inner { position: relative; z-index: 1; max-width: 1152px; margin: 0 auto; }
.hd .hd-footer-kicker { font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hd .hd-footer-big { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 16px; font-family: var(--hd-display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.hd .hd-footer-big:hover { color: #fff; }
.hd .hd-footer-big span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--hd-lime); color: var(--hd-ink); font-size: 24px; transition: transform .3s var(--hd-ease); }
.hd .hd-footer-big:hover span { transform: rotate(45deg); }
.hd .hd-footer-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-size: 14px; }
.hd .hd-footer-pills a { padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: background-color .2s, color .2s; }
.hd .hd-footer-pills a:hover { background: #fff; color: var(--hd-ink); }
.hd .hd-footer-grid { display: grid; gap: 40px; padding-top: 48px; }
.hd .hd-footer-grid.has-cta { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hd .hd-footer-brand img { height: 40px; width: auto; }
.hd .hd-footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14px; }
.hd .hd-footer-contact { margin-top: 20px; display: grid; gap: 10px; font-size: 14px; }
.hd .hd-footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.hd .hd-footer-contact i { width: 16px; margin-top: 4px; color: var(--hd-lime); }
.hd .hd-footer-contact a:hover { color: #fff; }
.hd .hd-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hd .hd-footer-cols h2, .hd .hd-footer-cols h4 { font-family: var(--hd-display); font-size: 16px; font-weight: 700; color: #fff; }
.hd .hd-footer-cols ul { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.hd .hd-footer-cols a:hover { color: #fff; }
.hd .hd-footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; }
.hd .hd-footer-legal { margin-left: 12px; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hd .hd-footer-legal:hover, .hd .hd-footer-legal:focus { color: var(--hd-lime); text-decoration: underline; }
.hd .hd-social { display: flex; gap: 8px; }
.hd .hd-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s, color .2s; }
.hd .hd-social a:hover { background: #fff; color: var(--hd-ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
    .hd .hd-hero-outer { padding: 12px; }
    .hd .hd-hero { border-radius: 40px; }
    .hd .hd-h1 { font-size: 72px; }
    .hd .hd-hero-ctas { flex-direction: row; }
    .hd .hd-visual { padding-left: 32px; padding-right: 32px; }
    .hd .hd-float-deploy { right: -16px; }
    .hd .hd-float-api { display: block; left: -24px; }
    .hd .hd-float-ai { right: -24px; }
    .hd .hd-code { font-size: 13.5px; }
    .hd .hd-marquee-track { font-size: 72px; }
    .hd .hd-h2 { font-size: 56px; }
    .hd .hd-row-title { font-size: 34px; }
    .hd .hd-work-card { width: 520px; }
    .hd .hd-panel-outer { padding: 0 12px; }
    .hd .hd-panel { border-radius: 40px; }
    .hd .hd-footer-card { border-radius: 40px; }
    .hd .hd-footer-big { font-size: 88px; }
    .hd .hd-footer-big span { width: 96px; height: 96px; font-size: 36px; }
    .hd .hd-footer-bottom { flex-direction: row; }
    .hd .hd-footer-cols { grid-template-columns: repeat(4, 1fr); }
    .hd.hd-footer { padding: 12px; }
}
@media (min-width: 768px) {
    .hd .hd-stats { grid-template-columns: repeat(4, 1fr); }
    .hd .hd-row-icon { display: block; }
    .hd .hd-dev-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .hd .hd-row-desc { display: block; }
    .hd .hd-hero { padding: 176px 48px 40px; }
    .hd .hd-hero-grid { grid-template-columns: 1.05fr 1fr; }
    .hd .hd-h1 { font-size: 64px; }
    .hd .hd-head { grid-template-columns: 1fr 1fr; align-items: end; }
    .hd .hd-head p { justify-self: end; }
    .hd .hd-process { grid-template-columns: 1fr 1.3fr; }
    .hd .hd-process-intro { position: sticky; top: 128px; align-self: start; }
    .hd .hd-panel { padding: 80px 48px; }
    .hd .hd-dev-grid { grid-template-columns: repeat(6, 1fr); }
    .hd .hd-testi { grid-template-columns: 1fr 2fr; }
    .hd .hd-footer-card { padding: 80px 48px 32px; }
    .hd .hd-footer-grid { grid-template-columns: 2fr 3fr; }
}

@media (min-width: 1280px) {
    .hd .hd-h1 { font-size: 80px; }
}

/* ---------- phones ---------- */
@media (max-width: 639px) {
    .hd .hd-section { padding: 72px 0; }
    .hd .hd-eyebrow { font-size: 13px; }
    .hd .hd-eyebrow::before { width: 24px; }
    .hd .hd-lead { font-size: 17px; margin-top: 24px; }
    .hd .hd-code { padding: 16px; font-size: 11px; }
    .hd .hd-visual { padding-bottom: 72px; }
    .hd .hd-float-ai { max-width: 210px; font-size: 12px; }
    .hd .hd-stats { margin-top: 48px; }
    .hd .hd-stat { padding: 18px 20px; }
    .hd .hd-stat strong { font-size: 28px; }
    .hd .hd-stat span { font-size: 13px; }
    .hd .hd-marquee { padding: 40px 0; }
    .hd .hd-marquee-track { font-size: 40px; gap: 28px; }
    .hd .hd-tech .hd-marquee-track { font-size: 30px; gap: 40px; }
    .hd .hd-head p { font-size: 16px; }
    .hd .hd-rows { margin-top: 40px; }
    .hd .hd-row { gap: 14px; padding: 20px 0; }
    .hd .hd-row:hover { padding-left: 12px; padding-right: 12px; }
    .hd .hd-row-title { font-size: 19px; }
    .hd .hd-row-go { width: 40px; height: 40px; }
    .hd .hd-work-frame { padding: 16px; }
    .hd .hd-work-meta h3 { font-size: 20px; }
    .hd .hd-stack-card { padding: 28px; border-radius: 24px; }
    .hd .hd-stack-num { font-size: 48px; }
    .hd .hd-stack-card h3 { font-size: 24px; margin-top: 16px; }
    .hd .hd-stack-card p { font-size: 16px; }
    .hd .hd-panel { padding: 64px 20px; }
    .hd .hd-dev { padding: 20px 12px; }
    .hd .hd-score { padding: 28px; border-radius: 24px; }
    .hd .hd-score strong { font-size: 56px; }
    .hd .hd-quote { padding: 28px; border-radius: 24px; }
    .hd .hd-quote blockquote { font-size: 17px; }
    .hd .hd-blog-body { padding: 0 16px; }
    .hd .hd-footer-card { padding: 56px 20px 28px; }
    .hd .hd-footer-big { font-size: 44px; }
    .hd .hd-footer-pills a { padding: 10px 16px; }
    .hd .hd-mobile { padding: 16px 20px; }
    .hd .hd-footer-bottom p { text-align: center; }
    .hd .hd-mobile-link { font-size: 19px; padding: 10px 4px; }
}
@media (max-width: 400px) {
    .hd .hd-mobile-calls { grid-template-columns: 1fr; }
}
.hd .hd-stack-card h3, .hd .hd-row-title, .hd .hd-work-meta h3 { line-height: 1.2; }

/* ---------- motion ---------- */
@keyframes hd-blink { 50% { opacity: 0; } }
@keyframes hd-bob { 50% { transform: translateY(-10px); } }
@keyframes hd-dot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes hd-draw { to { stroke-dashoffset: 0; } }
@keyframes hd-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .hd .hd-talk, .hd .hd-editor, .hd .hd-row, .hd .hd-work-card { transition: none; }
    .hd .hd-float-deploy, .hd .hd-float-api, .hd .hd-float-ai, .hd .hd-typing i, .hd .hd-caret, .hd .hd-marquee-track { animation: none; }
    .hd .hd-spark { stroke-dashoffset: 0; animation: none; }
    .hd .hd-editor { transform: none; }
}

/* ==========================================================================
   Shared fixes + scroll reveal
   ========================================================================== */
/* site.css sets #boxed-container { overflow:hidden }, which turns it into a scroll
   container and silently disables every position:sticky inside the page.
   overflow:clip still clips horizontally but keeps sticky working. */
@supports (overflow: clip) { #boxed-container { overflow: clip; } }

/* Elements get .hd-reveal (or are children of .hd-reveal-kids); the navbar script adds
   .hd-js to <html> and .is-in when they scroll into view. No JS => everything visible. */
.hd-js .hd .hd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--hd-ease), transform .8s var(--hd-ease); }
.hd-js .hd .hd-reveal.is-in { opacity: 1; transform: none; }

/* section kicker (shared by every page) */
.hd .hd-kick { font-family: var(--hd-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-brand); }

/* =========================================================
   404 page (Views/Shared/NotFound.cshtml)
   ========================================================= */
.hd.hd-404 { background: var(--hd-paper); margin-top: -96px; overflow-x: clip; }
.hd .hd-404-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hd .hd-404-links a {
    padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
    color: #fff; font: 500 14px/1.4 var(--hd-body); text-decoration: none;
    transition: background .2s var(--hd-ease), border-color .2s var(--hd-ease);
}
.hd .hd-404-links a:hover, .hd .hd-404-links a:focus-visible { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; }

/* ==========================================================================
   Quote modal (#ScheduleModal in Views/Shared/_CallTracking.cshtml, .hd-qm)
   Restyle only: every id, field name, reCAPTCHA and the /Home/SendEmail post are unchanged.
   Lives outside .hd, so rules are scoped to #ScheduleModal.hd-qm.
   ========================================================================== */
#ScheduleModal.hd-qm .modal-dialog { width: auto; max-width: 600px; margin: 32px auto; padding: 0 12px; }
#ScheduleModal.hd-qm .modal-content { height: auto !important; margin: 0 !important; overflow: hidden; border: 0; border-radius: 28px; box-shadow: 0 40px 80px -20px rgba(11, 16, 32, .5); font-family: var(--hd-body); font-size: 15px; color: var(--hd-text); }
#ScheduleModal.hd-qm .modal-body { padding: 0 0 28px; }
#ScheduleModal.hd-qm .modal-body-img { position: relative; height: auto !important; margin: 0; padding: 32px 28px 28px; background: var(--hd-grad) !important; }
#ScheduleModal.hd-qm .modal-body-img > .row > div { float: none; width: auto; padding: 0; }
#ScheduleModal.hd-qm .modal-body-img > .row > div:last-child { position: absolute; right: 16px; top: 16px; }
#ScheduleModal.hd-qm .hd-qm-kick { margin: 0; font-family: var(--hd-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hd-lime); }
#ScheduleModal.hd-qm .modal-title { margin: 8px 40px 0 0; font-family: var(--hd-display); font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
#ScheduleModal.hd-qm .modal-body-img p.modal-title-color { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
#ScheduleModal.hd-qm .close { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .15); opacity: 1; text-shadow: none; font-size: 24px; font-weight: 400; line-height: 1; transition: background-color .2s; }
#ScheduleModal.hd-qm .close:hover { background: rgba(255, 255, 255, .3); }
#ScheduleModal.hd-qm .modal-body > .row { margin: 0 !important; padding: 24px 28px 0; }
#ScheduleModal.hd-qm .modal-body > .row > .row > div, #ScheduleModal.hd-qm #quoteForm .row > div { padding-left: 6px; padding-right: 6px; }
#ScheduleModal.hd-qm #quoteForm { margin-top: 12px !important; }
#ScheduleModal.hd-qm #quoteForm .row { margin-left: -6px !important; margin-right: -6px !important; }
#ScheduleModal.hd-qm .form-group { margin-bottom: 14px; }
#ScheduleModal.hd-qm label { margin-bottom: 6px; font-size: 13px !important; font-weight: 600; color: var(--hd-ink); }
#ScheduleModal.hd-qm .form-input { width: 100%; padding: 11px 14px; border: 1px solid rgba(11, 16, 32, .15); border-radius: 12px; background: #fff; font-size: 15px; color: var(--hd-ink); transition: border-color .2s, box-shadow .2s; }
#ScheduleModal.hd-qm .form-input:focus { border-color: var(--hd-brand); box-shadow: 0 0 0 4px rgba(15, 117, 189, .15); outline: 0; }
#ScheduleModal.hd-qm textarea.form-input { resize: vertical; min-height: 88px; }
#ScheduleModal.hd-qm #radioBtn { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--hd-paper); }
#ScheduleModal.hd-qm #radioBtn .btn { float: none; margin: 0; padding: 8px 20px; border: 0 !important; border-radius: 999px !important; background: transparent !important; font-family: var(--hd-display); font-size: 14px; font-weight: 600; text-transform: none; color: var(--hd-text); box-shadow: none; }
#ScheduleModal.hd-qm #radioBtn .btn.active { background: var(--hd-ink) !important; color: #fff; }
#ScheduleModal.hd-qm .input-group { display: block; }
#ScheduleModal.hd-qm #captcha1 { margin-top: 4px; }
#ScheduleModal.hd-qm .send-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; padding: 15px 24px; border: 0 !important; border-radius: 999px; background: var(--hd-ink); font-family: var(--hd-display); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; transition: background-color .2s, color .2s; }
#ScheduleModal.hd-qm .send-btn:hover, #ScheduleModal.hd-qm .send-btn:focus { background: var(--hd-lime); color: var(--hd-ink) !important; }
#ScheduleModal.hd-qm #quoteErrors .alert { margin: 12px 0 0; border-radius: 12px; font-size: 14px; }
#ScheduleModal.hd-qm #quoteErrors ul { margin: 0; padding-left: 18px; }
@media (max-width: 639px) {
    #ScheduleModal.hd-qm .modal-dialog { margin: 12px auto; }
    #ScheduleModal.hd-qm .modal-body-img { padding: 28px 20px 24px; }
    #ScheduleModal.hd-qm .modal-title { font-size: 22px; }
    #ScheduleModal.hd-qm .modal-body > .row { padding: 20px 20px 0; }
    #ScheduleModal.hd-qm #quoteForm .row > div { width: 100%; }
}

/* =========================================================
   Cross-links between service and hire pages (SEO topic clusters)
   ========================================================= */
.hd .hd-cta-alt { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hd .hd-cta-alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hd .hd-cta-alt a:hover, .hd .hd-cta-alt a:focus-visible { color: var(--hd-lime); }
.hd .hd-cta-alt i { font-size: 11px; margin-left: 4px; }

/* ==========================================================================
   Shared rules (motion, [hidden], mobile perf) used by every page
   ========================================================================== */
@keyframes hd-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hd-zoom-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
/* hero headlines: start at .01 (not 0) so the browser counts them as the LCP element from the first frame */
@keyframes hd-rise-lcp { from { opacity: .01; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hd-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@media (prefers-reduced-motion: reduce) {
    .hd-js .hd .hd-reveal { opacity: 1; transform: none; transition: none; }
}
.hd [hidden] { display: none !important; }
/* Home hero rotator: hidden words paint at .01 so the headline is one LCP candidate, not one per word */
.hd .hd-rotator > span:not(.is-on) { opacity: .01; }
/* Perf: the feTurbulence grain + overlay blend is very costly to rasterise on mobile CPUs
   (delayed the home hero's first frame/LCP by seconds); keep it for desktop only */
@media (max-width: 1023px) { .hd .hd-noise::after { content: none; } }
