/* ==========================================================================
   Artisan I.T. Services — artisan-it.com
   Theme: Enterprise Pro (clean corporate) — #FFFFFF / #4A5568 / #1E40AF
   Typeface: Figtree throughout
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;   /* primary */
  --blue-700: #2563eb;
  --blue-600: #3b82f6;
  --blue-300: #93c5fd;
  --sky:      #38a9e8;
  --indigo:   #3b3f9e;

  --white:    #ffffff;
  --slate-50: #f8fafc;
  --slate-200:#e2e8f0;
  --slate-300:#cbd5e1;
  --slate-500:#4a5568;   /* body copy */
  --slate-900:#0f172a;

  --bg:            var(--white);
  --bg-alt:        var(--slate-50);
  --bg-deep:       #0d1b3e;
  --surface:       var(--white);
  --surface-2:     var(--slate-50);
  --border:        var(--slate-200);
  --border-strong: var(--slate-300);
  --text:          var(--slate-900);
  --text-body:     var(--slate-500);
  --text-mute:     #6b7a90;
  --primary:       var(--blue-800);
  --primary-hover: #1a3796;
  --ring:          rgba(30, 64, 175, .32);

  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0:  clamp(.98rem, .95rem + .15vw, 1.08rem);
  --step-1:  clamp(1.1rem, 1.05rem + .3vw, 1.28rem);
  --step-2:  clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --step-3:  clamp(1.65rem, 1.35rem + 1.3vw, 2.3rem);
  --step-4:  clamp(2rem, 1.5rem + 2.2vw, 3.1rem);

  --sp-2: .5rem;  --sp-3: .75rem;  --sp-4: 1rem;   --sp-5: 1.5rem;
  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;   --sp-9: 5.5rem;

  --r-sm: 6px;  --r: 10px;  --r-lg: 16px;  --r-xl: 20px;  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm: 0 2px 6px rgba(15, 23, 42, .07);
  --sh:    0 8px 24px rgba(15, 23, 42, .08);
  --sh-lg: 0 18px 44px rgba(15, 23, 42, .12);
  --sh-blue: 0 10px 26px rgba(30, 64, 175, .26);

  --shell: 1140px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22, .74, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .3s;
}

/* Dark palette. Inactive: the theme switch was removed, and <html> is fixed at
   data-theme="light". Set data-theme="dark" on <html> to bring it back. */
[data-theme="dark"] {
  --bg:            #0a1226;
  --bg-alt:        #0e1930;
  --bg-deep:       #060d1d;
  --surface:       #101c36;
  --surface-2:     #16244160;
  --border:        #22355c;
  --border-strong: #2d4472;
  --text:          #eef3fb;
  --text-body:     #a9b8d0;
  --text-mute:     #8296b5;
  --primary:       var(--blue-600);
  --primary-hover: #5b9bff;
  --ring:          rgba(96, 165, 250, .4);
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-sm: 0 2px 6px rgba(0, 0, 0, .35);
  --sh:    0 8px 24px rgba(0, 0, 0, .45);
  --sh-lg: 0 18px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--blue-800); color: #fff; }

.skip-link {
  position: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--primary); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r) var(--r);
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ----------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.25rem);
}

.section { padding-block: clamp(3.25rem, 7vw, var(--sp-9)); }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 44rem; margin-bottom: clamp(1.85rem, 4vw, 2.75rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--sky));
}
.section-title { font-size: var(--step-3); }
.section-sub { margin-top: var(--sp-4); font-size: var(--step-1); }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.note { font-size: var(--step--1); color: var(--text-mute); }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--step-0);
  white-space: nowrap;
  box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-blue); }
.btn:active { transform: none; }
.btn--full { width: 100%; }
.btn--lg { padding: .95rem 1.8rem; font-size: var(--step-1); }

.btn--light {
  --btn-bg: rgba(255, 255, 255, .1);
  --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, .38);
}
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--blue-900); }

.btn-icon { width: 1em; height: 1em; flex: none; transition: transform var(--t) var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ---------- Header ----------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  /* Height stays fixed on scroll. Shrinking it moved the logo and menu, which
     read as a jump; only the background changes now. */
  transition: background-color var(--t) var(--ease),
              border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header.is-stuck {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-xs);
}

/* Until the page is scrolled, the header floats on the hero photograph,
   so everything in it flips to white. .is-stuck restores the normal bar. */
