/* ==========================================================================
   AKASH Tech Inc. — Design System
   akash-tech.online
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand:        #3B5BFF;
  --brand-600:    #2B47E0;
  --brand-700:    #1E36B8;
  --brand-soft:   rgba(59, 91, 255, .10);
  --cyan:         #06B6D4;
  --violet:       #7C3AED;
  --amber:        #F59E0B;
  --emerald:      #10B981;

  /* Surfaces (light) */
  --bg:           #FFFFFF;
  --bg-soft:      #F5F7FD;
  --bg-sunken:    #EDF1FB;
  --surface:      #FFFFFF;
  --surface-2:    #FFFFFF;

  /* Text */
  --ink:          #0A1020;
  --ink-2:        #1C2740;
  --muted:        #5B6885;
  --muted-2:      #7D89A5;
  --on-brand:     #FFFFFF;

  /* Lines & shadows */
  --line:         #E2E8F5;
  --line-strong:  #CBD5EC;
  --ring:         rgba(59, 91, 255, .35);

  --shadow-xs:  0 1px 2px rgba(10, 16, 32, .05);
  --shadow-sm:  0 2px 8px rgba(10, 16, 32, .06);
  --shadow-md:  0 10px 30px rgba(10, 16, 32, .08);
  --shadow-lg:  0 24px 60px rgba(10, 16, 32, .12);
  --shadow-brand: 0 14px 36px rgba(59, 91, 255, .28);

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #3B5BFF 0%, #06B6D4 100%);
  --grad-violet: linear-gradient(135deg, #7C3AED 0%, #3B5BFF 100%);
  --grad-ink:    linear-gradient(160deg, #0A1020 0%, #16223F 60%, #0D1730 100%);

  /* Geometry */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 24px;

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .68, .35, 1);
  --header-h: 76px;
}

/* Dark theme — follows the OS unless the visitor picked a theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #070B16;
    --bg-soft:     #0C1322;
    --bg-sunken:   #0A101D;
    --surface:     #0E1626;
    --surface-2:   #121C30;

    --ink:         #EAF0FF;
    --ink-2:       #C9D5F2;
    --muted:       #93A1C2;
    --muted-2:     #75839F;

    --line:        #1C2740;
    --line-strong: #2A3858;
    --brand-soft:  rgba(59, 91, 255, .18);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, .5);
    --shadow-lg: 0 28px 64px rgba(0, 0, 0, .6);
    --grad-ink:  linear-gradient(160deg, #0B1324 0%, #111C36 60%, #0A1226 100%);
  }
}

:root[data-theme="dark"] {
  --bg:          #070B16;
  --bg-soft:     #0C1322;
  --bg-sunken:   #0A101D;
  --surface:     #0E1626;
  --surface-2:   #121C30;

  --ink:         #EAF0FF;
  --ink-2:       #C9D5F2;
  --muted:       #93A1C2;
  --muted-2:     #75839F;

  --line:        #1C2740;
  --line-strong: #2A3858;
  --brand-soft:  rgba(59, 91, 255, .18);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, .5);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .6);
  --grad-ink:  linear-gradient(160deg, #0B1324 0%, #111C36 60%, #0A1226 100%);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.35rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; font-weight: 700; }

p { text-wrap: pretty; overflow-wrap: break-word; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-600); }

ul, ol { padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

strong, b { color: var(--ink); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-xs);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }
.container--mid    { max-width: 1000px; }

.section { padding: clamp(60px, 7vw, 110px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--soft  { background: var(--bg-soft); }
.section--sunken{ background: var(--bg-sunken); }
.section--ink   { background: var(--grad-ink); color: #C9D5F2; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
/* Grid and flex children default to min-width:auto, which lets wide content
   (code blocks, long words, tables) push the page wider than the viewport. */
.grid > *, .split > *, .stats > *, .steps > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--wide-left  { grid-template-columns: 1.15fr .85fr; align-items: start; }
.split--wide-right { grid-template-columns: .9fr 1.1fr; }
.split--article    { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: clamp(32px, 4vw, 56px); }

