/* ==========================================================================
   LUSYS Technologies — site stylesheet
   Structure:
     1. Fonts & tokens
     2. Base & accessibility
     3. Layout helpers & buttons
     4. Header / navigation
     5. Hero + sample reconciliation panel
     6. Sections (value, services, solutions, payments, security, CTA, about, contact)
     7. Footer
     8. Secondary pages (privacy, 404, form response)
     9. Responsive
    10. Reduced motion
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --abyss: #07101F;        /* near-black navy: hero, payments, footer */
  --harbor: #0E1A33;       /* dark panels */
  --steel: #22335A;        /* borders on dark */
  --ink: #0B1426;          /* headings on light */
  --slate: #46546B;        /* body text on light (7.4:1 on white) */
  --slate-2: #5E6C84;      /* secondary text on light (5.4:1 on white) */
  --line: #DCE3EE;         /* borders on light */
  --mist: #F3F6FA;         /* alternate light sections */
  --white: #FFFFFF;
  --signal: #2563FF;       /* electric blue: buttons, links */
  --signal-hover: #1A4FE0;
  --signal-tint: #EAF0FF;
  --cyan: #3DD9F5;         /* accent on dark only */
  --amber: #F5B84B;        /* "needs review" status */
  --on-dark: #E3EAF5;
  --on-dark-muted: #A3B1C8;
  --success-bg: #E8F6EE; --success-fg: #11643A;
  --error-bg: #FDECEE;   --error-fg: #A01D32;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wide: 116%;            /* semi-expanded width for headlines */

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
  --r-sm: 8px;             /* buttons, inputs */
  --r-md: 14px;            /* cards */
  --r-lg: 18px;            /* feature panels */
}

/* 2. Base & accessibility -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  font-stretch: var(--wide);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); }
h3 { font-size: 1.3125rem; line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; font-stretch: 108%; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--signal); text-underline-offset: 0.18em; }
a:hover { color: var(--signal-hover); }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

strong { color: var(--ink); font-weight: 600; }

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 60ch;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--cyan); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }

/* 3. Layout helpers & buttons --------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* Vertical rhythm for every major section lives here, and only here. */
.section { padding-block: clamp(72px, 9vw, 120px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }

.kicker {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--signal);
}
.on-dark .kicker { color: var(--cyan); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--signal-hover); color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-outline { color: var(--ink); border-color: #BCC7D8; background: var(--white); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Checkmark list used in cards */
.ticks {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink);
}
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

/* 4. Header / navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 31, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .09); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}
.brand-sub {
  margin-left: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.01em;
  color: var(--on-dark-muted);
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  color: var(--on-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav ul a:hover { color: var(--white); text-decoration: underline; }

.nav-toggle {
  display: none; /* shown on small screens once JS is running (see .js-nav) */
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
  background-color: var(--abyss);
  color: var(--on-dark-muted);
}
/* Faint ledger dot-grid, fading out toward the copy side */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163, 177, 200, .16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.brand-lines-wrap { overflow: hidden; margin-bottom: 28px; }
.brand-lines {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  margin: 0 0 0 -29px; /* = separator width + side margins, hides each line's leading separator */
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cyan);
}
.brand-lines li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin: 0 14px;
  vertical-align: -0.12em;
  background: rgba(61, 217, 245, .45);
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.5rem, 1.3rem + 3.9vw, 4.125rem);
  font-weight: 700;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.hero-lead {
  max-width: 46ch;
  margin-bottom: 36px;
  color: var(--on-dark);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
}

/* Sample reconciliation panel */
.recon {
  margin: 0;
  padding: 18px 18px 16px;
  color: var(--on-dark);
  background: var(--harbor);
  border: 1px solid var(--steel);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.recon-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 2px 6px 14px;
  border-bottom: 1px solid var(--steel);
}
.recon-title { margin: 0; color: var(--white); font-weight: 600; font-size: 1rem; }
.recon-sub { margin: 2px 0 0; font-size: 0.8125rem; color: var(--on-dark-muted); }
.recon-tag {
  flex: none;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--on-dark-muted);
  border: 1px solid var(--steel);
  border-radius: 999px;
  white-space: nowrap;
}
.recon-scroll { overflow-x: auto; }
.recon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.recon-table th {
  padding: 12px 6px 8px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}
