/* Landing page. Brand values come from globals.css; the few landing-only tones are scoped to .page.
   Light sections follow the theme tokens (so dark mode works); the hero, security band and closing are always dark. */

.page {
  --ink: #0b0d12;
  --ink-2: #12151c;
  --ink-3: #1a1f2a;
  --ink-line: #262b36;
  --ink-text: #f2f4f8;
  --ink-muted: #a3abba;
  --tone-success: #17a05d;
  --tone-warning: #d99a00;
  --tone-danger: #e0435c;
  --wrap: 1180px;

  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--brand-yellow-500);
  color: #111;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.skip:focus {
  left: 16px;
}

/* --- Nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.navInner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand,
.brandDark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img,
.brandDark img {
  height: 36px;
  width: auto;
  display: block;
  max-height: 36px;
}

.brandDark {
  color: var(--color-text);
}

.navLinks {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.navLinks a,
.navLink {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color var(--dur-micro) var(--ease-out);
}

.navLinks a:hover,
.navLink:hover {
  color: var(--ink-text);
}

.navActions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navCta {
  color: #111;
  background: var(--brand-yellow-500);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.navCta:hover {
  filter: brightness(1.05);
}

/* --- Hero --- */

.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(20, 80, 224, 0.28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(242, 183, 5, 0.08), transparent 60%),
    var(--ink);
  color: var(--ink-text);
  padding: 80px 0 0;
  overflow: hidden;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow-500);
}

.kicker {
  color: var(--color-primary);
}

.headline {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.headline em {
  font-style: normal;
  color: var(--brand-yellow-500);
}

.lede {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ctaPrimary,
.ctaGhost,
.ctaGhostDark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}

.ctaPrimary {
  background: var(--brand-yellow-500);
  color: #111;
}

.ctaPrimary:hover {
  transform: translateY(-1px);
}

.ctaGhost,
.ctaGhostDark {
  color: var(--ink-text);
  border: 1px solid var(--ink-line);
}

.ctaGhost:hover,
.ctaGhostDark:hover {
  border-color: var(--ink-muted);
}

.heroPoints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-muted);
}

.heroPoints li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--tone-success);
  font-weight: 800;
}

/* Product visual: a dashboard card with the member app in front of it. */

.heroVisual {
  position: relative;
  padding-bottom: 40px;
}

.dash {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-right: 70px;
}

.dashBar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 13px;
  color: var(--ink-muted);
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-line);
}

.dashTitle {
  font-weight: 600;
}