.stack > * + * { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--ink .eyebrow { color: #7BE7FF; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p {
  color: var(--muted);
  font-size: 1.075rem;
  margin-top: 1rem;
}
.section--ink .section-head p { color: #9FB0D4; }

.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: var(--muted); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 44px rgba(59, 91, 255, .38); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; background: var(--ink-2); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn--white { background: #fff; color: #0A1020; }
.btn--white:hover { color: #0A1020; box-shadow: var(--shadow-lg); }

.btn--sm { padding: .68rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Chips / badges / pills
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.chip--brand { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.chip--dot::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .2);
}
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

.badge {
  display: inline-block;
  padding: .28rem .6rem;
  border-radius: var(--r-xs);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #A9B8DA;
  font-size: .83rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: .35rem;
}
.topbar a { color: #D6E1FA; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.topbar-list li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand:hover { color: inherit; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand__name em { font-style: normal; color: var(--brand); }
.brand__tag {
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .78rem;
  border-radius: var(--r-xs);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__item { position: relative; }
.nav__item--current > .nav__link { color: var(--brand); }
.nav__caret { width: 13px; height: 13px; transition: transform .2s var(--ease); opacity: .7; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: .7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  list-style: none;
  margin: 0;
}
.nav__item:hover > .dropdown,
.nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  gap: .7rem;
  padding: .7rem .8rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
}
.dropdown a:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown .di { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.dropdown .di svg { width: 17px; height: 17px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .91rem; }
.dropdown span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

.nav-toggle { display: none; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 88vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateX(102%);
  transition: transform .34s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.1rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: .95rem .25rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav .sub { padding-left: .9rem; }
.mobile-nav .sub a { font-weight: 500; font-size: .93rem; color: var(--muted); padding: .6rem .25rem; }
.mobile-nav .sub li { border: 0; }
.mobile-nav__foot { margin-top: auto; padding-top: 1.4rem; display: grid; gap: .6rem; }
.mobile-nav__foot .contact-line { font-size: .9rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.mobile-nav__foot .contact-line svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 22, .55);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 108px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.hero__bg::before {
  width: 620px; height: 620px;
  top: -240px; right: -160px;
  background: radial-gradient(circle, rgba(59,91,255,.55), transparent 70%);
}
.hero__bg::after {
  width: 520px; height: 520px;
  bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(6,182,212,.42), transparent 70%);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: .5;
}
.hero .split { align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--muted); max-width: 56ch; margin-bottom: 1.8rem; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.hero__proof b { display: block; font-family: var(--font-head); font-size: 1.28rem; color: var(--ink); line-height: 1.15; }
.hero__proof span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }

/* Hero visual: code/window mock */
.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--grad-ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__title {
  margin-left: .6rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: #8FA2C9;
}
.mock__body { padding: 1.3rem 1.4rem 2.4rem; overflow-x: auto; font-family: var(--font-mono); font-size: .8rem; line-height: 1.85; color: #A9BADF; }
.mock__body .ln { display: block; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.mock__body .c1 { color: #6E7FA8; }        /* comment */
.mock__body .c2 { color: #7DD3FC; }        /* keyword */
.mock__body .c3 { color: #A5B4FC; }        /* fn */
.mock__body .c4 { color: #86EFAC; }        /* string */
.mock__body .c5 { color: #FCD34D; }        /* number */

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.float-card i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex: none; }
.float-card i svg { width: 17px; height: 17px; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float-card--a { bottom: -26px; left: -30px; animation: floaty 6s ease-in-out infinite; }
.float-card--b { top: -20px; right: -18px; animation: floaty 6s ease-in-out infinite .8s; }
.float-card--b i { background: linear-gradient(135deg, var(--violet), var(--brand)); }

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

.hero-visual { position: relative; }

/* --------------------------------------------------------------------------
   9. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(46px, 5.5vw, 84px) 0 clamp(40px, 5vw, 66px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  top: -320px; right: -140px;
  background: radial-gradient(circle, rgba(59,91,255,.30), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; max-width: 18ch; }
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.page-hero .btn-row { margin-top: 1.8rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; list-style: none; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
  height: 100%;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: .6rem; font-size: 1.22rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .link-arrow { margin-top: 1.1rem; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 25px; height: 25px; }
.card--v2 .card__icon { background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(59,91,255,.14)); color: var(--violet); }
.card--v3 .card__icon { background: linear-gradient(135deg, rgba(6,182,212,.16), rgba(59,91,255,.12)); color: var(--cyan); }
.card--v4 .card__icon { background: rgba(245,158,11,.14); color: var(--amber); }
.card--v5 .card__icon { background: rgba(16,185,129,.14); color: var(--emerald); }

.card__list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .45rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.service-card { display: flex; flex-direction: column; }
.service-card .card__num {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  transition: color .26s var(--ease);
}
.service-card:hover .card__num { color: var(--brand-soft); }

/* Feature tile with gradient border */
.tile {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(140deg, var(--line), transparent 55%);
  height: 100%;
}
.tile__inner {
  background: var(--surface);
  border-radius: calc(var(--r-lg) - 1px);
  padding: 1.7rem;
  height: 100%;
}

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats__item { background: var(--surface); padding: 1.8rem 1.4rem; text-align: center; }
.stats__num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__label { display: block; margin-top: .55rem; font-size: .88rem; color: var(--muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   12. Marquee (tech stack)
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0;
  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; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee__item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  opacity: .85;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.marquee__item:hover { color: var(--brand); opacity: 1; }
.marquee__item svg { width: 20px; height: 20px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   13. Process timeline
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 26px; }
.steps--h { grid-template-columns: repeat(5, 1fr); }
.steps--h::before {
  content: "";
  position: absolute;
  top: 27px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  opacity: .25;
}
.step { position: relative; text-align: center; }
.step__dot {
  width: 56px; height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--brand);
  position: relative;
  z-index: 1;
  transition: all .26s var(--ease);
}
.step:hover .step__dot { border-color: transparent; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); transform: translateY(-4px); }
.step h4 { margin-bottom: .45rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* Vertical timeline (about / process pages) */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--cyan), transparent);
  opacity: .35;
}
.timeline__item { position: relative; padding-bottom: 2.2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.4rem; top: .35rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.timeline__item h4 { margin-bottom: .35rem; }
.timeline__item .when { font-size: .82rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.timeline__item p { color: var(--muted); font-size: .95rem; margin-top: .4rem; }

/* --------------------------------------------------------------------------
   14. Work / portfolio
   -------------------------------------------------------------------------- */
.work-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.work-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad-ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.work-card__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.work-card__thumb svg { width: 74px; height: 74px; color: rgba(255,255,255,.9); position: relative; }
.work-card__glow {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
}
.work-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { font-size: 1.16rem; margin: .7rem 0 .5rem; }
.work-card__body p { font-size: .94rem; color: var(--muted); flex: 1; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.work-card__meta span {
  font-size: .74rem;
  font-weight: 600;
  padding: .28rem .6rem;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; }
.filter-btn {
  padding: .58rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-btn:hover { color: var(--brand); border-color: var(--brand); }
.filter-btn.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }

/* --------------------------------------------------------------------------
   15. Accordion / FAQ
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.acc-btn:hover { color: var(--brand); }
.acc-btn .acc-ico {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .25s var(--ease);
  color: var(--brand);
}
.acc-btn .acc-ico svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--grad-brand); border-color: transparent; color: #fff; }
.acc-btn[aria-expanded="true"] .acc-ico svg { transform: rotate(45deg); }
.acc-panel { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.acc-panel__inner { padding: 0 3rem 1.5rem 0; color: var(--muted); }
.acc-panel__inner p + p { margin-top: .8rem; }

/* --------------------------------------------------------------------------
   16. Testimonial / quote
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  height: 100%;
}
.quote__mark { font-family: var(--font-head); font-size: 3.4rem; line-height: .7; color: var(--brand); opacity: .22; }
.quote p { font-size: 1.02rem; color: var(--ink-2); margin: .9rem 0 1.4rem; }
.quote__who { display: flex; align-items: center; gap: .8rem; }
.quote__ava {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  flex: none;
}
.quote__who b { display: block; font-size: .95rem; }
.quote__who span { font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--grad-ink);
  padding: clamp(36px, 5vw, 68px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(59,91,255,.45), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(6,182,212,.35), transparent 45%);
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #A8B8DC; max-width: 60ch; margin: 0 auto 2rem; font-size: 1.06rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__note { margin-top: 1.6rem; font-size: .88rem; color: #8194BC; }
.cta-band__note a { color: #9FC7FF; font-weight: 600; }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .89rem;
  color: var(--ink);
}
.field label .req { color: #E11D48; }
.field .hint { font-size: .8rem; color: var(--muted-2); }

.input, .textarea, .select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .82rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.textarea { resize: vertical; min-height: 140px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6885' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field--error .input, .field--error .textarea, .field--error .select { border-color: #E11D48; }
.field__error { font-size: .8rem; color: #E11D48; font-weight: 600; display: none; }
.field--error .field__error { display: block; }

.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .89rem; color: var(--muted); }
.checkbox input { margin-top: .22rem; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.checkbox a { font-weight: 600; }

.form-note { font-size: .84rem; color: var(--muted-2); }

.form-status {
  display: none;
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .92rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(16,185,129,.12); color: #059669; border: 1px solid rgba(16,185,129,.3); }
.form-status--err { background: rgba(225,29,72,.1); color: #E11D48; border: 1px solid rgba(225,29,72,.28); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Contact info cards */
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all .24s var(--ease);
}
.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-card i {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-card i svg { width: 21px; height: 21px; }
.contact-card h4 { font-size: .96rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .94rem; color: var(--muted); margin: 0; }
.contact-card a { font-weight: 600; color: var(--ink-2); }
.contact-card a:hover { color: var(--brand); }
.contact-card small { display: block; font-size: .8rem; color: var(--muted-2); margin-top: .25rem; }

/* --------------------------------------------------------------------------
   19. Blog
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--grad-ink);
  position: relative;
  display: grid;
  place-items: center;
}
.post-card__thumb svg { width: 54px; height: 54px; color: rgba(255,255,255,.85); }
.post-card__thumb .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.post-card__body h3 a { color: var(--ink); }
.post-card__body h3 a:hover { color: var(--brand); }
.post-card__body p { font-size: .93rem; color: var(--muted); flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .82rem; color: var(--muted-2); margin-top: 1.1rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta svg { width: 14px; height: 14px; }

.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 2.6rem; }
.prose h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); margin-top: 1.9rem; }
.prose p, .prose li { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding: .3rem 0 .3rem 1.3rem;
  font-size: 1.1rem;
  color: var(--ink-2);
  font-style: italic;
}
.prose code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  padding: .14em .42em;
  border-radius: 6px;
  color: var(--brand);
}
.prose pre {
  background: var(--grad-ink);
  color: #C7D6F5;
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.7;
}
.prose pre code { background: none; border: 0; color: inherit; padding: 0; }
.prose img { border-radius: var(--r-md); }
.prose .callout {
  background: var(--brand-soft);
  border: 1px solid transparent;
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
}
.prose .callout p { color: var(--ink-2); margin: 0; font-size: .97rem; }

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
}
.toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .5rem; }
.toc a { font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.toc a:hover { color: var(--brand); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

/* --------------------------------------------------------------------------
   20. Careers
   -------------------------------------------------------------------------- */
.job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all .24s var(--ease);
}
.job:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.job__main { flex: 1 1 320px; }
.job__main h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.job__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.job__tags span {
  font-size: .78rem;
  padding: .25rem .65rem;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.job p { font-size: .93rem; color: var(--muted); margin-top: .7rem; }

.perk { display: flex; gap: .9rem; }
.perk i {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.perk i svg { width: 20px; height: 20px; }
.perk h4 { font-size: .99rem; margin-bottom: .25rem; }
.perk p { font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.contact-strip {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.contact-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact-strip a { color: #fff; }
.cs-item { display: flex; align-items: center; gap: .95rem; }
.cs-item i {
  width: 50px; height: 50px; flex: none;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22);
}
.cs-item i svg { width: 22px; height: 22px; }
.cs-item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-bottom: .15rem; }
.cs-item b, .cs-item a { font-family: var(--font-head); font-size: 1.04rem; font-weight: 700; word-break: break-word; }
.cs-item a:hover { text-decoration: underline; }

.site-footer {
  background: var(--grad-ink);
  color: #93A6CC;
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: 3rem;
}
.site-footer h5 {
  font-family: var(--font-head);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .68rem; }
.site-footer a { color: #93A6CC; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-about p { font-size: .94rem; color: #8DA0C6; margin: 1.1rem 0 1.4rem; max-width: 40ch; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #7E90B8; }

.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .93rem;
  color: #A7B8DA;
  margin-bottom: 1rem;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; color: #6E9BFF; margin-top: .18rem; }
.footer-contact a { font-weight: 600; color: #DCE6FB; }
.footer-contact a:hover { color: #fff; }

.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: #B7C6E4;
  transition: all .22s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: transparent; color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: var(--r-sm);
  padding: .72rem .9rem;
  font-size: .9rem;
  font-family: var(--font-body);
}
.newsletter input::placeholder { color: #7E90B8; }
.newsletter input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59,91,255,.25); }
.newsletter button {
  border: 0;
  border-radius: var(--r-sm);
  background: var(--grad-brand);
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: filter .2s var(--ease);
}
.newsletter button:hover { filter: brightness(1.12); }
.newsletter button svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom p { color: #7E90B8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.3rem; list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }
.corp-line { font-size: .81rem; color: #6B7DA4; }

/* --------------------------------------------------------------------------
   22. Misc
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .28s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { filter: brightness(1.1); }
.to-top svg { width: 19px; height: 19px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .97rem; margin: 0; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--emerald); margin-top: .12rem; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; font-size: .94rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }

.note-box {
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  font-size: .92rem;
  color: var(--muted);
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.7rem; }
.mt-4 { margin-top: 2.6rem; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1160px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps--h { grid-template-columns: repeat(3, 1fr); }
  .steps--h::before { display: none; }
}

@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right, .split--article { grid-template-columns: 1fr; }
  .hero .split { gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-strip .container { grid-template-columns: 1fr; }
  .dropdown { min-width: 380px; grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; --header-h: 66px; }
  .topbar { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps--h { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.4rem; }
  .mock__body { font-size: .72rem; }
  .brand__tag { display: none; }
  .header-actions .btn { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .acc-panel__inner { padding-right: 0; }
  .job { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .contact-strip, .to-top, .mobile-nav, .overlay, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
