:root {
  --orange: #fba64d;
  --orange-soft: #fff3e4;
  --navy: #0f4c6e;
  --navy-deep: #0b3a55;
  --lid: #1a6e96;
  --lid-soft: #eaf3f8;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: #e3e7ec;
  --line-soft: #eef1f4;
  --muted: #5b6b78;
  --faint: #8a98a4;
  --ok: #2e8b57;
  --ok-soft: #eaf6ef;
  --warn: #c77a12;
  --warn-soft: #fdf3e3;
  --danger: #b3261e;
  --danger-soft: #fdeceb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(15, 76, 110, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 76, 110, 0.14);
  --font: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lid); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 6px 18px rgba(251, 166, 77, 0.35); }
.btn-primary:hover { background: #f99a36; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-link { background: none; border: 0; color: var(--lid); padding: 8px 4px; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1c9c6; }
.btn-sm { font-size: 14px; padding: 9px 14px; border-radius: 10px; }
.btn-lg { font-size: 18px; padding: 18px 26px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: default; box-shadow: none; }

/* Forms */
label.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}
select { width: auto; font-weight: 700; font-size: 15px; padding: 9px 12px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible {
  outline: 3px solid rgba(26, 110, 150, 0.25);
  outline-offset: 1px;
  border-color: var(--lid);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--navy); }

/* Surfaces */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card-lg { padding: 32px; }
.card h2 { font-size: 20px; margin-bottom: 6px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pill.ok { color: var(--ok); background: var(--ok-soft); }
.pill.info { color: var(--lid); background: var(--lid-soft); }
.pill.warn { color: var(--warn); background: var(--warn-soft); }
.pill.bad { color: var(--danger); background: var(--danger-soft); }
.pill.pro { color: var(--navy); background: var(--orange); }
.pill.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--lid-soft);
  color: var(--lid);
  font-size: 14px;
  font-weight: 800;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--lid-soft);
  color: var(--navy);
  font-size: 15px;
}
.notice.warn { background: var(--warn-soft); }
.notice.ok { background: var(--ok-soft); }
.notice strong { display: block; }

.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
.progress.thin { height: 6px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: left;
  font: inherit;
  color: var(--navy);
}
button.stat { cursor: pointer; background: var(--bg); }
button.stat:hover { border-color: var(--lid); }
button.stat[aria-pressed="true"] { border-color: var(--lid); background: var(--lid-soft); box-shadow: inset 0 0 0 1px var(--lid); }
.stat > span { display: block; color: var(--muted); font-size: 14px; font-weight: 700; }
.stat > strong { display: block; margin-top: 4px; font-size: 30px; line-height: 1.1; font-weight: 800; }
.stat > small { display: block; min-height: 1.2em; margin-top: 2px; color: var(--muted); font-size: 13px; }