.header:not(.is-stuck) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.header:not(.is-stuck) .brand__name { color: #fff; }
.header:not(.is-stuck) .brand__sub { color: #9ec9ff; }
.header:not(.is-stuck) .brand__mark { filter: brightness(1.55) saturate(1.05); }
.header:not(.is-stuck) .nav__link { color: #dbe7fa; }
.header:not(.is-stuck) .nav__link:hover,
.header:not(.is-stuck) .nav__link.is-active { color: #fff; }
.header:not(.is-stuck) .nav__link::after { background: #fff; }
.header:not(.is-stuck) .burger span { background: #fff; }
.header:not(.is-stuck) .nav__actions .btn {
  background: #fff;
  color: var(--blue-900);
}
.header:not(.is-stuck) .nav__actions .btn:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }

.nav { display: flex; align-items: center; gap: var(--sp-5); width: 100%; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; transition: transform .5s var(--ease-out); }
/* the logo's darkest traces sink into a navy background, so lift them there */
.footer .brand__mark,
[data-theme="dark"] .brand__mark { filter: brightness(1.5) saturate(1.05); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.02rem; font-weight: 700; letter-spacing: .1em; color: var(--text); }
.brand__sub { font-size: .56rem; font-weight: 600; letter-spacing: .28em; color: var(--primary); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative;
  padding: .5rem .75rem;
  border-radius: var(--r-sm);
  color: var(--text-body);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .75rem; right: .75rem; bottom: .3rem;
  height: 2px; border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .55rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  grid-template-rows: var(--nav-h) 1fr;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__body { padding: var(--sp-4) clamp(1.15rem, 4vw, 2.25rem) var(--sp-7); overflow-y: auto; }
.drawer__link {
  display: block;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: var(--step-1);
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
}
.drawer.is-open .drawer__link {
  animation: drawerIn .4s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.drawer__cta { margin-top: var(--sp-6); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .nav__links, .nav__actions .btn { display: none; }
  .burger { display: block; }
}
@media (min-width: 981px) { .drawer { display: none; } }

/* ---------- Hero ------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 820px);
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

/* the photograph */
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: kenburns 30s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.11); }
}

/* the blue wash that makes the type readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(102deg,
      rgba(8, 20, 52, .92) 0%,
      rgba(13, 38, 100, .84) 38%,
      rgba(24, 84, 190, .62) 70%,
      rgba(30, 120, 220, .45) 100%);
}
/* a soft floor so the section below joins cleanly */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 42, .5));
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%; height: 100%;
  opacity: .42;
}

.hero__inner { position: relative; max-width: min(var(--shell), 100%); }

.hero__title {
  max-width: 20ch;
  font-size: clamp(1.95rem, 1.3rem + 3.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #fff;
}
.hero__title em { font-style: italic; font-weight: 600; color: #8fc4ff; }

.hero__lede {
  margin-top: var(--sp-5);
  max-width: 46ch;
  font-size: clamp(1.02rem, .97rem + .35vw, 1.28rem);
  color: #d5e3f7;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-6); }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: #e6eefb;
}
.hero__points svg { width: 18px; height: 18px; flex: none; color: #7fb8ff; }

/* photo blocks used further down the page */
.photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  line-height: 0;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ------------------------------------------------------ */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--border-strong); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--indigo), var(--blue-700) 55%, var(--sky));
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 64, 175, .25);
  transition: transform var(--t) var(--ease);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { transform: translateY(-2px) scale(1.05); }

.card__title { font-size: var(--step-1); }
.card__text { font-size: var(--step-0); }

.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: var(--sp-3); }
.tag {
  padding: .2rem .55rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-mute);
}
[data-theme="dark"] .tag { background: rgba(255, 255, 255, .05); }

.ticks { display: grid; gap: .45rem; font-size: var(--step-0); }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks svg { width: 17px; height: 17px; flex: none; margin-top: .2rem; color: var(--primary); }

/* what we build: simple list rows */
.builds { display: grid; gap: .6rem; }
.build {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.build:hover { border-color: var(--blue-300); }
.build h3 { font-size: var(--step-0); flex: 0 0 12rem; }
.build p { font-size: var(--step--1); }
@media (max-width: 640px) {
  .build { flex-direction: column; gap: .2rem; }
  .build h3 { flex: none; }
}

/* ---------- Tech list -------------------------------------------------- */
/* six columns, kept to an even 2 x 3 / 3 x 2 rather than a ragged auto-fit */
.stack { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stack { grid-template-columns: repeat(3, 1fr); } }
.stack h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: var(--sp-3);
}
.stack ul { display: grid; gap: .4rem; font-size: var(--step-0); }
.stack li { color: var(--text-body); }