.recon-table td {
  padding: 11px 6px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap;
}
.recon-table tr.is-flagged { animation: flag-row .5s ease forwards; animation-delay: 1.5s; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 0.8125rem; }

/* Status cells: "Checking" and the result share one grid cell and cross-fade once. */
.status { display: inline-grid; }
.status > span { grid-area: 1 / 1; }
.status-pending {
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  animation: status-out .25s ease forwards;
}
.status-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  animation: status-in .35s ease forwards;
}
.is-ok { color: var(--cyan); }
.is-flag { color: var(--amber); }

.recon-table tbody tr:nth-child(1) .status > span { animation-delay: .7s; }
.recon-table tbody tr:nth-child(2) .status > span { animation-delay: 1.0s; }
.recon-table tbody tr:nth-child(3) .status > span { animation-delay: 1.3s; }
.recon-table tbody tr:nth-child(4) .status > span { animation-delay: 1.6s; }
.recon-table tbody tr:nth-child(5) .status > span { animation-delay: 1.9s; }

.recon-foot {
  padding: 14px 6px 0;
  border-top: 1px solid var(--steel);
  font-size: 0.8125rem;
}
.recon-foot .status > span { animation-delay: 2.3s; }
.recon-summary { font-weight: 500; color: var(--on-dark); }

@keyframes status-out { to { opacity: 0; } }
@keyframes status-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes flag-row { to { background-color: rgba(245, 184, 75, .07); } }

/* 6a. Value ---------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
}
.value-grid h2 { margin: 0; max-width: 14ch; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.pillar { padding: 28px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar h3 { margin-bottom: 10px; font-size: 1.25rem; }
.pillar p { font-size: 1rem; }

/* 6b. Services ------------------------------------------------------------- */
.services { background: var(--mist); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--signal);
  background: var(--signal-tint);
  border-radius: 10px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card > p { font-size: 1rem; }
.service-card .ticks { margin: 6px 0 24px; }

.addon {
  margin: -4px 0 24px;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  background: var(--mist);
  border-radius: 10px;
}

.service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price {
  margin: 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.15;
}
.price small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--slate-2);
}
.price-lg { font-size: 2rem; }
.card-link { font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Payments card inverts to tie into the dark specialty section */
.service-card--dark { background: var(--abyss); border-color: var(--abyss); color: var(--on-dark-muted); }
.service-card--dark h3, .service-card--dark .price { color: var(--white); }
.service-card--dark .service-icon { color: var(--cyan); background: rgba(61, 217, 245, .1); }
.service-card--dark .ticks { color: var(--on-dark); }
.service-card--dark .ticks li::before { border-color: var(--cyan); }
.service-card--dark .service-foot { border-top-color: var(--steel); }
.service-card--dark .price small { color: var(--on-dark-muted); }
.service-card--dark .card-link { color: var(--cyan); }

.pricing-note { max-width: 72ch; margin-top: 28px; font-size: 0.9375rem; color: var(--slate-2); }

/* 6c. Solutions ------------------------------------------------------------ */
.problem-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px clamp(24px, 5vw, 72px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.problem-quote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.5625rem);
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-indent: -0.42em;
}
.problem-fix { margin: 0; max-width: 56ch; font-size: 1rem; }

.process-wrap { margin-top: clamp(64px, 8vw, 104px); }
.process-title { margin-bottom: 28px; font-size: 1.5rem; }
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process li {
  counter-increment: step;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.process li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 125%;
  font-variant-numeric: tabular-nums;
}
.process h4 { margin-bottom: 6px; }
.process p { font-size: 0.9375rem; }

/* 6d. Payments specialty (dark) ------------------------------------------- */
.payments { background: var(--abyss); color: var(--on-dark-muted); }
.payments h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 1.9vw, 2.75rem); }
.payments .lead { color: var(--on-dark); }
.payments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.payments-foot {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--steel);
}
.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--on-dark);
}
.areas li { position: relative; padding-left: 18px; }
.areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--cyan);
  border-radius: 1px;
}
.payments-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
}
.fine-print {
  flex: 1 1 360px;
  max-width: 72ch;
  margin: 0;
  padding-left: 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
  border-left: 2px solid var(--steel);
}

