/* ==========================================================================
   AadVee Technologies — main stylesheet
   --------------------------------------------------------------------------
    1. Design tokens        9. Tech strip (marquee)   17. Contact page
    2. Base                10. Cards & grids          18. FAQ
    3. Layout              11. Split / features       19. Footer
    4. Typography          12. Process                20. Animations
    5. Buttons             13. CTA band               21. Utilities
    6. Header & navigation 14. Inner page hero        22. Reduced motion
    7. Home hero           15. Services page
    8. Hero illustration   16. About page
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --c-primary: #4f46e5;
  --c-primary-hover: #4338ca;
  --c-primary-soft: #eef2ff;
  --c-primary-line: #e0e7ff;
  --c-accent: #06b6d4;
  --c-ink: #0f172a;
  --c-text: #1e293b;
  --c-muted: #475569;
  --c-subtle: #64748b;
  --c-border: #e2e8f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f8fc;
  --c-dark: #0b1020;
  --c-on-dark: #e2e8f0;
  --c-on-dark-muted: #94a3b8;
  --c-danger: #be123c;

  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #06b6d4 100%);
  --grad-text: linear-gradient(110deg, #4f46e5 0%, #2563eb 50%, #0891b2 100%);
  --grad-text-dark: linear-gradient(110deg, #a5b4fc 0%, #93c5fd 50%, #67e8f9 100%);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow: 0 18px 40px -20px rgba(15, 23, 42, .22);
  --shadow-lg: 0 40px 80px -32px rgba(15, 23, 42, .38);

  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* 2. Base ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .6em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}

h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--c-primary-hover);
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .5);
  outline-offset: 3px;
}

::selection {
  background: rgba(79, 70, 229, .18);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.has-subnav section[id] {
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

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

.section--tight {
  padding-top: clamp(40px, 6vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 1.35rem + 2vw, 2.75rem);
}

.section-lead {
  font-size: clamp(1.03rem, 1rem + .25vw, 1.15rem);
  color: var(--c-muted);
}

/* 4. Typography ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.eyebrow--pill {
  padding: .45rem .95rem .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--c-primary-line);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #10b981;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, .45);
  animation: pulse 2.2s ease-out infinite;
}

.lead {
  max-width: 38em;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem);
  color: var(--c-muted);
}

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

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
    box-shadow .2s ease, transform .2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.icon-arrow {
  transition: transform .2s ease;
}

.btn-sm {
  padding: .6rem 1.05rem;
  border-radius: 10px;
  font-size: .92rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .65);
}

.btn-primary:hover {
  background: var(--c-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -12px rgba(79, 70, 229, .75);
}

.btn-primary:disabled {
  opacity: .7;
  cursor: progress;
  transform: none;
}

.btn-secondary {
  background: #fff;
  color: var(--c-ink);
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--c-primary);
  border-color: #c7d2fe;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--c-ink);
}

.btn-light:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

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

/* 6. Header & navigation ------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--c-ink);
  color: #fff;
  font-weight: 600;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--c-border);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--c-ink);
}

.brand:hover {
  color: var(--c-ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  margin-top: .3rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-subtle);
}

.brand--light,
.brand--light:hover {
  color: #fff;
}

.brand--light .brand-sub {
  color: var(--c-on-dark-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-list a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 10px;
  font-size: .96rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color .2s ease, background-color .2s ease;
}

.nav-list a:hover {
  color: var(--c-ink);
  background: #f1f5f9;
}

.nav-list a[aria-current="page"] {
  color: var(--c-primary);
  background: var(--c-primary-soft);
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: #fff;
    color: var(--c-ink);
  }

  .nav-toggle .icon {
    width: 22px;
    height: 22px;
  }

  .nav-toggle .icon-close,
  .nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 1rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 30px 40px -30px rgba(15, 23, 42, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }

  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }

  .js .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }

  .js .nav-list a {
    padding: .85rem 1rem;
    font-size: 1.05rem;
  }

  .js .nav-cta {
    width: 100%;
    padding-block: .9rem;
  }

  /* Without JavaScript the menu simply wraps below the logo. */
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: .75rem;
  }

  html:not(.js) .site-nav,
  html:not(.js) .nav-list {
    flex-wrap: wrap;
  }
}

