:root {
  --blue: #0078d4;
  --blue-hover: #0f6cbd;
  --blue-soft: #ebf3fc;
  --ink: #1b1b1b;
  --muted: #5c5c5c;
  --line: #e1e1e1;
  --bg: #f5f5f5;
  --white: #fff;
  --footer: #1e1e1e;
  --font: "Segoe UI", "Segoe UI Variable", system-ui, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 24px;
  min-height: 56px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 700; font-size: 16px;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; margin-left: 8px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { font-size: 13px; color: var(--muted); }
.langs a { color: var(--muted); }
.langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; border-radius: 4px; font-weight: 600; font-size: 14px;
  text-decoration: none; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); }

.hero {
  padding: 56px 0 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 10px;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 14px;
  font-weight: 650;
}
.lede { font-size: 18px; color: var(--muted); max-width: 42rem; margin: 0 0 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.demo-note {
  font-size: 13px; color: var(--muted); margin: -12px 0 24px; max-width: 44rem;
  padding: 10px 12px; border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px;
  font-size: 13px; color: var(--muted);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip svg { flex-shrink: 0; color: var(--blue); }
.shot {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.shot img { width: 100%; }

.section { padding: 56px 0; }
.section h2 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.02em; }
.section .intro { color: var(--muted); margin: 0 0 28px; max-width: 40rem; }
.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.feat-groups { display: grid; gap: 32px; }
.feat-group h3 {
  font-size: 15px; font-weight: 650; margin: 0 0 14px; color: var(--ink);
  letter-spacing: -0.01em;
}
.feat-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
.feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white);
}
.feat-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.feat h4 { margin: 0 0 4px; font-size: 14px; font-weight: 650; }
.feat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tag-pro {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  vertical-align: middle; color: #5a3e00; background: #fff4ce;
}
.feat code {
  font-size: 12px; padding: 1px 5px; border-radius: 3px;
  background: var(--bg); color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery figure { margin: 0; }
.gallery figcaption {
  font-size: 13px; color: var(--muted); padding: 8px 2px 0;
}

table.cmp {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  font-size: 14px;
}
table.cmp th, table.cmp td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
table.cmp th { background: var(--bg); font-weight: 600; }
table.cmp tr:last-child td { border-bottom: 0; }
.yes { color: #0e700e; font-weight: 600; }
.no { color: var(--muted); }

.price {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.price .card strong { display: block; font-size: 28px; margin: 8px 0; color: var(--blue); }
.price ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }

article.prose { max-width: 44rem; }
article.prose h1 { margin-top: 24px; }
article.prose h2 { font-size: 20px; margin: 28px 0 8px; }
article.prose p, article.prose li { color: var(--ink); }
article.prose .muted { color: var(--muted); }

footer {
  background: var(--footer); color: #c8c8c8;
  padding: 36px 0 24px; font-size: 13px;
}
footer a { color: #dce8f5; }
footer .cols {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}
footer strong { color: #fff; display: block; margin-bottom: 8px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
.legal { border-top: 1px solid #333; padding-top: 16px; color: #9a9a9a; }

/* Lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0,0,0,.82);
  animation: lb-in .2s ease;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(1200px, 96vw); max-height: 88vh;
  border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.45);
  animation: lb-zoom .25s ease;
}
.lightbox-cap {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center; color: #e8e8e8; font-size: 13px; padding: 0 20px;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.shot.lightbox-hit, .gallery .shot { cursor: zoom-in; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { transform: scale(.96); opacity: .6; } to { transform: scale(1); opacity: 1; } }

/* App live demo frame */
.app-live { margin-top: 8px; }
.app-frame {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #f3f3f3; box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.app-frame-bar {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: linear-gradient(#f8f8f8, #ececec);
  border-bottom: 1px solid #d8d8d8; font-size: 12px; color: #424242;
}
.app-frame-bar img { width: 16px; height: 16px; border-radius: 3px; }
.app-frame-bar .dots { margin-left: auto; opacity: .45; letter-spacing: 5px; font-size: 10px; }
.app-frame iframe {
  display: block; width: 100%; height: min(52vh, 420px); min-height: 360px;
  border: 0; background: #fafafa;
}
.app-frame-fallback {
  margin-top: 10px; font-size: 13px; color: var(--muted);
}
.app-frame-fallback a { font-weight: 600; }

/* Scroll reveal — visible sin JS; animación solo si site.js carga */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .08s; }
html.js .reveal-d2 { transition-delay: .16s; }

@media (max-width: 799px) {
  .nav-links { display: none; }
  .nav-right .btn { padding: 8px 12px; }
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .gallery .wide { grid-column: 1 / -1; }
}
