/* =====================================================================
   WebNest — design system
   Light, glassy, blue → violet gradients with pastel cards.
   Sections: tokens · base · layout · buttons · header · hero · cards ·
   sections · content · forms · footer · animations · responsive
   ===================================================================== */

:root {
  --bg: #f6f7ff;
  --bg-2: #eef0ff;
  --surface: #ffffff;
  --surface-2: #fafbff;
  --text: #0e1233;
  --text-2: #2b3059;
  --muted: #5b6185;
  --line: #e2e5f4;
  --line-2: #d4d8ef;
  --primary: #3a36f5;
  --primary-2: #6a2cf2;
  --violet: #8b2ff0;
  --pink: #ff3d8b;
  --cyan: #19a8ff;
  --orange: #ff8a1f;
  --green: #18b26b;
  --grad: linear-gradient(120deg, #2f6bff 0%, #4c3cf6 45%, #8b2ff0 100%);
  --grad-text: linear-gradient(90deg, #2f5bff 0%, #6a2cf2 50%, #ff3d8b 100%);
  --grad-band: linear-gradient(110deg, #2830e6 0%, #4a2ff0 48%, #7b26e6 100%);
  --grad-orange: linear-gradient(120deg, #ffb22e 0%, #ff7a1a 100%);
  --t0: #e8f0ff; --t0-ink: #2457ff;
  --t1: #fff0e5; --t1-ink: #f06a12;
  --t2: #ffecf5; --t2-ink: #e0287a;
  --t3: #e5f8ef; --t3-ink: #11935a;
  --t4: #f0ebff; --t4-ink: #6a2cf2;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 12px 34px -16px rgba(39, 45, 140, .22);
  --shadow-lg: 0 30px 60px -24px rgba(39, 45, 140, .32);
  --shadow-glow: 0 14px 34px -10px rgba(74, 60, 246, .55);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .8);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", "Poppins Fallback", "Inter", "Inter Fallback", system-ui, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #090b1d;
  --bg-2: #0f1230;
  --surface: #12152f;
  --surface-2: #161a3a;
  --text: #eef0ff;
  --text-2: #d3d7f5;
  --muted: #a2a8cf;
  --line: #242a55;
  --line-2: #2e3566;
  --t0: #142250; --t0-ink: #7fa5ff;
  --t1: #2c1d18; --t1-ink: #ffa565;
  --t2: #2c1631; --t2-ink: #ff7fb6;
  --t3: #0f2a24; --t3-ink: #55d69c;
  --t4: #211a45; --t4-ink: #b394ff;
  --shadow: 0 14px 36px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
  --glass: rgba(20, 24, 55, .72);
  --glass-line: rgba(255, 255, 255, .08);
  color-scheme: dark;
}

/* ---------- fonts (self-hosted, SIL OFL) ---------- */
/* Metric-matched fallbacks: text keeps the same line breaks before and after the web fonts load (prevents layout shift) */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; size-adjust: 112.16%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.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+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.1vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.ic-xs { width: .95em; height: .95em; }
.ic-sm { width: 1.1em; height: 1.1em; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 860px; }
.section { padding: clamp(52px, 6.5vw, 84px) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-copy { color: var(--muted); font-size: 1.06rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font: 600 .78rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow span { width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head:not(.center) .eyebrow span:last-child, .eyebrow-left span:last-child { display: none; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-anim { background-size: 220% 100%; animation: gradShift 7s ease-in-out infinite; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.head-row .section-head { margin-bottom: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: 40px; }
.link-arrow .ic { transition: transform .25s; }
.link-arrow:hover .ic { transform: translateX(4px); }
.center-note { text-align: center; color: var(--muted); margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { margin-inline: auto; max-height: 520px; width: auto; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.6rem; border-radius: 14px; font: 600 .98rem/1 var(--font-head); border: 1.5px solid var(--b); transition: transform .25s, box-shadow .25s, background-position .5s, color .2s, border-color .2s; position: relative; white-space: nowrap; }
.btn .ic { transition: transform .25s; }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-grad { color: #fff; background: var(--grad); background-size: 180% 100%; box-shadow: var(--shadow-glow); }
.btn-grad:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(74, 60, 246, .7); }
.btn-white { background: var(--surface); color: var(--text); box-shadow: var(--shadow); border-color: var(--line); }
.btn-white:hover { color: var(--primary); transform: translateY(-2px); }
.btn-white .play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; }
.btn-outline { --b: var(--line-2); color: var(--text); background: var(--surface); }
.btn-outline:hover { --b: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-orange { color: #fff; background: var(--grad-orange); box-shadow: 0 14px 30px -10px rgba(255, 122, 26, .6); }
.btn-orange:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost-light { color: #fff; --b: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.btn-sm { padding: .72rem 1.15rem; font-size: .88rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { padding: 6px 0; }
.site-header.is-scrolled::before { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(30, 36, 120, .4); }
.header-inner { position: relative; display: flex; align-items: center; gap: 22px; min-height: 52px; }
.brand { display: inline-flex; flex: none; }
.logo { height: 46px; width: auto; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.main-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .7rem; font: 500 .93rem/1 var(--font-head); color: var(--text-2); border-radius: 10px; position: relative; }
.nav-link::after { content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .22rem; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.has-drop { position: relative; }
.has-drop .ic-xs { transition: transform .25s; }
.has-drop:hover > .nav-link .ic-xs, .has-drop:focus-within > .nav-link .ic-xs { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s, visibility .2s; }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; color: var(--text-2); font-size: .92rem; font-weight: 500; }
.drop a:hover { background: var(--bg-2); color: var(--primary); }
.drop a .ic { color: var(--primary); }
.drop-title { display: flex; align-items: center; gap: .45rem; font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 8px 10px; }
.drop-mega { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; width: min(760px, 92vw); }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; }
.drop-col-accent { background: linear-gradient(160deg, var(--t4), var(--t2)); border-radius: 14px; padding: 12px; }
.drop-rich { align-items: flex-start !important; }
.drop-rich span { display: flex; flex-direction: column; }
.drop-rich small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.drop-cta { margin-top: 8px; font-weight: 600 !important; color: var(--primary) !important; }
.drop-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 400px; }
.drop-span { grid-column: 1 / -1; }
.drop-all a, a.drop-all { color: var(--primary); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: .7rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: transform .25s, color .2s; }
.theme-toggle:hover { color: var(--primary); transform: rotate(-15deg); }
.ic-sun { display: none; }
[data-theme="dark"] .ic-sun { display: block; }
[data-theme="dark"] .ic-moon { display: none; }
.menu-toggle { display: none; }
.mobile-menu { position: relative; }
.mobile-inner { display: grid; gap: 2px; padding: 12px 20px 22px; max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-inner > a, .mobile-inner summary { padding: .8rem .6rem; color: var(--text); font: 500 1rem/1.2 var(--font-head); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.mobile-inner summary::-webkit-details-marker { display: none; }
.mobile-inner details[open] summary .ic { transform: rotate(180deg); }
.mobile-inner details a { display: block; padding: .5rem 1.1rem; color: var(--text-2); font-size: .95rem; }
.mobile-inner .m-title { margin: .7rem 1.1rem .2rem; font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mobile-inner .m-all { color: var(--primary); font-weight: 600; }
.mobile-inner .btn { margin-top: 14px; border: 0; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { padding: 40px 0 34px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #b8c6ff; top: -160px; right: -120px; }
.b2 { width: 420px; height: 420px; background: #f1c3ff; bottom: -140px; left: -120px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: #ffd4b0; top: 30%; left: 42%; opacity: .35; animation-delay: -12s; }
[data-theme="dark"] .blob { opacity: .22; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--primary) 18%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; min-height: 560px; }
.hero h1 { margin: 18px 0 18px; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem .5rem .55rem; border-radius: 999px; background: linear-gradient(90deg, #fff1db, #ffe1ef); color: #6a2b12; font: 600 .84rem/1.2 var(--font-head); box-shadow: 0 6px 18px -10px rgba(255, 120, 40, .55); margin: 0; }
[data-theme="dark"] .pill { background: linear-gradient(90deg, #3a2414, #3a1630); color: #ffd2b0; }
.pill-fire { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-orange); color: #fff; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-orange); margin-left: .35rem; box-shadow: 0 0 0 4px rgba(255, 138, 31, .2); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font: 500 .95rem/1.2 var(--font-head); color: var(--text); }
.hero-checks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-checks .ic, .check-list .ic { color: var(--green); }
.hero-visual { position: relative; padding: 34px 24px 40px; }
.slider-frame { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hero-visual:hover .slider-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.frame-bar span:nth-child(2) { background: #febc2e; }
.frame-bar span:nth-child(3) { background: #28c840; }
.frame-bar em { margin-left: 10px; padding: 3px 14px; border-radius: 999px; background: var(--bg-2); font: 500 .75rem/1.3 var(--font); color: var(--muted); font-style: normal; }
.slides { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0f2a; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-active img { animation: kenburns 7s ease-out forwards; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider-dots button { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--line-2); overflow: hidden; position: relative; }
.slider-dots button span { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.slider-dots button.is-active span { animation: dotfill var(--slide-ms, 5500ms) linear forwards; }
.slider.is-paused .slider-dots button.is-active span { animation-play-state: paused; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-line); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.chip small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.chip strong { display: block; font: 700 1.05rem/1.2 var(--font-head); color: var(--text); }
.chip-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; }
.ci-green { background: linear-gradient(135deg, #22c983, #11935a); }
.ci-blue { background: linear-gradient(135deg, #3d8bff, #2f5bff); }
.ci-purple { background: linear-gradient(135deg, #a05cff, #6a2cf2); }
.chip-a { top: 4px; left: -8px; }
.chip-b { top: 42%; right: -14px; animation-delay: -2s; }
.chip-c { bottom: 18px; left: 6%; animation-delay: -4s; }
.float-ic { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--primary); box-shadow: var(--shadow); animation: orbit 9s ease-in-out infinite; }
.f1 { top: -6px; right: 22%; color: #2f6bff; }
.f2 { top: 14%; right: -6px; color: var(--pink); animation-delay: -2s; }
.f3 { bottom: 4px; right: 18%; color: var(--violet); animation-delay: -4s; }
.f4 { top: 52%; left: -14px; color: var(--green); animation-delay: -6s; }
.tech-strip { margin-top: 18px; display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.tech-label { display: flex; align-items: center; gap: .5rem; flex: none; margin: 0; font: 600 .82rem/1.25 var(--font-head); color: var(--text); max-width: 150px; }
.tech-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding: .5rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 .88rem/1 var(--font-head); color: var(--text-2); white-space: nowrap; }

/* page hero (inner pages) */
.page-hero { padding: 46px 0 58px; }
.page-hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-hero.has-media .page-hero-inner { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 18px 0 16px; max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--text); font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- services ---------- */
.service-row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 6px 0 16px; }
.service-row-head a { font-weight: 600; font-size: .92rem; display: inline-flex; gap: .35rem; align-items: center; }
.row-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: var(--t0); color: var(--t0-ink); font: 600 .86rem/1 var(--font-head); }
.row-chip-pink { background: var(--t2); color: var(--t2-ink); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 36px; }
.service-card { --tone: var(--t0); --ink: var(--t0-ink); position: relative; padding: 22px 20px 20px; border-radius: var(--radius); background: linear-gradient(170deg, var(--tone), var(--surface) 78%); border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; transform-style: preserve-3d; display: flex; flex-direction: column; }
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-art { height: 112px; display: flex; align-items: center; margin-bottom: 10px; }
.service-art img { height: 104px; width: auto; filter: drop-shadow(0 14px 18px rgba(30, 40, 140, .22)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.service-card:hover .service-art img, .service-card:hover .art-ic { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
.art-ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--ink) 70%, #fff), var(--ink)); box-shadow: inset 0 3px 8px rgba(255, 255, 255, .45), inset 0 -6px 12px rgba(0, 0, 0, .18), 0 16px 26px -10px color-mix(in srgb, var(--ink) 70%, transparent); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.art-ic .ic { width: 40px; height: 40px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: .35em; }
.service-card h3 a { color: var(--text); }
.service-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.learn { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; padding: .55rem .9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: 600 .84rem/1 var(--font-head); transition: background .25s, color .25s; }
.service-card:hover .learn { background: var(--ink); color: #fff; border-color: var(--ink); }
.tone-0 { --tone: var(--t0); --ink: var(--t0-ink); }
.tone-1 { --tone: var(--t1); --ink: var(--t1-ink); }
.tone-2 { --tone: var(--t2); --ink: var(--t2-ink); }
.tone-3 { --tone: var(--t3); --ink: var(--t3-ink); }
.tone-4 { --tone: var(--t4); --ink: var(--t4-ink); }

/* ---------- stats band ---------- */
.stats-wrap { padding: 10px 0; }
.stats-band { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 26px 30px; border-radius: 24px; background: var(--grad-band); color: #fff; box-shadow: 0 30px 60px -26px rgba(58, 54, 245, .75); }
.stats-shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); transform: translateX(-100%); animation: shine 6s ease-in-out infinite; pointer-events: none; }
.stats-rocket { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .14); animation: bob 5s ease-in-out infinite; }
.stats-rocket .ic { width: 32px; height: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats li { display: flex; align-items: center; gap: 12px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.stats li:first-child { border: 0; padding-left: 0; }
.stat-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); flex: none; }
.stats strong { display: block; font: 800 1.9rem/1 var(--font-head); letter-spacing: -.02em; }
.stats small { display: block; color: rgba(255, 255, 255, .8); font-size: .82rem; margin-top: 4px; }
.stats-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: 600 .95rem/1.3 var(--font-head); transition: background .25s, transform .25s; }
.stats-cta:hover { background: rgba(255, 255, 255, .22); color: #fff; transform: translateY(-2px); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.why-item:hover { transform: translateY(-4px); }
.why-item h3 { font-size: 1rem; margin-bottom: .2em; }
.why-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.why-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--tone); color: var(--ink); }

/* ---------- portfolio / case cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(170deg, var(--tone), var(--surface) 60%); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-media { aspect-ratio: 16 / 10; overflow: hidden; margin: 12px 12px 0; border-radius: 14px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-body { padding: 18px 20px 22px; }
.case-ind { margin: 0 0 6px; font: 600 .76rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.case-body h3 { font-size: 1.25rem; }
.case-body h3 a { color: var(--text); }
.case-body p { color: var(--muted); font-size: .93rem; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tags li { padding: .32rem .65rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--text-2); }
.gallery-marquee { overflow: hidden; margin-top: 44px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
.gallery-track a { display: block; position: relative; width: 280px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-track img { width: 280px; height: 190px; object-fit: cover; transition: transform .6s; }
.gallery-track a:hover img { transform: scale(1.07); }
.gallery-track span { position: absolute; left: 10px; bottom: 10px; padding: .35rem .7rem; border-radius: 9px; background: rgba(9, 12, 40, .7); color: #fff; font: 600 .8rem/1.2 var(--font-head); backdrop-filter: blur(6px); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-body { padding: 18px 20px 22px; }
.project-body h3 a { color: var(--text); }
.project-body p { color: var(--muted); font-size: .92rem; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .38rem .7rem; border-radius: 999px; background: rgba(9, 12, 40, .78); color: #fff; font: 600 .72rem/1 var(--font-head); letter-spacing: .02em; backdrop-filter: blur(6px); }
.tag-demo, .tag-client { left: auto; right: 12px; }
.tag-demo { background: rgba(255, 138, 31, .95); }
.tag-client { background: rgba(24, 178, 107, .95); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.filter-bar a, .filter-bar button { padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 600 .86rem/1 var(--font-head); transition: all .2s; }
.filter-bar a:hover, .filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar .is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.is-filtered-out { display: none !important; }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-line { position: absolute; top: 34px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.process-line span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.process.is-visible .process-line span { transform: scaleX(1); }
.process-step { position: relative; text-align: center; padding: 0 6px; }
.process-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 22px; background: var(--surface); color: var(--primary); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, background .3s, color .3s; }
.process-step:hover .process-icon { background: var(--grad); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.process-icon .ic { width: 28px; height: 28px; }
.process-no { display: block; font: 700 .78rem/1 var(--font-head); color: var(--primary); letter-spacing: .14em; margin-bottom: 6px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.process-step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.is-popular { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 30px 60px -28px rgba(74, 60, 246, .55); }
.popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: .42rem .9rem; border-radius: 999px; background: var(--grad); color: #fff; font: 600 .76rem/1 var(--font-head); white-space: nowrap; }
.price { font: 800 2.6rem/1 var(--font-head); color: var(--text); margin: 10px 0 6px; letter-spacing: -.02em; }
.price .cur { font-size: 1.4rem; vertical-align: .55em; margin-right: 2px; }
.price .plus { font-size: 1.6rem; color: var(--primary); }
.price-note { color: var(--muted); font-size: .85rem; }
.price-card .check-list { margin: 8px 0 24px; flex: 1; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; margin: .5rem 0; }
.check-list .ic { margin-top: .25em; }

/* ---------- testimonials ---------- */
.testi-wrap { display: grid; grid-template-columns: .8fr 2fr; gap: 26px; align-items: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { margin: 0; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.testi blockquote { margin: 6px 0 10px; font-size: .95rem; color: var(--text-2); }
.quote-ic { color: var(--primary); width: 26px; height: 26px; }
.stars { color: #ffb400; margin: 0 0 8px; }
.testi figcaption strong { display: block; color: var(--text); }
.testi figcaption span { font-size: .85rem; color: var(--muted); }
.ic-heart { color: #ff3d6e; }

/* ---------- local + glass ---------- */
.local-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 60px); }
.local-text p { color: var(--muted); }
.local-cards { display: grid; gap: 16px; align-content: start; }
.glass-card { padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.glass-card h3 { font-size: 1.02rem; }
.glass-card > p { color: var(--muted); font-size: .92rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { display: inline-flex; align-items: center; gap: .35rem; padding: .48rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font: 500 .84rem/1 var(--font-head); transition: all .2s; }
.chip-list a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ---------- blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card:focus-within { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); }
.post-card-media { position: relative; aspect-ratio: 40 / 21; overflow: hidden; background: var(--bg-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.post-card .meta { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.35; }
.post-card h3 a { color: var(--text); }
.post-card:hover h3 a { color: var(--primary); }
.post-card-excerpt { color: var(--muted); font-size: .9rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { display: inline-flex; align-items: center; gap: .35rem; font: 600 .88rem/1 var(--font-head); color: var(--primary); }
.post-card:hover .more .ic { transform: translateX(4px); }
.more .ic { transition: transform .25s; }
.featured-post { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-bottom: 36px; }
.featured-post .fp-media { position: relative; min-height: 340px; overflow: hidden; }
.featured-post .fp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.featured-post:hover .fp-media img { transform: scale(1.05); }
.featured-post .fp-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.featured-post h2 a { color: var(--text); }
.blog-tools { display: grid; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 30px; }
.blog-tools-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog-tools-row > span { font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); width: 74px; }
.blog-tools .filter-bar { justify-content: flex-start; margin: 0; }
.blog-tools .filter-bar a { padding: .45rem .85rem; font-size: .8rem; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); max-width: 420px; }
.search-box input { flex: 1; border: 0; background: none; padding: .75rem 0; color: var(--text); font: inherit; outline: none; }
.search-box button { border: 0; background: var(--grad); color: #fff; border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; font-weight: 600; }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; }
.pagination .is-current { background: var(--grad); color: #fff; border-color: transparent; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.article { min-width: 0; max-width: 780px; }
.article-figure { margin: 0 0 34px; }
.article-figure img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 40 / 21; object-fit: cover; width: 100%; }
.article-figure figcaption { margin-top: 8px; text-align: right; font-size: .78rem; color: var(--muted); }
.article-figure figcaption a { color: var(--muted); text-decoration: underline; }
.answer-box { margin: 0 0 30px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, var(--t0), var(--t4)); border: 1px solid var(--line); }
.answer-box p:last-child { margin: 0; }
.answer-box strong.label { display: block; font: 700 .76rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.prose { font-size: 1.07rem; line-height: 1.8; color: var(--text-2); }
.prose .intro p:first-child::first-letter { float: left; font: 800 3.4rem/.9 var(--font-head); padding: .3rem .55rem 0 0; color: var(--primary); }
.prose .intro p { font-size: 1.15rem; color: var(--text); }
.content-block { margin-top: 38px; }
.content-block h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.content-block h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose a, .content-block a, .local-text a, .faq-a a, .lead a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 500; }
.prose a:hover, .content-block a:hover { text-decoration-thickness: 2px; }
.aside-stack { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside-card { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card h2, .aside-card .aside-title { font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.toc ol { display: grid; gap: 8px; max-height: 46vh; overflow: auto; padding-right: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; font-size: .9rem; line-height: 1.35; }
.toc li::before { content: counter(toc); flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--bg-2); font: 700 .72rem/1 var(--font-head); color: var(--primary); }
.toc a { color: var(--text-2); }
.toc a:hover, .toc a.is-current { color: var(--primary); }
.aside-cta { background: var(--grad-band); color: #fff; border: 0; }
.aside-cta p { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.aside-cta .aside-title { color: #fff; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); transition: all .2s; }
.share a:hover, .share button:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.share button.copied { background: var(--green); color: #fff; }
.author-box { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-top: 36px; }
.author-box img { width: 54px; height: 54px; border-radius: 14px; flex: none; background: #fff; padding: 6px; border: 1px solid var(--line); }
.author-box p { margin: 0; color: var(--muted); font-size: .94rem; }
.author-box strong { color: var(--text); }
.post-cta { position: relative; overflow: hidden; margin-top: 40px; padding: 30px; border-radius: 24px; background: var(--grad-band); color: #fff; }
.post-cta h2 { color: #fff; font-size: 1.5rem; }
.post-cta p { color: rgba(255, 255, 255, .85); }
.toc-mobile { display: none; margin: 0 0 26px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.toc-mobile summary { font-weight: 600; color: var(--text); cursor: pointer; }
.toc-mobile ol { margin-top: 10px; list-style: decimal; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-title { text-align: center; margin-bottom: 26px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; font: 600 1rem/1.4 var(--font-head); color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--bg-2); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .3s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--grad); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: fadeDown .35s ease; }

/* ---------- feature cards & generic grids ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-card { padding: 24px; border-radius: 20px; background: linear-gradient(170deg, var(--tone), var(--surface) 70%); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { font-size: 1.04rem; }
.feature-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--surface); color: var(--ink); margin-bottom: 14px; box-shadow: var(--shadow); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.list-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.list-card h2, .list-card h3 { font-size: 1.1rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: .45rem .8rem; border-radius: 999px; background: var(--bg-2); color: var(--text-2); font: 500 .84rem/1 var(--font-head); }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.quick-facts div { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick-facts dt { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.quick-facts dd { margin: 0; font: 700 1.1rem/1.3 var(--font-head); color: var(--text); }
.service-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; padding: 26px; border-radius: 22px; background: linear-gradient(170deg, var(--tone), var(--surface) 72%); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card .feature-icon { margin-bottom: 16px; }
.svc-card h3 a { color: var(--text); }
.svc-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.svc-card .price-from { font: 600 .85rem/1 var(--font-head); color: var(--ink); margin-bottom: 14px; }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--t1); color: var(--text-2); border: 1px solid var(--line); font-size: .93rem; }
.legal-body h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-body p { color: var(--muted); }

/* ---------- forms ---------- */
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; font: 500 .86rem/1.2 var(--font-head); color: var(--text); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 400 .95rem/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.form-small { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note { padding: 12px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 16px; }
.form-note.ok { background: #e3f8ee; color: #0d6b41; }
.form-note.error { background: #ffe9ea; color: #a1182b; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: transform .25s; }
a.contact-card:hover { transform: translateX(4px); color: var(--text); }
.contact-card small { display: block; color: var(--muted); font-size: .88rem; }
.ci { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--t0); color: var(--t0-ink); }
.ci-wa { background: #e3f8ee; color: #128c4b; }

/* ---------- CTA band ---------- */
.cta-band-wrap { padding: 30px 0 70px; }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 46px); border-radius: 28px; background: linear-gradient(115deg, #0d1250 0%, #1a1f8f 45%, #3b1fa8 100%); color: #fff; box-shadow: 0 34px 70px -30px rgba(26, 31, 143, .8); }
.cta-glow { position: absolute; width: 420px; height: 420px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 31, .45), transparent 65%); animation: blob 14s ease-in-out infinite; }
.cta-rocket { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: rgba(255, 255, 255, .12); animation: launch 4s ease-in-out infinite; }
.cta-rocket .ic { width: 34px; height: 34px; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: .25em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr .9fr 1.4fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 16px 0; }
.nap { display: grid; gap: 8px; font-size: .9rem; margin-bottom: 18px; }
.nap li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.nap .ic { color: var(--primary); margin-top: .2em; }
.nap a { color: var(--text-2); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); color: var(--text-2); transition: all .25s; }
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.footer-title { font: 700 .95rem/1 var(--font-head); color: var(--text); margin-bottom: 16px; }
.footer-title-sm { margin-top: 22px; font-size: .85rem; }
.footer-links { display: grid; gap: 9px; font-size: .9rem; }
.footer-links a { color: var(--muted); transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-news > p { color: var(--muted); font-size: .9rem; }
.news-form { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.news-form input { flex: 1; min-width: 0; border: 0; background: none; padding: .6rem .7rem; font: inherit; color: var(--text); outline: none; }
.news-form button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 11px; background: var(--grad); color: #fff; }
.footer-news .chip-list a { font-size: .78rem; padding: .4rem .65rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); }

/* floating buttons */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: padding .3s, transform .3s; }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font: 600 .9rem/1 var(--font-head); transition: max-width .35s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); padding-right: 18px; }
.wa-float:hover span { max-width: 120px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 89; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--primary); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* 404 */
.not-found { text-align: center; padding: 90px 0 40px; }
.not-found .big { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-head); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease infinite; background-size: 200% 100%; }

/* ---------- animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Above-the-fold entrance: starts immediately and stays paintable (opacity > 0) so it never delays LCP */
.js .hero-in { animation: heroIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes heroIn { from { opacity: .01; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.floaty { animation: bob 7s ease-in-out infinite; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -1.5%); } }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes orbit { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(6px, -8px) rotate(6deg); } 75% { transform: translate(-6px, 6px) rotate(-6deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes launch { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(4px, -8px) rotate(-6deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-in { animation: none; }
  .marquee-track, .gallery-track { animation: none !important; }
  .slider-frame { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .mobile-menu:not([hidden]) { display: block; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 520px; }
  .stats-band { grid-template-columns: 1fr; }
  .stats-rocket { display: none; }
  .stats-cta { justify-content: center; }
}
@media (max-width: 960px) {
  .hero-inner, .split, .local-grid, .page-hero.has-media .page-hero-inner, .two-col, .article-layout, .testi-wrap { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .case-grid, .post-grid, .project-grid, .pricing-grid, .service-list-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-line { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats li:nth-child(3) { border: 0; padding-left: 0; }
  .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-media { min-height: 240px; }
  .aside-stack { position: static; }
  .article-aside { order: 2; }
  .toc-mobile { display: block; }
  .aside-toc { display: none; }
  .split-media { order: 2; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .service-grid, .case-grid, .post-grid, .project-grid, .pricing-grid, .service-list-grid, .why-grid, .testi-grid, .form-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 14px; }
  .service-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 14px; }
  .service-art { height: auto; margin: 0; }
  .service-art img { height: 64px; }
  .art-ic { width: 56px; height: 56px; border-radius: 18px; }
  .art-ic .ic { width: 28px; height: 28px; }
  .service-card h3 { flex: 1; margin: 0; }
  .service-card p, .service-card .learn { flex-basis: 100%; }
  .service-card p { margin: 10px 0 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tech-strip { flex-direction: column; align-items: stretch; }
  .tech-label { max-width: none; }
  .chip-b { right: -4px; }
  .chip-a { left: -4px; }
  .chip { padding: 8px 10px; }
  .chip strong { font-size: .92rem; }
  .float-ic { display: none; }
  .slider-frame { transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { border: 0; padding-left: 0; }
  .stats strong { font-size: 1.5rem; }
  .actions .btn { flex: 1 1 auto; }
  .blog-tools-row > span { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
  .to-top { right: 18px; bottom: 80px; }
  .head-row .link-arrow { margin-top: -18px; }
}