/* 7. Home hero ----------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 88% 18%, rgba(6, 182, 212, .14), transparent 65%),
    radial-gradient(50% 60% at 8% 0%, rgba(79, 70, 229, .14), transparent 65%),
    linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(75% 65% at 50% 30%, #000 25%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 1.4rem + 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 2rem !important;
  font-size: .94rem;
  font-weight: 500;
  color: var(--c-muted);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
  color: #0d9488;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .service-cta .btn {
    flex: 1 1 100%;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }
}

/* 8. Hero illustration --------------------------------------------------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  aspect-ratio: 100 / 84;
  container-type: inline-size;
}

.hv-stage {
  position: absolute;
  inset: 0;
  font-size: 13px;
}

@supports (width: 1cqi) {
  .hv-stage {
    font-size: 2.2cqi;
  }
}

.hv-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hv-orb--a {
  top: -8%;
  right: -8%;
  width: 62%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .28), transparent);
}

.hv-orb--b {
  bottom: -18%;
  left: -14%;
  width: 72%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .24), transparent);
}

/* Browser window */
.hv-browser {
  position: absolute;
  top: 5%;
  left: 0;
  width: 79%;
  height: 64%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1.1em;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hv-browser-bar {
  display: flex;
  align-items: center;
  gap: .45em;
  padding: .75em 1em;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}

.hv-dot {
  width: .65em;
  height: .65em;
  flex: none;
  border-radius: 50%;
  background: #f87171;
}

.hv-dot:nth-child(2) {
  background: #fbbf24;
}

.hv-dot:nth-child(3) {
  background: #34d399;
}

.hv-url {
  min-width: 0;
  margin-left: .8em;
  padding: .3em .9em;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  background: #fff;
  font-size: .72em;
  color: #64748b;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hv-browser-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 21% 1fr;
}

.hv-side {
  display: flex;
  flex-direction: column;
  gap: .75em;
  padding: 1.1em .9em;
  background: #f8fafc;
  border-right: 1px solid #eef2f7;
}

.hv-logo {
  width: 1.9em;
  height: 1.9em;
  margin-bottom: .4em;
  border-radius: .55em;
  background: var(--grad-brand);
}

.hv-line {
  height: .55em;
  border-radius: 999px;
  background: #e2e8f0;
}

.hv-line:nth-child(3) {
  width: 80%;
}

.hv-line:nth-child(4) {
  width: 90%;
}

.hv-line:nth-child(5) {
  width: 65%;
}

.hv-line.is-active {
  background: #c7d2fe;
}

.hv-main {
  display: flex;
  flex-direction: column;
  gap: .9em;
  min-width: 0;
  min-height: 0;
  padding: 1.1em;
}

.hv-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7em;
}

.hv-stat {
  display: flex;
  flex-direction: column;
  gap: .15em;
  padding: .6em .75em;
  border: 1px solid #eef2f7;
  border-radius: .75em;
}

.hv-stat-label {
  font-size: .62em;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hv-stat-value {
  font-family: var(--font-display);
  font-size: 1.05em;
  font-weight: 800;
  color: var(--c-ink);
}

.hv-chart {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: .6em;
  padding: .9em;
  border: 1px solid #eef2f7;
  border-radius: .8em;
  background: linear-gradient(180deg, #f8faff, #fff);
}

.hv-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: .35em .35em .15em .15em;
  background: linear-gradient(180deg, #6366f1, #22d3ee);
  opacity: .9;
}

/* Phone */
.hv-phone {
  position: absolute;
  top: 13%;
  right: 0;
  width: 30%;
  aspect-ratio: 9 / 19;
  padding: .55em;
  border-radius: 2.3em;
  background: #0f172a;
  box-shadow: 0 40px 70px -25px rgba(15, 23, 42, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: float 7s ease-in-out infinite;
}

.hv-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .7em;
  overflow: hidden;
  padding: 2.3em .85em .85em;
  border-radius: 1.8em;
  background: #f8fafc;
}

.hv-screen::before {
  content: "";
  position: absolute;
  top: .6em;
  left: 50%;
  width: 34%;
  height: 1.05em;
  border-radius: 999px;
  background: #0f172a;
  transform: translateX(-50%);
}

.hv-app-top {
  display: flex;
  align-items: center;
  gap: .6em;
}

.hv-avatar {
  width: 2em;
  height: 2em;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
}

.hv-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35em;
}

.hv-lines span {
  height: .5em;
  border-radius: 999px;
  background: #e2e8f0;
}

.hv-lines span:first-child {
  width: 75%;
  background: #cbd5e1;
}

.hv-lines span:last-child {
  width: 50%;
}

.hv-app-card {
  display: flex;
  flex-direction: column;
  gap: .25em;
  padding: .85em;
  border-radius: 1em;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(79, 70, 229, .85);
}

.hv-app-label {
  font-size: .6em;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

.hv-app-title {
  font-family: var(--font-display);
  font-size: .92em;
  font-weight: 800;
  line-height: 1.25;
}

.hv-progress {
  height: .45em;
  margin-top: .35em;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
}

.hv-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.hv-app-item {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .6em;
  border: 1px solid #eef2f7;
  border-radius: .8em;
  background: #fff;
}

.hv-thumb {
  width: 1.9em;
  height: 1.9em;
  flex: none;
  border-radius: .55em;
  background: #e0e7ff;
}

.hv-app-item:nth-of-type(4) .hv-thumb {
  background: #cffafe;
}

.hv-app-item:nth-of-type(5) .hv-thumb {
  background: #dcfce7;
}

.hv-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding: .7em .3em .15em;
  border-top: 1px solid #eef2f7;
}

.hv-tabbar span {
  width: 1.1em;
  height: 1.1em;
  border-radius: .35em;
  background: #cbd5e1;
}

.hv-tabbar span:first-child {
  background: var(--c-primary);
}

/* API card */
.hv-api {
  position: absolute;
  top: 62%;
  left: 7%;
  width: 43%;
  display: flex;
  flex-direction: column;
  gap: .45em;
  padding: .9em 1.1em;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1em;
  background: var(--c-dark);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: .82em;
  color: #e2e8f0;
  animation: float 8s ease-in-out infinite;
  animation-delay: -3s;
}

.hv-api-row {
  display: flex;
  align-items: center;
  gap: .6em;
  min-width: 0;
  white-space: nowrap;
}

.hv-method {
  padding: .1em .45em;
  border-radius: .35em;
  background: #67e8f9;
  font-size: .85em;
  font-weight: 700;
  color: var(--c-dark);
}

.hv-path {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #c7d2fe;
}

.hv-status {
  font-weight: 700;
  color: #34d399;
}

.hv-time {
  color: #94a3b8;
}

/* Floating technology chips */
.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .45em .85em;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .45);
  font-size: max(10px, .82em);
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.hv-chip::before {
  content: "";
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--dot, var(--c-primary));
}