/* Chips and tools */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tools input[type="search"] { flex: 1 1 240px; width: auto; padding: 10px 14px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.chip span { color: var(--muted); font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] span { color: #cfe0ea; }

/* Tables */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap.tall { max-height: 68vh; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.data th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f9fb;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
table.data tbody tr:hover td { background: #fbfcfd; }
table.data td.num, table.data th.num { text-align: right; }
table.data td { max-width: none; }
table.data .sort { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
table.data th[aria-sort="ascending"], table.data th[aria-sort="descending"] { color: var(--navy); }
table.data .sort i { font-style: normal; font-size: 10px; }
.thumb { width: 38px; height: 38px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--faint); overflow: hidden; }
.thumb svg { width: 20px; height: 20px; }
.cell-title { display: grid; gap: 1px; min-width: 240px; max-width: 320px; }
.cell-title strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.cell-title small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }

.pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.pager .pages { display: flex; gap: 4px; align-items: center; }
.pager button {
  font: inherit;
  font-weight: 800;
  min-width: 34px;
  padding: 6px 8px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.pager button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: 0.4; cursor: default; }
.pager label { display: flex; align-items: center; gap: 8px; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.empty-state .glyph { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); display: grid; place-items: center; }
.empty-state .glyph img { width: 32px; }
.empty-state h3 { color: var(--navy); font-size: 20px; }

/* ================= Marketing ================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-nav .brand img { height: 40px; display: block; }
.site-nav nav { display: flex; gap: 22px; margin-left: 12px; }
.site-nav nav a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 16px; }
.site-nav nav a:hover { color: var(--lid); }
.site-nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-nav .login { font-weight: 800; color: var(--navy); text-decoration: none; padding: 10px 12px; }

.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 800; margin: 20px 0 20px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(251, 166, 77, 0.55) 62%); }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 700; }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust svg { color: var(--ok); width: 16px; height: 16px; }

/* Browser frame with a Mercado Libre-like grid (neutral colors only) */
.browser { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f3f5f7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dce2; }
.browser-bar .url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.browser-body { padding: 16px; background: #f5f5f5; position: relative; min-height: 420px; }
.ml-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ml-card { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); display: grid; gap: 6px; }
.ml-img { height: 92px; border-radius: 6px; background: linear-gradient(135deg, #eef1f4, #e2e7ec); display: grid; place-items: center; color: #b3bec8; }
.ml-img svg { width: 30px; height: 30px; }
.ml-title { font-size: 12px; line-height: 1.3; color: #333; height: 32px; overflow: hidden; }
.ml-meta { font-size: 11px; color: #777; }
.ml-price { font-size: 17px; color: #333; font-weight: 400; }

.strip {
  position: relative;
  border: 1px solid #e1e6eb;
  border-top: 2px solid var(--orange);
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
}
.strip .row { display: flex; gap: 8px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; padding-right: 22px; }
.strip .row:last-child { padding-right: 0; }
.strip .code { font-family: var(--mono); color: var(--navy); font-weight: 600; font-size: 11px; }
.strip .tag { display: inline-flex; gap: 4px; align-items: center; }
.strip .tag svg { width: 11px; height: 11px; opacity: 0.6; }
.strip .add { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #d5dde3; display: grid; place-items: center; font-size: 13px; color: var(--navy); background: #fff; }
.strip .add.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.strip .skeleton { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #eef1f4, #f7f8fa, #eef1f4); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.fab { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(15, 76, 110, 0.25); }
.fab img { width: 26px; }
.fab b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

.dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid var(--orange);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -12px 32px rgba(15, 76, 110, 0.18);
  font-size: 12px;
}
.dock header { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.dock header img { height: 20px; }
.dock header .sp { flex: 1; }
.dock .mini-btn { background: var(--navy); color: #fff; border-radius: 7px; padding: 5px 9px; font-weight: 800; font-size: 11px; border: 0; font-family: inherit; }
.dock .mini-btn.orange { background: var(--orange); color: var(--navy); }
.dock .mini-btn.ghost { background: transparent; color: var(--navy); }
.dock table { width: 100%; border-collapse: collapse; }
.dock th, .dock td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.dock th { color: var(--muted); background: #f7f9fb; font-weight: 800; }
.dock td .mono { color: var(--navy); }
.dock footer { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.dock footer .sp { flex: 1; }
.dock footer input { width: auto; font-size: 11px; padding: 4px 6px; border-radius: 6px; }
.dock input[type="checkbox"] { accent-color: var(--navy); margin: 0; }

.hero-visual { position: relative; }
.hero-visual .float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  font-size: 13px;
  display: grid;
  gap: 4px;
}
.hero-visual .float strong { font-size: 22px; }
.hero-visual .float.a { left: -32px; bottom: 36px; }
.hero-visual .float.b { right: -18px; top: -18px; }

.section { padding: 88px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { font-size: 19px; color: var(--muted); }
.kicker { color: var(--lid); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }

.proof { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof div { display: grid; gap: 2px; }
.proof strong { font-size: 32px; font-weight: 800; }
.proof span { color: var(--muted); font-size: 15px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card { padding: 28px; display: grid; gap: 14px; align-content: start; }
.compare .card.after { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.compare h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.compare ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.compare .time { font-size: 15px; font-weight: 800; }
.compare .before .time { color: var(--danger); }
.compare .after .time { color: var(--ok); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); }
.step .shot { margin-top: 6px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--lid-soft); color: var(--lid); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; display: flex; gap: 8px; align-items: center; }
.feature p { color: var(--muted); font-size: 16px; }

.showcase { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: center; }
.showcase h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 12px 0 16px; }
.showcase ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 10px; color: var(--muted); }
.showcase li svg { flex: 0 0 20px; color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }
.showcase li strong { color: var(--navy); }
.app-shot { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; display: grid; gap: 14px; font-size: 13px; }
.app-shot .stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-shot .stat { padding: 10px 12px; }
.app-shot .stat strong { font-size: 22px; }
.app-shot .stat span { font-size: 12px; }
.app-shot table.data { font-size: 12px; }
.app-shot table.data th, .app-shot table.data td { padding: 7px 9px; }

.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; }
.persona .p-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--navy); display: grid; place-items: center; }
.persona h3 { font-size: 19px; }
.privacy-list svg { color: var(--lid); }
.persona p { color: var(--muted); font-size: 16px; }
.persona .quote { font-size: 15px; color: var(--navy); font-weight: 700; border-left: 3px solid var(--orange); padding-left: 12px; margin-top: 6px; }

.privacy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.privacy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 12px 0 16px; }
.privacy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy-list div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 6px; }
.privacy-list strong { font-size: 16px; }
.privacy-list span { color: var(--muted); font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 24px; justify-content: center; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; align-content: start; position: relative; }
.plan.featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -14px; left: 32px; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price strong { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.plan li.soon { color: var(--muted); }
.plan li.soon svg { color: var(--faint); }
.plan-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--lid); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.final-cta { background: var(--navy); color: #fff; border-radius: 28px; padding: 64px 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.final-cta p { color: #cfe0ea; font-size: 19px; margin-top: 12px; }
.final-cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(251, 166, 77, 0.18); }

.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 36px; }
.site-footer h4 { color: var(--navy); font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ================= Auth ================= */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-main { display: grid; align-content: center; justify-items: center; padding: 40px 24px; background: #fff; }
.auth-box { width: min(420px, 100%); display: grid; gap: 22px; }
.auth-box .logo { height: 44px; justify-self: start; }
.auth-box h1 { font-size: 32px; font-weight: 800; }
.auth-box .sub { color: var(--muted); margin-top: 6px; }
.auth-box form { display: grid; gap: 16px; }
.auth-box .alt { text-align: center; color: var(--muted); font-size: 15px; }
.auth-box .alt a { font-weight: 800; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-side { background: var(--navy); color: #fff; padding: 56px; display: grid; align-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(251, 166, 77, 0.16); }
.auth-side h2 { font-size: 34px; font-weight: 800; max-width: 460px; position: relative; z-index: 1; }
.auth-side p { color: #cfe0ea; font-size: 18px; max-width: 460px; margin-top: 14px; position: relative; z-index: 1; }
.auth-side .mini { position: relative; z-index: 1; background: #fff; color: var(--navy); border-radius: 16px; padding: 16px; max-width: 420px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25); display: grid; gap: 10px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.auth-side li { display: flex; gap: 10px; color: #e3eef4; }
.auth-side li svg { color: var(--orange); width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.sent { text-align: center; display: grid; gap: 14px; justify-items: center; }
.sent .glyph { width: 64px; height: 64px; border-radius: 18px; background: var(--orange-soft); display: grid; place-items: center; color: var(--navy); }
.sent .glyph svg { width: 30px; height: 30px; }
.form-error { color: var(--danger); font-size: 14px; font-weight: 700; }
.steps-mini { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; font-size: 13px; font-weight: 800; color: var(--faint); }
.steps-mini li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); }
.steps-mini li.on { color: var(--navy); border-color: var(--orange); }
.steps-mini li.done { color: var(--ok); border-color: var(--ok); }
.choice-list { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input { accent-color: var(--navy); }
.choice small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.choice select { font-size: 14px; }

/* ================= App shell ================= */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side .brand { padding: 4px 4px 8px 10px; }
.side .brand img { height: 34px; display: block; }
.side nav { display: grid; gap: 2px; }
.side nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.side nav a svg { width: 19px; height: 19px; color: var(--muted); }
.side nav a:hover { background: var(--bg); }
.side nav a[aria-current="page"] { background: var(--orange-soft); }
.side nav a[aria-current="page"] svg { color: var(--navy); }
.side nav a .count { margin-left: auto; font-size: 12px; color: var(--muted); background: var(--bg); padding: 1px 7px; border-radius: 999px; }
.side .group { color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 12px 4px; }
.side .quota { margin-top: auto; background: var(--bg); border-radius: 14px; padding: 14px; display: grid; gap: 8px; font-size: 13px; }
.side .quota .top { display: flex; justify-content: space-between; font-weight: 800; }
.side .quota a { font-weight: 800; }
.side .user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; position: relative; }
.side .user:hover { background: var(--bg); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: 0 0 34px; }
.side .user .who { min-width: 0; font-size: 13px; line-height: 1.3; }
.side .user .who strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.menu a, .menu button { text-align: left; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); background: none; border: 0; padding: 9px 10px; border-radius: 8px; text-decoration: none; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--bg); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

.main { min-width: 0; padding: 28px 36px 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 30px; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs { font-size: 14px; margin-bottom: 8px; display: flex; gap: 6px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 700; }
.stack { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.grid-halves { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.checklist { display: grid; gap: 4px; }
.checklist .item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; }
.checklist .item:hover { background: var(--bg); }
.checklist .tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: 0 0 28px; }
.checklist .done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.checklist .tick svg { width: 15px; height: 15px; }
.checklist .done .label strong { text-decoration: line-through; color: var(--muted); }
.checklist .label { flex: 1; display: grid; }
.checklist .label span { color: var(--muted); font-size: 14px; }

.scan-list { display: grid; }
.scan-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 110px 96px 96px;
  gap: 16px;
  align-items: center;
  padding: 14px 8px;
  border-top: 1px solid var(--line-soft);
  color: var(--navy);
  text-decoration: none;
}
.scan-item:first-child { border-top: 0; }
.scan-item:hover { background: #fbfcfd; }
.scan-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; }
.scan-item .ico img { width: 26px; }
.scan-item .name { min-width: 0; }
.scan-item .name strong { display: block; font-size: 16px; }
.scan-item .name small { display: block; color: var(--muted); font-size: 13px; }
.scan-item .name strong, .scan-item .name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-item .bar { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.scan-item .hit { font-size: 14px; font-weight: 800; text-align: right; }
.scan-item .hit small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

.store { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.store:first-child { border-top: 0; }
.store .logo-box { width: 48px; height: 48px; border-radius: 12px; background: var(--lid-soft); color: var(--lid); display: grid; place-items: center; font-weight: 800; }
.store small { display: block; color: var(--muted); font-size: 13px; }

.settings { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.subnav { position: sticky; top: 28px; display: grid; gap: 2px; }
.subnav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15px; }
.subnav a:hover { background: #fff; }
.subnav a.on { background: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.form-grid { display: grid; gap: 16px; max-width: 460px; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }

.plan-card { border: 2px solid var(--navy); border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.plan-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(11, 58, 85, 0.45); display: grid; place-items: center; z-index: 60; padding: 20px; }
.modal { background: #fff; border-radius: 20px; padding: 28px; width: min(560px, 100%); box-shadow: var(--shadow-lg); display: grid; gap: 16px; max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 24px; }
.modal .row { display: flex; justify-content: flex-end; gap: 10px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lg); z-index: 80; }

/* ================= Extension showcase ================= */
.ext-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.ext-frame { display: grid; gap: 10px; }
.ext-frame > h3 { font-size: 16px; }
.ext-frame > p { color: var(--muted); font-size: 14px; }
.popup { width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; font-size: 14px; }
.popup .logo { height: 28px; }
.popup label.field { font-size: 13px; }
.popup input { font-size: 14px; padding: 10px 12px; }
.popup .btn { font-size: 14px; padding: 11px 14px; }
.popup .line { display: flex; justify-content: space-between; align-items: center; }
.popup .meter { display: grid; gap: 6px; background: var(--bg); padding: 12px; border-radius: 12px; }
.card-demo { width: 250px; background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); display: grid; gap: 6px; }
.card-demo .strip { font-size: 12px; }
.card-demo .strip .code { font-size: 12px; }
.dock.static { position: relative; border-radius: 14px; }

/* ================= Language switch ================= */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch button { font: inherit; font-size: 12px; font-weight: 800; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 5px 9px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-switch.floating { position: fixed; top: 16px; right: 16px; z-index: 90; box-shadow: var(--shadow); }
.side-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.side-top .brand img { height: 30px; }
.side-top .lang-switch { margin-left: 8px; }


/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .hero .container, .showcase, .privacy { grid-template-columns: 1fr; }
  .hero-visual .float.a { left: 8px; }
  .features, .personas, .steps { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .site-nav nav { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .side nav { display: flex; flex-wrap: wrap; }
  .side .quota, .side .group { display: none; }
  .side .user { margin-left: auto; }
  .main { padding: 20px 16px 56px; }
  .settings { grid-template-columns: 1fr; }
  .subnav { position: static; display: flex; flex-wrap: wrap; }
  .scan-item { grid-template-columns: 44px 1fr 90px; }
  .scan-item .bar, .scan-item .when { display: none; }
}
@media (max-width: 680px) {
  .features, .personas, .steps, .compare, .privacy-list, .grid-halves { grid-template-columns: 1fr; }
  .proof .container { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; padding: 40px 24px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .ml-grid { grid-template-columns: 1fr 1fr; }
  .app-shot .stats { grid-template-columns: 1fr 1fr; }
  .site-nav .login { display: none; }
}

/* ================= Live site ================= */
.boot { min-height: 100vh; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.notice.bad { background: var(--danger-soft); color: var(--danger); }
.notice > svg { flex: 0 0 20px; margin-top: 2px; }
.notice a { font-weight: 800; }
.form-note { font-size: 14px; font-weight: 700; }
.form-note.ok { color: var(--ok); }
.form-note.bad { color: var(--danger); }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.side .paused { margin-top: auto; }
.paused { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 12px; font-size: 13px; font-weight: 700; display: grid; gap: 4px; }
.paused a { color: var(--warn); }
.store .actions { display: flex; gap: 8px; }
.scan-item .hit, .scan-item .bar { white-space: nowrap; }
.pager .gap { color: var(--muted); }
table.data td.none { color: var(--faint); }
table.data td small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.stat select { width: 100%; margin-top: 6px; font-weight: 800; }
.test-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.test-form label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
.test-form select { min-width: 260px; }
.secret { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.secret code { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; }
.site-nav .right .btn { white-space: nowrap; }
.prose { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; display: grid; gap: 14px; }
.prose h1 { font-size: 40px; font-weight: 800; }
.prose h2 { font-size: 22px; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
