/* ============ Tokens ============ */
:root {
  --bg: #f4f3ef;
  --bg-hero-top: #dfe8f0;
  --bg-hero-bot: #f4f3ef;
  --bg-soft: #eeede8;
  --bg-card: #ffffff;
  --ink: #141414;
  --ink-2: #1f1f1f;
  --muted: #6b6b68;
  --muted-2: #8a8a86;
  --line: #e5e3dc;
  --line-2: #d9d7cf;
  --accent-blue: oklch(72% 0.09 240);
  --accent-blue-soft: oklch(90% 0.04 240);
  --accent-teal: oklch(62% 0.08 195);
  --accent-green: oklch(68% 0.11 150);
  --accent-orange: oklch(68% 0.14 55);
  --accent-red: oklch(65% 0.14 25);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 30, 0.04), 0 2px 8px rgba(15, 20, 30, 0.04);
  --shadow: 0 8px 24px rgba(15, 20, 30, 0.06), 0 2px 6px rgba(15, 20, 30, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(15, 20, 30, 0.18), 0 10px 20px -10px rgba(15, 20, 30, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Navbar ============ */
.navbar-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-sm);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  width: 92px;
  height: 32px;
  flex: 0 0 auto;
  background: url("/assets/logo.png") center / contain no-repeat;
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  clip-path: polygon(0 40%, 60% 40%, 60% 0, 100% 50%, 60% 100%, 60% 60%, 0 60%);
}
.logo .logo-mark {
  display: none;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s;
}
.nav-links a:hover { background: rgba(0, 0, 0, 0.05); }

/* ============ Mega menu (Producto dropdown) ============ */
.nav-item-has-dropdown { position: relative; }
.nav-item-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.55;
  transition: transform 0.18s ease;
}
.nav-item-has-dropdown:hover > a::after,
.nav-item-has-dropdown:focus-within > a::after {
  transform: translateY(0) rotate(225deg);
}

.mega-menu {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(960px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 110;
}
.nav-item-has-dropdown:hover .mega-menu,
.nav-item-has-dropdown:focus-within .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0s;
}
/* Invisible bridge so the menu doesn't close while moving the cursor */
.nav-item-has-dropdown::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 24px;
}

.mega-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.mega-item:hover { background: var(--bg-soft); }
.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 16px;
  flex-shrink: 0;
}
.mega-icon svg { width: 16px; height: 16px; }
.mega-title {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 2px;
  letter-spacing: -0.005em;
}
.mega-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}
.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.mega-foot a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mega-foot a:hover { text-decoration: underline; }
.mega-foot-note { color: var(--muted); font-size: 12px; }

/* ============ Sub-page hero (features / blog / legal) ============ */
.sub-hero {
  position: relative;
  padding: 140px 0 70px;
  background: linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg) 70%);
  text-align: center;
}
.sub-hero .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sub-hero h1 {
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 auto 20px;
  max-width: 820px;
  color: var(--ink);
}
.sub-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.sub-hero .hero-ctas { margin-bottom: 0; }

/* ============ Features deep page ============ */
.features-toc {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 80px;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(238, 237, 232, 0.92);
}
.features-toc-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.features-toc-inner::-webkit-scrollbar { display: none; }
.features-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.features-toc a:hover { background: var(--bg-soft); border-color: var(--line-2); }
.features-toc a .ico-emoji { font-size: 14px; }