.hv-chip--swift {
  top: 0;
  left: 46%;
  --dot: #f05138;
  --d: -1s;
}

.hv-chip--kotlin {
  top: 4%;
  right: 1%;
  --dot: #7f52ff;
  --d: -4s;
}

.hv-chip--node {
  top: 54%;
  right: -1%;
  --dot: #3c873a;
  --d: -2s;
}

.hv-chip--rn {
  top: 84%;
  left: 1%;
  --dot: #22b8e6;
  --d: -3s;
}

.hv-chip--flutter {
  bottom: 3%;
  left: 52%;
  --dot: #0175c2;
  --d: -5s;
}

/* 9. Tech strip (marquee) ------------------------------------------------ */
.tech-strip {
  padding-block: 28px;
  border-block: 1px solid var(--c-border);
  background: #fff;
}

.tech-strip-label {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--c-subtle);
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: 2.75rem;
  min-width: 100%;
  padding-right: 2.75rem;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.marquee-track li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* 10. Cards & grids ------------------------------------------------------ */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.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));
}

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: .55rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--c-muted);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .7);
}

.icon-badge .icon {
  width: 26px;
  height: 26px;
}

.icon-badge--soft {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  box-shadow: inset 0 0 0 1px var(--c-primary-line);
}

.icon-badge--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.icon-badge--sm .icon {
  width: 22px;
  height: 22px;
}

.icon-badge--lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.icon-badge--lg .icon {
  width: 30px;
  height: 30px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem !important;
}

.tag-list li {
  padding: .35rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #f8fafc;
  font-size: .8rem;
  font-weight: 600;
  color: #334155;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 600;
}

.card-link .icon {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.card-link:hover .icon,
.card--hover:hover .card-link .icon {
  transform: translateX(3px);
}

/* Makes the whole card clickable while keeping a single, labelled link. */
.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* Technology tiles (Sw, Kt, Rn, Fl …) */
.tech-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 15px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 22px -14px rgba(15, 23, 42, .7);
}

