/* Neoview marketing site — shared styles.
   Tokens first; every color and type decision derives from them.
   Layout: full-bleed bands, each with an inner .wrap (max 1120px) carrying the side gutter. */

:root {
  --bg:        #eef1f4;
  --surface:   #ffffff;
  --surface-2: #f6f8fa;
  --ink:       #0f1a22;
  --muted:     #526170;
  --accent:    #7a2cf8;   /* violet — taken from the Neoview logo */
  --accent-2:  #6424cb;
  --on-accent: #ffffff;
  --line:      #d8dee5;
  --line-2:    #e7ecf0;
  --ok:        #0e700e;
  --warn:      #bc4b09;
  --bad:       #b10e1c;
  --glow:      rgba(122,44,248,.14);
  --shadow:    0 1px 2px rgba(15,26,34,.06), 0 12px 32px rgba(15,26,34,.08);
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Archivo", system-ui, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f14; --surface: #121a22; --surface-2: #0f161d;
    --ink: #e6edf3; --muted: #9aa7b4;
    --accent: #aa78fb; --accent-2: #bd96fc; --on-accent: #220c45;
    --line: #22303c; --line-2: #1a242e;
    --ok: #56d364; --warn: #e3b341; --bad: #ff7b72;
    --glow: rgba(170,120,251,.18);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 44px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f14; --surface: #121a22; --surface-2: #0f161d;
  --ink: #e6edf3; --muted: #9aa7b4;
  --accent: #aa78fb; --accent-2: #bd96fc; --on-accent: #220c45;
  --line: #22303c; --line-2: #1a242e;
  --ok: #56d364; --warn: #e3b341; --bad: #ff7b72;
  --glow: rgba(170,120,251,.18);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 44px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line-2); }
.band.tight { padding-block: clamp(36px, 5vw, 64px); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.eyebrow .ea { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 3px 9px; border-radius: 999px; margin-right: 10px; vertical-align: 1px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; }
.hl { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
header.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.bar .wrap { display: flex; align-items: center; gap: 18px; height: 62px; position: relative; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand .mark { width: 22px; height: 22px; flex: none; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .mobile-cta { display: none; }
.bar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); cursor: pointer; }
.iconbtn:hover { border-color: var(--accent); }
.nav-toggle { display: none; }

.btn { font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: transform .08s ease, box-shadow .15s ease, border-color .15s ease; }
.btn:hover { border-color: var(--accent); }
.btn.p { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.p:hover { box-shadow: 0 8px 22px var(--glow); transform: translateY(-1px); }
.btn.lg { padding: 13px 22px; font-size: 15px; }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); }
.hero .lead { margin-top: 20px; font-size: clamp(16px, 1.7vw, 19px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.microtrust { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; }
.microtrust span { white-space: nowrap; }
.microtrust b { color: var(--accent); font-weight: 600; }

/* product preview card */
.pv { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.pv .top { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.pv .top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.pv .top .t { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pv .pane { padding: 16px; }
.pv .pane h4 { margin: 0 0 2px; font-size: 15px; }
.pv .pane .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); }
.kpi .v { font-family: var(--disp); font-weight: 700; font-size: 22px; }
.kpi .l { font-size: 11px; color: var(--muted); }
.tenants { display: flex; flex-direction: column; gap: 8px; }
.trow { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; }
.trow .name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .lic { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pill { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: currentColor; }
.pill.ok   { color: var(--ok);   border-color: color-mix(in srgb, var(--ok) 40%, transparent);   background: color-mix(in srgb, var(--ok) 10%, transparent); }
.pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.pill.bad  { color: var(--bad);  border-color: color-mix(in srgb, var(--bad) 40%, transparent);  background: color-mix(in srgb, var(--bad) 10%, transparent); }

/* ---------- sections ---------- */
.section-head { max-width: 66ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin-top: 14px; color: var(--muted); }
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 20ch; }
.page-head .lead { margin-top: 16px; }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; min-width: 0; }
.band.alt .card { background: var(--surface-2); }
.card h3 { font-size: 19px; }
.card h3 + p, .card .tag + h3 { margin-top: 10px; }
.card p { color: var(--muted); margin-top: 9px; font-size: 14.5px; }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--accent); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 22px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.step .when { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-top: 8px; display: block; }

.diffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.diff { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line-2); align-items: start; }
.diff svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.diff h3 { font-size: 17px; }
.diff p { color: var(--muted); font-size: 14px; margin-top: 5px; }

.coexist { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; background: linear-gradient(120deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.coexist h3 { font-size: 19px; }
.coexist p { color: var(--muted); margin-top: 8px; font-size: 14.5px; max-width: 48ch; }
.logos { display: flex; gap: 10px; flex-wrap: wrap; }
.logos span { font-family: var(--mono); font-size: 13px; padding: 6px 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }

/* pricing */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.plan.feat { border-color: var(--accent); box-shadow: 0 10px 30px var(--glow); position: relative; }
.plan .flag { position: absolute; top: -11px; left: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 3px 9px; border-radius: 6px; }
.plan .pname { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan .amt { font-family: var(--disp); font-weight: 800; font-size: 34px; margin-top: 6px; }
.plan .amt small { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .who { color: var(--muted); font-size: 14px; margin: 2px 0 14px; }
.plan ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.plan ul li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 80ch; }
.pricing-note b { color: var(--ink); }

/* blog */
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; }
.post .thumb { height: 128px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--surface)), var(--surface-2)); border-bottom: 1px solid var(--line-2); display: grid; place-items: center; }
.post .thumb svg { width: 38px; height: 38px; color: var(--accent); opacity: .8; }
.post .pbody { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.post h3 { font-size: 17.5px; }
.post .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.post .more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--accent); }

