/* LitWebTech site stylesheet, October 2026 rebuild. Dark, one file, no framework. */

:root {
  --bg: #0b0e14;
  --bg-2: #0f141c;
  --surface: #121823;
  --surface-2: #19212e;
  --line: #243040;
  --line-2: #33415a;
  --ink: #e8eef6;
  --ink-2: #aab6c6;
  --ink-3: #7c8aa0;
  --brand: #00a0e0;
  --cyan: #3ddcff;
  --cyan-soft: rgba(61, 220, 255, .12);
  --magenta: #ff4fd8;
  --magenta-soft: rgba(255, 79, 216, .12);
  --ok: #3fe09a;
  --danger: #ff6b6b;
  --whatsapp: #25d366;
  --radius: 14px;
  --radius-sm: 8px;
  --glow: 0 0 0 1px rgba(61, 220, 255, .22), 0 24px 60px -24px rgba(0, 160, 224, .45);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 16px 40px -24px rgba(0,0,0,.8);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 160, 224, .18), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(255, 79, 216, .10), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* faint grid over the page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25) 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25) 40%, transparent 85%);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(61, 220, 255, .35); color: #fff; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 .6em;
  color: #fff;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.measure { max-width: 64ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9375rem; }
.grad { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); border-radius: 2px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: rgba(18, 24, 35, .6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.section--navy { background: linear-gradient(180deg, #0e1522, #0b0f17); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.section--navy::before { content: ""; position: absolute; inset: -40% -10% auto; height: 80%; background: radial-gradient(600px 300px at 70% 50%, rgba(0,160,224,.22), transparent 70%); pointer-events: none; }
.section--navy > * { position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-2); font-size: 1.125rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 10px;
  font: 600 .9875rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--cyan); color: #04131a; box-shadow: 0 0 0 1px rgba(61,220,255,.4), 0 8px 30px -8px rgba(61,220,255,.6); }
.btn--primary:hover { background: #7ae8ff; color: #04131a; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(61,220,255,.6), 0 12px 36px -8px rgba(61,220,255,.8); }
.btn--brand { background: var(--cyan); color: #04131a; box-shadow: 0 0 0 1px rgba(61,220,255,.4), 0 8px 30px -8px rgba(61,220,255,.6); }
.btn--brand:hover { background: #7ae8ff; color: #04131a; }
.btn--ghost { background: rgba(255,255,255,.02); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 1px rgba(61,220,255,.25); }
.btn--whatsapp { background: var(--whatsapp); color: #04130a; }
.btn--whatsapp:hover { background: #3ae07a; color: #04130a; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-mono); font-size: .9rem; }
.text-link::after { content: "\2192"; transition: transform .18s; }
.text-link:hover::after { transform: translateX(3px); }

/* Header */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--cyan); color: #04131a; padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11, 14, 20, .78); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(61,220,255,.6), rgba(255,79,216,.5), transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.nav-links { display: none; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: .5rem .8rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 8px 8px 0 0; }
.nav-links .nav-cta { margin-left: .5rem; }
.nav-links a.btn { color: #04131a; }
.nav-links a.btn:hover { background: #7ae8ff; color: #04131a; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }
.nav-drawer { display: none; border-top: 1px solid var(--line); background: var(--bg-2); }
.nav-drawer.is-open { display: block; }
.nav-drawer ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.nav-drawer a { display: block; padding: .85rem 0; font-size: 1.125rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-drawer a.btn { margin-top: 1rem; width: 100%; color: #04131a; border-bottom: 0; font-size: 1rem; display: inline-flex; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-drawer { display: none !important; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); position: relative; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.hero h1 { margin-bottom: 1.1rem; max-width: 14em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.75rem; color: var(--ink-3); font-size: .875rem; font-family: var(--font-mono); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--cyan); }

/* Illustrative system cards in the hero */
.illus { position: relative; display: grid; gap: .9rem; }
.illus-note { position: absolute; top: -1.6rem; right: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ui-card {
  background: linear-gradient(180deg, rgba(25,33,46,.95), rgba(18,24,35,.95)); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--glow); padding: 1rem 1.1rem; font-size: .9rem; position: relative; overflow: hidden;
}
.ui-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: .9; }
.ui-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.ui-card__title { font-weight: 600; color: #fff; }
.ui-card__tag { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); background: var(--cyan-soft); padding: .25rem .5rem; border-radius: 999px; border: 1px solid rgba(61,220,255,.3); white-space: nowrap; }
.ui-rows { display: grid; gap: .35rem; }
.ui-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.ui-row:first-child { border-top: 0; }
.ui-row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row b { color: #fff; font-weight: 600; font-family: var(--font-mono); font-size: .85rem; }
.ui-row .ok { color: var(--ok); }
.ui-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); margin-top: .4rem; padding-top: .5rem; font-weight: 600; color: #fff; font-family: var(--font-mono); font-size: .9rem; }
.ui-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: .6rem; }
.ui-bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--cyan), var(--magenta)); border-radius: 999px; box-shadow: 0 0 12px rgba(61,220,255,.6); }
.ui-sms { display: flex; gap: .7rem; align-items: flex-start; }
.ui-sms__avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--cyan-soft); border: 1px solid rgba(61,220,255,.4); color: var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: .7rem; font-family: var(--font-mono); }
.ui-sms__bubble { background: var(--surface-2); border-radius: 12px 12px 12px 4px; padding: .6rem .8rem; color: var(--ink-2); line-height: 1.45; }
.ui-sms__bubble small { display: block; color: var(--ink-3); margin-top: .3rem; font-family: var(--font-mono); font-size: .72rem; }
@media (min-width: 600px) and (max-width: 959px), (min-width: 1200px) {
  .illus { grid-template-columns: 1fr 1fr; }
  .illus .ui-card:first-child { grid-column: 1 / -1; }
}

/* Logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: center; }
@media (min-width: 560px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-wall li { list-style: none; display: grid; place-items: center; background: #f3f5f8; border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 84px; padding: .75rem 1rem; transition: box-shadow .18s, border-color .18s; }
.logo-wall li:hover { border-color: rgba(61,220,255,.6); box-shadow: 0 0 24px -6px rgba(61,220,255,.5); }
.logo-wall img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .18s, opacity .18s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall--compact li { min-height: 64px; }
ul.logo-wall { padding: 0; margin: 0; }

/* Cards and grids */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; gap: .5rem; position: relative; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: 0; transition: opacity .18s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--glow); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .25rem; }
.card p { color: var(--ink-2); margin: 0; }
.card .text-link { margin-top: auto; padding-top: .75rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-soft); border: 1px solid rgba(61,220,255,.25); color: var(--cyan); display: grid; place-items: center; margin-bottom: .5rem; }
.card-icon svg { width: 22px; height: 22px; }
.check-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; color: var(--ink-2); }
.check-list li { position: relative; padding-left: 1.5rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddcff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l4.5 4.5L19 7'/></svg>") center / 9px no-repeat;
}