.tech-tile--swift {
  background: linear-gradient(135deg, #ff7a45, #e8432a);
}

.tech-tile--kotlin {
  background: linear-gradient(135deg, #7f52ff, #a020c8);
}

.tech-tile--rn {
  background: #0f172a;
  color: #61dafb;
}

.tech-tile--flutter {
  background: linear-gradient(135deg, #1e88e5, #0d47a1);
}

.tech-tile--react {
  background: #111827;
  color: #61dafb;
}

.tech-tile--node {
  background: linear-gradient(135deg, #4a9a3f, #2f6d2c);
}

.tech-card .tech-tile {
  margin-bottom: 1.25rem;
}

.tech-stack {
  margin-bottom: .75rem;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-primary) !important;
}

.best-for {
  margin: auto 0 0 !important;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-border);
  font-size: .9rem;
}

.best-for strong {
  font-weight: 600;
  color: var(--c-ink);
}

.check-list {
  display: grid;
  gap: .6rem;
  margin-top: 1.25rem !important;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .97rem;
  color: var(--c-text);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .18em;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* 11. Split / features --------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.split--center {
  align-items: center;
}

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

.split-copy .btn {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-sticky {
    position: static;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 1.6rem;
  border: 1px solid #edf0f7;
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.feature:hover {
  border-color: var(--c-primary-line);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature .icon-badge {
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: .4rem;
  font-size: 1.08rem;
}

.feature p {
  margin: 0;
  font-size: .95rem;
  color: var(--c-muted);
}

/* 12. Process (dark section) -------------------------------------------- */
.section--dark {
  isolation: isolate;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-on-dark);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 10% 0%, rgba(79, 70, 229, .38), transparent 70%),
    radial-gradient(40% 55% at 95% 100%, rgba(6, 182, 212, .24), transparent 70%);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .eyebrow {
  color: #a5b4fc;
}

.section--dark .section-lead {
  color: var(--c-on-dark-muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.process-step {
  position: relative;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  transition: background-color .25s ease, border-color .25s ease;
}

.process-step:hover {
  border-color: rgba(165, 180, 252, .35);
  background: rgba(255, 255, 255, .07);
}

.process-num {
  display: inline-block;
  margin-bottom: .9rem;
  background: var(--grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.process-step h3 {
  margin-bottom: .45rem;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  font-size: .96rem;
  color: var(--c-on-dark-muted);
}

@media (max-width: 960px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* 13. CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--c-dark);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 130% at 0% 0%, rgba(79, 70, 229, .6), transparent 60%),
    radial-gradient(55% 130% at 100% 100%, rgba(6, 182, 212, .42), transparent 60%);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.cta-band h2 {
  margin-bottom: .5rem;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem);
  color: #fff;
}

.cta-band p {
  max-width: 36em;
  margin: 0;
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 860px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 14. Inner page hero ---------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--c-border);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  z-index: -1;
  width: min(520px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .18), transparent);
}

.page-title {
  max-width: 17em;
  margin-bottom: 1.1rem;
  font-size: clamp(2.15rem, 1.3rem + 3.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.4rem !important;
  font-size: .88rem;
  color: var(--c-subtle);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: .5rem;
  color: #cbd5e1;
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

/* 15. Services page ------------------------------------------------------ */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  border-bottom: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

.subnav-list {
  position: relative;
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding-block: .65rem;
  scrollbar-width: none;
}

.subnav-list::-webkit-scrollbar {
  display: none;
}

.subnav-list a {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
}

.subnav-list a:hover {
  background: #f1f5f9;
  color: var(--c-ink);
}

.subnav-list a.is-active {
  border-color: var(--c-primary-line);
  background: var(--c-primary-soft);
  color: var(--c-primary);
}

.service-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 880px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.service-intro .icon-badge {
  margin: 0;
}

.service-intro .eyebrow {
  margin-bottom: .6rem;
}

@media (max-width: 600px) {
  .service-intro {
    flex-direction: column;
    gap: 1.1rem;
  }
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.platform-head h3 {
  margin-bottom: .2rem;
}

.platform-head .tech-stack {
  margin: 0;
}

.feature-panel {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--c-primary-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 55%, #ecfeff 100%);
}

.feature-panel h3 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: .75rem;
}

.pill-grid li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(79, 70, 229, .12);
  border-radius: 12px;
  background: #fff;
  font-size: .95rem;
  font-weight: 500;
}

.pill-grid li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand);
}

.subhead {
  margin: clamp(40px, 6vw, 56px) 0 1.25rem;
  font-size: 1.35rem;
}

.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.mini-card:hover {
  border-color: var(--c-primary-line);
  box-shadow: var(--shadow);
}

.mini-card .icon-badge {
  margin: 0;
}

.mini-card h4 {
  margin-bottom: .25rem;
  font-size: 1.02rem;
}

.mini-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--c-muted);
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(28px, 4vw, 40px);
}

.service-cta p {
  margin: 0;
  color: var(--c-muted);
}

.stack-group h3 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 0;
  font-size: 1.12rem;
}

.stack-group .icon-badge {
  margin: 0;
}

/* 16. About page --------------------------------------------------------- */
.prose p:not(.eyebrow) {
  font-size: 1.05rem;
  color: var(--c-muted);
}

.prose .btn {
  margin-top: .75rem;
}

.mv-stack {
  display: grid;
  gap: 20px;
}

.mv-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--c-dark);
  color: #fff;
}

.mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 120% at 100% 0%, rgba(79, 70, 229, .55), transparent 60%);
}

.mv-card h3 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: 1.2rem;
  color: #fff;
}

.mv-card p {
  margin: 0;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.mv-card .icon-badge {
  margin: 0;
}

.mv-card--light {
  border: 1px solid var(--c-primary-line);
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  color: var(--c-ink);
}

.mv-card--light::before {
  display: none;
}

.mv-card--light h3 {
  color: var(--c-ink);
}

.mv-card--light p {
  color: var(--c-muted);
}

/* 17. Contact page ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-heading {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 1.75rem !important;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  border-color: var(--c-primary-line);
  box-shadow: var(--shadow);
}

.contact-card .icon-badge {
  margin: 0;
}

.contact-card-body {
  min-width: 0;
}

.contact-card h3 {
  margin-bottom: .35rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-subtle);
}

.contact-card address,
.contact-value {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-ink);
  overflow-wrap: anywhere;
}

a.contact-value:hover {
  color: var(--c-primary);
}

.contact-card .card-link {
  padding-top: .6rem;
  font-size: .92rem;
}

@media (max-width: 480px) {
  .contact-card {
    gap: .9rem;
    padding: 1.15rem;
  }

  .contact-card .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .contact-card .icon-badge .icon {
    width: 22px;
    height: 22px;
  }

  .contact-card address,
  .contact-value {
    font-size: 1rem;
  }
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-bottom: .4rem;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
}

.form-card > p {
  color: var(--c-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 1.75rem;
}

.field--full {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink);
}

.field .req {
  color: var(--c-danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field select {
  padding-right: 2.6rem;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}

.field ::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .15);
}

.field [aria-invalid="true"] {
  border-color: var(--c-danger);
}

.field [aria-invalid="true"]:focus {
  border-color: var(--c-danger);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, .15);
}

.field-error {
  margin: .4rem 0 0;
  font-size: .86rem;
  font-weight: 500;
  color: var(--c-danger);
}

.form-actions {
  margin-top: 1.5rem;
}

.form-note {
  margin: .9rem 0 0;
  font-size: .86rem;
  text-align: center;
  color: var(--c-subtle);
}

.form-status {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  font-size: .95rem;
}

.form-status.is-success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.form-status.is-error {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #9f1239;
}

/* Honeypot field for spam bots — hidden from people and screen readers. */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 18. FAQ ---------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin-inline: auto;
}

.faq details {
  padding: 0 1.4rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq details[open] {
  border-color: var(--c-primary-line);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:focus-visible {
  outline-offset: 2px;
  border-radius: 8px;
}

.faq details p {
  margin: 0 0 1.25rem;
  color: var(--c-muted);
}

/* 19. Footer ------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 80px);
  background: var(--c-dark);
  color: var(--c-on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1.25rem;
  font-size: .95rem;
}

.footer-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: .7rem;
}

.footer-links a,
.footer-contact a {
  font-size: .95rem;
  color: var(--c-on-dark-muted);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: .9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: .22em;
  color: #a5b4fc;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
}

.footer-bottom p {
  margin: 0;
}

/* 404 page */
.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-404 main {
  flex: 1;
  display: flex;
}

.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page .page-title,
.error-page .lead {
  margin-inline: auto;
}

.error-page .hero-actions {
  justify-content: center;
}

.error-code {
  margin: 0 0 .75rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.site-footer--compact {
  padding-top: 0;
}

.site-footer--compact .footer-bottom {
  border-top: 0;
}

/* 20. Animations --------------------------------------------------------- */
@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* "to" omits transform on purpose so hover transforms still work afterwards. */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
  }
}

.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible {
  animation: reveal-up .7s cubic-bezier(.21, .65, .25, 1) var(--delay, 0ms) both;
}

/* 21. Utilities ---------------------------------------------------------- */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.text-center {
  text-align: center;
}

/* Printing: show everything, even sections that haven't been scrolled into view. */
@media print {
  .js .reveal {
    opacity: 1 !important;
    animation: none !important;
  }

  .site-header,
  .subnav {
    position: static;
  }
}

/* 22. Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    flex-shrink: 1;
    justify-content: center;
    row-gap: 1rem;
    min-width: 0;
    padding-inline: var(--gutter);
  }

  .marquee-track[aria-hidden="true"] {
    display: none;
  }
}
