/* ElitApp website — tokens from "Dashboard Ideas/marca-elitapp.md" (same as the consola). */
:root {
  --brand:#FE3328; --action:#E0261B; --action-text:#D0231A; --action-soft:#FDECEA;
  --bg:#F6F6F7; --surface:#FFFFFF; --border:#E4E4E7; --text:#18181A; --muted:#6B6B73; --hover:#F1F1F3;
  --ok:#166534; --ok-soft:#E7F6EC; --warn:#854D0E; --warn-soft:#FCF3DC;
  --pill:#18181A; --pill-text:#FFFFFF; --band:#18181A; --band-text:#F5F5F7; --band-muted:#B5B5BC; --band-border:#46464B;
  --shadow:0 12px 32px rgba(24,24,26,.08);
  --font-ui:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif; --font-brand:'Archivo','Inter',sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --action:#FE3328; --action-text:#FF6B60; --action-soft:rgba(254,51,40,.14);
    --bg:#18181A; --surface:#222225; --border:#343437; --text:#F5F5F7; --muted:#9A9AA2; --hover:#2C2C30;
    --ok:#4ADE80; --ok-soft:rgba(74,222,128,.12); --warn:#E3B341; --warn-soft:rgba(227,179,65,.14);
    --pill:#F5F5F7; --pill-text:#18181A; --band:#222225; --band-text:#F5F5F7; --band-muted:#9A9AA2; --band-border:#343437;
    --shadow:0 12px 32px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --action:#FE3328; --action-text:#FF6B60; --action-soft:rgba(254,51,40,.14);
  --bg:#18181A; --surface:#222225; --border:#343437; --text:#F5F5F7; --muted:#9A9AA2; --hover:#2C2C30;
  --ok:#4ADE80; --ok-soft:rgba(74,222,128,.12); --warn:#E3B341; --warn-soft:rgba(227,179,65,.14);
  --pill:#F5F5F7; --pill-text:#18181A; --band:#222225; --band-text:#F5F5F7; --band-muted:#9A9AA2; --band-border:#343437;
  --shadow:0 12px 32px rgba(0,0,0,.4); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
a { color: var(--action-text); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* wordmark */
.wm { font-family: var(--font-brand); font-weight: 800; font-style: italic; letter-spacing: -.03em; white-space: nowrap;
  color: var(--text); text-decoration: none; font-size: 24px; line-height: 1; }
.wm .e { color: var(--brand); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: 600 15px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--action); border-color: var(--action); color: #fff; }
.btn.primary:hover { filter: brightness(.95); background: var(--action); }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--text); background: var(--hover); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; } :root[data-theme="dark"] .theme-light-icon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-dark-icon { display: block; } :root:not([data-theme="light"]) .theme-light-icon { display: none; }
}

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
header.site .bar { display: flex; align-items: center; gap: 28px; height: 68px; }
header.site nav.main { display: flex; gap: 22px; }
header.site nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
header.site nav.main a:hover { color: var(--text); }
header.site .tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; background: var(--surface); }
.lang:hover { color: var(--text); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* sections */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin: 12px 0 18px; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin: 8px 0 10px; }
h3 { font-size: 17px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
section { padding: 88px 0; border-top: 1px solid var(--border); }
section.alt { background: var(--surface); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
section.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.preview { box-shadow: var(--shadow); }
.preview .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.preview .head small { color: var(--muted); font-weight: 500; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.kpi { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: var(--surface); }
.kpi .t { font-size: 12.5px; color: var(--muted); }
.kpi .v { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--border); font-size: 14.5px; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.demo-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--pill); color: var(--pill-text); display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
ul.checks { list-style: none; padding: 0; margin: 0 0 28px; }
ul.checks li { position: relative; padding: 8px 0 8px 32px; }
/* soft circle (::before) + tick (::after) painted with var(--ok) through a mask, so it follows dark mode */
ul.checks li::before, ul.checks li::after { content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; }
ul.checks li::before { border-radius: 50%; background: var(--ok-soft); }
ul.checks li::after { background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.mini-table .row:first-of-type { border-top: 0; }
.mini-table .row span:first-child { font-weight: 500; }
.mini-table .muted { color: var(--muted); font-size: 13.5px; }

.phone { width: 280px; margin: 0 auto; border: 1px solid var(--border); border-radius: 36px; background: var(--surface);
  padding: 18px 16px 22px; box-shadow: var(--shadow); }
.phone .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.bubble { border-radius: 18px; padding: 10px 14px; font-size: 14px; margin: 8px 0; max-width: 88%; background: var(--bg); }
.bubble.me { margin-left: auto; background: var(--pill); color: var(--pill-text); }
.bubble.done { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.note { margin-top: 18px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--border); color: var(--muted); font-size: 14.5px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 42em; }

.closing { background: var(--band); color: var(--band-text); border-radius: 28px; padding: 44px; display: flex; align-items: center;
  justify-content: space-between; gap: 28px; }
.closing h2 { margin: 0; color: var(--band-text); }
.closing p { margin: 8px 0 0; color: var(--band-muted); }
.closing .btn:not(.primary) { background: transparent; color: var(--band-text); border-color: var(--band-border); }
.closing .ctas { flex-wrap: nowrap; }

footer.site { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer.site .about { color: var(--muted); margin: 12px 0 0; max-width: 24em; }
footer.site h2 { margin: 0 0 12px; font-size: 13px; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; }
footer.site li a:hover { color: var(--action-text); }
footer.site .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  gap: 16px; color: var(--muted); font-size: 14px; }
footer.site .legal a { color: var(--muted); }

/* legal documents (privacy notices) */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 12px 10px 0; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }

/* responsive */
@media (max-width: 900px) {
  header.site nav.main, header.site .tools .btn.primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: none; border-top: 1px solid var(--border); padding: 8px 0 16px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
  .mobile-nav .btn { width: 100%; margin-top: 14px; }
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .split .media { order: 2; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > :first-child { grid-column: 1 / -1; }
  .closing { flex-direction: column; align-items: flex-start; padding: 32px; }
  .closing .ctas { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .kpi .v { font-size: 22px; }
  .lead { font-size: 17px; }
  .phone { width: 100%; max-width: 300px; }
  footer.site .legal { flex-direction: column; }
  .ctas .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* privacy notices (legal text kept verbatim from the published version) */
.doc .eyebrow { margin-bottom: 4px; }
.doc .updated { color: var(--muted); margin-top: -6px; }
.doc .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; margin: 22px 0; }
.doc .panel p:first-child { margin-top: 0; } .doc .panel p:last-child { margin-bottom: 0; }
.doc .panel.flag { border-left: 4px solid var(--action); }
.doc .table-scroll { overflow-x: auto; }
.doc .table-scroll table { display: table; }