/* Capability chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: .4rem .65rem; }
.chips li::before { content: "> "; color: var(--magenta); }

/* Work / case cards */
.work-list { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .work-list { grid-template-columns: repeat(3, 1fr); } }
.work-list--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .work-list--2 { grid-template-columns: repeat(2, 1fr); } }
.work {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.work:hover { border-color: var(--line-2); box-shadow: var(--glow); transform: translateY(-2px); }
.work__band { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg-2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.work__band img { max-height: 36px; width: auto; background: #f3f5f8; padding: .35rem .6rem; border-radius: 6px; }
.work__band strong { font-family: var(--font-display); font-weight: 600; color: #fff; }
.work__band span { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.work__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.work__body p { color: var(--ink-2); margin: 0; }
.work__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.work__tags li { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .25rem .55rem; }
.work__links { margin-top: auto; padding-top: 1rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.work--feature { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .work--feature { display: grid; grid-template-columns: 1fr 1.6fr; }
  .work--feature .work__band { border-bottom: 0; border-right: 1px solid var(--line); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.25rem; padding: 2rem; }
  .work--feature .work__band img { max-height: 52px; }
  .work--feature .work__body { padding: 2rem; }
}
.work-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.work-group:first-child { margin-top: 0; }
.work-group > h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.work-group > h2::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, var(--cyan), var(--magenta)); box-shadow: 0 0 12px rgba(61,220,255,.6); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--wide { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .85rem; letter-spacing: .12em; color: var(--magenta); display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Split section */
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split--narrow-left { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--narrow-left { grid-template-columns: .8fr 1.2fr; } }
.facts { display: grid; gap: .25rem; margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: .85rem; font-family: var(--font-mono); letter-spacing: .04em; }
.facts dd { margin: 0; color: var(--ink); }

/* Terminal block */
.term { background: #090c12; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--glow); font-family: var(--font-mono); font-size: .85rem; line-height: 1.7; color: var(--ink-2); overflow: hidden; }
.term__bar { display: flex; gap: .4rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term__bar i:nth-child(1) { background: #ff5f57; } .term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term pre { margin: 0; padding: 1rem 1.1rem; white-space: pre-wrap; word-break: break-word; }
.term .k { color: var(--cyan); } .term .m { color: var(--magenta); } .term .g { color: var(--ok); } .term .d { color: var(--ink-3); }

/* Prose pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--ink-2); }
.prose li { margin-bottom: .35rem; }
.prose p { color: var(--ink-2); }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.page-head h1 { max-width: 16em; }
.breadcrumb { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb span { margin-inline: .4rem; color: var(--magenta); }

/* FAQ */
.faq { display: grid; gap: .5rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 600; min-height: 48px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--cyan); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; color: var(--magenta); }
.faq details p { color: var(--ink-2); padding-bottom: 1rem; margin: 0; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.field--check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: .9rem 1rem; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: rgba(63,224,154,.12); color: var(--ok); border: 1px solid rgba(63,224,154,.35); }
.form-status.is-error { display: block; background: rgba(255,107,107,.12); color: var(--danger); border: 1px solid rgba(255,107,107,.35); }
.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-aside .card { gap: .25rem; }
.contact-aside .card a { text-decoration: none; font-weight: 600; color: #fff; font-size: 1.125rem; }
.contact-aside .card a:hover { color: var(--cyan); }

/* CTA band */
.cta-band { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { max-width: 14em; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* Footer */
.site-footer { background: #080b10; color: var(--ink-3); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .9375rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand img { height: 32px; }
.footer-blurb { max-width: 32ch; margin-top: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; }
.footer-legal button:hover { color: #fff; text-decoration: underline; }

/* Consent bar */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1500; max-width: 520px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--glow), 0 20px 60px -20px rgba(0,0,0,.8);
  padding: 1.1rem 1.25rem; display: none; font-size: .9375rem;
}
.consent.is-open { display: block; }
.consent p { margin: 0 0 .85rem; color: var(--ink-2); }
.consent .btn-row { gap: .5rem; }
@media (min-width: 720px) { .consent { left: auto; right: 1.25rem; bottom: 1.25rem; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1400; width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp); color: #04130a; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(37,211,102,.5), 0 10px 30px -8px rgba(37,211,102,.7);
  text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #3ae07a; color: #04130a; }
body.consent-open .wa-float { display: none; }

/* Utilities */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--magenta); padding: .9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); font-size: .9875rem; }
@media print { .site-header, .site-footer, .wa-float, .consent { display: none !important; } body { background: #fff; color: #000; } }

/* Hero system map */
.sysmap { position: relative; }
.sysmap__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mod { background: linear-gradient(180deg, rgba(25,33,46,.95), rgba(18,24,35,.95)); border: 1px solid var(--line-2); border-radius: 12px; padding: .8rem .85rem; min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; position: relative; transition: border-color .18s, box-shadow .18s, transform .18s; }
.mod b { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .95rem; letter-spacing: -.01em; }
.mod span { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); letter-spacing: .02em; }
.mod::after { content: ""; position: absolute; top: .55rem; right: .6rem; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.mod:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-2px); }
.mod--core { background: linear-gradient(135deg, rgba(61,220,255,.18), rgba(255,79,216,.14)), var(--surface); border-color: rgba(61,220,255,.55); box-shadow: var(--glow); }
.mod--core b { background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.05rem; }
.mod--core::after { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.sysmap__wires { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.sysmap__wires li { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px dashed rgba(61,220,255,.4); border-radius: 999px; padding: .25rem .6rem; }
.sysmap__wires li::before { content: "\2192 "; color: var(--magenta); }
.why-custom .card h3 { font-size: 1.1rem; }
.why-custom .card p { font-size: .975rem; }
@media (max-width: 420px) { .mod { min-height: 74px; padding: .6rem .65rem; } .mod span { display: none; } }

/* Legal tables */
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: .5rem 0 1.25rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); color: var(--ink-2); }
.prose th { color: #fff; background: var(--surface); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