.article { max-width: 72ch; }
.article h1 { font-size: clamp(30px, 4.2vw, 44px); }
.article .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 16px 0 30px; align-items: center; }
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 5px; }
.prose pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--muted); }
.prose .tbl { overflow-x: auto; margin: 0 0 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.callout b { color: var(--accent); }
.article-nav { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.article-nav a { color: var(--accent); font-weight: 600; }

/* tables outside prose */
.tbl { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table.data tr:last-child td { border-bottom: 0; }

/* badges / lists */
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.live { border-color: color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); }
.badge.soon { border-color: color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.badge.acc { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 15px; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 700; line-height: 1.5; }
.checks li b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* forms */
.form { display: grid; gap: 14px; max-width: 560px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); min-width: 0; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.notice { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: var(--muted); }
.notice b { color: var(--ink); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 15px; }

/* security strip & final CTA */
.sec { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.sec .shield { width: 44px; height: 44px; color: var(--accent); }
.sec p { color: var(--muted); font-size: 14.5px; }
.sec b { color: var(--ink); }

.final { text-align: center; }
.final .inner { background: linear-gradient(140deg, var(--accent-2), var(--accent)); color: var(--on-accent); border-radius: 22px; padding: clamp(40px, 6vw, 64px) 28px; }
.final h2 { color: var(--on-accent); font-size: clamp(26px, 3.6vw, 40px); }
.final p { color: color-mix(in srgb, var(--on-accent) 82%, transparent); margin: 14px auto 0; max-width: 52ch; }
.final .cta-row { justify-content: center; }
.final .btn { background: var(--on-accent); color: var(--accent-2); border-color: transparent; }
.final .btn.ghost { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }

/* footer */
footer { border-top: 1px solid var(--line-2); background: var(--surface-2); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 52px; }
.foot .col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot .col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; }
.foot .col a:hover { color: var(--ink); }
.foot .about p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.foot .about .email { color: var(--accent); font-weight: 600; }
.legal { border-top: 1px solid var(--line-2); padding-block: 22px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.legal .disc { max-width: 70ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: grid; order: 3; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 62px; flex-direction: column; gap: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 14px; box-shadow: var(--shadow); }
  .bar.open .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav .mobile-cta { display: inline-flex; margin-top: 12px; justify-content: center; border-bottom: 0; }
  .bar .right .btn { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .g3, .g4, .price, .split { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; gap: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sec { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { padding: 9px 10px; }
  .kpi .v { font-size: 19px; }
  .foot { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}

/* ======================================================================
   Home v2 — product-led layout: HTML crops with numbered pins,
   margin notes, plain bands. Added 2026-11-02.
   ====================================================================== */
.hero2 { padding-block: clamp(44px, 7vw, 84px) clamp(24px, 4vw, 40px); }
.hero2 h1 { font-size: clamp(34px, 5vw, 56px); max-width: 18ch; }
.hero2 .lead { margin-top: 18px; max-width: 58ch; }
.hero2 .cta-row { margin-top: 26px; }
.hero2 .fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero2 .fine b { color: var(--ink); font-weight: 600; }

/* screenshot frame */
.shot { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot .cap { padding: 8px 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-2); background: var(--surface-2); }
.shot .pin { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 12px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent), 0 2px 8px rgba(0,0,0,.25); transform: translate(-50%, -50%); }

/* numbered margin notes that pair with pins */
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.notes li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.notes .n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 12px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.notes b { color: var(--ink); }
.notes p { color: var(--muted); margin: 0; }
.notes .only { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }

/* feature block: screenshot + notes, alternating sides */
.feature { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.feature.flip .shot { order: 2; }
.feature .txt h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 10px; }
.feature .txt > p { color: var(--muted); margin-bottom: 20px; }
.feature.wide { grid-template-columns: 1fr; }
.feature.wide .notes { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.feature.wide .notes li { grid-template-columns: 24px 1fr; }

/* founder note */
.founder { max-width: 62ch; border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; }
.founder p { font-size: 17px; line-height: 1.65; margin-bottom: 14px; }
.founder .sig { font-size: 14px; color: var(--muted); }
.founder .sig b { color: var(--ink); font-weight: 600; }

/* plain pricing row */
.plans-plain { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.plans-plain > div { padding: 22px 24px; border-right: 1px solid var(--line-2); }
.plans-plain > div:last-child { border-right: 0; }
.plans-plain .pname { font-size: 13px; color: var(--muted); }
.plans-plain .amt { font-family: var(--disp); font-weight: 700; font-size: 30px; margin: 6px 0 2px; }
.plans-plain .amt small { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.plans-plain .who { font-size: 14px; color: var(--muted); }

/* plain post list */
.posts-list { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.posts-list li { padding: 16px 0; border-top: 1px solid var(--line-2); }
.posts-list li:last-child { border-bottom: 1px solid var(--line-2); }
.posts-list a { font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.posts-list a:hover { color: var(--accent); }
.posts-list p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* plain final band */
.final-plain { border-top: 1px solid var(--line-2); }
.final-plain h2 { font-size: clamp(24px, 3vw, 34px); max-width: 24ch; }
.final-plain p { color: var(--muted); margin-top: 10px; max-width: 56ch; }

@media (max-width: 900px) {
  .feature, .feature.wide .notes { grid-template-columns: 1fr; }
  .feature.flip .shot { order: 0; }
  .plans-plain { grid-template-columns: 1fr; }
  .plans-plain > div { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .plans-plain > div:last-child { border-bottom: 0; }
  .shot .pin { width: 20px; height: 20px; font-size: 11px; }
}
.shot .img { position: relative; }
.shot .img.crop { aspect-ratio: 800 / 205; overflow: hidden; }
.shot .img.crop img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.feature.flip { grid-template-columns: .75fr 1.25fr; }

/* ======================================================================
   Site-wide restyle (2026-11-02): plain kickers instead of mono labels,
   plain rows instead of icon cards. Added for the "less generated" pass.
   ====================================================================== */
.eyebrow { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0 0 12px; }
.eyebrow .ea { background: none; color: var(--accent); padding: 0; margin-right: 0; font-weight: 600; }
.eyebrow .ea::after { content: " · "; color: var(--muted); font-weight: 400; }
.card .tag, .post .tag, .plan .pname, .plan .flag, .foot .col h5, .badge, .notes .only, .step::before, .step .when, .legal, .microtrust, .pv .top .t, .trow .lic, .kpi .l { }
.card .tag { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--accent); font-weight: 600; }
.badge { font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.notes .only { font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.step::before { font-family: var(--sans); font-size: 13px; }
.step .when { font-family: var(--sans); font-size: 13px; }
.plan .pname { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }
.foot .col h5 { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 600; }

/* plain definition rows (security, contact, "for MSPs") */
.rows { display: grid; gap: 0; max-width: 860px; }
.rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.rows > div:last-child { border-bottom: 1px solid var(--line-2); }
.rows h3 { font-size: 17px; }
.rows p { color: var(--muted); font-size: 15px; }
.rows p + p { margin-top: 8px; }
@media (max-width: 640px) { .rows > div { grid-template-columns: 1fr; gap: 6px; } }

/* "included" plain list for pricing */
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; max-width: 760px; }
.included li { padding-left: 18px; position: relative; color: var(--muted); font-size: 15px; }
.included li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }

/* section kicker used by product page */
.kicker { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.anchor { scroll-margin-top: 80px; }

/* audience tag on blog posts (2026-11-02) */
.aud { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); white-space: nowrap; }
.aud.msp { border-color: color-mix(in srgb, var(--warn) 50%, transparent); color: var(--warn); }
.aud.both { border-color: var(--line); color: var(--muted); }
.posts-list .aud { margin-right: 8px; vertical-align: 2px; }
.posts-list li .title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* big-number stats (direct landing, 2026-11-03) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--surface); }
.stat.hi { border-color: var(--accent); }
.stat .big { font-family: var(--disp); font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.stat.hi .big { color: var(--accent); }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* logo A (gradient) in header and footer; light/dark swap (2026-11-03) */
.brand .logo { display: block; height: 30px; width: auto; }
.foot .brand .logo { height: 26px; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }

/* highlighted "next up" rows in the coverage table (2026-11-03) */
table.data tr.hi-row td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
table.data tr.hi-row td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

/* bilingual: language switch + trimmed footer (2026-11-04) */
.foot { grid-template-columns: 1.4fr 1fr 1fr; }
.lang { font-size: 13px; font-weight: 600; color: var(--muted); padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; line-height: 1; }
.lang:hover { color: var(--ink); border-color: var(--accent); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }


/* === linea visual aprobada (docs/diseno, 2026-11-05); secciones 9 y 10 excluidas por decision de Diego === */
/* Web de marketing: lo que CAMBIA respecto de web/assets/site.css (propuesta, docs/diseno/sistema-de-diseno.md).
   Se carga encima de site.css; todo lo que no aparece aquí queda igual. Para el chat de GTM. */

/* 1. Estados: los mismos valores que portal, PDF y correo (antes la web tenía los suyos). */
:root { --ok: #11713a; --warn: #9a4a06; --bad: #b42318; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #56d364; --warn: #e3b341; --bad: #ff7b72; } }
:root[data-theme="dark"] { --ok: #56d364; --warn: #e3b341; --bad: #ff7b72; }

/* 2. Escala de esquinas común: 6 / 8 / 12 / 16 (antes 5, 6, 8, 9, 10, 12, 14, 16 y 22). */
.btn, .iconbtn, .field input, .field select, .field textarea, .logos span { border-radius: 8px; }
.prose code, .plan .flag { border-radius: 6px; }
.kpi, .trow, .shot, .pv, .card, .post, .notice, .callout, .faq details, .prose pre, table.data { border-radius: 12px; }
.plan, .coexist, .sec, .final .inner { border-radius: 16px; }

/* 3. Mínimo de 12 px en todo texto (antes había 10,5 y 11 px). */
.pill, .kpi .l, .trow .lic, .card .tag, .post .tag, .badge, .notes .only, .foot .col h5 { font-size: 12px; }
.plan .flag { font-size: 12px; }

/* 4. Enlaces de texto reconocibles: subrayado al pasar y el violeta fuerte (7,9:1) en texto corrido. */
.prose a, .lead a, .txt p a, .founder a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card .more:hover, .post .more:hover, .article-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 5. Foco igual que en el portal: anillo violeta de 2 px con separación. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 6. Números tabulares en cifras y precios (se alinean igual que en el portal). */
.kpi .v, .plan .amt, table.data td { font-variant-numeric: tabular-nums; }

/* 7. Capturas: el marco de la captura usa el mismo radio y línea que una tarjeta del portal. */
.shot { border-radius: 12px; }

/* ===================== Cambios de estructura (visibles) =====================
   Los aplica la maqueta sobre el HTML real; en la web irían en el HTML de cada página. */

/* 8. Portada: el producto en la primera pantalla, a la derecha del titular. */
.nv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.nv-hero h1 { font-size: clamp(32px, 4.2vw, 50px) !important; }
.nv-window { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.nv-window .bar2 { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.nv-window .bar2 i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.nv-window .bar2 span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nv-shotbox { position: relative; width: 100%; aspect-ratio: 1280 / 820; overflow: hidden; background: var(--surface); }
.nv-shotbox iframe { position: absolute; border: 0; transform-origin: 0 0; pointer-events: none; }

/* 11. Precios: tarjetas separadas, plan recomendado destacado en violeta, botón en cada plan. */
.nv-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.nv-plans .plan { position: relative; }
.nv-plans .plan .amt { font-variant-numeric: tabular-nums; }
.nv-plans .plan ul { margin-top: 6px; }
@media (max-width: 900px) { .nv-plans { grid-template-columns: 1fr; } }

/* 12. Listas de lo incluido con el check de marca (antes, un punto). */
.included li::before { content: "✓"; left: 0; }
.included li { padding-left: 22px; color: var(--ink); }


/* 13. Menos capturas: recortes de un solo bloque, con el borde difuminado (no se ve el mapa de la aplicación). */
.nv-crop { position: relative; padding: clamp(18px, 3vw, 32px); background: var(--surface-2);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.nv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; max-width: 620px; font-size: 14px; box-shadow: var(--shadow); }
.nv-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.nv-rt { display: flex; gap: 10px; align-items: center; } .nv-rt b { font-weight: 600; }
.nv-todo { margin-top: 12px; background: var(--surface-2); border-radius: 8px; padding: 9px 12px; font-size: 13.5px; } .nv-todo b { font-weight: 600; }
.nv-btns { display: flex; gap: 8px; margin-top: 12px; }
.nv-b { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.nv-b.p { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.nv-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid; }
.nv-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nv-pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 9%, var(--surface)); }
.nv-pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 9%, var(--surface)); }
.nv-pill.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 9%, var(--surface)); }
.nv-tbl { padding: 0; overflow: hidden; } .nv-tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.nv-tbl th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--surface-2); padding: 9px 14px; border-bottom: 1px solid var(--line); }
.nv-tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); } .nv-tbl b { font-weight: 600; } .nv-tbl td.tw { color: var(--warn); font-weight: 600; }
.nv-mini { display: inline-flex; align-items: center; gap: 8px; } .nv-bar { width: 56px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; display: inline-block; } .nv-bar i { display: block; height: 100%; background: var(--accent); }
.nv-lbl { font-size: 13px; color: var(--muted); } .nv-fig { font-family: var(--disp); font-weight: 700; font-size: 30px; letter-spacing: -.02em; margin: 2px 0 12px; }
.nv-locs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .nv-locs div { border: 1px solid var(--line); border-radius: 8px; padding: 9px; display: grid; gap: 6px; justify-items: start; font-size: 13px; }
.nv-ctr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .nv-ctr div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.nv-ctr b { display: block; font-family: var(--disp); font-size: 26px; } .nv-ctr span { font-size: 12.5px; color: var(--muted); }
.nv-licn { margin-top: 12px !important; font-size: 13.5px; color: var(--muted); }

/* Bloques sin captura: el texto ocupa todo el ancho y enlaza a la demo. */
.feature.nv-noshot { grid-template-columns: 1fr; }
.feature.nv-noshot .notes { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
@media (max-width: 900px) { .feature.nv-noshot .notes { grid-template-columns: 1fr; } }
.nv-demo { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--accent); }
.nv-demo:hover { text-decoration: underline; text-underline-offset: 3px; }

.notes .n { font-size: 13px; }
.nv-hero .nv-window { min-width: 0; }
@media (max-width: 900px) { .nv-hero { grid-template-columns: 1fr; } }
/* crops: location grid wraps instead of clipping at narrow widths */
.nv-locs { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }

/* revision de diseno 2026-11-05 */
.nv-card { max-width: none; }
.nv-locs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .nv-locs { grid-template-columns: repeat(2, 1fr); } }
.nv-top { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: flex-end; margin-bottom: 14px; }
.nv-top .nv-fig { margin-bottom: 0; }
.nv-fig small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 3px; letter-spacing: 0; }

/* Formularios conectados a /api/contact (2026-11-06): honeypot, aviso de estado, línea de privacidad */
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.form-privacy a { color: var(--accent); font-weight: 600; }
.notice.ok { border-color: var(--ok); color: var(--ink); }
.notice.err { border-color: var(--bad); color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--bad); }
button.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
/* Campos opcionales de motivo y norma en los formularios (2026-11-07) */
.field label .opt { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; }
.field[hidden] { display: none; }

/* Banner de cookies (Legal, 2026-11-07): Accept y Reject con el mismo peso; enlace "Cookie settings" en el pie */
#nv-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.12); padding: 14px 0; }
#nv-consent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
#nv-consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); max-width: 72ch; }
#nv-consent p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
#nv-consent .acts { display: flex; gap: 10px; }
#nv-consent .btn { min-width: 112px; justify-content: center; }
.cookie-settings { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