.spec {
  margin: 0;
  overflow: hidden;
  background: var(--harbor);
  border: 1px solid var(--steel);
  border-radius: var(--r-lg);
}
.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--steel);
}
.spec-file { font-family: var(--mono); font-size: 0.8125rem; color: var(--on-dark); }
.spec-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.spec-table th {
  padding: 12px 18px 8px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  white-space: nowrap;
}
.spec-table td {
  padding: 11px 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--on-dark-muted);
  white-space: nowrap;
}
.spec-table td:first-child { font-family: var(--mono); font-size: 0.8125rem; color: var(--cyan); }
.spec-table td:nth-child(2) { color: var(--white); }
.spec-out {
  padding: 16px 18px 18px;
  overflow-x: auto;
  background: rgba(0, 0, 0, .22);
  border-top: 1px solid var(--steel);
}
.spec-out-label { margin-bottom: 6px; font-size: 0.75rem; color: var(--on-dark-muted); }
.spec-out code {
  display: block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--on-dark);
  white-space: pre;
}
.spec-caption {
  padding: 14px 18px;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
  border-top: 1px solid var(--steel);
}

/* 6e. Security awareness --------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.workshop-title {
  margin: clamp(36px, 4vw, 48px) 0 24px;
  padding-top: 24px;
  font-size: 1.375rem;
  border-top: 1px solid var(--line);
}
.topic-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.topic-group h4 { margin-bottom: 10px; font-size: 1rem; }
.topic-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.topic-group li { position: relative; padding-left: 14px; }
.topic-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.workshop-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -32px rgba(11, 20, 38, .28);
}
.workshop-card h3 { margin-bottom: 18px; font-size: 1.125rem; }
.workshop-price { margin: 26px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.workshop-note { margin-top: 10px; font-size: 0.875rem; color: var(--slate-2); }

/* 6f. Website / reporting CTA --------------------------------------------- */
.cta-band { background: var(--mist); }
.cta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cta-title { margin-bottom: 14px; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); max-width: 22ch; }
.cta-panel p { max-width: 48ch; margin-bottom: 26px; }
.cta-panel .btn { margin-top: auto; }

