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

:root {
  --bg: #080b11;
  --bg-2: #0c1018;
  --surface: #10151f;
  --surface-2: #161d2a;
  --line: #212a3a;
  --line-2: #33405a;
  --ink: #eef1f6;
  --ink-2: #aab3c2;
  --ink-3: #7d8798;
  --gold: #f2c75c;
  --gold-hi: #ffe7a3;
  --gold-deep: #dba93a;
  --gold-ink: #1a1304;
  --gold-soft: rgba(242, 199, 92, .11);
  --gold-line: rgba(242, 199, 92, .38);
  --grad-gold: linear-gradient(135deg, #ffe7a3 0%, #f2c75c 45%, #dba93a 100%);
  --blue: #8fb4ff;
  --blue-soft: rgba(143, 180, 255, .12);
  --ok: #3fe09a;
  --danger: #ff8a84;
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --glow: 0 0 0 1px rgba(242, 199, 92, .22), 0 24px 60px -28px rgba(219, 169, 58, .5);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 44px -28px rgba(0,0,0,.9);
  --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: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --nav-h: 74px;
  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(1100px 560px at 85% -12%, rgba(242, 199, 92, .13), transparent 62%),
    radial-gradient(900px 600px at -12% 18%, rgba(88, 120, 200, .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(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(242, 199, 92, .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(--gold), var(--gold-hi)); -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(--gold); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); 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(219,169,58,.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(--gold); color: #1a1304; box-shadow: 0 0 0 1px rgba(242,199,92,.4), 0 8px 30px -8px rgba(242,199,92,.6); }
.btn--primary:hover { background: #ffe7a3; color: #1a1304; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(242,199,92,.6), 0 12px 36px -8px rgba(242,199,92,.8); }
.btn--brand { background: var(--gold); color: #1a1304; box-shadow: 0 0 0 1px rgba(242,199,92,.4), 0 8px 30px -8px rgba(242,199,92,.6); }
.btn--brand:hover { background: #ffe7a3; color: #1a1304; }
.btn--ghost { background: rgba(255,255,255,.02); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold); color: #fff; box-shadow: 0 0 0 1px rgba(242,199,92,.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(--gold); color: #1a1304; 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(242,199,92,.6), rgba(255,231,163,.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(--gold); border-radius: 8px 8px 0 0; }
.nav-links .nav-cta { margin-left: .5rem; }
.nav-links a.btn { color: #1a1304; }
.nav-links a.btn:hover { background: #ffe7a3; color: #1a1304; }
.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: #1a1304; border-bottom: 0; font-size: 1rem; display: inline-flex; }
@media (min-width: 1020px) {
  .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(--gold), var(--gold-hi)); -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(--gold); }

/* 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(--gold), var(--gold-hi)); 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(--gold); background: var(--gold-soft); padding: .25rem .5rem; border-radius: 999px; border: 1px solid rgba(242,199,92,.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(--gold), var(--gold-hi)); border-radius: 999px; box-shadow: 0 0 12px rgba(242,199,92,.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(--gold-soft); border: 1px solid rgba(242,199,92,.4); color: var(--gold); 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(242,199,92,.6); box-shadow: 0 0 24px -6px rgba(242,199,92,.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(--gold), var(--gold-hi)); 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(--gold-soft); border: 1px solid rgba(242,199,92,.25); color: var(--gold); 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(--gold-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2c75c' 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(--gold-hi); }

/* 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(--gold); 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(--gold), var(--gold-hi)); box-shadow: 0 0 12px rgba(242,199,92,.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(--gold-hi); 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: #06080d; 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(--gold); } .term .m { color: var(--gold-hi); } .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(--gold-hi); }

/* 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(--gold); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; color: var(--gold-hi); }
.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(--gold); box-shadow: 0 0 0 3px var(--gold-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(--gold); }
.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(--gold); }

/* 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(--gold); 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(--gold-hi); 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(--gold); box-shadow: var(--glow); transform: translateY(-2px); }
.mod--core { background: linear-gradient(135deg, rgba(242,199,92,.18), rgba(255,231,163,.14)), var(--surface); border-color: rgba(242,199,92,.55); box-shadow: var(--glow); }
.mod--core b { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.05rem; }
.mod--core::after { background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); }
.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(--gold); border: 1px dashed rgba(242,199,92,.4); border-radius: 999px; padding: .25rem .6rem; }
.sysmap__wires li::before { content: "\2192 "; color: var(--gold-hi); }
.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; }


/* ===================== November 2026: AI-forward layer, agent, guides ===================== */

/* Motion: reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Ambient light behind the page */
.fx-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .5; z-index: 0; animation: orb 18s ease-in-out infinite alternate; }
.fx-orb--a { width: 420px; height: 420px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(242,199,92,.35), transparent 65%); }
.fx-orb--b { width: 360px; height: 360px; left: -120px; bottom: -120px; background: radial-gradient(circle, rgba(255,231,163,.22), transparent 65%); animation-delay: -6s; }
@keyframes orb { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-30px,24px,0) scale(1.12); } }
.hero { overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid > *, .split > *, .duty > * { min-width: 0; }
.sysmap, .console { min-width: 0; max-width: 100%; }

/* Status pill in the header */
.status-pill { text-decoration: none; display: none; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .7rem; background: rgba(18,24,35,.7); white-space: nowrap; cursor: pointer; }
.status-pill:hover { border-color: var(--gold); color: #fff; }
.status-pill b { color: var(--ok); font-weight: 500; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(63,224,154,.6); animation: pulse 2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,224,154,.55); } 70% { box-shadow: 0 0 0 9px rgba(63,224,154,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,154,0); } }
@media (min-width: 1180px) { .status-pill { display: inline-flex; } }

/* Hero: agent console over the module map */
.console { background: #06080d; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--glow); overflow: hidden; margin-bottom: .9rem; }
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); background: var(--surface); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.console__bar span:last-child { display: inline-flex; align-items: center; gap: .45rem; color: var(--ok); }
.console__body { font-family: var(--font-mono); font-size: .8rem; line-height: 1.75; padding: .8rem 1rem; min-height: 8.6em; color: var(--ink-2); }
.console__body div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__body .t { color: var(--ink-3); } .console__body .k { color: var(--gold); } .console__body .g { color: var(--ok); } .console__body .m { color: var(--gold-hi); }
.console__body .caret { display: inline-block; width: 7px; height: 1em; background: var(--gold); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mod.is-live { border-color: var(--gold); box-shadow: var(--glow); }
.mod.is-live::after { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* AI layer cards */
.ai-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-card { position: relative; background: linear-gradient(180deg, rgba(25,33,46,.9), rgba(18,24,35,.9)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; overflow: hidden; transition: border-color .18s, box-shadow .18s, transform .18s; }
.ai-card:hover { border-color: var(--line-2); box-shadow: var(--glow); transform: translateY(-2px); }
.ai-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.ai-card .num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: var(--gold-hi); }
.ai-card h3 { margin: .5rem 0 .4rem; }
.ai-card p { color: var(--ink-2); margin: 0 0 .8rem; }
.ai-card code { display: block; font-size: .78rem; color: var(--gold); background: #06080d; border: 1px solid var(--line); padding: .5rem .65rem; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Agent on duty band */
.duty { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .duty { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.duty-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: duty; }
.duty-flow li { counter-increment: duty; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; }
.duty-flow li::before { content: counter(duty, decimal-leading-zero); font-family: var(--font-mono); font-size: .75rem; color: var(--gold); border: 1px solid rgba(242,199,92,.35); border-radius: 6px; padding: .15rem .4rem; margin-top: .1rem; }
.duty-flow b { color: #fff; display: block; }
.duty-flow span { color: var(--ink-2); font-size: .95rem; }

/* Prices */
.price-list { display: grid; gap: .75rem; }
@media (min-width: 760px) { .price-list { grid-template-columns: repeat(2, 1fr); } }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.price span { color: var(--ink-2); }
.price b { font-family: var(--font-mono); color: #fff; white-space: nowrap; font-weight: 500; }

/* Agent widget */
html.lw-chat-on .agent-fab { display: none; }
.agent-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 1400; display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .6rem 1.1rem .6rem .9rem; border-radius: 999px; border: 1px solid rgba(242,199,92,.5); background: rgba(11,14,20,.92); color: #fff; font: 600 .95rem var(--font-body); cursor: pointer; box-shadow: var(--glow), 0 10px 30px -10px rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.agent-fab:hover { border-color: var(--gold); background: #0f141c; }
.agent-fab small { display: block; font: 400 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
body.consent-open .agent-fab, body.agent-open .agent-fab { display: none; }
.js .wa-float { display: none; }
.agent { position: fixed; right: 1rem; bottom: 1rem; z-index: 1600; width: min(400px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 2rem)); display: none; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--glow), 0 30px 80px -20px rgba(0,0,0,.9); overflow: hidden; }
.agent.is-open { display: flex; }
@media (max-width: 520px) { .agent { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; } }
.agent__head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.agent__avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(242,199,92,.25), rgba(255,231,163,.2)); border: 1px solid rgba(242,199,92,.45); color: var(--gold); flex: 0 0 auto; }
.agent__avatar svg { width: 20px; height: 20px; }
.agent__title { flex: 1; min-width: 0; }
.agent__title b { display: block; color: #fff; font-family: var(--font-display); }
.agent__title span { display: inline-flex; align-items: center; gap: .4rem; font: 400 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.agent__head a, .agent__head button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.agent__head a:hover, .agent__head button:hover { color: #fff; border-color: var(--gold); }
.agent__head a { color: var(--whatsapp); }
.agent__head svg { width: 20px; height: 20px; }
.agent__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: .65rem .85rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; background: rgba(242,199,92,.14); border: 1px solid rgba(242,199,92,.35); color: #fff; border-bottom-right-radius: 4px; }
.msg a { color: var(--gold); }
.msg--brief { font-family: var(--font-mono); font-size: .8rem; white-space: pre-wrap; background: #06080d; border: 1px solid var(--line-2); }
.chips-row { display: flex; flex-wrap: wrap; gap: .4rem; align-self: flex-start; max-width: 100%; }
.chip { border: 1px solid rgba(242,199,92,.4); background: transparent; color: var(--gold); font: 500 .875rem var(--font-body); padding: .5rem .8rem; border-radius: 999px; cursor: pointer; min-height: 40px; text-decoration: none; display: inline-flex; align-items: center; }
.chip:hover { background: var(--gold-soft); color: #fff; }
.chip--go { background: var(--gold); color: #1a1304; border-color: var(--gold); font-weight: 600; }
.chip--go:hover { background: #ffe7a3; color: #1a1304; }
.chip--wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #04130a; font-weight: 600; }
.chip--wa:hover { background: #3ae07a; color: #04130a; }
.agent__form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); background: var(--surface); }
.agent__form input { flex: 1; min-width: 0; min-height: 46px; padding: .6rem .8rem; font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; }
.agent__form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.agent__form button { min-width: 46px; min-height: 46px; border-radius: 10px; border: 0; background: var(--gold); color: #1a1304; cursor: pointer; display: grid; place-items: center; }
.agent__form button svg { width: 20px; height: 20px; }
.agent__note { font-size: .72rem; color: var(--ink-3); padding: 0 1rem .6rem; background: var(--surface); margin: 0; }
.agent__note a { color: var(--ink-2); }

/* Guides */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; border: 1px solid rgba(242,199,92,.4); color: var(--gold); background: var(--gold-soft); }
.pill--security { color: var(--ok); border-color: rgba(63,224,154,.4); background: rgba(63,224,154,.1); }
.pill--ai { color: var(--gold-hi); border-color: rgba(255,231,163,.4); background: var(--blue-soft); }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-row .chip[aria-pressed="true"] { background: var(--gold); color: #1a1304; font-weight: 600; }
.guide-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s, transform .18s; }
.guide-card:hover { border-color: var(--line-2); box-shadow: var(--glow); transform: translateY(-2px); color: inherit; }
.guide-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.guide-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.guide-card h3 { margin: .2rem 0 0; font-size: 1.2rem; }
.guide-card .pill { align-self: flex-start; }
.guide-card p { color: var(--ink-2); margin: 0; font-size: .975rem; }
.guide-card .meta { margin-top: auto; padding-top: .6rem; }
.meta { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .04em; }
.guide-card[hidden] { display: none; }
.article { max-width: 46rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: 1rem; }
.article .prose { max-width: none; font-size: 1.0875rem; }
.article .prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.article .prose ol.steps-list { list-style: none; padding: 0; counter-reset: st; display: grid; gap: .6rem; }
.article .prose ol.steps-list li { counter-increment: st; position: relative; padding: .85rem 1rem .85rem 3.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); margin: 0; }
.article .prose ol.steps-list li::before { content: counter(st); position: absolute; left: .9rem; top: .8rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 8px; font: 600 .85rem var(--font-mono); color: #1a1304; background: linear-gradient(135deg, var(--gold), #ffe7a3); }
.article .prose strong { color: #fff; }
.callout { border: 1px solid rgba(242,199,92,.35); border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; margin: 1.25rem 0; color: var(--ink); }
.callout p { margin: 0; color: var(--ink); }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #06080d center / cover no-repeat; cursor: pointer; margin: 0 0 2rem; padding: 0; color: #fff; box-shadow: var(--glow); }
.yt-lite::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,12,18,.2), rgba(9,12,18,.75)); }
.yt-lite span { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font: 500 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.yt-lite i { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 40px rgba(242,199,92,.7); }
.yt-lite i::after { content: ""; position: absolute; left: 30px; top: 23px; border: 15px solid transparent; border-left: 24px solid #1a1304; border-right: 0; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sources { margin-top: 2.5rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sources h2 { font: 500 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.sources ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); font-size: .95rem; }
.sources li { margin-bottom: .3rem; overflow-wrap: anywhere; }
.article-cta { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(242,199,92,.1), rgba(255,231,163,.08)), var(--surface); display: grid; gap: 1rem; }
.article-cta h2 { font-size: 1.3rem; margin: 0; }
.article-cta p { margin: 0; color: var(--ink-2); }
.follow-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; align-items: center; }
.follow-row .lbl { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: .25rem; }
.btn--social { background: var(--surface); border-color: var(--line-2); color: var(--ink); min-height: 44px; padding: .5rem .95rem; font-size: .92rem; }
.btn--social:hover { border-color: var(--gold); color: #fff; }
.btn--social svg { width: 18px; height: 18px; }
.btn--yt { background: #ff3b30; border-color: #ff3b30; color: #fff; }
.btn--yt:hover { background: #ff5a50; border-color: #ff5a50; color: #fff; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.3rem; }

/* Follow page */
.follow-page { max-width: 30rem; margin-inline: auto; text-align: center; padding-block: clamp(2rem, 6vw, 4rem); }
.follow-page img.mark { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 1rem; box-shadow: var(--glow); }
.follow-page h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); margin-bottom: .4rem; }
.follow-page p { color: var(--ink-2); }
.follow-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .8rem; }
.follow-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .9rem; text-align: left; min-height: 72px; padding: .8rem 1.1rem; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); color: #fff; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.follow-list a:hover { border-color: var(--gold); box-shadow: var(--glow); transform: translateY(-2px); }
.follow-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.follow-list .ic svg { width: 24px; height: 24px; }
.follow-list b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.follow-list small { color: var(--ink-3); font-size: .85rem; }
.follow-list .go { font-family: var(--font-mono); color: var(--gold); }
.follow-list a.is-yt .ic { background: #ff3b30; color: #fff; }
.follow-list a.is-wa .ic { background: var(--whatsapp); color: #04130a; }
.follow-list a.is-fb .ic { background: #1877f2; color: #fff; }
.follow-list a.is-ig .ic { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.follow-list a.is-th .ic { background: #fff; color: #000; }

/* Footer social icons */
.social { display: flex; gap: .5rem; margin-top: 1rem; list-style: none; padding: 0; }
.site-footer ul.social { display: flex; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.social a:hover { color: #fff; border-color: var(--gold); text-decoration: none; }
.social svg { width: 18px; height: 18px; }


/* ===================== v5.1 (13 Nov 2026): gold identity and interface polish ===================== */
body::before { background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 56px 56px; }
h1 { font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { letter-spacing: -0.03em; }
a { color: var(--gold); }
.lead { color: var(--ink-2); }

/* Brand: gold mark + gold wordmark */
.brand { gap: .65rem; text-decoration: none; }
.brand img { height: 40px; width: 40px; filter: drop-shadow(0 4px 14px rgba(219,169,58,.35)); }
.wm { display: flex; flex-direction: column; line-height: 1; }
.wm b { font: 700 1.55rem/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(180deg, #ffe7a3, #e2b347 55%, #b98a22); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the motto is tracked so it ends exactly where the name ends */
.wm small { font: 500 .54rem/1 var(--font-mono); letter-spacing: .137em; margin-right: -.137em; white-space: nowrap; text-transform: uppercase; color: var(--ink-3); margin-top: .36rem; }
.site-footer .brand img { height: 40px; filter: drop-shadow(0 4px 14px rgba(219,169,58,.3)); }

/* Header */
.site-header { background: rgba(8, 11, 17, .8); }
.site-header::after { background: linear-gradient(90deg, transparent, rgba(242,199,92,.55), transparent); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

/* Eyebrow: a small gold diamond, echoing the mark */
.eyebrow { color: var(--gold); letter-spacing: .16em; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 1px; transform: rotate(45deg); background: var(--grad-gold); box-shadow: 0 0 12px rgba(242,199,92,.6); }

/* Buttons */
.btn { border-radius: 12px; }
.btn--primary, .btn--brand { background: var(--grad-gold); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 10px 30px -10px rgba(219,169,58,.7); }
.btn--primary:hover, .btn--brand:hover { background: linear-gradient(135deg, #fff1c4, #f7d274 45%, #e4b445); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 36px -10px rgba(219,169,58,.9); }
.nav-links a.btn, .nav-links a.btn:hover, .nav-drawer a.btn { color: var(--gold-ink); }
.nav-links a.btn:hover { background: linear-gradient(135deg, #fff1c4, #f7d274 45%, #e4b445); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,199,92,.22); }
.text-link { color: var(--gold); }

/* Hero */
.hero h1 em, .grad { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-orb--a { background: radial-gradient(circle, rgba(242,199,92,.26), transparent 65%); }
.fx-orb--b { background: radial-gradient(circle, rgba(88,120,200,.2), transparent 65%); }
.hero-meta svg { color: var(--gold); }
.console { border-color: var(--gold-line); }
.console__body .k { color: var(--gold); } .console__body .m { color: var(--blue); }
.console__body .caret { background: var(--gold); }
.mod { border-radius: 14px; }
.mod--core { background: linear-gradient(135deg, rgba(242,199,92,.2), rgba(219,169,58,.06)), var(--surface); border-color: var(--gold-line); }
.mod--core b { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mod--core::after { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.mod.is-live { border-color: var(--gold); }
.mod.is-live::after { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.sysmap__wires li { color: var(--gold); border-color: var(--gold-line); }
.sysmap__wires li::before { color: var(--ink-3); }
.term .k { color: var(--gold); } .term .m { color: var(--blue); }

/* Cards */
.card, .ai-card, .work, .step, .guide-card, .faq details { background: linear-gradient(180deg, rgba(22,29,42,.72), rgba(16,21,31,.9)); }
.card::before, .ai-card::before, .ui-card::before { background: var(--grad-gold); }
.card-icon { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); border-radius: 12px; }
.ai-card .num, .step::before { color: var(--gold); }
.ai-card code { color: var(--gold-hi); }
.section--surface { background: rgba(12, 16, 24, .72); }
.section--navy { background: linear-gradient(180deg, #0d121b, #080b11); }
.section--navy::before { background: radial-gradient(620px 320px at 72% 50%, rgba(242,199,92,.14), transparent 70%); }
.chips li::before { color: var(--gold); }
.breadcrumb span { color: var(--gold-deep); }
.faq summary::after { color: var(--gold); }
.faq details[open] summary::after { color: var(--gold-hi); }
.notice { border-left-color: var(--gold); }
.duty-flow li::before { color: var(--gold); border-color: var(--gold-line); }

/* Client logos: full colour on warm ivory tiles */
.logo-wall { gap: .9rem; }
.logo-wall li { background: linear-gradient(180deg, #fffdf8, #f3ecdc); border: 1px solid rgba(242,199,92,.28); border-radius: 14px; min-height: 96px; padding: 1rem 1.25rem; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 30px -22px rgba(0,0,0,.9); }
.logo-wall li:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,199,92,.4), 0 18px 40px -20px rgba(219,169,58,.55); transform: translateY(-2px); }
.logo-wall li { transition: transform .18s, box-shadow .18s, border-color .18s; }
.logo-wall img { max-height: 52px; filter: none; opacity: 1; }
.logo-wall--compact li { min-height: 84px; }
@media (min-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }

/* Agent and forms */
.agent-fab { border-color: var(--gold-line); }
.agent-fab:hover { border-color: var(--gold); }
.agent__avatar { background: linear-gradient(135deg, rgba(242,199,92,.28), rgba(219,169,58,.1)); border-color: var(--gold-line); color: var(--gold); }
.msg--me { background: rgba(242,199,92,.13); border-color: var(--gold-line); }
.msg a { color: var(--gold); }
.chip { border-color: var(--gold-line); color: var(--gold); }
.chip--go, .filter-row .chip[aria-pressed="true"] { background: var(--grad-gold); color: var(--gold-ink); border-color: var(--gold); }
.chip--go:hover { background: linear-gradient(135deg, #fff1c4, #f7d274 45%, #e4b445); color: var(--gold-ink); }
.agent__form button { background: var(--grad-gold); color: var(--gold-ink); }
.field--check input { accent-color: var(--gold-deep); }

/* Guides */
.pill { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.pill--security { color: var(--ok); border-color: rgba(63,224,154,.4); background: rgba(63,224,154,.1); }
.pill--ai { color: var(--blue); border-color: rgba(143,180,255,.4); background: var(--blue-soft); }
.article .prose ol.steps-list li::before { background: var(--grad-gold); color: var(--gold-ink); }
.callout { border-color: var(--gold-line); border-left-color: var(--gold); background: var(--gold-soft); }
.yt-lite i { background: var(--grad-gold); box-shadow: 0 0 40px rgba(242,199,92,.6); }
.yt-lite i::after { border-left-color: var(--gold-ink); }
.sources h2 { color: var(--gold); }
.article-cta { background: linear-gradient(135deg, rgba(242,199,92,.12), rgba(88,120,200,.08)), var(--surface); }
.follow-list .go { color: var(--gold); }
.follow-page img.mark { background: #0c1018; padding: 10px; }

/* Footer */
.site-footer { background: #05070b; }
.site-footer h2 { color: var(--gold); }
.social a:hover { border-color: var(--gold); }
.consent { border-color: var(--gold-line); }

.section-head .eyebrow { font-size: .75rem; }
.logo-wall li { background: #fdfcf9; min-height: 112px; }
.logo-wall img { max-height: 64px; max-width: 86%; object-fit: contain; }
.logo-wall li.logo--dark { background: linear-gradient(180deg, #131a27, #0c1018); border-color: var(--line-2); box-shadow: 0 14px 30px -22px rgba(0,0,0,.9); }
.logo-wall--compact li { min-height: 96px; }


/* ===================== v5.2 (13 Nov 2026): motion and depth ===================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }

/* Fine film grain over the whole page: stops flat dark areas from looking empty */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.9'/></svg>"); }
.site-header, .agent, .agent-fab, .consent { z-index: 1000; }
.agent { z-index: 1600; } .agent-fab { z-index: 1400; } .consent { z-index: 1500; }

/* Header: scroll progress and compact state */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px rgba(242,199,92,.7); z-index: 2; }
.site-header { transition: background .3s, box-shadow .3s; }
.nav { transition: min-height .3s cubic-bezier(.2,.7,.2,1); }
.site-header.is-scrolled { background: rgba(8, 11, 17, .92); box-shadow: 0 14px 40px -24px rgba(0,0,0,.9); }
.site-header.is-scrolled .nav { min-height: 60px; }
.brand img { transition: transform .5s cubic-bezier(.2,.7,.2,1), height .3s, width .3s; }
.brand:hover img { transform: rotate(90deg) scale(1.06); }

/* Reveal: rise, sharpen, staggered by --i (set in JS) */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* Headline: words rise in, one after another */
.js h1.is-split .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); animation: wordUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
.js h1.is-split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.js h1.is-split em .w { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .lead, .js .hero .btn-row, .js .hero .hero-meta, .js .page-head .lead { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .55s forwards; }
  .js .hero .btn-row { animation-delay: .7s; } .js .hero .hero-meta { animation-delay: .85s; }
  .js .hero .sysmap { opacity: 0; animation: fadeIn 1.1s ease .35s forwards; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Hero: live network behind the content, tilt on the system map */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.hero { perspective: 1400px; }
.sysmap { transform-style: preserve-3d; will-change: transform; }
.sysmap .console, .sysmap .sysmap__grid { transform: translateZ(0); }
.mod--core { position: relative; isolation: isolate; }
.mod--core::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, #ffe7a3 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; z-index: -1; }
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --spin: 360deg; } }

/* Pointer-reactive surfaces: a soft gold light follows the cursor */
@media (hover: hover) {
  .card:hover, .price:hover, .tl-step:hover, .faq details:hover, .duty-flow li:hover, .aidemo__tab:hover, .guide-card:hover .guide-card__body {
    background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(242,199,92,.13), transparent 46%), linear-gradient(180deg, rgba(22,29,42,.72), rgba(16,21,31,.9)); }
  .mod:hover { background-image: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), rgba(242,199,92,.18), transparent 60%), linear-gradient(180deg, rgba(25,33,46,.95), rgba(18,24,35,.95)); }
}

/* Buttons: light sweep on hover, press feedback */
.btn { position: relative; overflow: hidden; transition: background .2s, color .2s, border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.btn--primary::after, .btn--brand::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.btn--primary:hover::after, .btn--brand:hover::after { left: 120%; }
.btn:active { transform: translateY(1px) scale(.98); }

/* Client logo slideshow */
.marquee { position: relative; overflow: hidden; padding: .5rem 0 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; gap: 1.1rem; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% / 3 - 0.3667rem)); } }
.marquee__track li { flex: 0 0 auto; width: 232px; height: 116px; display: grid; place-items: center; background: #fdfcf9; border: 1px solid rgba(242,199,92,.28); border-radius: 16px; padding: 1rem 1.4rem; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 34px -24px rgba(0,0,0,.95); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.marquee__track li:hover { transform: translateY(-6px) scale(1.03); border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,199,92,.45), 0 26px 50px -22px rgba(219,169,58,.6); }
.marquee__track li.logo--dark { background: linear-gradient(180deg, #131a27, #0c1018); border-color: var(--line-2); }
.marquee__track img { max-height: 68px; max-width: 100%; width: auto; object-fit: contain; }
.marquee__toggle { position: absolute; right: 9%; bottom: -2px; width: 34px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); font: 600 .6rem var(--font-mono); cursor: pointer; opacity: 0; transition: opacity .2s; }
.marquee:hover .marquee__toggle, .marquee__toggle:focus-visible { opacity: 1; }
@media (max-width: 560px) { .marquee__track li { width: 176px; height: 96px; } .marquee__track img { max-height: 54px; } .marquee__track { animation-duration: 34s; } }
@media (prefers-reduced-motion: reduce) { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); } .marquee__track li[aria-hidden="true"], .marquee__toggle { display: none; } }

/* AI layer: interactive demo */
.aidemo { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 940px) { .aidemo { grid-template-columns: .9fr 1.1fr; gap: 1.75rem; } }
.aidemo__tabs { display: grid; gap: .7rem; }
.aidemo__tab { position: relative; text-align: left; display: grid; gap: .3rem; padding: 1.1rem 1.25rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22,29,42,.6), rgba(16,21,31,.85)); color: var(--ink-2); font: inherit; cursor: pointer; overflow: hidden; transition: border-color .3s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.aidemo__tab .num { font: 500 .72rem var(--font-mono); letter-spacing: .14em; color: var(--ink-3); transition: color .3s; }
.aidemo__tab b { font: 700 1.2rem var(--font-display); color: #fff; letter-spacing: -.01em; }
.aidemo__tab .txt { font-size: .96rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.aidemo__tab.is-on { border-color: var(--gold-line); box-shadow: var(--glow); transform: translateX(6px); }
.aidemo__tab.is-on .num { color: var(--gold); }
.aidemo__tab.is-on .txt { max-height: 8em; opacity: 1; }
.aidemo__tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: 0 50%; }
.aidemo.is-auto .aidemo__tab.is-on .bar { animation: barFill var(--dur, 8s) linear forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
@media (max-width: 939px) { .aidemo__tab.is-on { transform: none; } }
.aidemo__screen { display: flex; flex-direction: column; min-height: 300px; border-color: var(--gold-line); }
.aidemo__screen pre { flex: 1; font-size: .86rem; line-height: 1.85; }
.term__label { margin-left: auto; font: 500 .66rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.term__bar { align-items: center; }
.type-caret { display: inline-block; width: 8px; height: 1.05em; background: var(--gold); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }

/* How I work: a line that fills as you scroll */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.4rem; position: relative; display: grid; gap: 1rem; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: .7rem; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--grad-gold); transform: scaleY(var(--p)); transform-origin: 50% 0; box-shadow: 0 0 14px rgba(242,199,92,.6); transition: transform .25s linear; }
.tl-step { position: relative; padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22,29,42,.72), rgba(16,21,31,.9)); opacity: .55; transform: translateX(10px); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s; }
.tl-step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.tl-step p { color: var(--ink-2); margin: 0; }
.tl-dot { position: absolute; left: -2.1rem; top: 1.5rem; width: 14px; height: 14px; border-radius: 3px; transform: rotate(45deg) scale(.8); background: var(--bg-2); border: 2px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s, transform .4s; z-index: 1; }
.tl-step.is-on { opacity: 1; transform: none; border-color: var(--gold-line); box-shadow: var(--glow); }
.tl-step.is-on .tl-dot { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 16px rgba(242,199,92,.8); transform: rotate(45deg) scale(1); }
html:not(.js) .tl-step { opacity: 1; transform: none; }

/* Agent on duty: the signal travels down the four steps */
.duty-flow li { position: relative; transition: border-color .4s, box-shadow .4s; animation: dutyPulse 8s infinite; }
.duty-flow li:nth-child(2) { animation-delay: 2s; } .duty-flow li:nth-child(3) { animation-delay: 4s; } .duty-flow li:nth-child(4) { animation-delay: 6s; }
@keyframes dutyPulse { 0%, 22%, 100% { border-color: var(--line); box-shadow: none; } 6%, 16% { border-color: var(--gold-line); box-shadow: var(--glow); } }

/* Agent: launch ring and panel entrance */
.agent-fab::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--gold); opacity: 0; animation: fabRing 3.6s ease-out infinite; pointer-events: none; }
@keyframes fabRing { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.45); } }
.agent.is-open { animation: agentIn .35s cubic-bezier(.2,.8,.2,1); transform-origin: 100% 100%; }
@keyframes agentIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.msg { animation: msgIn .3s cubic-bezier(.2,.7,.2,1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Guides cards */
.guide-card img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.guide-card:hover img { transform: scale(1.04); }

/* Footer: a large quiet wordmark */
.footer-mega { margin: 2.5rem 0 0; font: 700 clamp(3.4rem, 15vw, 12.5rem)/.85 var(--font-display); letter-spacing: -.05em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(242,199,92,.2), rgba(242,199,92,0) 82%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-legal { margin-top: 0; }

/* AI resources */
.res-dl{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;margin:1.4rem 0 2rem;padding:1.1rem 1.2rem;border:1px solid rgba(242,199,92,.35);border-radius:14px;background:rgba(242,199,92,.06)}
.res-dl p{margin:0;font-size:.92rem;color:var(--muted,#a3afc2);line-height:1.6;flex:1;min-width:230px}
.res-files{margin:2rem 0 1rem;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:.8rem 1rem}.res-files summary{cursor:pointer;font-weight:600}.res-files ul{margin:.8rem 0 0;padding-left:1.1rem;font-size:.88rem;line-height:1.7}
.res-sum{font-size:.88rem;color:var(--muted,#a3afc2);overflow-wrap:anywhere;line-height:1.65}.res-sum code,.res-files code{font-size:.82rem}
.guide>.guide-card__meta{display:flex;flex-wrap:wrap;gap:.35rem .9rem;align-items:center;margin:.6rem 0}

/* marketplace and free tools */
.mk-h{margin:2.6rem 0 .4rem;font-size:1.5rem}.mk-h:first-child{margin-top:0}.mk-lead{font-size:1rem;max-width:70ch;margin:0 0 1.2rem}
.mk-card{cursor:default}.mk-ask{background:none;border:0;padding:0;cursor:pointer;font:inherit}
.tool{margin:1.6rem 0 2.2rem;padding:1.2rem;border:1px solid rgba(242,199,92,.3);border-radius:16px;background:rgba(255,255,255,.025)}
.tool h2{font-size:1.15rem;margin:1.4rem 0 .6rem}.tool h2:first-child{margin-top:0}
.tl-field{display:block;margin:0 0 1rem}.tl-field>span{display:block;font-weight:600;font-size:.92rem;margin-bottom:.35rem}.tl-field small{display:block;color:var(--muted,#a3afc2);font-size:.82rem;margin-top:.3rem}
.tool input[type=text],.tool input[type=url],.tool input[type=password],.tool input[type=number],.tool select,.tool textarea,.tool input[type=file]{width:100%;box-sizing:border-box;background:#0f141d;color:#e9edf5;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:.7rem .8rem;font:inherit;font-size:1rem;min-height:46px}
.tool input:focus-visible,.tool select:focus-visible,.tool textarea:focus-visible{outline:2px solid #f2c75c;outline-offset:1px}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 1rem}
.tl-range{display:flex;align-items:center;gap:.7rem}.tl-range input{flex:1;accent-color:#f2c75c}
.tl-out{margin-top:1.2rem}.tl-row{display:flex;gap:.8rem;align-items:center;padding:.7rem 0;border-top:1px solid rgba(255,255,255,.08)}.tl-row img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.tl-grow{flex:1;min-width:0}.tl-grow b{display:block;overflow-wrap:anywhere}.tl-grow small{color:var(--muted,#a3afc2);font-size:.84rem}
.tl-meter{height:10px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden;margin:.4rem 0 .6rem}.tl-meter i{display:block;height:100%;width:0;transition:width .2s;background:#ef6f6f}.tl-meter i.l1{background:#f0a64a}.tl-meter i.l2{background:#f2c75c}.tl-meter i.l3{background:#4cc38a}
.tl-verdict{font-weight:650;margin:.2rem 0 .5rem}.tl-verdict.bad{color:#f07a7a}.tl-verdict.warn{color:#f0a64a}.tl-verdict.ok{color:#4cc38a}
.tl-tips{margin:.2rem 0 0;padding-left:1.1rem;font-size:.93rem;line-height:1.6}.tl-check{display:flex;gap:.5rem;align-items:center;font-size:.9rem;margin:-.4rem 0 .8rem}.tl-check input{width:18px;height:18px;accent-color:#f2c75c}
.tl-line{display:flex;gap:.5rem;flex-wrap:wrap}.tl-line input{flex:1;min-width:200px;font-family:var(--font-mono,monospace)}
.tl-dl{display:grid;grid-template-columns:1fr auto;gap:.45rem 1rem;margin:0}.tl-dl dt{color:var(--muted,#a3afc2)}.tl-dl dd{margin:0;font-weight:650;text-align:right;overflow-wrap:anywhere}
.tl-warn{color:#f0a64a;font-size:.92rem;margin:.9rem 0 0;line-height:1.55}.tl-hint{color:var(--muted,#a3afc2);font-size:.88rem;margin:.9rem 0 0;line-height:1.55}
/* 5.10: card meta line spacing; menu links never wrap */
.guide-card__meta{display:flex;flex-wrap:wrap;gap:.3rem .8rem;align-items:center}
.nav-links a{white-space:nowrap}
@media (min-width:1020px) and (max-width:1179px){.nav-links a{padding:.5rem .55rem;font-size:.9rem}}
/* 5.20.1: QR code maker */
.qr-out{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:1.2rem;align-items:start;margin-top:.4rem}
.qr-view canvas{display:block;width:100%;max-width:220px;height:auto;border-radius:10px;background:#fff;image-rendering:pixelated}
.qr-acts{margin-top:.6rem}
.tool input[type=color]{width:64px;height:40px;padding:2px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:#0f141d}
@media (max-width:560px){.qr-out{grid-template-columns:1fr}.qr-view canvas{max-width:240px;margin:0 auto}}
/* 5.21: PDF tools */
.pf-list{list-style:decimal;margin:0 0 1rem;padding-left:1.4rem}.pf-list li{padding:.35rem 0}.pf-list li::marker{color:var(--muted,#a3afc2)}
.pf-list li{display:list-item}.pf-list li>span{display:inline-block;max-width:calc(100% - 140px);overflow-wrap:anywhere;vertical-align:middle;margin-right:.5rem}
.pf-mini{min-width:36px;height:36px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#0f141d;color:#e9edf5;font-size:1rem;cursor:pointer;margin-left:2px}
.pf-mini:hover:not(:disabled){border-color:#f2c75c}.pf-mini:disabled{opacity:.35;cursor:default}
.pf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:.8rem;margin:0 0 1rem}
.pf-card{border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:.5rem;text-align:center;background:rgba(255,255,255,.02)}
.pf-card b{display:block;font-size:.82rem;margin:.35rem 0}.pf-card.is-gone{opacity:.4}
.pf-thumb{aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:#0b0f16;border-radius:6px}.pf-thumb img{max-width:86%;max-height:86%;transition:transform .2s;background:#fff}
.pf-acts{display:flex;justify-content:center;gap:2px}.pf-acts .pf-mini{min-width:28px;height:30px;margin:0;font-size:.9rem}
.pf-pad{display:block;width:100%;max-width:600px;height:auto;aspect-ratio:3/1;background:#fff;border-radius:10px;touch-action:none;cursor:crosshair}
.pf-link{background:none;border:0;color:#f2c75c;text-decoration:underline;cursor:pointer;padding:0;font:inherit}
.pf-stage{position:relative;margin:0 0 1rem;max-width:700px}.pf-page{display:block;width:100%;height:auto;border-radius:6px;cursor:crosshair}
.pf-mark{position:absolute;border:1.5px dashed #c8102e;background:rgba(200,16,46,.08) center/contain no-repeat;pointer-events:none}
.tool .btn--sm{margin-left:auto}
.pf-layer{position:absolute;inset:0;pointer-events:none;container-type:inline-size}.pf-stage{touch-action:none;user-select:none}
.pf-box{position:absolute;box-sizing:border-box}.pf-box--black{background:#000;outline:1.5px dashed #c8102e}
.pf-box--text{white-space:nowrap;line-height:1;font-family:Helvetica,Arial,sans-serif;outline:1px dashed rgba(200,16,46,.6)}

/* ============================================================ Calmer home page and doors (5.30.0, website review 19 Nov 2026)
   Six sections, one main button per screen. No motion here on purpose. */
.hm-hero { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; z-index: 1; }
.hm-hero__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hm-hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); } }
.hm-hero__t { display: flex; flex-direction: column; gap: 1.4rem; }
.hm-hero__t > * { margin: 0; }
.hm-hero h1 em { font-style: normal; color: var(--gold); }
.hm-ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; color: var(--ink-2); font-size: .98rem; }
.hm-ticks li { padding-left: 1.6rem; position: relative; }
.hm-ticks li::before { content: ""; position: absolute; left: .15rem; top: .5em; width: .7rem; height: .38rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.hm-day { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.hm-day figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--font-display); font-weight: 600; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.hm-day figcaption span { font: 500 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hm-day ol { list-style: none; margin: 0; padding: 0; }
.hm-day li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.hm-day time { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 600; }
.hm-day b, .hm-day q { color: var(--ink); }
.hm-day > p { margin: 0; padding-top: 1rem; color: var(--ink-3); font-size: .95rem; }
.hm-cards { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .hm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .hm-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.hm-card h3 { margin: 0; font-size: 1.2rem; }
.hm-card p { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; }
.hm-card__p { font-family: var(--font-display); font-weight: 600; padding-top: .7rem; border-top: 1px solid var(--line); }
.hm-card__m { color: var(--gold); font-weight: 600; }
.hm-card__m::after { content: " \2192"; }
.hm-card:hover, .hm-card:focus-visible { border-color: var(--gold); }
.hm-logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .hm-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-logos li { background: #f6f4ee; border-radius: var(--radius-sm); padding: .8rem 1rem; display: grid; place-items: center; min-height: 84px; }
.hm-logos li.on-dark { background: #141a26; border: 1px solid var(--line); }
.hm-logos img { max-height: 56px; width: auto; }
.hm-aside { margin: 2rem 0 0; color: var(--ink-2); max-width: 44em; }
.hm-paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hm-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hm-paths a { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.3rem 3rem 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); position: relative; }
.hm-paths a::after { content: "\2192"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.3rem; }
.hm-paths b { font-family: var(--font-display); font-size: 1.15rem; }
.hm-paths span { color: var(--ink-2); font-size: .98rem; }
.hm-paths a:hover, .hm-paths a:focus-visible { border-color: var(--gold); }
.hm-narrow { max-width: 760px; }
.hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .hm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-help { margin-top: 2.5rem; max-width: 44em; }
.hm-help h2 { font-size: 1.3rem; }
.hm-help ul { color: var(--ink-2); padding-left: 1.2rem; }
@media (min-width: 720px) { .footer-grid.footer-grid--3 { grid-template-columns: 1.6fr 1fr 1fr; } }
.nw-older { margin-top: 1rem; }
.nw-older > summary { cursor: pointer; list-style: none; padding: .9rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.nw-older > summary::-webkit-details-marker { display: none; }
.nw-older > summary b { color: var(--gold); margin-left: .3rem; }
.nw-older > summary::after { content: " +"; color: var(--gold); float: right; }
.nw-older[open] > summary::after { content: " \2212"; }
.nw-older > summary:hover, .nw-older > summary:focus-visible { border-color: var(--gold); }

/* 5.31.1 (22 Nov 2026): phone and keyboard check. Small links get a 24px target; the tagline stays readable on a phone. */
.site-footer ul:not(.social) a, .breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; }
.brand .wm small { font-size: max(.62rem, 10px); }