.feature-deep {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.feature-deep:nth-child(even) { background: var(--bg-soft); }
.feature-deep .deep-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.feature-deep .deep-grid.reverse { direction: rtl; }
.feature-deep .deep-grid.reverse > * { direction: ltr; }
.feature-deep .deep-copy h2 {
  font-size: 44px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
  margin: 12px 0 18px;
}
.feature-deep .deep-copy .lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
.feature-deep .deep-copy .lead strong { color: var(--ink); font-weight: 600; }
.deep-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.deep-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.deep-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 3px;
  position: relative;
  display: block;
  background-image: linear-gradient(45deg, transparent 38%, #fff 38%, #fff 42%, transparent 42%, transparent 56%, #fff 56%, #fff 62%, transparent 62%);
}
.deep-list li strong { color: var(--ink); font-weight: 600; }

.deep-mock {
  background: linear-gradient(180deg, #d6e0ea 0%, #e9dfcb 100%);
  border-radius: 26px;
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.deep-mock.alt-1 { background: linear-gradient(180deg, #dde4ea 0%, #e4dccb 100%); }
.deep-mock.alt-2 { background: linear-gradient(180deg, #d8dfea 0%, #e6ddca 100%); }
.deep-mock.alt-3 { background: linear-gradient(180deg, #e2e0d6 0%, #ddd4c0 100%); }
.deep-mock.alt-4 { background: linear-gradient(180deg, #d4dde6 0%, #ebe2cc 100%); }

/* ============ Blog list page ============ */
.blog-page {
  padding: 60px 0 100px;
}
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.blog-filter {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-filter:hover { background: var(--bg-soft); }
.blog-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 60px;
}
.blog-grid .blog-card {
  text-decoration: none;
  color: var(--ink);
}
.blog-grid .blog-card:hover h4 { text-decoration: underline; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.blog-card-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted-2);
}

.blog-newsletter {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 50px;
  text-align: center;
  margin-top: 30px;
}
.blog-newsletter h3 {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 10px;
}
.blog-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
  font-size: 15px;
}
.blog-newsletter form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.blog-newsletter input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.blog-newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.blog-newsletter input:focus { border-color: rgba(255, 255, 255, 0.4); }
.blog-newsletter .btn {
  background: #fff;
  color: var(--ink);
}

/* ============ Blog post (article) ============ */
.article {
  padding: 50px 0 90px;
}
.article-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}
.article-header .blog-pill {
  margin-bottom: 18px;
}
.article-header h1 {
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 18px;
}
.article-header .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}
.article-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-meta-author .ava {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.article-cover {
  max-width: 1000px;
  margin: 0 auto 50px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: 44px;
  color: var(--ink);
}
.article-body h3 {
  font-size: 21px;
  font-weight: 600;
  margin-top: 32px;
  color: var(--ink);
}
.article-body p { margin: 0; color: var(--ink-2); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0; }
.article-body li + li { margin-top: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 22px;
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
}
.article-body .callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.article-body .callout-title {
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.article-body figure {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-body figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.article-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.article-footer {
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-share {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.article-share a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  text-decoration: none;
}
.article-share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.related-posts {
  background: var(--bg-soft);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.related-posts h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 28px;
  text-align: center;
}

/* ============ Legal pages ============ */
.legal {
  padding: 50px 0 90px;
}
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 110px;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.legal-toc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-toc a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.legal-toc a:hover { color: var(--ink); }

.legal-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-body .legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2 {
  font-size: 24px;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 44px 0 14px;
  color: var(--ink);
  scroll-margin-top: 110px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 26px 0 8px;
  color: var(--ink);
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; margin: 0 0 14px; }
.legal-body li + li { margin-top: 6px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Feature-landing pages ============ */
.feat-hero {
  position: relative;
  padding: 130px 0 50px;
  background: linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg) 70%);
  overflow: hidden;
}
.feat-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feat-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.feat-hero h1 {
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}
.feat-hero .lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 520px;
}
.feat-hero .lead strong { color: var(--ink); font-weight: 600; }
.feat-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.feat-hero-meta {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.feat-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feat-hero-meta span::before {
  content: "✓";
  color: #1f8a4f;
  font-weight: 700;
}

.feat-hero-mock {
  position: relative;
  background: linear-gradient(180deg, #d6e0ea 0%, #e9dfcb 100%);
  border-radius: 26px;
  border: 1px solid var(--line);
  padding: 36px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.feat-hero-mock.alt-1 { background: linear-gradient(180deg, #dde4ea 0%, #e4dccb 100%); }
.feat-hero-mock.alt-2 { background: linear-gradient(180deg, #d8dfea 0%, #e6ddca 100%); }
.feat-hero-mock.alt-3 { background: linear-gradient(180deg, #e2e0d6 0%, #ddd4c0 100%); }
.feat-hero-mock.alt-4 { background: linear-gradient(180deg, #d4dde6 0%, #ebe2cc 100%); }

/* Stats strip under hero */
.stats-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 4px 0;
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-item .num .unit {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}
.stat-item .lab {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Before/after comparison */
.compare-section {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
  position: relative;
}
.compare-grid::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  z-index: 2;
  box-shadow: var(--shadow);
}
.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.compare-card.before { background: #f8f4ee; border-color: #e8e0cf; }
.compare-card.after { background: #ecf3ee; border-color: #cfe1d4; }
.compare-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.compare-card.before .compare-card-head { color: #b86b1f; }
.compare-card.after .compare-card-head { color: #1f8a4f; }
.compare-card h4 {
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.compare-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.compare-card.before .compare-list li::before {
  content: "✕";
  color: #b86b1f;
  font-weight: 700;
}
.compare-card.after .compare-list li::before {
  content: "✓";
  color: #1f8a4f;
  font-weight: 700;
}

@media (max-width: 900px) {
  .stats-strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .compare-section { padding: 60px 0; }
  .compare-grid { grid-template-columns: 1fr; gap: 14px; }
  .compare-grid::after {
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    margin: -8px auto;
    content: "↓";
  }
}

/* "How it works" sub-features grid */
.subfeat-section {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.subfeat-section.soft { background: var(--bg-soft); }
.subfeat-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.subfeat-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.subfeat-head h2 {
  font-size: 44px;
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-weight: 700;
  margin: 0 0 14px;
}
.subfeat-head p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.subfeat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.subfeat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subfeat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.subfeat-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 18px;
}
.subfeat-card h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}
.subfeat-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.subfeat-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.subfeat-card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}

/* "For who is it" cards */
.whofor-section {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.whofor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.whofor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whofor-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.whofor-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.whofor-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Inline single-quote testimonial */
.feat-quote {
  padding: 90px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.feat-quote-text {
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 500;
  max-width: 820px;
  margin: 0 auto 28px;
}
.feat-quote-text::before, .feat-quote-text::after {
  content: "";
  font-size: 32px;
  color: rgba(255,255,255,0.25);
}
.feat-quote-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.feat-quote-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.feat-quote-author strong { color: #fff; font-weight: 600; }

/* FAQ */
.faq-section {
  padding: 90px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.faq-wrap {
  max-width: 760px;
  margin: 44px auto 0;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item-body {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.faq-item-body p { margin: 0 0 12px; }
.faq-item-body p:last-child { margin-bottom: 0; }
.faq-item-body strong { color: var(--ink); font-weight: 600; }

/* Related features strip */
.related-feats {
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.related-feats h3 {
  text-align: center;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 12px;
}
.related-feats > .container > p {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 44px;
}
.related-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.related-feat-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}
.related-feat-card:hover { background: var(--bg-soft); transform: translateY(-2px); }
.related-feat-card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.related-feat-card .ico svg { width: 16px; height: 16px; }
.related-feat-card h5 {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 2px;
}
.related-feat-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Final CTA banner (reusable) */
.feat-cta {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.feat-cta h2 {
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 16px;
}
.feat-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin: 0 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}
.feat-cta .btn-light {
  background: #fff;
  color: var(--ink);
}
.feat-cta .btn-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

/* Hub of features (features.html) */
.feat-hub {
  padding: 60px 0 100px;
}
.feat-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-hub-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.feat-hub-card .ico-box {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.feat-hub-card .ico-box svg { width: 20px; height: 20px; }
.feat-hub-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.feat-hub-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.feat-hub-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Responsive feature pages */
@media (max-width: 900px) {
  .feat-hero { padding: 100px 0 40px; }
  .feat-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-hero h1 { font-size: 38px; }
  .feat-hero-mock { padding: 22px; min-height: 320px; }
  .subfeat-section, .whofor-section, .feat-quote, .faq-section, .related-feats { padding: 60px 0; }
  .subfeat-head h2 { font-size: 30px; }
  .subfeat-grid, .whofor-grid { grid-template-columns: 1fr; gap: 14px; }
  .related-feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-quote-text { font-size: 22px; }
  .feat-cta h2 { font-size: 36px; }
  .feat-cta { padding: 60px 0; }
  .feat-hub-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 540px) {
  .related-feat-grid { grid-template-columns: 1fr; }
}

/* ============ Responsive additions ============ */
@media (max-width: 900px) {
  .nav-item-has-dropdown { display: none; }
  .mega-menu { display: none; }

  .sub-hero { padding: 110px 0 50px; }
  .sub-hero h1 { font-size: 40px; }
  .sub-hero p { font-size: 16px; }

  .features-toc { top: 70px; }
  .feature-deep { padding: 60px 0; }
  .feature-deep .deep-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-deep .deep-grid.reverse { direction: ltr; }
  .feature-deep .deep-copy h2 { font-size: 30px; }
  .deep-mock { padding: 22px; min-height: 280px; }

  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-newsletter { padding: 36px 24px; }
  .blog-newsletter h3 { font-size: 24px; }
  .blog-newsletter form { flex-direction: column; }
  .blog-newsletter input, .blog-newsletter .btn { width: 100%; }

  .article-header h1 { font-size: 34px; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 16px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 22px; }

  .legal-wrap { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc {
    position: static;
    border-left: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #fafafa; }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--bg);
  overflow: visible;
}
.hero-bg { overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(15, 25, 40, 0.16);
  stroke-width: 1.4;
  stroke-dasharray: 10 10;
  stroke-linecap: round;
  pointer-events: none;
}
.hero-curves path:nth-child(2) { stroke: rgba(15, 25, 40, 0.13); stroke-dasharray: 6 12; }
.hero-curves path:nth-child(3) { stroke: rgba(15, 25, 40, 0.18); stroke-dasharray: 14 8; }
.hero-curves path:nth-child(4) { stroke: rgba(15, 25, 40, 0.10); stroke-dasharray: 4 14; }

.hero-emoji {
  display: inline-block;
  margin-right: 8px;
  vertical-align: -0.08em;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}
.hero h1 {
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 auto 24px;
  max-width: 900px;
  color: var(--ink);
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}
.hero-product {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
  max-width: 1060px;
  margin: 0 auto -140px;
  padding: 0 20px;
}

/* ============ Dashboard mock ============ */
.dashboard {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}
.db-side {
  background: #fafaf7;
  border-right: 1px solid var(--line);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0;
  margin-bottom: 16px;
  padding: 4px;
  width: 76px;
  height: 28px;
  background: url("/assets/logo.png") left center / contain no-repeat;
}
.db-side-brand .logo-mark { display: none; }
.db-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: default;
}
.db-nav-item.active { background: #fff; box-shadow: var(--shadow-sm); font-weight: 500; }
.db-nav-item .ico {
  width: 16px; height: 16px; color: var(--muted);
}
.db-nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin: 14px 10px 6px;
  font-weight: 600;
}

.db-main { padding: 44px 22px 44px; }
.db-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.db-greet h3 { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.db-greet p { margin: 0; font-size: 12px; color: var(--muted); }
.db-search {
  display: flex; align-items: center; gap: 8px;
  background: #f4f3ef;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
  min-width: 240px;
}
.db-topbar-right { display: flex; align-items: center; gap: 10px; }
.db-topbar-right .icon-btn {
  width: 28px; height: 28px; border-radius: 50%; background: #f4f3ef;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.db-topbar-right .play {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 11px;
}

.db-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.stat {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px;
}
.stat .stat-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.stat .stat-label .chip-ico { width: 22px; height: 22px; border-radius: 6px; background: #ecebe4; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.stat .stat-val { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 8px; }
.stat .delta { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.delta.up { color: #1f8a4f; background: #e3f3e9; }
.delta.down { color: #b24a2b; background: #f7e5dd; }

.db-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}
.db-chart {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.db-chart-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.db-chart-header h4 { margin: 0; font-size: 13px; font-weight: 600; }
.db-chart-filter {
  font-size: 11px; padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.db-legend { display: flex; gap: 12px; font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.legend-dot.a { background: var(--accent-blue); }
.legend-dot.b { background: var(--accent-blue-soft); }
.db-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-top: 8px;
}
.db-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-blue-soft) 100%);
  border-radius: 4px 4px 2px 2px;
  min-height: 10px;
}

.db-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quick-card {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  align-items: flex-start;
}
.quick-card .ico-box {
  width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}

/* ============ Logos bar ============ */
.logos-section {
  padding: 200px 0 40px;
  text-align: center;
  background: var(--bg);
}
.logos-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.logos-label-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.logos-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: #e8f5ec;
  color: #1f7a44;
  border: 1px solid #c7e6d3;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.logos-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f8a4f;
  box-shadow: 0 0 0 3px rgba(31, 138, 79, 0.18);
  animation: logos-pulse 2s ease-in-out infinite;
}
@keyframes logos-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 138, 79, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(31, 138, 79, 0.05); }
}
.logos-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logos-scroll 38s linear infinite;
  opacity: 0.6;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
  opacity: 0.55;
}
.logo-item {
  font-weight: 600;
  font-size: 18px;
  color: #555;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-item .dot { width: 10px; height: 10px; border-radius: 50%; background: #555; }
.logo-item.script { font-family: 'Dancing Script', cursive; font-size: 24px; font-weight: 500; }
.logo-item.serif { font-family: Georgia, serif; font-style: italic; font-size: 20px; }
.logo-item.mono { font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 0.18em; }

/* ============ Section common ============ */
.section {
  padding: 100px 0;
}
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  text-align: center;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 auto 20px;
  max-width: 780px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

/* ============ Mobile phone section ============ */
.phone-section {
  background: var(--bg);
  padding: 60px 0 100px;
}
.phone-visual {
  max-width: 960px;
  margin: 60px auto 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d9d3c8;
  position: relative;
  box-shadow: var(--shadow);
}
.phone-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.phone-visual .placeholder-label {
  position: absolute;
  top: 16px; left: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  z-index: 3;
}

/* Floating fleet widget */
.fleet-widget-stack {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: auto;
}
.fleet-widget {
  width: 230px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(15, 25, 40, 0.18), 0 2px 6px rgba(15, 25, 40, 0.06);
  font-family: inherit;
  animation: fleet-widget-float 6s ease-in-out infinite;
}
.fleet-widget-2 {
  animation-delay: -3s;
}
@keyframes fleet-widget-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.fleet-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.fleet-widget-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fleet-widget-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a3142 100%);
}
.fleet-widget-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: oklch(45% 0.09 240);
  background: var(--accent-blue-soft);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.fleet-widget-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 2px oklch(72% 0.09 240 / 0.22);
  animation: fleet-pulse 2s ease-in-out infinite;
}
@keyframes fleet-pulse {
  0%, 100% { box-shadow: 0 0 0 2px oklch(72% 0.09 240 / 0.22); }
  50% { box-shadow: 0 0 0 5px oklch(72% 0.09 240 / 0.05); }
}
.fleet-widget-meta {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.fleet-widget-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0;
}
.fleet-widget-amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.fleet-widget-delta {
  font-size: 11px;
  font-weight: 600;
  color: oklch(42% 0.09 240);
  background: var(--accent-blue-soft);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0;
}
.fleet-widget-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}
.fleet-widget-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-blue-soft) 100%);
  border-radius: 3px 3px 1px 1px;
  min-height: 4px;
}
.fleet-widget-bars span:last-child {
  background: linear-gradient(180deg, oklch(55% 0.11 240) 0%, var(--accent-blue) 100%);
}

/* Mini fleet grid (second widget) */
.fleet-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.fleet-mini-cell {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  min-width: 0;
}
.fleet-mini-val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.fleet-mini-lbl {
  font-size: 9.5px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.fleet-mini-lbl .d {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.fleet-mini-lbl .d.a { background: var(--accent-blue); }
.fleet-mini-lbl .d.b { background: oklch(80% 0.07 240); }
.fleet-mini-lbl .d.c { background: #b8b3a6; }

@media (max-width: 720px) {
  .fleet-widget-stack {
    flex-direction: column;
    top: 14px;
    right: 14px;
    gap: 8px;
  }
  .fleet-widget {
    width: 200px;
    padding: 12px;
  }
  .fleet-widget-amount { font-size: 18px; }
  .fleet-mini-val { font-size: 16px; }
}
/* stylized bus illustration fallback */
.bus-scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #b8c7d6 0%, #d8d1c2 55%, #d4c8b4 100%);
}
.bus-scene::before {
  content: "";
  position: absolute;
  bottom: 22%;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.bus-scene .sun {
  position: absolute;
  top: 18%; right: 18%;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, #f4e0c2 0%, rgba(244,224,194,0) 70%);
}

/* ============ Features split sections ============ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-copy h2 {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 10px 0 20px;
}
.feature-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.feature-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 440px;
}
.feature-copy p strong { color: var(--ink); font-weight: 600; }
.feature-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 380px;
  margin-top: 32px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.tag-chip .ico { width: 14px; height: 14px; color: var(--muted); }

.feature-visual {
  background: linear-gradient(180deg, #c9d9e6 0%, #e4dccb 100%);
  border-radius: 24px;
  padding: 40px 30px;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Mock: Quotes list */
.mock-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-header h4 { margin: 0; font-size: 15px; font-weight: 600; }
.mock-search {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}
.mock-search .input {
  flex: 1;
  background: #f4f3ef;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}
.mock-filter {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-section {
  padding: 10px 16px 6px;
  font-size: 12px;
  color: var(--ink-2);
  background: #fafaf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.mock-section .count { color: var(--muted); font-weight: 400; margin-left: 4px; }
.mock-list-header {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.9fr;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mock-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.9fr;
  gap: 8px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink);
  position: relative;
}
.mock-row::before {
  content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 2px;
  background: var(--accent-blue);
}
.mock-row.red::before { background: var(--accent-red); }
.mock-row.orange::before { background: var(--accent-orange); }
.mock-row.green::before { background: var(--accent-green); }
.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  background: #eef5ee;
  color: #1f8a4f;
}
.mock-badge .d { width: 5px; height: 5px; border-radius: 50%; background: #1f8a4f; }
.mock-badge.amber { background: #fbf0dc; color: #a66a10; }
.mock-badge.amber .d { background: #a66a10; }
.mock-badge.red { background: #f7e5dd; color: #b24a2b; }
.mock-badge.red .d { background: #b24a2b; }

.avatars { display: flex; }
.avatars .av {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  background: #ccc;
}
.avatars .av:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, #f4b183, #c89b7b); }
.av-2 { background: linear-gradient(135deg, #b8c9e0, #7d99bd); }
.av-3 { background: linear-gradient(135deg, #d0c3a7, #a79476); }
.av-4 { background: linear-gradient(135deg, #c5d9c5, #8ab089); }

.mock-section.collapsed { background: #f0efea; cursor: default; }
.mock-section .chev { margin-left: auto; color: var(--muted); }

/* Mock: Budget card */
.mock-budget {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--line);
  padding: 24px;
}
.mock-budget h4 { margin: 0 0 18px; font-size: 16px; font-weight: 600; }
.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin-bottom: 24px;
}
.budget-item { display: flex; gap: 10px; align-items: flex-start; }
.budget-item .ico-c {
  width: 30px; height: 30px; border-radius: 8px; background: #f4f3ef;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.budget-item .val { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.budget-item .lab { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Mock: Flow card (matches budget proportions) */
.mock-flow {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}
.mock-flow .flow-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-flow .flow-head h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.mock-flow .flow-body { padding: 22px 24px 24px; }
.mock-flow .flow-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
}
.mock-flow .flow-trigger-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock-flow .flow-trigger-text { flex: 1; }
.mock-flow .flow-trigger-text .t1 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.mock-flow .flow-trigger-text .t2 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mock-flow .flow-trigger-amt { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.mock-flow .flow-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-flow .flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}
.mock-flow .flow-step .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.mock-flow .flow-step.done .dot { background: var(--accent-blue-soft); color: oklch(45% 0.09 240); }
.mock-flow .flow-step.pending .dot { background: #fbf0dc; color: #a66a10; }
.mock-flow .flow-step .lbl { flex: 1; }
.mock-flow .flow-step.pending .lbl { color: var(--muted); }
.mock-flow .flow-step .t { font-size: 12px; color: var(--muted); }
.mock-flow .flow-step.pending .t { color: var(--accent-orange); }

.budget-analytics { margin-top: 12px; }
.budget-analytics h5 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.budget-legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.budget-legend .sw { width: 16px; height: 2px; display: inline-block; margin-right: 4px; vertical-align: middle; }
.sw.solid { background: #1f8a4f; }
.sw.dashed { background: repeating-linear-gradient(to right, #1f8a4f 0, #1f8a4f 3px, transparent 3px, transparent 6px); }
.chart-area {
  height: 110px;
  background:
    linear-gradient(180deg, rgba(31,138,79,0.1), rgba(31,138,79,0) 70%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.chart-area svg { width: 100%; height: 100%; display: block; }
.chart-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding: 4px 2px 0; }

/* ============ Benefits grid ============ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 20px;
}
.benefit-card {
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.benefit-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 360px;
}
.benefit-card .mini-ui {
  margin: 16px 0 20px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.benefit-card p {
  margin: auto 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.benefit-card p strong { color: var(--ink); font-weight: 600; }

.color-dots { display: flex; align-items: center; gap: 8px; padding: 6px 8px; }
.color-dots .cd {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px;
}
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4px 0;
  font-size: 13px;
}
.toggle-pill {
  display: flex; align-items: center; gap: 8px;
  background: #f4f3ef; border-radius: 999px; padding: 6px 14px 6px 6px;
  font-size: 12px;
}
.toggle-switch {
  width: 28px; height: 16px; border-radius: 999px; background: var(--accent-green);
  position: relative;
}
.toggle-switch::after {
  content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff;
}
.mode-toggle {
  display: inline-flex; background: #f4f3ef; border-radius: 999px; padding: 4px;
}
.mode-toggle span {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted);
}
.mode-toggle span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.int-cell {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-2);
}

.benefits-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.benefit-mini {
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
}
.benefit-mini .mini-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.benefit-mini h4 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.benefit-mini p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============ Testimonial ============ */
.testimonial {
  padding: 120px 0 80px;
  text-align: center;
  background: var(--bg);
}
.testimonial-quote {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 100px;
}
.testimonial-author {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 60px;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #c2a88b, #8a6b4a);
}
.author-name { font-weight: 600; font-size: 14px; }
.author-role { font-size: 12px; color: var(--muted); }

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.tc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.tc p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; font-weight: 500; letter-spacing: -0.005em; }
.tc .tc-person { display: flex; align-items: center; gap: 14px; }
.tc .tc-person .ava-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.tc .tc-person .ava { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.tc .tc-person .n { font-size: 14px; font-weight: 600; }
.tc .tc-person .r { font-size: 12px; color: var(--muted); }
.tc.faded { opacity: 0.4; }

/* ============ Pricing ============ */
.pricing {
  background: var(--bg);
  padding: 100px 0 120px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 60px auto 0;
  align-items: stretch;
}
.price-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Esencial: dark ink card */
.price-card.dark {
  background: linear-gradient(180deg, #18181a 0%, #0f0f10 100%);
  border: 1px solid #1f1f22;
  color: #fff;
  box-shadow: 0 20px 50px -28px rgba(0,0,0,0.55);
}
.price-card.dark .plan-name { color: #fff; }
.price-card.dark .plan-price { color: #fff; }
.price-card.dark .plan-period { color: rgba(255,255,255,0.55); }
.price-card.dark .plan-sub { color: rgba(255,255,255,0.62); }
.price-card.dark .plan-features-label { color: rgba(255,255,255,0.5); }
.price-card.dark .plan-features li { color: rgba(255,255,255,0.92); }
.price-card.dark .plan-features li::before {
  content: "✓";
  color: oklch(72% 0.14 150);
  font-weight: 700;
  background: oklch(72% 0.14 150 / 0.18);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.price-card.dark .plan-divider { background: rgba(255,255,255,0.1); }
.price-card.dark .btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
}
.price-card.dark .btn-secondary:hover { background: #ece9e0; }

/* Pro: brand blue-to-sand, with dark ink CTA */
.price-card.featured {
  background: linear-gradient(165deg, #cdd9e6 0%, #e2dccb 65%, #ede4cf 100%);
  border: 1px solid #b8c8d8;
  color: var(--ink);
  box-shadow: 0 24px 56px -28px rgba(43, 65, 95, 0.35);
  transform: translateY(-8px);
  position: relative;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.5), transparent 60%);
  pointer-events: none;
}
.price-card.featured > * { position: relative; z-index: 1; }
.price-card.featured .plan-name { color: var(--ink); }
.price-card.featured .plan-price { color: var(--ink); }
.price-card.featured .plan-sub { color: var(--ink-2); }
.price-card.featured .plan-period { color: var(--ink-2); }
.price-card.featured .plan-features-label { color: rgba(0,0,0,0.55); }
.price-card.featured .plan-features li { color: var(--ink); }
.price-card.featured .plan-features li::before {
  color: #1f6f4d;
  background: rgba(31, 111, 77, 0.14);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.price-card.featured .plan-divider { background: rgba(0,0,0,0.1); }
.price-card.featured .btn-primary { background: var(--ink); color: #fff; }
.price-card.featured .btn-primary:hover { background: #1a1a1a; }

/* Flota: same dark visual as Esencial; just smaller "A medida" label */
.price-card.flota .plan-price-text {
  font-size: 40px;
  letter-spacing: -0.02em;
}

.price-card-head { margin-bottom: 24px; }
.plan-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-badge {
  font-size: 11px;
  font-weight: 500;
  background: var(--accent-orange);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0;
}
.plan-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.plan-price {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price-custom {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-period {
  font-size: 14px;
  color: var(--muted);
}
.price-card .btn { width: 100%; margin-bottom: 0; }
.plan-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0 20px;
}
.plan-features-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 8px auto 8px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.billing-toggle span {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.billing-toggle span.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.billing-toggle .save-pill {
  font-size: 10px;
  font-weight: 600;
  background: rgba(31, 111, 77, 0.14);
  color: #1f6f4d;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Price card hover */
.price-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.price-card:not(.featured):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.price-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 64px -28px rgba(43, 65, 95, 0.4);
}

/* Tiny reassurance meta below each CTA */
.plan-meta {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.4;
}
.price-card.dark .plan-meta { color: rgba(255, 255, 255, 0.55); }
.price-card.featured .plan-meta { color: rgba(0, 0, 0, 0.55); }

.price-card .btn { margin-top: 4px; }

/* ============ Bus grid (6 cards) ============ */
.bus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 56px auto 0;
}
.bus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.bus-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
}
.bus-card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.bus-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.bus-card-tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 5px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
}

/* ============ Testimonial marquee ============ */
.testimonial-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.testimonial-marquee .testimonial-cards {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tc-scroll 38s linear infinite;
  padding: 8px 12px;
}
.testimonial-marquee .testimonial-cards:hover {
  animation-play-state: paused;
}
.testimonial-marquee .tc {
  flex: 0 0 440px;
  opacity: 1;
  padding: 32px;
  border-radius: 22px;
}
.testimonial-marquee .tc.faded { opacity: 1; }
@keyframes tc-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}

/* ============ Blog ============ */
.blog {
  background: var(--bg);
  padding: 100px 0;
}
.blog-featured {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.blog-featured-img {
  position: relative;
  background: #cabba4;
  overflow: hidden;
  min-height: 380px;
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}
.blog-featured-img .blog-img { object-position: 38% center; }
.blog-card:nth-child(1) .blog-img { object-position: 65% center; }
.blog-card:nth-child(2) .blog-img { object-position: center center; }
.blog-card:nth-child(3) .blog-img { object-position: 30% center; }
.blog-card-img:hover .blog-img,
.blog-featured-img:hover .blog-img { transform: scale(1.04); }
.blog-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  width: fit-content;
}
.blog-pill.must { background: #3d2b21; color: #fff; }
.blog-pill.featured { background: var(--accent-orange); color: #fff; }
.blog-pill.tools { background: var(--accent-orange); color: #fff; }
.blog-pill.insight { background: var(--accent-orange); color: #fff; }
.blog-pill.mgmt { background: var(--accent-orange); color: #fff; }

.blog-featured h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.blog-featured p {
  font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 28px;
}
.blog-author {
  display: flex; align-items: center; justify-content: space-between;
}
.blog-author-left { display: flex; align-items: center; gap: 10px; }
.blog-author-left .ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #c2a88b, #8a6b4a); }
.blog-author-left .nm { font-size: 13px; font-weight: 600; }
.blog-author-left .rl { font-size: 11px; color: var(--muted); }

.blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.blog-card h4 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0;
  max-width: 210px;
}

/* Placeholder image generator */
.ph-img {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 8px, rgba(0,0,0,0) 8px 16px),
    linear-gradient(135deg, var(--ph-a, #c8b89a), var(--ph-b, #a89578));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.88);
  color: var(--ink-2);
  position: absolute;
  top: 14px; left: 14px;
}
.ph-bus {
  /* centered iconographic bus */
  width: 60%;
  max-width: 260px;
  aspect-ratio: 2 / 1;
  position: relative;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

/* ============ Final CTA + Footer ============ */
.final-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-size: 64px;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 14px;
}
.final-cta p { color: var(--muted); font-size: 16px; margin: 0 0 30px; }

.footer {
  background: linear-gradient(180deg, #18181a 0%, #0f0f10 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 120px 0 0;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer .logo { color: #fff; filter: brightness(0) invert(1); }
.footer .logo-mark { background: #fff; }
.footer .logo-mark::before { background: #18181a; }

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  margin: 16px 0 22px;
  line-height: 1.55;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom-right {
  display: flex;
  gap: 22px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.92); }
.footer-mark { font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.footer-sep { opacity: 0.4; }

/* ============ Responsive ============ */

/* Tablet & below */
@media (max-width: 900px) {
  .hero { padding: 120px 0 40px; }
  .hero h1 { font-size: 48px; }
  .hero p.lead { font-size: 17px; }

  .section-title { font-size: 36px; }
  .section { padding: 70px 0; }
  .testimonial-quote { font-size: 34px; }

  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split.reverse { direction: ltr; }
  .feature-copy h2 { font-size: 32px; }

  .benefits-grid, .benefits-row-3, .pricing-grid, .blog-row { grid-template-columns: 1fr; }
  .bus-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 280px; }

  /* Hero dashboard: scale-down preview (keeps desktop layout, just smaller) */
  .hero-product {
    height: 360px;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0 auto;
  }
  .dashboard {
    width: 1000px;
    min-height: 540px;
    grid-template-columns: 220px 1fr;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -500px;
    transform: scale(0.62);
    transform-origin: top center;
  }

  .nav-links { display: none; }
  .navbar { gap: 12px; padding: 6px 6px 6px 16px; }

  /* Pricing: remove featured lift on smaller screens for balance */
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }

  /* Phone section */
  .phone-visual { aspect-ratio: 4 / 3; margin-top: 40px; }
  .fleet-widget { width: 200px; padding: 14px; }
  .fleet-widget-stack { top: 14px; right: 14px; gap: 8px; }
  .fleet-widget-amount { font-size: 22px; }

  /* Testimonials */
  .testimonial-marquee .tc { flex: 0 0 360px; padding: 26px; }

  /* Footer */
  .footer { padding: 80px 0 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .navbar-wrap { top: 10px; }
  .navbar { gap: 8px; padding: 5px 5px 5px 14px; }
  .logo { width: 82px; height: 29px; }
  .navbar .btn-primary { font-size: 12px; padding: 8px 14px; }

  /* Hero */
  .hero { padding: 100px 0 30px; }
  .hero h1 { font-size: 34px; line-height: 1.06; letter-spacing: -0.025em; }
  .hero-emoji { font-size: 0.9em; }
  .hero p.lead { font-size: 15px; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Hero dashboard: tighter scale for phones */
  .hero-product { height: 240px; margin: 0 auto -10px; padding: 0; }
  .dashboard {
    width: 1000px;
    min-height: 540px;
    grid-template-columns: 220px 1fr;
    transform: scale(0.36);
    margin-left: -500px;
  }

  /* Sections */
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }
  .section-eyebrow { font-size: 11px; }

  /* Feature copy */
  .feature-copy h2 { font-size: 26px; }
  .feature-copy p { font-size: 15px; }
  .feature-visual { padding: 24px; }
  .mock-card { padding: 18px; }

  /* Logos */
  .logos-section { padding: 50px 0 40px; }
  .logos-badge { font-size: 12px; padding: 8px 14px; line-height: 1.4; text-align: center; }

  /* Phone section: hide ALL floating widgets, show clean photo */
  .phone-section { padding: 50px 0 70px; }
  .phone-visual {
    aspect-ratio: 4 / 3;
    margin-top: 32px;
    border-radius: 18px;
  }
  .fleet-widget-stack { display: none; }

  /* Dashboard quick action cards: shrink so they don't dominate */
  .quick-card {
    padding: 8px 10px;
    gap: 6px;
    font-size: 10px;
    border-radius: 8px;
  }
  .quick-card .ico-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  .quick-card .ico-box svg { width: 11px; height: 11px; }
  .db-quick { gap: 6px; }

  /* Bus grid */
  .bus-grid { grid-template-columns: 1fr; gap: 14px; }
  .bus-card { padding: 22px; }
  .bus-card h4 { font-size: 18px; }

  /* Testimonials */
  .testimonial { padding: 60px 0; }
  .testimonial-quote { font-size: 24px; line-height: 1.25; max-width: 100%; margin-bottom: 32px; }
  .testimonial-marquee { margin: 0 -16px; }
  .testimonial-marquee .testimonial-cards { animation-duration: 50s; }
  .testimonial-marquee .tc { flex: 0 0 280px; padding: 22px; border-radius: 18px; }
  .tc p { font-size: 14px; margin-bottom: 18px; }

  /* Pricing */
  .pricing { padding: 70px 0 80px; }
  .price-card { padding: 26px 22px; }
  .plan-price { font-size: 42px; }
  .price-card.flota .plan-price-text { font-size: 32px; }
  .pricing-grid { gap: 14px; margin-top: 36px; }

  /* Blog */
  .blog { padding: 70px 0; }
  .blog-featured-img { min-height: 220px; aspect-ratio: 16 / 10; }
  .blog-featured-body { padding: 26px; }
  .blog-featured h3 { font-size: 22px; }
  .blog-featured p { font-size: 13px; margin-bottom: 18px; }
  .blog-row { gap: 28px; }
  .blog-card h4 { font-size: 16px; max-width: none; }

  /* Footer */
  .footer { padding: 70px 0 0; margin-top: 40px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { padding: 18px 16px 24px; gap: 12px; }
  .footer-bottom-right { gap: 16px; flex-wrap: wrap; }
}

/* Small mobile */
@media (max-width: 420px) {
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 14px; }
  .section-title { font-size: 24px; }
  .feature-copy h2 { font-size: 22px; }
  .testimonial-quote { font-size: 20px; }

  .navbar .btn-primary { font-size: 11px; padding: 7px 12px; }

  /* Hero dashboard tighter on smallest screens */
  .hero-product { height: 210px; }
  .dashboard { transform: scale(0.32); }

  .price-card { padding: 22px 18px; }
  .plan-price { font-size: 36px; }

  .testimonial-marquee .tc { flex: 0 0 240px; padding: 18px; }
  .tc p { font-size: 13px; }

  .footer-inner { grid-template-columns: 1fr; }

  .blog-featured h3 { font-size: 20px; }
}

/* Product dashboard preview aligned with the live TransportSaaS panel */
.dashboard {
  width: 1120px;
  min-height: 650px;
  background: rgba(248, 250, 250, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
}
.db-side {
  background: rgba(239, 243, 244, 0.78);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.db-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #15191d;
  margin: 2px 4px 22px;
}
.db-side-brand .ico { color: #0ea5e9; }
.db-nav-label {
  margin: 14px 9px 4px;
  color: rgba(15, 23, 42, 0.42);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.db-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #2f353a;
  font-size: 11px;
  font-weight: 500;
}
.db-nav-item.active {
  color: #006b93;
  background: linear-gradient(180deg, rgba(234, 252, 255, 0.96), rgba(220, 248, 252, 0.72));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.3), 0 8px 20px rgba(8, 145, 178, 0.12);
}
.db-nav-item .ico,
.db-side-brand .ico { width: 15px; height: 15px; flex: 0 0 auto; }
.db-main {
  padding: 26px 28px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 248, 0.9));
  min-width: 0;
}
.db-toolbar {
  height: 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: #111827;
  font-size: 11px;
}
.db-toolbar-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}
.db-toolbar-icon:nth-child(2) { border-radius: 999px; }
.db-toolbar-icon:nth-child(3) {
  border-radius: 999px;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}
.db-lang { font-weight: 600; }
.db-user {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fde68a;
  color: #f59e0b;
  font-weight: 600;
}
.db-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.db-head h3 {
  margin: 0 0 4px;
  color: #151515;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}
.db-head p {
  margin: 0;
  color: #63666a;
  font-size: 12px;
}
.db-period {
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
  color: #27272a;
  font-size: 11px;
  white-space: nowrap;
}
.db-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat,
.db-panel,
.db-calendar {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}
.stat {
  border-radius: 13px;
  min-height: 86px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.stat .chip-ico,
.mini-icon {
  width: 33px;
  height: 33px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px currentColor;
}
.stat .chip-ico svg { width: 16px; height: 16px; }
.stat .stat-label {
  margin: 0 0 4px;
  color: #666b71;
  font-size: 10px;
  white-space: nowrap;
}
.stat .stat-val {
  color: #0b0d0e;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}
.stat .stat-hint {
  margin-top: 5px;
  font-size: 10px;
  color: currentColor;
}
.tone-cyan { color: #007c9f; background-image: linear-gradient(180deg, rgba(236, 254, 255, 0.72), rgba(255,255,255,0.34)); }
.tone-mint { color: #087f5b; background-image: linear-gradient(180deg, rgba(236, 253, 245, 0.72), rgba(255,255,255,0.34)); }
.tone-green { color: #167a2f; background-image: linear-gradient(180deg, rgba(240, 253, 244, 0.72), rgba(255,255,255,0.34)); }
.tone-violet { color: #6d28d9; background-image: linear-gradient(180deg, rgba(245, 243, 255, 0.72), rgba(255,255,255,0.34)); }
.tone-amber { color: #b45309; background-image: linear-gradient(180deg, rgba(255, 251, 235, 0.72), rgba(255,255,255,0.34)); }
.db-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.db-panel {
  border-radius: 14px;
  min-height: 134px;
  padding: 21px 20px;
}
.db-panel h4,
.cal-head h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #171717;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.db-panel .mini-icon {
  width: 25px;
  height: 25px;
  color: currentColor;
}
.panel-grid,
.alert-grid,
.fleet-grid {
  display: grid;
  gap: 14px 18px;
  margin-top: 26px;
  color: #5f6368;
  font-size: 12px;
}
.panel-grid,
.alert-grid { grid-template-columns: 1fr 1fr; }
.fleet-grid { grid-template-columns: repeat(3, 1fr); }
.panel-grid b,
.fleet-grid b {
  display: block;
  margin-top: 4px;
  color: #0b0d0e;
  font-size: 20px;
  line-height: 1;
}
.alert-grid b { color: #0b0d0e; }
.db-calendar {
  border-radius: 14px;
  padding: 22px 22px 24px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-head svg { width: 16px; height: 16px; }
.db-expand {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}
.cal-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #171717;
  font-size: 11px;
}
.seg {
  padding: 7px 10px;
  border-radius: 999px;
  color: #3f3f46;
}
.seg.active {
  color: #fff;
  background: #0ea5e9;
  box-shadow: 0 7px 14px rgba(14, 165, 233, 0.28);
}
.round {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
}
.cal-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.cal-filters span {
  padding: 9px 11px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  color: #151515;
  font-size: 11px;
}
.cal-grid {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px 7px;
  overflow: hidden;
}
.resource {
  min-height: 42px;
  padding: 10px 10px;
  background: #e9e9e9;
  color: #171717;
  font-size: 11px;
  line-height: 1.1;
}
.resource.head {
  display: flex;
  align-items: center;
  color: #5f6368;
}
.resource small {
  display: block;
  margin-top: 4px;
  color: #555;
  font-size: 9px;
}
.hours {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: center;
  gap: 0;
  color: #004fe7;
  font-size: 9px;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.hours span { min-width: 34px; }
.slot-row {
  min-height: 42px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background:
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.28) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(90deg, transparent 0 43px, rgba(148, 163, 184, 0.5) 43px 44px);
}

.hero-dashboard-shot {
  display: block;
  width: 94%;
  margin: 0 auto;
  aspect-ratio: 1652 / 1016;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}
.hero-product > .dashboard {
  display: none;
}

.hero-product {
  max-width: 920px;
  margin-bottom: -105px;
}