/* ---------- FAQ -------------------------------------------------------- */
.faq { display: grid; gap: .6rem; max-width: 50rem; }
.qa {
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.qa.is-open { border-color: var(--blue-300); }
.qa__q {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  padding: 1rem 1.15rem;
  text-align: left;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--text);
}
.qa__q:hover { color: var(--primary); }
.qa__sign { margin-left: auto; position: relative; width: 15px; height: 15px; flex: none; }
.qa__sign::before, .qa__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform var(--t) var(--ease);
}
.qa__sign::after { transform: rotate(90deg); }
.qa.is-open .qa__sign::after { transform: rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 1.15rem 1.1rem; font-size: var(--step-0); }

/* ---------- Contact ---------------------------------------------------- */
.info { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.info__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.info__ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(30, 64, 175, .09);
  color: var(--primary);
}
[data-theme="dark"] .info__ico { background: rgba(96, 165, 250, .14); }
.info__ico svg { width: 19px; height: 19px; }
.info__label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.info__value { font-weight: 600; color: var(--text); }
.info__value a { color: var(--text); }
.info__value a:hover { color: var(--primary); }
.info__note { font-size: .8rem; color: var(--text-mute); }

.form {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.form__grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: .3rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text); }
.field label span { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .72rem .9rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field__err {
  font-size: .76rem;
  font-weight: 500;
  color: #dc2626;
  min-height: 1.05em;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.field.has-error .field__err { opacity: 1; }

.form__done {
  display: none;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r);
  border: 1px solid rgba(16, 185, 129, .4);
  background: rgba(16, 185, 129, .08);
}
.form__done.is-on { display: flex; }
.form__done svg { width: 34px; height: 34px; flex: none; color: #059669; }
.form__done b { display: block; color: var(--text); }
.form__done span { font-size: var(--step--1); }

.spinner {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA band --------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  background: linear-gradient(105deg, var(--indigo), var(--blue-800) 45%, #1f74c8);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 80% at 78% 30%, #000, transparent);
  mask-image: radial-gradient(70% 80% at 78% 30%, #000, transparent);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.cta-band h2 { color: #fff; font-size: var(--step-2); }
.cta-band p { margin-top: .4rem; color: #cfe0f8; }
.cta-band .btn { background: #fff; color: var(--blue-900); }
.cta-band .btn:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }

/* ---------- Footer ----------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  color: #9db1d1;
  padding-block: clamp(2.5rem, 5vw, 3.75rem) var(--sp-5);
}
[data-theme="dark"] .footer { border-top: 1px solid var(--border); }
.footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--blue-300); }
.footer__about { margin-top: var(--sp-4); font-size: var(--step--1); max-width: 26rem; }
.footer__title {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__list { display: grid; gap: .55rem; font-size: var(--step--1); }
.footer__list a { color: #9db1d1; transition: color var(--t-fast) var(--ease); }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
}

/* ---------- Back to top ------------------------------------------------ */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--sh-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t) var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-hover); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Reveal on scroll ------------------------------------------
   Scoped to .js so the page still shows everything if the script fails
   to load. The class is set by the inline snippet in <head>.            */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"]  { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Phones ----------------------------------------------------- */
@media (max-width: 620px) {
  /* stacked call-to-action buttons look ragged at different widths */
  .hero__actions .btn,
  .cta-band .btn { width: 100%; }

  .hero__points { gap: .6rem 1.5rem; }

  /* iOS zooms the page in when a focused field is under 16px */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  /* keep the form from feeling cramped against the screen edge */
  .form { padding: 1.25rem; }
}

@media (max-width: 400px) {
  .build h3 { font-size: var(--step-0); }
  .stack { gap: var(--sp-5) var(--sp-4); }
}

/* ---------- Reduced motion / print ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .chart__bar { transform: scaleY(1); }
  .hero__canvas { display: none; }
  .hero__media img { animation: none; transform: none; }
}

@media print {
  .header, .drawer, .to-top, .hero__canvas, .form { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding-block: 1rem; page-break-inside: avoid; }
}