.dashBody {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpis div {
  background: var(--ink-3);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.kpis small {
  font-size: 11px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpis strong {
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.up {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  padding: 12px;
  background: var(--ink-3);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
}

.chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #4c82ff, #1450e0);
}

.chart span:last-child {
  background: var(--brand-yellow-500);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-3);
  font-size: 13px;
}

.rows span {
  color: var(--ink-muted);
}

.rows em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.rows em[data-tone='success'] { color: #4ade80; background: rgba(23, 160, 93, 0.16); }
.rows em[data-tone='warning'] { color: #fbbf24; background: rgba(217, 154, 0, 0.16); }
.rows em[data-tone='danger'] { color: #fb7185; background: rgba(224, 67, 92, 0.16); }

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  padding: 26px 12px 16px;
  border-radius: 34px;
  background: #0f1219;
  border: 6px solid #2a3040;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 10px;
}

.phoneLarge {
  position: relative;
  width: 280px;
  margin: 0 auto;
  padding: 34px 16px 20px;
}

.phoneNotch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: #2a3040;
}

.phoneHello {
  margin: 0;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-text);
}

.phoneCard {
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(135deg, #0b1f5c 0%, #1450e0 100%);
  color: #fff;
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.phoneCard small {
  opacity: 0.8;
  font-size: 10px;
}

.phoneCard strong {
  font-size: 16px;
}

.phoneId {
  margin-top: 6px;
  opacity: 0.85;
  font-size: 11px;
}

.phoneId b {
  letter-spacing: 0.08em;
  margin-left: 4px;
}

.phoneClass {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: #171c27;
  font-size: 12px;
  color: var(--ink-text);
}

.phoneClass small {
  display: block;
  color: var(--ink-muted);
  font-size: 10px;
}

.phoneTime {
  font-family: var(--font-mono);
  font-weight: 700;
}

.phoneBtn {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  background: #1450e0;
  color: #fff;
}

.phoneBtnGhost {
  background: transparent;
  border: 1px solid var(--ink-line);
  color: var(--ink-text);
}

.qr {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(7, 18px);
  gap: 3px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}

.qr i {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #fff;
}

.qr i[data-on='true'] {
  background: #111;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0;
  border-top: 1px solid var(--ink-line);
}

.strip div {
  padding: 26px 0;
}

.strip div + div {
  padding-left: 24px;
  border-left: 1px solid var(--ink-line);
}

.strip dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.strip dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
}

/* --- Sections --- */

.section {
  padding: 96px 0;
}

.sectionAlt {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sectionDark {
  background: var(--ink);
  color: var(--ink-text);
}

.sectionDark .kicker {
  color: var(--brand-yellow-500);
}

.sectionHead {
  max-width: 720px;
  margin-bottom: 48px;
}

.sectionHead h2,
.splitTitle,
.closing h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.sectionLede {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.stepNo {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-yellow-500);
  color: #111;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.splitVisual {
  padding: 32px 0;
  border-radius: 24px;
  background:
    radial-gradient(400px 300px at 50% 40%, rgba(20, 80, 224, 0.35), transparent 70%),
    var(--ink);
}

.checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 16px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks li::before {
  content: '';
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--tone-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.roles {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.roleRow {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
}

.roleRow + .roleRow {
  border-top: 1px solid var(--color-border);
}

.roleRow span:last-child {
  color: var(--color-text-muted);
}

.roleName {
  font-weight: 700;
}

.faqWrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--color-text-muted);
}

.faq details[open] summary::after {
  content: '–';
}

.faq p {
  margin: 0 0 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* --- Closing and footer --- */

.closing {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(20, 80, 224, 0.35), transparent 70%),
    var(--ink);
  color: var(--ink-text);
  padding: 80px 0;
}

.closingInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.closing p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.closing .ctaRow {
  margin-top: 0;
}

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footerInner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footerBrand p {
  margin: 12px 0 0;
  max-width: 320px;
}

.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-content: flex-start;
}

.footerLinks a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footerLinks a:hover {
  color: var(--color-text);
}

.footerBottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

/* --- Responsive --- */

@media (max-width: 960px) {
  .navLinks { display: none; }
  .navActions { margin-left: auto; }
  .heroGrid,
  .split,
  .faqWrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip div:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip div:nth-child(n + 3) { border-top: 1px solid var(--ink-line); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .section { padding: 64px 0; }
  .navLink { display: none; }
  .dash { margin-right: 0; }
  .phone { display: none; }
  .phoneLarge { display: grid; width: 240px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis div:last-child { display: none; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows li span { display: none; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-line); }
  .roleRow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ctaPrimary,
  .ctaGhost,
  .ctaGhostDark { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ctaPrimary { transition: none; }
  .ctaPrimary:hover { transform: none; }
}

/* --- Features: bento grid. Tiles differ in size and each carries a small preview of the real screen. --- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: 22px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.tileDark {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(20, 80, 224, 0.4), transparent 70%),
    var(--ink);
  border-color: var(--ink-line);
  color: var(--ink-text);
}

.tileDark .tileText p {
  color: var(--ink-muted);
}

.tileText h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.tileText p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 46ch;
}

.tCheckin { grid-column: span 4; flex-direction: row; align-items: center; gap: 32px; }
.tCheckin .tileText { flex: 0 0 38%; }
.tApp { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.tBilling { grid-column: span 2; }
.tClasses { grid-column: span 2; }
.tWhatsapp { grid-column: span 2; background: color-mix(in srgb, #25d366 7%, var(--color-bg-elevated)); }
.tBranches { grid-column: span 2; }
.tReports { grid-column: span 2; }
.tLeads { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; background: var(--color-bg-subtle); }

/* Small previews (decorative). */

.mockCheckin {
  flex: 1;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  min-width: 0;
}

.mockSearch {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-primary);
  background: var(--color-bg-elevated);
  font-size: 13px;
  color: var(--color-text-muted);
}

.mockSearch b {
  font-family: var(--font-mono);
  color: var(--color-text);
}

.mockRow {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--color-bg-elevated);
  font-size: 13px;
}

.mockRow i {
  font-style: normal;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-bg-subtle);
  font-size: 12px;
  font-weight: 700;
}

.mockRow small {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
}

.mockRow em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mockRow em[data-tone='success'] { color: var(--color-success-text); background: color-mix(in srgb, var(--color-success) 15%, transparent); }
.mockRow em[data-tone='danger'] { color: var(--color-danger-text); background: color-mix(in srgb, var(--color-danger) 15%, transparent); }
.mockRow em[data-tone='neutral'] { color: var(--color-text-muted); background: var(--color-bg-subtle); }

.mockApp {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  background: #0f1219;
  border: 5px solid #2a3040;
}

.mockInvoice {
  margin: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed var(--color-border);
  font-size: 13px;
}

.mockInvoice div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mockInvoice dt,
.mockInvoice dd {
  margin: 0;
}

.mockInvoice dd {
  font-family: var(--font-mono);
}

.mockTotal {
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  font-weight: 700;
}

.mockWeek {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.mockWeek div {
  display: grid;
  gap: 6px;
  align-content: start;
}

.mockWeek small {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
}

.mockWeek span {
  font-size: 10.5px;
  font-weight: 700;
  padding: 8px 2px;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slotA { background: color-mix(in srgb, var(--color-primary) 16%, transparent); color: var(--color-text); }
.slotB { background: color-mix(in srgb, var(--brand-yellow-500) 26%, transparent); color: var(--color-text); }
.slotFull { background: var(--color-bg-subtle); color: var(--color-text-muted); }

.mockChat {
  align-self: flex-start;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #dcf8c6;
  color: #10301a;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.mockBranches {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mockBranches li {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--color-bg-subtle);
  font-size: 13px;
}

.mockBranches span {
  color: var(--color-text-muted);
}

.mockSpark {
  margin-top: auto;
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mockSpark span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.mockSpark span:last-child {
  background: var(--color-primary);
}

.mockPipe {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.mockPipe li {
  display: grid;
  gap: 2px;
  min-width: 96px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}

.mockPipe li[data-win='true'] {
  background: var(--brand-blue-600);
  border-color: var(--brand-blue-600);
  color: #fff;
}

.mockPipe li[data-win='true'] span {
  opacity: 1;
}

.mockPipe b {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.mockPipe span {
  font-size: 12px;
  opacity: 0.8;
}

/* --- Getting started: three steps joined by a line --- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-yellow-500), color-mix(in srgb, var(--brand-yellow-500) 25%, transparent));
}

.timeline li {
  position: relative;
}

.timeline h3 {
  margin: 22px 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.timeline p {
  margin: 0;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 34ch;
}

.timeline .stepNo {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--color-bg-subtle);
}

/* --- Security: heading on the left, a ruled list on the right --- */

.secLayout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.secIntro {
  position: sticky;
  top: 110px;
}

.secIntro h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.secIntro > p:last-child {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.secList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.secList li {
  padding: 26px 0;
  border-top: 1px solid var(--ink-line);
}

.secNo {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-yellow-500);
}

.secList h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.secList p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tCheckin { grid-column: span 4; }
  .tApp { grid-column: span 2; grid-row: span 2; }
  .tLeads { grid-column: span 4; }
}

@media (max-width: 960px) {
  .secLayout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .secIntro { position: static; }
  .tLeads { flex-direction: column; align-items: stretch; }
  .mockPipe { flex-wrap: wrap; }
  .mockPipe li { flex: 1 1 96px; }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tCheckin, .tApp, .tBilling, .tClasses, .tWhatsapp, .tBranches, .tReports, .tLeads { grid-column: auto; grid-row: auto; }
  .tCheckin { flex-direction: column; align-items: stretch; }
  .tCheckin .tileText { flex: none; }
  .tile { padding: 22px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 0; }
  .timeline::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-yellow-500), color-mix(in srgb, var(--brand-yellow-500) 25%, transparent)); }
  .timeline li { padding-left: 56px; }
  .timeline .stepNo { position: absolute; left: 0; top: 0; }
  .timeline h3 { margin-top: 4px; }
  .secList { grid-template-columns: minmax(0, 1fr); }
}

.mockAppQr {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(7, 12px);
  gap: 2px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}

.mockAppQr i {
  width: 12px;
  height: 12px;
  border-radius: 1px;
}

.mockAppQr i[data-on='true'] {
  background: #111;
}