/* 6g. About ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.founder {
  padding: clamp(28px, 3.5vw, 40px);
  color: var(--on-dark-muted);
  background: var(--abyss);
  border-radius: var(--r-lg);
}
.founder-monogram,
.founder-photo {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  border-radius: 14px;
}
.founder-photo { object-fit: cover; }
.founder-monogram {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--harbor);
  border: 1px solid var(--steel);
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.02em;
}
.founder-name { margin: 0; color: var(--white); font-size: 1.375rem; font-weight: 700; font-stretch: var(--wide); }
.founder-role { margin: 2px 0 0; }
.founder-lang { margin-top: 10px; color: var(--cyan); font-weight: 600; font-size: 0.9375rem; }
.founder-list-title {
  margin: 28px 0 14px;
  padding-top: 22px;
  color: var(--white);
  font-size: 1rem;
  border-top: 1px solid var(--steel);
}
.founder-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--on-dark);
}
.founder-list li { position: relative; padding-left: 16px; }
.founder-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
}
.about-copy { padding-top: clamp(0px, 2vw, 24px); }
.about-copy p:not(.lead) { max-width: 62ch; }
.about-copy .btn { margin-top: 14px; }

/* Testimonials (hidden until real quotes exist) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-md); }
.testimonial blockquote { margin: 0 0 16px; color: var(--ink); font-size: 1.125rem; }
.testimonial figcaption { font-size: 0.875rem; color: var(--slate-2); }

/* 6h. Contact -------------------------------------------------------------- */
.contact { background: var(--mist); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-copy h2 { max-width: 14ch; }
.contact-details { display: grid; gap: 20px; margin: 36px 0 0; }
.contact-details div { padding-top: 16px; border-top: 1px solid var(--line); }
.contact-details dt { margin-bottom: 2px; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.contact-details dd { margin: 0; font-size: 0.9375rem; }

.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.optional { color: var(--slate-2); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #7A879C;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2346546B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #64748B; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(37, 99, 255, .22);
}
.field [aria-invalid="true"] { border-color: var(--error-fg); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(160, 29, 50, .18); }
.field-help { margin: 0; font-size: 0.8125rem; color: var(--slate-2); }
.field-error { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--error-fg); }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 10px;
}
.form-status:focus { outline: none; }
.form-status.is-success { color: var(--success-fg); background: var(--success-bg); border: 1px solid #BFE5CF; }
.form-status.is-error { color: var(--error-fg); background: var(--error-bg); border: 1px solid #F3C3CB; }
.form-privacy { margin: 0; font-size: 0.8125rem; color: var(--slate-2); }

/* 7. Footer ---------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(56px, 7vw, 80px) 32px;
  color: var(--on-dark-muted);
  background: var(--abyss);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { max-width: 34ch; margin-top: 18px; }
.footer-heading { margin-bottom: 14px; color: var(--white); font-size: 0.9375rem; font-stretch: 108%; }
.footer-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a:not(.brand) { color: var(--on-dark); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
  padding-top: 24px;
  font-size: 0.8125rem;
  border-top: 1px solid var(--steel);
}
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 60ch; }

/* 8. Secondary pages ------------------------------------------------------- */
.page-hero {
  padding-block: clamp(56px, 7vw, 88px);
  color: var(--on-dark-muted);
  background: var(--abyss);
}
.page-hero h1 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  font-stretch: 118%;
  letter-spacing: -0.025em;
}
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

.response-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--mist);
}
.response-card {
  width: min(100%, 560px);
  padding: clamp(28px, 5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.response-card .brand { margin-bottom: 28px; color: var(--ink); }
.response-card .brand-sub { color: var(--slate-2); }
.response-card h1 { font-size: 1.75rem; }
.response-card ul { padding-left: 1.2em; }
.response-card .btn { margin-top: 12px; }

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero-grid,
  .payments-grid,
  .security-grid,
  .about-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .recon { max-width: 640px; }
  .workshop-card { position: static; }
  .value-grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .spec { max-width: 640px; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { max-width: 640px; }
}

/* Mobile navigation (only applied once JS adds .js-nav; without JS the links wrap below the logo) */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .site-nav { flex-wrap: wrap; gap: 12px 20px; }
  .site-nav ul { flex-wrap: wrap; gap: 8px 20px; }

  .js-nav .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .js-nav .nav-toggle { display: inline-flex; }
  .js-nav .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px var(--gutter) 24px;
    background: var(--abyss);
    border-bottom: 1px solid var(--steel);
  }
  .js-nav .site-nav.is-open { display: flex; }
  .js-nav .site-nav ul { flex-direction: column; gap: 0; }
  .js-nav .site-nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .js-nav .site-nav .btn { width: 100%; min-height: 50px; }
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar:last-child { padding-bottom: 0; }
  .problem { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .topic-groups { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cta-pair { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .spec-table th, .spec-table td { padding-inline: 12px; white-space: normal; }
  .spec-table td:first-child { white-space: nowrap; }
  .service-card { padding: 24px 22px 22px; }
  .process { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-sub { display: none; }
  .recon { padding: 14px 12px 14px; }
  .recon-table td:nth-child(2), .recon-table th:nth-child(2) { max-width: 128px; overflow: hidden; text-overflow: ellipsis; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .recon-table td:first-child, .recon-table th:first-child { display: none; }
}

/* 10. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Consistent launch logo, including the full name on phones. */
.brand { flex: 0 1 auto; min-width: 0; }
.brand-logo { width: 196px; height: auto; flex: none; }
.site-footer .brand-logo { width: 220px; }
.contact-details a, .footer-col a { overflow-wrap: anywhere; }
.field select { min-width: 0; text-overflow: ellipsis; }
.site-header :focus-visible { outline-color: var(--cyan); }
@media (max-width: 900px) {
  .site-header:not(.js-nav) { position: static; }
  .js-nav .site-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .brand-logo { width: 164px; }
  .nav-toggle { padding-inline: 10px; }
}
