/* DigiAppsPH home page, dark editorial design (standalone stylesheet) */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../assets/fonts/playfair-display-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500 700; font-display: swap; src: url(../assets/fonts/playfair-display-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../assets/fonts/montserrat-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: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../assets/fonts/montserrat-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: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/nunito-sans-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: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/nunito-sans-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; }

:root {
  color-scheme: only light;
  --ink: #061532;
  --navy: #0a2147;
  --navy-2: #0d2b5c;
  --navy-3: #0f3b76;
  --blue: #2468b7;
  --gold: #e2b552;
  --gold-2: #f8d778;
  --gold-bg: #eec45a; /* lighter golds are darkened by phone dark modes, so backgrounds stay just under that line */
  --gold-3: #b78f3d;
  --cream: #faf7f0;
  --paper: #ffffff;
  --text: #d6e0f3;
  --mute: #9db0cf;
  --dark-text: #0b1b3a;
  --dark-mute: #4d5d7a;
  --line: rgba(248, 215, 120, .16);
  --line-soft: rgba(157, 176, 207, .16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --head: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.22, .8, .26, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hx { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
:where(.hx) :where(img, svg) { max-width: 100%; }
:where(.hx) :where(a) { color: inherit; }
:where(.hx) :where(h1, h2, h3, h4, p, ul, address) { margin: 0; }
:where(.hx) :where(ul) { list-style: none; padding: 0; }
.hx-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.hx-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 200; font: 700 14px var(--head); }
.hx-skip:focus { left: 8px; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.hx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent; font: 700 15px var(--head); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s; }
.hx-btn svg { width: 18px; height: 18px; flex: none; }
.hx-btn--gold { background: linear-gradient(135deg, var(--gold-bg), var(--gold) 55%, #cf9d36); color: #1a1405; box-shadow: 0 10px 30px -10px rgba(226, 181, 82, .7); }
.hx-btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: hx-shimmer 5.5s ease-in-out infinite 2s; }
.hx-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(226, 181, 82, .85); }
.hx-btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(248, 215, 120, .35); }
.hx-btn--ghost:hover { background: rgba(248, 215, 120, .1); border-color: var(--gold-2); transform: translateY(-2px); }
.hx-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
@keyframes hx-shimmer { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

/* ---------- top bar and nav ---------- */
.hx-top { background: #040e24; border-bottom: 1px solid var(--line-soft); font: 600 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.hx-top .hx-wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.hx-top a { text-decoration: none; color: var(--gold-2); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.hx-nav { position: sticky; top: 0; z-index: 100; background: rgba(6, 21, 50, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s; }
.hx-nav.is-stuck { box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8); }
.hx-nav .hx-wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hx-brand img { width: 44px; height: 43px; }
.hx-brand b { font: 800 22px var(--head); color: #fff; letter-spacing: -.01em; }
.hx-brand b i { font-style: normal; color: var(--gold-2); }
.hx-links { display: flex; align-items: center; gap: 4px; }
.hx-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font: 600 14px var(--head); letter-spacing: .02em; color: var(--text); text-decoration: none; position: relative; transition: color .2s; }
.hx-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hx-links a:hover, .hx-links a[aria-current] { color: #fff; }
.hx-links a:hover::after, .hx-links a[aria-current]::after { transform: scaleX(1); }
.hx-links__cta { display: none !important; }
.hx-burger { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer; align-items: center; justify-content: center; }
.hx-burger span, .hx-burger span::before, .hx-burger span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s, opacity .3s; }
.hx-burger span::before, .hx-burger span::after { content: ""; position: absolute; left: 0; }
.hx-burger span::before { top: -6px; }
.hx-burger span::after { top: 6px; }
.hx-burger[aria-expanded="true"] span { background: transparent; }
.hx-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hx-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hx-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(1000px 520px at 78% 8%, rgba(36, 104, 183, .28), transparent 60%), linear-gradient(180deg, #071a3d, var(--ink)); isolation: isolate; }
.hx-hero::before, .hx-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; will-change: transform; }
.hx-hero::before { width: 520px; height: 520px; left: -140px; top: 120px; background: radial-gradient(circle, rgba(226, 181, 82, .30), transparent 68%); animation: hx-drift 22s ease-in-out infinite alternate; }
.hx-hero::after { width: 620px; height: 620px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(36, 104, 183, .45), transparent 68%); animation: hx-drift 28s ease-in-out infinite alternate-reverse; }
@keyframes hx-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(70px, 50px, 0) scale(1.18); } }
.hx-grid { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(157, 176, 207, .22) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 70%); }
.hx-hero .hx-wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font: 700 11.5px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.hx-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(226, 181, 82, .6); animation: hx-ping 2.4s infinite; }
@keyframes hx-ping { 70% { box-shadow: 0 0 0 10px rgba(226, 181, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 181, 82, 0); } }
.hx-h1 { margin-top: 26px !important; font: 600 clamp(2.4rem, 4.7vw, 4rem)/1.08 var(--serif); color: #fff; letter-spacing: -.015em; }
.hx-em { position: relative; display: inline-block; white-space: nowrap; font-style: italic; font-weight: 500; color: #f3cb66; padding-right: .06em; }
.hx-em svg { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; }
.hx-em path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: hx-draw 1.6s var(--ease) .9s forwards; }
@keyframes hx-draw { to { stroke-dashoffset: 0; } }
.hx-lead { margin-top: 26px !important; max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text); }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft); font: 600 13.5px var(--head); color: var(--mute); }
.hx-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hx-chips svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* hero mockup (pure CSS, no images) */
.hx-stage { position: relative; min-height: 470px; perspective: 1400px; }
.hx-win { position: absolute; right: 0; top: 56px; width: min(90%, 540px); border-radius: 20px; background: linear-gradient(180deg, #17387a, #0e2a5c); border: 1px solid rgba(248, 215, 120, .3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform: rotateY(-8deg) rotateX(3deg); animation: hx-float 9s ease-in-out infinite; }
.hx-win__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.hx-win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.hx-win__bar i:nth-child(2) { background: #f7c548; }
.hx-win__bar i:nth-child(3) { background: #3ed598; }
.hx-win__bar em { flex: 1; height: 10px; margin-left: 14px; border-radius: 6px; background: rgba(255, 255, 255, .08); max-width: 190px; }
.hx-win__body { padding: 20px; display: grid; gap: 16px; }
.hx-sk { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.hx-sk--g { background: linear-gradient(90deg, var(--gold-3), var(--gold)); }
.hx-sk--w { width: 60%; } .hx-sk--m { width: 38%; } .hx-sk--s { width: 24%; }
.hx-win__hero { position: relative; overflow: hidden; border-radius: 14px; padding: 22px; background: linear-gradient(135deg, #17418a, #0e2d63); display: grid; gap: 12px; }
.hx-win__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .12) 50%, transparent 62%); transform: translateX(-120%); animation: hx-shimmer 6s ease-in-out infinite 1s; }
.hx-win__hero .hx-sk { height: 12px; }
.hx-win__hero .hx-pillbtn { width: 118px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--gold-bg), var(--gold)); }
.hx-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hx-prod { border-radius: 12px; padding: 10px; background: rgba(255, 255, 255, .09); border: 1px solid var(--line-soft); display: grid; gap: 8px; }
.hx-prod i { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, rgba(36, 104, 183, .55), rgba(15, 59, 118, .25)); }
.hx-prod:nth-child(2) i { background: linear-gradient(135deg, rgba(226, 181, 82, .5), rgba(183, 143, 61, .18)); }
.hx-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(10, 33, 71, .92); border: 1px solid rgba(248, 215, 120, .3); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .85); font: 700 13px var(--head); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-float small { display: block; font: 600 11px var(--sans); color: var(--mute); letter-spacing: .02em; }
.hx-float .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(226, 181, 82, .14); color: var(--gold-2); }
.hx-float .ico svg { width: 20px; height: 20px; }
.hx-float--a { left: 0; bottom: 30px; animation: hx-bob 6.5s ease-in-out infinite; }
.hx-float--b { right: 4%; top: 0; animation: hx-bob 7.5s ease-in-out infinite 1.2s; }
.hx-float--c { right: 0; bottom: 96px; animation: hx-bob 8s ease-in-out infinite .6s; }
.hx-paytag { margin-left: 8px; padding: 4px 9px; border-radius: 8px; background: rgba(62, 213, 152, .14); color: #3ed598; font-size: 11px; }
@keyframes hx-float { 0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-12px); } }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- marquee ---------- */
.hx-marq { position: relative; border-block: 1px solid var(--line-soft); background: #050f27; overflow: hidden; }
.hx-marq__lab { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 28px 0 max(24px, calc((100vw - 1200px) / 2)); background: #050f27; box-shadow: 18px 0 22px #050f27; font: 800 11.5px var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.hx-marq__track { display: flex; width: max-content; padding: 20px 0; animation: hx-marq 46s linear infinite; }
.hx-marq:hover .hx-marq__track { animation-play-state: paused; }
/* right cover: new entries slide out from underneath it, starting about 80% across, like the label on the left */
.hx-marq::after { content: ""; position: absolute; z-index: 2; right: 0; top: 0; bottom: 0; width: clamp(56px, 20%, 420px); background: #050f27; box-shadow: -18px 0 22px #050f27; pointer-events: none; }
@media (max-width: 760px) { .hx-marq::after { width: 11%; box-shadow: -12px 0 16px #050f27; } } /* phone: entries start further right */
.hx-marq__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 30px; font: 600 14px var(--head); letter-spacing: .04em; color: var(--text); white-space: nowrap; }
.hx-marq__item::before { content: "\2726"; color: var(--gold); font-size: 13px; }
@keyframes hx-marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.hx-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 800 12px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hx-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hx-h2 { margin-top: 14px !important; font: 600 clamp(2rem, 4vw, 3.2rem)/1.1 var(--serif); color: #fff; letter-spacing: -.01em; max-width: 780px; }
.hx-h2 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hx-sub { margin-top: 18px !important; max-width: 640px; color: var(--mute); font-size: 1.08rem; }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.hx-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 800 13px var(--head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--gold-2); border-bottom: 1px solid rgba(248, 215, 120, .4); }
.hx-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hx-link:hover svg { transform: translateX(4px); }

/* bento */
.hx-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hx-tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r); border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(15, 59, 118, .34), rgba(10, 33, 71, .55) 60%); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), border-color .35s, box-shadow .45s; }
.hx-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 50% -20%, rgba(248, 215, 120, .16), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hx-tile:hover { transform: translateY(-6px); border-color: rgba(248, 215, 120, .55); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.hx-tile:hover::before { opacity: 1; }
.hx-tile--w { grid-column: span 2; }
.hx-tile__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(226, 181, 82, .12); border: 1px solid rgba(248, 215, 120, .25); color: var(--gold-2); }
.hx-tile__ico svg { width: 24px; height: 24px; }
.hx-tile h3 { font: 700 1.28rem/1.25 var(--head); color: #fff; }
.hx-tile p { color: var(--mute); font-size: 1rem; }
.hx-tile__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.hx-tile__go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hx-tile:hover .hx-tile__go svg { transform: translateX(5px); }
.hx-viz { height: 124px; border-radius: 14px; background: linear-gradient(160deg, rgba(36, 104, 183, .30), rgba(10, 33, 71, .75)); border: 1px solid rgba(157, 176, 207, .28); position: relative; overflow: hidden; }
/* viz: website building */
.hx-v-site { padding: 14px; display: grid; gap: 8px; align-content: start; }
.hx-v-site i { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .28); transform-origin: left; animation: hx-build 6s var(--ease) infinite; }
.hx-v-site i:nth-child(1) { width: 70%; background: linear-gradient(90deg, var(--gold-3), var(--gold)); }
.hx-v-site i:nth-child(2) { width: 92%; animation-delay: .25s; }
.hx-v-site i:nth-child(3) { width: 60%; animation-delay: .5s; }
.hx-v-site div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.hx-v-site div b { height: 34px; border-radius: 8px; background: rgba(91, 154, 224, .75); animation: hx-build 6s var(--ease) infinite .8s; transform-origin: bottom; }
.hx-v-site div b:nth-child(2) { background: #d9ab45; animation-delay: 1s; }
.hx-v-site div b:nth-child(3) { animation-delay: 1.2s; }
@keyframes hx-build { 0% { transform: scale(0, 1); opacity: 0; } 14%, 86% { transform: scale(1); opacity: 1; } 100% { transform: scale(1, 1); opacity: 0; } }
/* viz: app dashboard bars */
.hx-v-bars { display: flex; align-items: flex-end; gap: 10px; padding: 16px 18px; }
.hx-v-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-bg), var(--gold-3)); transform-origin: bottom; animation: hx-bar 4.2s ease-in-out infinite; }
.hx-v-bars i:nth-child(1) { height: 42%; } .hx-v-bars i:nth-child(2) { height: 70%; animation-delay: .2s; } .hx-v-bars i:nth-child(3) { height: 54%; animation-delay: .4s; background: linear-gradient(180deg, #7db4f0, #3b82d6); }
.hx-v-bars i:nth-child(4) { height: 88%; animation-delay: .6s; } .hx-v-bars i:nth-child(5) { height: 64%; animation-delay: .8s; background: linear-gradient(180deg, #7db4f0, #3b82d6); } .hx-v-bars i:nth-child(6) { height: 96%; animation-delay: 1s; }
@keyframes hx-bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
/* viz: checkout */
.hx-v-pay { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 12px; }
.hx-v-pay span { padding: 8px 14px; border-radius: 10px; font: 800 12px var(--head); border: 1px solid rgba(248, 215, 120, .45); color: #fff; background: rgba(255, 255, 255, .1); }
.hx-v-pay span:nth-child(1) { border-color: rgba(36, 104, 183, .8); animation: hx-pick 5s ease-in-out infinite; }
.hx-v-pay span:nth-child(2) { animation: hx-pick 5s ease-in-out infinite 2.5s; }
.hx-v-pay b { flex-basis: 100%; text-align: center; padding: 8px; border-radius: 10px; font: 800 12px var(--head); background: linear-gradient(135deg, var(--gold-bg), var(--gold)); color: #1a1405; animation: hx-pulse 2.5s ease-in-out infinite; }
@keyframes hx-pick { 0%, 100% { background: rgba(255, 255, 255, .1); } 25%, 60% { background: rgba(36, 104, 183, .9); } }
@keyframes hx-pulse { 50% { transform: scale(1.04); } }
/* viz: chat */
.hx-v-chat { padding: 12px 14px; display: grid; gap: 8px; align-content: center; }
.hx-v-chat span { justify-self: end; max-width: 78%; padding: 7px 12px; border-radius: 12px 12px 3px 12px; background: #3b82d6; color: #fff; font: 600 12px var(--sans); }
.hx-v-chat em { justify-self: start; display: inline-flex; gap: 5px; padding: 10px 14px; border-radius: 12px 12px 12px 3px; background: rgba(255, 255, 255, .2); }
.hx-v-chat em i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bg); animation: hx-dot 1.2s infinite; }
.hx-v-chat em i:nth-child(2) { animation-delay: .2s; } .hx-v-chat em i:nth-child(3) { animation-delay: .4s; }
@keyframes hx-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
/* viz: shield */
.hx-v-shield { display: grid; place-items: center; }
.hx-v-shield svg { width: 54px; height: 54px; color: var(--gold-2); position: relative; z-index: 1; }
.hx-v-shield::before, .hx-v-shield::after { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(248, 215, 120, .5); animation: hx-ring 3s ease-out infinite; }
.hx-v-shield::after { animation-delay: 1.5s; }
@keyframes hx-ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
/* viz: seo line */
.hx-v-line { padding: 10px 12px; }
.hx-v-line svg { width: 100%; height: 100%; overflow: visible; }
.hx-v-line path { fill: none; stroke: var(--gold-2); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: hx-line 5s ease-in-out infinite; }
.hx-v-line circle { fill: var(--gold-2); opacity: 0; animation: hx-dotpop 5s ease-in-out infinite; }
@keyframes hx-line { 0% { stroke-dashoffset: 320; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hx-dotpop { 0%, 48% { opacity: 0; } 55%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- light section ---------- */
.hx-light { background: var(--cream); color: var(--dark-text); }
.hx-light .hx-h2 { color: var(--dark-text); }
.hx-light .hx-h2 em { color: #b0801f; }
.hx-light .hx-eyebrow { color: #9a6f12; }
.hx-light .hx-eyebrow::before { background: #9a6f12; }
.hx-light .hx-sub { color: var(--dark-mute); }
.hx-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hx-pts { display: grid; gap: 18px; margin-top: 34px; }
.hx-pt { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid #ece4d2; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hx-pt:hover { transform: translateX(6px); box-shadow: 0 18px 40px -24px rgba(11, 27, 58, .4); }
.hx-pt__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff3d3; color: #9a6f12; }
.hx-pt__ico svg { width: 22px; height: 22px; }
.hx-pt h3 { font: 700 1.05rem var(--head); color: var(--dark-text); }
.hx-pt p { margin-top: 4px; color: var(--dark-mute); font-size: .98rem; line-height: 1.55; }
.hx-own { position: relative; padding: 34px; border-radius: 26px; background: linear-gradient(160deg, #0f2f64, #07173a); color: var(--text); box-shadow: 0 40px 80px -40px rgba(7, 23, 58, .7); overflow: hidden; }
.hx-own::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(226, 181, 82, .3), transparent 68%); animation: hx-drift 18s ease-in-out infinite alternate; }
.hx-own h3 { position: relative; font: 600 1.7rem/1.2 var(--serif); color: #fff; }
.hx-own h3 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.hx-own ul { position: relative; display: grid; gap: 14px; margin-top: 24px; }
.hx-own li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft); font: 600 15px var(--sans); color: #fff; }
.hx-own li svg { width: 22px; height: 22px; color: var(--gold); flex: none; stroke-dasharray: 30; animation: hx-tick 5s ease-in-out infinite; }
.hx-own li:nth-child(2) svg { animation-delay: .5s; } .hx-own li:nth-child(3) svg { animation-delay: 1s; } .hx-own li:nth-child(4) svg { animation-delay: 1.5s; }
@keyframes hx-tick { 0% { stroke-dashoffset: 30; } 20%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }

/* ---------- process ---------- */
.hx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: s; }
.hx-step { position: relative; padding: 30px 26px; border-radius: var(--r); border: 1px solid var(--line-soft); background: rgba(10, 33, 71, .5); transition: transform .4s var(--ease), border-color .3s; }
.hx-step:hover { transform: translateY(-5px); border-color: rgba(248, 215, 120, .45); }
.hx-step b { display: block; font: 600 3.4rem/1 var(--serif); color: rgba(238, 196, 90, .55); }
.hx-step h3 { margin-top: 18px !important; font: 700 1.2rem var(--head); color: #fff; }
.hx-step p { margin-top: 8px !important; color: var(--mute); font-size: 1rem; }
.hx-step::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hx-step:hover::after { transform: scaleX(1); }

/* ---------- case study ---------- */
.hx-case { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 30px; border: 1px solid var(--line); background: radial-gradient(700px 360px at 100% 100%, rgba(226, 181, 82, .14), transparent 70%), linear-gradient(160deg, rgba(15, 59, 118, .4), rgba(6, 21, 50, .8)); overflow: hidden; }
.hx-case h3 { margin-top: 12px !important; font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--serif); color: #fff; }
.hx-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.hx-tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font: 700 12.5px var(--head); color: var(--text); }
.hx-case p { color: var(--text); max-width: 520px; }
.hx-case .hx-ctas { margin-top: 30px; }
.hx-designer { position: relative; border-radius: 18px; background: linear-gradient(180deg, #0f2a58, #08183a); border: 1px solid rgba(248, 215, 120, .25); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.hx-designer .hx-win__bar em { max-width: 160px; }
.hx-canvas { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 86px); gap: 10px; padding: 18px; }
.hx-canvas i { border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(135deg, #2468b7, #123a79); }
.hx-canvas i:nth-child(1) { grid-row: span 2; background: linear-gradient(135deg, #c99a3b, #6b4d17 70%); }
.hx-canvas i:nth-child(3) { background: linear-gradient(135deg, #3e8fd8, #17418a); }
.hx-canvas i:nth-child(4) { background: linear-gradient(135deg, #8ea8d6, #3b5a95); }
.hx-canvas i:nth-child(5) { background: linear-gradient(135deg, #e9c46a, #a8742a); }
.hx-canvas i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-130%); animation: hx-shimmer 7s ease-in-out infinite; }
.hx-canvas i:nth-child(2)::after { animation-delay: .8s; } .hx-canvas i:nth-child(3)::after { animation-delay: 1.6s; } .hx-canvas i:nth-child(4)::after { animation-delay: 2.4s; } .hx-canvas i:nth-child(5)::after { animation-delay: 3.2s; }
.hx-designer__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px 18px; border-top: 1px solid var(--line-soft); }
.hx-designer__foot .hx-sk { width: 46%; }
.hx-designer__foot b { padding: 9px 16px; border-radius: 10px; font: 800 12px var(--head); background: linear-gradient(135deg, var(--gold-bg), var(--gold)); color: #1a1405; }

/* ---------- tools ---------- */
.hx-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-tool { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 22px; border-radius: 20px; background: var(--paper); border: 1px solid #ece4d2; text-decoration: none; color: var(--dark-text); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.hx-tool:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(11, 27, 58, .45); border-color: #e2b552; }
.hx-tool img { width: 100%; height: auto; border-radius: 14px; display: block; background: var(--navy); }
.hx-tool h3 { padding: 0 8px; font: 700 1.1rem var(--head); }
.hx-tool p { padding: 0 8px; margin: 0; color: var(--dark-mute); font-size: .96rem; line-height: 1.5; }
.hx-tool span { padding: 0 8px; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: #9a6f12; }
.hx-tool span svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hx-tool:hover span svg { transform: translateX(5px); }
.hx-light .hx-link { color: #7a5508; border-color: rgba(154, 111, 18, .45); }

/* ---------- giveaway and cta ---------- */
.hx-give { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(30px, 5vw, 56px); border-radius: 28px; border: 1px solid rgba(248, 215, 120, .45); background: radial-gradient(520px 260px at 0% 0%, rgba(226, 181, 82, .22), transparent 70%), linear-gradient(160deg, #0f2f64, #07173a); }
.hx-give::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 40%, rgba(248, 215, 120, .12) 50%, transparent 60%); transform: translateX(-120%); animation: hx-shimmer 8s ease-in-out infinite; pointer-events: none; }
.hx-give h2 { margin-top: 14px !important; font: 600 clamp(1.8rem, 3.6vw, 2.8rem)/1.12 var(--serif); color: #fff; max-width: 640px; }
.hx-give h2 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hx-give p { margin-top: 12px !important; color: var(--text); max-width: 560px; }
.hx-cta { text-align: center; padding: clamp(72px, 10vw, 130px) 0; background: radial-gradient(800px 420px at 50% 100%, rgba(36, 104, 183, .35), transparent 70%), var(--ink); }
.hx-cta .hx-h2 { margin-inline: auto; }
.hx-cta .hx-sub { margin-inline: auto; }
.hx-cta .hx-ctas { justify-content: center; }

/* ---------- footer ---------- */
.hx-foot { background: #040e24; border-top: 1px solid var(--line-soft); padding: 64px 0 28px; font-size: .98rem; }
.hx-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.hx-foot .hx-brand { margin: 0 0 14px; }
.hx-foot p { color: var(--mute); max-width: 320px; }
.hx-foot h3 { font: 800 12px var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px !important; }
.hx-foot li a, .hx-foot address a { display: inline-block; padding: 5px 0; color: var(--text); text-decoration: none; transition: color .2s; }
.hx-foot li a:hover, .hx-foot address a:hover { color: var(--gold-2); }
.hx-foot address { font-style: normal; color: var(--mute); line-height: 1.7; }
.hx-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--mute); font-size: .9rem; }
.hx-foot__bar a { color: var(--mute); text-decoration: none; }
.hx-foot__bar a:hover { color: var(--gold-2); }
.hx-fb { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); margin-top: 16px; color: var(--gold-2); }
.hx-fb svg { width: 20px; height: 20px; }

/* ---------- reveal ---------- */
.hx-js .hx-rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.hx-js .hx-rv.in { opacity: 1; transform: none; }

/* ---------- focus ---------- */
.hx a:focus-visible, .hx button:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hx-hero .hx-wrap { grid-template-columns: 1fr; }
  .hx-stage { min-height: 440px; max-width: 620px; margin-inline: auto; width: 100%; }
  .hx-bento { grid-template-columns: repeat(2, 1fr); }
  .hx-steps { grid-template-columns: repeat(2, 1fr); }
  .hx-why, .hx-case { grid-template-columns: 1fr; }
  .hx-tools { grid-template-columns: repeat(2, 1fr); }
  .hx-foot__grid { grid-template-columns: 1fr 1fr; }
  .hx-foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hx-burger { display: inline-flex; }
  .hx-nav .hx-cta-nav { display: none; }
  .hx-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: rgba(6, 21, 50, .98); border-bottom: 1px solid var(--line-soft); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .hx-nav.open .hx-links { visibility: visible; opacity: 1; transform: none; }
  .hx-links a { min-height: 52px; font-size: 16px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .hx-links a::after { display: none; }
  .hx-links .hx-links__cta { display: flex !important; margin-top: 16px; justify-content: center; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--gold-bg), var(--gold)); color: #1a1405; }
  .hx-top .hx-wrap { justify-content: center; }
  .hx-top span { display: none; }
}
@media (max-width: 640px) {
  body.hx { font-size: 16px; }
  .hx-wrap { width: calc(100% - 40px); }
  .hx-ctas .hx-btn { width: 100%; }
  .hx-chips { gap: 10px 18px; }
  .hx-stage { min-height: 400px; }
  .hx-win { width: 100%; top: 36px; transform: none; animation: hx-floatm 9s ease-in-out infinite; }
  .hx-win__body { padding: 14px; gap: 12px; }
  .hx-float--b { right: 2%; top: -4px; }
  .hx-float--c { display: none; }
  .hx-em { white-space: normal; }
  .hx-float--a { left: 2%; bottom: 18px; }
  .hx-bento, .hx-steps, .hx-tools { grid-template-columns: 1fr; }
  .hx-tile--w { grid-column: auto; }
  .hx-tile { padding: 24px; }
  .hx-marq__lab { display: none; }
  .hx-canvas { grid-template-rows: repeat(2, 64px); padding: 12px; gap: 8px; }
  .hx-foot__grid { grid-template-columns: 1fr; }
  .hx-give { flex-direction: column; align-items: flex-start; }
  .hx-give .hx-btn { width: 100%; }
  .hx-head { align-items: flex-start; }
}
@keyframes hx-floatm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hx-js .hx-rv { opacity: 1; transform: none; }
  .hx-em path { stroke-dashoffset: 0; }
  .hx-v-line path { stroke-dashoffset: 0; }
  .hx-v-line circle { opacity: 1; }
  .hx-marq__track { overflow-x: auto; }
}
