/* ==========================================================================
   Visigo — site styles
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Maven Pro";
  src: url("/assets/fonts/maven-pro.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --brand: #0db3ed;        /* logo blue: fills, accents, text on dark */
  --brand-hover: #3cc4f2;
  --brand-ink: #0077a8;    /* accessible blue for text on light */
  --brand-soft: #e6f7fd;
  --sun: #ffc629;          /* logo accent */

  --ink: #0b1b2b;
  --ink-2: #33475b;
  --muted: #5b6b7c;
  --line: #dfe7ee;
  --tint: #f4f8fb;
  --paper: #ffffff;
  --dark: #0b1b2b;
  --dark-2: #13293d;
  --dark-text: #c5d3e0;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Maven Pro", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(11 27 43 / 0.04), 0 8px 24px rgb(11 27 43 / 0.06);
  --shadow-lg: 0 2px 4px rgb(11 27 43 / 0.06), 0 24px 48px rgb(11 27 43 / 0.12);

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

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

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.icon--xs { width: 0.9em; height: 0.9em; vertical-align: -0.1em; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.anchor { display: block; position: relative; top: -24px; visibility: hidden; }

.eyebrow {
  font: 700 0.8rem/1.2 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-width: 40em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.8em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 0.55em 1.1em; font-size: 0.925rem; }
.btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 6px 16px rgb(13 179 237 / 0.3); }
.btn--primary:hover { background: var(--brand-hover); color: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--brand); color: var(--ink); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: rgb(255 255 255 / 0.6); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { color: #fff; border-color: rgb(255 255 255 / 0.25); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: 112px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 500; font-size: 0.975rem; text-decoration: none;
}
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--ink); background: var(--tint); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 1.05rem; }
  .site-header.nav-open .site-nav { display: flex; }
  .site-header.nav-open .nav-toggle__open { display: none; }
  .site-header.nav-open .nav-toggle__close { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgb(13 179 237 / 0.14), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgb(255 198 41 / 0.10), transparent 70%),
    linear-gradient(var(--paper), var(--tint));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(11 27 43 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(11 27 43 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero__inner > *, .feature > *, .contact > * { min-width: 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 0.35em; border-radius: 3px; background: var(--sun); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__art { position: relative; }
.code-card {
  background: var(--dark); color: #e2ebf3; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.code-card__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--dark-2); }
.code-card__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2e4a63; }
.code-card__bar span:first-child { background: #ff6b6b; }
.code-card__bar span:nth-child(2) { background: var(--sun); }
.code-card__bar span:nth-child(3) { background: #3ddc97; }
.code-card__bar em { margin-left: 10px; font: 500 0.8rem var(--font-mono); font-style: normal; color: #8aa2b8; }
.code-card pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font: 0.88rem/1.75 var(--font-mono); }
.t-kw { color: #7cc7ff; } .t-type { color: #5eead4; } .t-fn { color: #ffd479; } .t-attr { color: #c4a7ff; }
.hero__badge {
  position: absolute; left: -18px; bottom: -36px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--paper); box-shadow: var(--shadow-lg);
  font-size: 0.9rem; color: var(--ink-2);
}
.hero__badge .icon { color: var(--brand-ink); width: 22px; height: 22px; }
.hero__badge strong { color: var(--ink); font-weight: 600; }


@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .code-card { transform: none; }
  .hero__badge { left: 12px; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--brand); }
.section__head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head > p:last-child { color: var(--muted); font-size: 1.125rem; }

/* ---------- Services: alternating rows with illustrations ---------- */

.services { display: grid; gap: clamp(56px, 8vw, 104px); }
.service { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.service > * { min-width: 0; }
.service:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.service:nth-child(even) .service__art { order: 2; }
.service__copy h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; margin-bottom: 0.4em; }
.service__copy > p { color: var(--muted); font-size: 1.075rem; }
.service__num { display: flex; align-items: center; gap: 8px; font: 800 0.9rem var(--font-head); letter-spacing: 0.08em; color: var(--brand-ink); margin-bottom: 12px; }
.service__num .icon { width: 1.4em; height: 1.4em; padding: 0.3em; border-radius: 8px; background: var(--brand-soft); box-sizing: content-box; }
.service .checklist .icon { color: var(--brand-ink); }
.service__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }

.service__art {
  position: relative; container-type: inline-size;
  padding: 9% 8%; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: var(--panel, var(--brand));
}
.service__art::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgb(255 255 255 / 0.35) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 70%);
}
.service__art--blue { --panel: linear-gradient(140deg, #3cc4f2, #0a7cb0); }
.service__art--navy { --panel: linear-gradient(140deg, #1d3b57, #0b1b2b); }
.service__art--teal { --panel: linear-gradient(140deg, #13a3a8, #075e66); }
.service__art--sun  { --panel: linear-gradient(140deg, #ffd65c, #f5a700); }
.service__art--sun::before { background-image: radial-gradient(rgb(255 255 255 / 0.6) 1px, transparent 1.5px); }

@media (max-width: 860px) {
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__art { order: 0; }
}

/* Mockups scale with their panel: every size below is in em, and the base font
   size follows the panel width. */
.service__art { font-size: clamp(6px, 2.3cqi, 13px); }
.mock { position: relative; background: #fff; border-radius: 0.9em; box-shadow: 0 1.6em 3.2em rgb(0 0 0 / 0.25); overflow: hidden; color: var(--ink); line-height: 1.3; }
.mock-browser__bar { display: flex; align-items: center; gap: 0.45em; height: 2.4em; padding: 0 0.9em; background: #edf1f5; border-bottom: 1px solid #dfe7ee; }
.mock-browser__bar i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #c9d3dc; }
.mock-browser__bar i:first-child { background: #ff6b6b; }
.mock-browser__bar i:nth-child(2) { background: #ffc629; }
.mock-browser__bar i:nth-child(3) { background: #3ddc97; }
.mock-browser__bar span { margin-left: 0.8em; flex: 1; max-width: 60%; padding: 0.25em 0.8em; border-radius: 999px; background: #fff; color: #8597a8; font-size: 0.75em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock small { display: block; color: #8597a8; font-size: 0.72em; }
.pill { display: inline-block; padding: 0.2em 0.7em; border-radius: 999px; font-size: 0.7em; font-weight: 700; }
.pill--ok { background: #dcf7ea; color: #127a4b; }
.pill--warn { background: #fff3cc; color: #8a6200; }

.mock-badge {
  position: absolute; right: 4%; bottom: 6%; display: flex; align-items: center; gap: 0.7em;
  padding: 0.8em 1.1em; border-radius: 0.9em; background: #fff; box-shadow: 0 1em 2em rgb(0 0 0 / 0.2); line-height: 1.25;
}
.mock-badge--left { right: auto; left: 4%; }
.mock-badge .icon { width: 2.2em; height: 2.2em; padding: 0.45em; border-radius: 50%; background: #dcf7ea; color: #127a4b; box-sizing: border-box; stroke-width: 3; }
.mock-badge strong { display: block; font-size: 0.9em; color: var(--ink); }
.mock-badge small { color: #5b6b7c; font-size: 0.75em; }

/* Web app dashboard */
.dash { display: grid; grid-template-columns: 3.4em 1fr; }
.dash__side { display: flex; flex-direction: column; align-items: center; gap: 0.9em; padding: 1em 0; background: var(--dark); }
.dash__logo { width: 1.6em; height: 1.6em; border-radius: 0.4em; background: var(--brand); margin-bottom: 0.6em; }
.dash__side i { width: 1.4em; height: 0.35em; border-radius: 1em; background: #2e4a63; }
.dash__side i.is-active { background: var(--brand); }
.dash__main { display: grid; gap: 0.8em; padding: 1em 1.1em 1.2em; background: #f6f9fb; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__head strong { font: 800 1.1em var(--font-head); }
.dash__avatar { width: 1.7em; height: 1.7em; border-radius: 50%; background: linear-gradient(135deg, var(--sun), #ff8a3d); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.dash__kpis > div, .dash__chart, .dash__table { background: #fff; border: 1px solid #e3eaf0; border-radius: 0.6em; padding: 0.6em 0.7em; }
.dash__kpis strong { display: block; font: 800 1.15em var(--font-head); margin: 0.15em 0; }
.dash__kpis em { font-style: normal; font-size: 0.65em; font-weight: 700; }
.dash__kpis .up { color: #127a4b; }
.dash__kpis .down { color: #b42318; }
.dash__chart svg { display: block; width: 100%; height: 5.5em; margin-top: 0.4em; }
.dash__table { padding: 0.3em 0.7em; }
.dash__table div { display: flex; justify-content: space-between; align-items: center; padding: 0.45em 0; font-size: 0.75em; }
.dash__table div + div { border-top: 1px solid #eef2f6; }
.dash__table .pill { font-size: 0.85em; }

/* Cross-platform: laptop + phone */
.xp { position: relative; padding: 0 0 14% 0; }
.xp__desktop { width: 84%; }
.appui { padding: 0.9em; background: #f6f9fb; display: grid; gap: 0.55em; }
.appui__top { display: flex; align-items: center; gap: 0.5em; }
.appui__top b { width: 1.3em; height: 1.3em; border-radius: 0.35em; background: var(--brand); }
.appui__top strong { font: 800 1em var(--font-head); flex: 1; }
.appui__btn { padding: 0.35em 0.8em; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: 0.72em; font-weight: 700; text-align: center; }
.appui__btn--full { display: block; padding: 0.7em; margin-top: 0.2em; }
.appui__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55em; }
.appui__card { position: relative; padding: 0.6em 0.7em 0.6em 1.6em; background: #fff; border: 1px solid #e3eaf0; border-radius: 0.6em; }
.appui__card b { display: block; font-size: 0.8em; }
.appui__card .dot { position: absolute; left: 0.65em; top: 0.85em; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--c); }
.appui--wide { padding-bottom: 2.4em; }
.xp__phone {
  position: absolute; right: 0; bottom: 12%; width: 34%;
  padding: 0.5em; border-radius: 1.8em; background: #0b1b2b; box-shadow: 0 1.6em 3.2em rgb(0 0 0 / 0.45);
}
.xp__phone .appui { border-radius: 1.4em; padding-top: 1.8em; font-size: 0.92em; }
.xp__notch { position: absolute; z-index: 1; left: 50%; top: 0.9em; width: 30%; height: 0.9em; transform: translateX(-50%); border-radius: 1em; background: #0b1b2b; }
.xp__chips { position: absolute; left: 0; bottom: 0; display: flex; gap: 0.5em; list-style: none; margin: 0; padding: 0; }
.xp__chips li { padding: 0.4em 0.9em; border-radius: 999px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.25); color: #fff; font-size: 0.8em; font-weight: 600; }

/* SharePoint intranet */
.sp__suite { display: flex; align-items: center; gap: 0.7em; height: 2.4em; padding: 0 0.9em; background: #075e66; color: #fff; font-size: 0.8em; font-weight: 600; }
.sp__waffle { display: grid; grid-template-columns: repeat(3, 0.28em); gap: 0.16em; }
.sp__waffle i { width: 0.28em; height: 0.28em; background: #fff; border-radius: 1px; }
.sp__site { display: flex; align-items: center; gap: 0.8em; padding: 1em 1.1em; border-bottom: 1px solid #e3eaf0; }
.sp__tile { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 0.5em; background: #13a3a8; color: #fff; font: 800 0.95em var(--font-head); }
.sp__site strong { display: block; font: 800 1.05em var(--font-head); }
.sp__body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.8em; padding: 1em 1.1em 1.3em; background: #f6f9fb; }
.sp__part { background: #fff; border: 1px solid #e3eaf0; border-radius: 0.6em; padding: 0.7em 0.8em; }
.sp__part > small { font-weight: 700; color: var(--ink); font-size: 0.78em; margin-bottom: 0.4em; }
.sp__doc { display: flex; align-items: center; gap: 0.55em; padding: 0.42em 0; font-size: 0.72em; }
.sp__doc + .sp__doc { border-top: 1px solid #eef2f6; }
.sp__doc i { width: 1.1em; height: 1.35em; border-radius: 0.2em; background: var(--c); flex: none; }
.sp__form { display: grid; gap: 0.45em; align-content: start; }
.sp__field { display: block; padding: 0.45em 0.6em; border: 1px solid #dfe7ee; border-radius: 0.35em; color: #a0aec0; font-size: 0.68em; }
.sp__submit { display: block; padding: 0.55em; border-radius: 0.35em; background: #13a3a8; color: #fff; font-size: 0.7em; font-weight: 700; text-align: center; }

/* Support conversation */
.chat { max-width: 88%; margin-left: auto; }
.chat__head { display: flex; justify-content: space-between; align-items: center; padding: 0.9em 1.1em; border-bottom: 1px solid #e3eaf0; }
.chat__head strong { font: 800 1em var(--font-head); }
.chat__body { display: grid; gap: 0.7em; padding: 1em 1.1em 1.3em; background: #f6f9fb; }
.chat__msg { max-width: 78%; }
.chat__msg p { margin: 0; padding: 0.6em 0.85em; border-radius: 0.9em; font-size: 0.8em; line-height: 1.4; }
.chat__msg small { margin-top: 0.3em; font-size: 0.62em; }
.chat__msg--them p { background: #fff; border: 1px solid #e3eaf0; border-bottom-left-radius: 0.2em; }
.chat__msg--us { justify-self: end; text-align: right; }
.chat__msg--us p { background: var(--brand); color: var(--ink); border-bottom-right-radius: 0.2em; text-align: left; }

/* ---------- How we work ---------- */

.process-band {
  background:
    radial-gradient(800px 400px at 100% 0%, rgb(255 255 255 / 0.25), transparent 70%),
    linear-gradient(135deg, #3cc4f2, #0db3ed 45%, #0a9fd6);
  color: var(--ink);
  overflow: hidden;
}
.process-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 0.35) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.process-band .container { position: relative; }
.process-band .eyebrow { color: var(--ink); opacity: 0.75; }
.process-band .section__head { margin-bottom: clamp(32px, 4vw, 48px); }

.process {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.process li {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 16px 40px rgb(11 27 43 / 0.14);
  transition: transform .2s, box-shadow .2s;
}
.process li:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgb(11 27 43 / 0.2); }
.process__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--dark); color: var(--brand);
}
.process__icon .icon { width: 24px; height: 24px; }
.process__num {
  position: absolute; top: 18px; right: 22px;
  font: 800 2.6rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px #bcd6e6; letter-spacing: -0.02em;
}
.process h3 { margin: 0 0 8px; font-size: 1.2rem; }
.process p { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }


/* ---------- Work ---------- */

.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work__item {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.work__item img { width: 104px; height: 104px; border-radius: 12px; object-fit: cover; }
.work__item h3 { margin: 0 0 4px; font-size: 1.15rem; }
.work__item h3 span { font: 500 0.95rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.work__item p { margin: 0 0 8px; font-size: 0.975rem; color: var(--muted); }
.work__item a { font-size: 0.9rem; font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .work__item { grid-template-columns: 72px 1fr; gap: 16px; } .work__item img { width: 72px; height: 72px; } }

/* ---------- Feature (FBA Pack) ---------- */

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature__copy > p:not(.eyebrow) { font-size: 1.075rem; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--brand); margin-top: 0.3em; stroke-width: 3; }
.browser { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); border: 1px solid rgb(255 255 255 / 0.1); }
.browser__bar { display: flex; gap: 6px; padding: 10px 14px; background: #e9eef3; }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c3cdd7; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Products page ---------- */

.products { display: grid; gap: 32px; }
.product {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper);
  box-shadow: var(--shadow);
}
.product > * { min-width: 0; }
.product__art { display: block; padding: 8%; border-radius: 18px; background: linear-gradient(140deg, #1d3b57, #0b1b2b); }
.product__art .browser { box-shadow: 0 24px 48px rgb(0 0 0 / 0.35); transition: transform .2s; }
.product__art:hover .browser { transform: translateY(-3px); }
.product__copy h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 12px 0 10px; }
.product__copy h2 a { color: inherit; text-decoration: none; }
.product__copy h2 a:hover { color: var(--brand-ink); }
.product__copy > p { color: var(--muted); font-size: 1.05rem; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

.products__custom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 32px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--tint); border: 1px solid var(--line);
}
.products__custom h2 { font-size: 1.4rem; margin-bottom: 6px; }
.products__custom p { margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
}
.price h3, .price h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.price__amount { font: 800 3rem/1 var(--font-head); color: var(--ink); margin: 0 0 8px; letter-spacing: -0.03em; }
.price__amount span { font-size: 0.5em; vertical-align: 0.75em; margin-right: 2px; }
.price__amount small { font: 500 1rem var(--font-body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price__note { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.price .btn { margin-top: auto; }
.price--featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgb(13 179 237 / 0.18); }
.price__flag {
  position: absolute; top: -13px; left: 28px; margin: 0;
  padding: 4px 12px; border-radius: 999px; background: var(--sun); color: var(--ink);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

.plan {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center;
  margin-top: 20px; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: var(--dark-text);
}
.plan h3 { color: #fff; font-size: 1.5rem; }
.plan .eyebrow { color: var(--brand); margin-bottom: 8px; }
.plan .checklist { margin: 16px 0 20px; }
.plan .link-arrow { color: var(--brand); }
.plan .link-arrow:hover { color: #fff; }
.plan__buy { text-align: center; padding: 28px; border-radius: 12px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); }
.plan__buy .price__amount { color: #fff; }
.plan__buy .price__amount small, .plan__buy .price__note { color: #9fb3c8; }
.plan__buy .btn { width: 100%; }
@media (max-width: 820px) { .plan { grid-template-columns: 1fr; padding: 24px; } }

.fineprint { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.075rem; }
.contact__details { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact__details li { display: flex; gap: 14px; align-items: flex-start; }
.contact__details .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--paper); color: var(--brand-ink); border: 1px solid var(--line); }
.contact__details a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__details a:hover { color: var(--brand-ink); }
.contact__details span, .contact__details > li > a { padding-top: 8px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--brand); box-shadow: 0 0 0 4px rgb(13 179 237 / 0.18); }
.cf-turnstile { margin-bottom: 8px; }
.contact-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-form__status { margin: 0; font-size: 0.95rem; font-weight: 500; }
.contact-form__status.is-success { color: #127a4b; }
.contact-form__status.is-error { color: #b42318; }

/* ---------- Inner pages ---------- */

.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(700px 300px at 90% 0%, rgb(13 179 237 / 0.14), transparent 70%),
    var(--tint);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 0.3em; }
.page-hero .lede { margin: 0; }
.page-body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.page-body--sidebar { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

.side-nav { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.95rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav > ul > li + li { margin-top: 2px; }
.side-nav a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; }
.side-nav a:hover { background: var(--tint); color: var(--ink); }
.side-nav a[aria-current] { background: var(--brand-soft); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.side-nav ul ul { margin: 2px 0 4px 12px; padding-left: 8px; border-left: 1px solid var(--line); font-size: 0.9rem; }
.side-nav .icon { color: var(--muted); }

@media (max-width: 860px) {
  .page-body--sidebar { grid-template-columns: 1fr; }
  .side-nav { position: static; order: 2; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
}

/* Long-form content */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin: 2em 0 0.6em; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose h4 { margin: 1.5em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brand-ink); }
.prose code, .prose kbd { font: 0.9em var(--font-mono); background: var(--tint); border: 1px solid var(--line); border-radius: 5px; padding: 0.1em 0.4em; word-break: break-word; }
.prose pre {
  margin: 0 0 1.4em; padding: 16px 20px; overflow-x: auto;
  background: var(--dark); color: #e2ebf3; border-radius: var(--radius-sm);
  font: 0.9rem/1.6 var(--font-mono);
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose dl { margin: 0 0 1.4em; }
.prose dt { font-weight: 700; color: var(--ink); margin-top: 1em; }
.prose dd { margin: 0.2em 0 0; color: var(--muted); }

.callout { display: flex; gap: 14px; padding: 18px 20px; margin: 0 0 1.4em; border-radius: var(--radius-sm); background: var(--brand-soft); border: 1px solid #c5ebf9; }
.callout > .icon { color: var(--brand-ink); margin-top: 0.25em; }
.callout p:last-child { margin-bottom: 0; }

.shot { margin: 0 0 2em; }
.shot a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; transition: box-shadow .2s; }
.shot a:hover { box-shadow: var(--shadow-lg); }
.shot--narrow a { display: inline-block; max-width: 420px; }
.shot figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 0 0 2em; }
.shots .shot { margin: 0; }

.downloads { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.downloads a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s;
}
.downloads a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.downloads small { display: block; font-weight: 400; color: var(--muted); }
.downloads .icon { color: var(--brand-ink); }

.release { border-left: 2px solid var(--line); padding-left: 24px; margin-left: 6px; position: relative; }
.release::before { content: ""; position: absolute; left: -7px; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.release h2 { margin-top: 0 !important; font-size: 1.35rem !important; }
.release + .release { margin-top: 0; padding-top: 1.5em; }
.release + .release::before { top: calc(1.5em + 0.55em); }

.buy-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; margin: 2em 0; border: 2px solid var(--brand); border-radius: var(--radius); }
.buy-box .price__amount { margin: 0; }
.buy-box p { margin: 0; color: var(--muted); }

/* ---------- Lightbox ---------- */

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgb(11 27 43 / 0.85); }
.lightbox img { max-height: 92vh; width: auto; border-radius: var(--radius-sm); }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: var(--dark-text); padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer__brand img { width: 112px; margin-bottom: 16px; }
.site-footer__brand p { max-width: 28ch; color: #9fb3c8; }
.site-footer__heading { font: 700 0.8rem var(--font-body); color: #fff; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.875rem; color: #9fb3c8; }
.site-footer__legal p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Work: project tags and monogram tiles ---------- */

.work__mark {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 12px;
  background: linear-gradient(135deg, var(--dark), #1d3b57); color: #fff;
  font: 800 2rem var(--font-head); letter-spacing: -0.02em;
}
@media (max-width: 420px) { .work__mark { width: 72px; height: 72px; font-size: 1.5rem; } }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink-2); font-size: 0.8rem; font-weight: 500; }
