:root {
  --red: #d50000;
  --dark: #0f172a;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --stat-bg: #f8fafc;
  --stat-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --radius-lg: 20px;
  --radius-xl: 24px;
  --section-pad: 96px;
  --section-pad-mobile: 64px;
  --content-max: 1200px;
  --header-height: 80px;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.hero__title,
.stat-band__title,
.stat-item__num,
.before-after__title,
.bento-section__title,
.bento-card__heading,
.compare-card__head h3,
.mobile-section__title,
.btn {
  font-family: var(--font-display);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.text-accent { color: var(--red); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  height: var(--header-height);
  padding: 0 24px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  width: 200px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 9999px;
  border-bottom: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link + .nav__link {
  margin-left: 0;
}

.nav__link:hover {
  color: var(--dark);
  background: var(--gray-50);
}

.nav__link--active {
  color: var(--red);
  background: rgba(213, 0, 0, 0.08);
  border-bottom-color: transparent;
}

.header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 20px;
}

.link-signin {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.link-signin:hover {
  color: var(--dark);
}

.header__actions .btn {
  margin-left: 0;
  padding: 11px 22px;
  font-size: 15px;
  box-shadow: 0 8px 20px -12px rgba(213, 0, 0, 0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  padding: 12px 32px;
}

.btn--lg.btn--primary {
  padding: 14px 32px;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2), 0 4px 6px -4px rgba(59, 130, 246, 0.2);
}

.btn--secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 15px 33px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 112px;
}

.hero__glow {
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

.hero__glow--left {
  width: 693px;
  height: 1542px;
  left: -310px;
  top: 136px;
  border-radius: 346.5px;
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.38) 0%, rgba(255, 109, 42, 0) 76%);
}

.hero__glow--right {
  width: 1019px;
  height: 1816px;
  right: -332px;
  top: 25px;
  border-radius: 607px;
  background: radial-gradient(ellipse at center, rgba(213, 0, 0, 0.48) 0%, rgba(213, 0, 0, 0) 65%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1452px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 7px 17px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.badge__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.badge__icon img,
.badge__icon iconify-icon,
.badge img {
  width: 16px;
  height: 16px;
  display: block;
}

.badge span:last-child {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--gray-700);
  text-align: center;
  white-space: nowrap;
}

.hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -1.8px;
  text-align: center;
  color: var(--dark);
  max-width: 1153px;
}

.hero__subtitle {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: var(--gray-600);
  max-width: 768px;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.trust__stars {
  display: flex;
  align-items: flex-start;
}

.trust__stars img {
  width: 20px;
  height: 20px;
}

.trust > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-600);
}

.hero__preview {
  position: relative;
  margin-top: 46px;
  width: 100%;
  max-width: 1452px;
  aspect-ratio: 1024 / 682.66;
  border-radius: 17px;
  border: 22px solid rgba(255, 255, 255, 0.24);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 63px;
  height: 63px;
  border-radius: 50%;
  background: #383e47;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.15;
  border: 1px solid #fff;
  pointer-events: none;
}

.play-btn img {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Stat Band ---------- */
.stat-band {
  background: var(--stat-bg);
  border-top: 1px solid var(--stat-border);
  padding: 64px 0;
}

.stat-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.stat-band__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--red);
}

.stat-band__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  padding-top: 20px;
}

.stat-band__title {
  max-width: none;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark);
}

.stat-band__desc {
  max-width: none;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray-500);
  text-align: left;
  padding-bottom: 6px;
}

.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 48px;
  max-width: none;
  margin: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--gray-100);
}

.stat-item:first-child {
  padding-right: 40px;
}

.stat-item:nth-child(2) {
  padding: 0 40px;
}

.stat-item:last-child {
  padding-left: 40px;
}

.stat-item__value {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.stat-item__num {
  font-size: 72px;
  font-weight: 900;
  line-height: 72px;
  letter-spacing: -2px;
  color: var(--red);
}

.stat-item__unit {
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  color: var(--dark);
  padding-bottom: 8px;
}

.stat-item__bar {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 9999px;
  margin-top: 16px;
}

.stat-item__label {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--dark);
}

.stat-item__source {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  color: var(--gray-400);
}

/* ---------- Before vs After ---------- */
.before-after {
  background: var(--gray-50);
  padding: var(--section-pad) 24px;
}

.before-after__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.before-after__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}

.before-after__title {
  margin-top: 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 50.6px;
  letter-spacing: -0.8px;
  color: var(--dark);
  text-align: center;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.compare-card--accent {
  border: 2px solid var(--red);
  box-shadow: 0 10px 15px -3px #fef2f2, 0 4px 6px -4px #fef2f2;
}

.compare-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.compare-card__icon img {
  width: 16px;
  height: 16px;
}

.compare-card__icon--muted {
  background: var(--gray-100);
}

.compare-card__icon--accent {
  background: var(--red);
}

.compare-card__head h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: var(--gray-500);
}

.compare-card--accent .compare-card__head h3 {
  color: var(--dark);
}

.compare-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.compare-list li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-list li span {
  font-size: 15px;
  font-weight: 400;
  line-height: 20.625px;
  color: var(--gray-500);
}

.compare-list--accent li span {
  font-weight: 500;
  color: var(--dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .hero__title {
    font-size: 56px;
    line-height: 60px;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--border);
    z-index: 40;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav.is-open .nav__link {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
  }

  .nav.is-open .nav__link + .nav__link {
    margin-left: 0;
    margin-top: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .link-signin {
    display: none;
  }

  .stat-band__head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .stat-band__desc {
    text-align: left;
    padding-bottom: 0;
  }

  .stat-band__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 40px;
  }

  .stat-item:first-child,
  .stat-item:nth-child(2),
  .stat-item:last-child {
    padding: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header__inner {
    padding: 0 20px;
  }

  .logo img {
    width: 160px;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__subtitle br {
    display: none;
  }

  .badge span:last-child {
    white-space: normal;
    font-size: 13px;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__preview {
    border-width: 8px;
    border-radius: 12px;
    margin-top: 32px;
  }

  .play-btn {
    width: 48px;
    height: 48px;
  }

  .stat-band {
    padding: 48px 0;
  }

  .stat-band__inner {
    padding: 0 20px;
  }

  .stat-band__title {
    font-size: 28px;
    line-height: 34px;
  }

  .stat-item__num {
    font-size: 48px;
    line-height: 48px;
  }

  .before-after__title {
    font-size: 28px;
    line-height: 34px;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare-card {
    padding: 24px;
  }

  .compare-list li span {
    white-space: normal;
  }
}

/* ---------- Bento Features ---------- */
.bento-section {
  background: #fff;
  padding: var(--section-pad) 24px;
}

.bento-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.bento-section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}

.bento-section__title {
  margin-top: 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 50.6px;
  letter-spacing: -0.8px;
  color: var(--dark);
  text-align: center;
}

.bento-section__sub {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  color: var(--gray-500);
  text-align: center;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
  min-height: 0;
}

.bento-card--cases {
  grid-column: span 7;
  grid-row: span 1;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff8f5 55%, #ffffff 100%);
  min-height: 340px;
}

.bento-card--docs {
  grid-column: span 5;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  min-height: 340px;
}

.bento-card--calendar {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  min-height: 300px;
}

.bento-card--comm,
.bento-card--secure {
  grid-column: span 3;
  justify-content: flex-start;
  gap: 0;
  min-height: 300px;
  background: #fff;
}

.bento-card--reports {
  grid-column: span 7;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 22px;
  background: linear-gradient(135deg, #fffafa 0%, #ffffff 100%);
}

.bento-card--marketing {
  grid-column: span 5;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 22px;
  background: linear-gradient(160deg, #fafafa 0%, #fff5f5 100%);
}

.bento-card__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.bento-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(213, 0, 0, 0.06);
  flex-shrink: 0;
  overflow: hidden;
}

.bento-card__icon img {
  width: 24px;
  height: 24px;
}

.bento-card__label {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
}

.bento-card__heading {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.4px;
  color: var(--dark);
}

.bento-card--comm .bento-card__heading,
.bento-card--secure .bento-card__heading {
  font-size: 20px;
  line-height: 28px;
}

.bento-card__text {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--gray-500);
  max-width: 320px;
}

.bento-card__link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.bento-card__link:hover {
  gap: 10px;
}

.bento-card__visual {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.bento-card__visual img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: bottom right;
}

.bento-card__visual--folder img {
  max-width: 220px;
  max-height: 240px;
}

.bento-card__visual--chart {
  flex: 0 0 42%;
  max-width: 42%;
}

.bento-card__visual--marketing {
  flex: 0 0 48%;
  max-width: 48%;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0;
}

.bento-card__visual--chart img {
  max-height: 140px;
}

.bento-card__visual--marketing img {
  max-height: 160px;
  max-width: 100%;
}

.bento-card--comm .bento-card__link,
.bento-card--secure .bento-card__link {
  margin-top: auto;
  padding-top: 20px;
}

.bento-card--cases .bento-card__copy,
.bento-card--docs .bento-card__copy,
.bento-card--calendar .bento-card__copy,
.bento-card--reports .bento-card__copy {
  align-self: stretch;
}

.bento-card--marketing .bento-card__copy {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
}

.bento-card--marketing .bento-card__heading {
  font-size: 20px;
  line-height: 28px;
}

.bento-card--reports .bento-card__heading {
  font-size: 22px;
  line-height: 30px;
}

.bento-card--reports .bento-card__text,
.bento-card--marketing .bento-card__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
}

.bento-card--reports .bento-card__label,
.bento-card--marketing .bento-card__label {
  margin-top: 12px;
}

.bento-card--reports .bento-card__link,
.bento-card--marketing .bento-card__link {
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-card--cases {
    grid-column: span 6;
    flex-direction: column;
  }

  .bento-card--docs {
    grid-column: span 6;
  }

  .bento-card--calendar {
    grid-column: span 6;
  }

  .bento-card--comm,
  .bento-card--secure {
    grid-column: span 3;
  }

  .bento-card--reports {
    grid-column: span 6;
  }

  .bento-card--marketing {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .bento-section__title {
    font-size: 28px;
    line-height: 34px;
  }

  .bento-section__sub br {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-card--cases,
  .bento-card--docs,
  .bento-card--calendar,
  .bento-card--comm,
  .bento-card--secure,
  .bento-card--reports,
  .bento-card--marketing {
    grid-column: span 1;
    flex-direction: column;
    min-height: 0;
  }

  .bento-card__heading {
    font-size: 22px;
    line-height: 28px;
  }

  .bento-card__visual--chart,
  .bento-card__visual--marketing {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .bento-card__visual img {
    max-height: 220px;
  }
}

/* ---------- Mobile App Section ---------- */
.btn--outline-red {
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 14px 32px;
}

.mobile-section {
  position: relative;
  background: #fff;
  padding: var(--section-pad) 24px;
}

.mobile-banner {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 24px 40px;
  min-height: 380px;
  padding: 28px 48px 0 0;
  border-radius: 28px;
  background: linear-gradient(135deg, #d50000 0%, #b71c1c 48%, #ff6a00 120%);
  box-shadow: 0 20px 50px -28px rgba(213, 0, 0, 0.55);
}

.mobile-banner__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.mobile-banner__visual,
.mobile-banner__content {
  position: relative;
  z-index: 1;
}

.mobile-banner__visual {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  align-self: end;
  margin: 0 0 -1px;
}

.mobile-banner__visual img {
  width: auto;
  max-width: min(480px, 48vw);
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  transform: scale(1.06);
  transform-origin: left bottom;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.35));
}

.mobile-banner__content {
  padding: 24px 8px 24px 0;
  max-width: 520px;
}

.mobile-banner__title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: #fff;
}

.mobile-banner__desc {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 440px;
}

.mobile-banner__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-banner__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.mobile-banner__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.mobile-banner__available {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-banner__stores {
  margin-top: 20px;
}

.mobile-banner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mobile-banner__store-card {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-banner__store-card:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.mobile-banner__store-card img {
  display: block;
  width: 150px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.mobile-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.mobile-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mobile-banner__btn--primary {
  background: #fff;
  color: #212529;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mobile-banner__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.mobile-banner__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.mobile-banner__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 900px) {
  .mobile-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px 0;
    gap: 8px;
  }

  .mobile-banner__content {
    order: -1;
    padding: 8px 0 12px;
    max-width: none;
    margin: 0 auto;
  }

  .mobile-banner__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-banner__list {
    text-align: left;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-banner__stores {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-banner__badges {
    justify-content: center;
  }

  .mobile-banner__visual {
    justify-content: center;
    margin-bottom: -8px;
  }

  .mobile-banner__visual img {
    max-width: 320px;
    transform: scale(1.04);
    object-position: center bottom;
    transform-origin: center bottom;
  }
}

@media (max-width: 768px) {
  .mobile-banner {
    border-radius: 22px;
    padding: 28px 20px 0;
  }

  .mobile-banner__btn {
    width: 100%;
  }

  .mobile-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .mobile-banner__store-card img {
    width: 136px;
    height: 40px;
  }
}

/* ---------- Feature Spotlights ---------- */
.spotlights {
  background: #fff;
  padding: var(--section-pad) 24px;
}

.spotlights__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.spotlights__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
  padding-bottom: 40px;
}

.spotlights__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
}

.spotlights__title-main {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.9px;
  color: var(--dark);
  padding-bottom: 0;
}

.spotlights__pen-line {
  display: none;
}

.spotlights__sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 28px;
  color: var(--gray-500);
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-100);
}

.spotlight--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
}

.spotlight--last {
  border-bottom: none;
}

.spotlight__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}

.spotlight__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: -0.6px;
  color: var(--dark);
}

.spotlight__desc {
  margin-top: 20px;
  font-size: 17px;
  line-height: 28.9px;
  color: var(--gray-600);
}

.spotlight__list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22.5px;
  color: var(--dark);
}

.spotlight__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(213, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
}

.spotlight__check img {
  width: 12px;
  height: 12px;
}

.spotlight__panel {
  border-radius: 16px;
  padding: 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 20px 25px -12px #f3f4f6, 0 8px 10px -6px #f3f4f6;
}

.spotlight__panel--peach {
  background: linear-gradient(144deg, #fef2f2 0%, #fff7ed 100%);
}

.spotlight__panel--gray {
  background: linear-gradient(144deg, #f9fafb 0%, #f1f5f9 100%);
}

.spotlight__panel--pink {
  background: linear-gradient(144deg, #fef2f2 0%, #fdf2f8 100%);
}

.case-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.case-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  min-width: 0;
}

.case-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(213, 0, 0, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.case-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
}

.case-tag--blue { background: #dbeafe; color: #1447e6; }
.case-tag--yellow { background: #fef9c2; color: #a65f00; }
.case-tag--green { background: #dcfce7; color: #008236; }
.case-tag--purple { background: #f3e8ff; color: #8200db; }

.ledger-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ledger-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr auto;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

.ledger-row:first-of-type {
  padding-top: 0;
}

.ledger-row__name {
  font-size: 13px;
  color: var(--gray-600);
}

.ledger-row__type {
  font-size: 12px;
  color: var(--gray-500);
}

.ledger-row__amt {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.ledger-row__amt--pos { color: #00a63e; }
.ledger-row__amt--neg { color: var(--red); }

.audit-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(213, 0, 0, 0.05);
  border: 1px solid rgba(213, 0, 0, 0.2);
}

.audit-banner img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.audit-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 19.5px;
}

.audit-banner span {
  display: block;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 18px;
}

.portal-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 636px;
  margin: 0 auto;
}

.portal-card__header {
  background: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
}

.portal-card__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.portal-card__header strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
}

.portal-card__header span {
  display: block;
  font-size: 11px;
  line-height: 16.5px;
  color: rgba(255, 255, 255, 0.6);
}

.portal-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.portal-status {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.portal-status--ok { color: #00a63e; }
.portal-status--warn { color: #f59e0b; }

@media (max-width: 1100px) {
  .spotlight,
  .spotlight--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spotlight--reverse .spotlight__panel {
    order: -1;
  }

  .spotlight__title {
    font-size: 32px;
    line-height: 38px;
  }

  .spotlights__title-main {
    font-size: 36px;
  }

  .spotlight__panel {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .spotlight {
    padding: 48px 0;
  }

  .spotlights__title-main {
    font-size: 28px;
  }

  .ledger-row {
    grid-template-columns: 1fr auto;
  }

  .ledger-row__type {
    display: none;
  }
}

/* ---------- Workflow Hub ---------- */
.hub-section {
  background: #fff;
  padding: var(--section-pad) 24px;
  font-family: 'Inter', sans-serif;
}

.hub-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hub-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.hub-section__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}

.hub-section__title {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--dark);
  padding-bottom: 0;
}

.hub-section__pen-line {
  display: none;
}

.hub-section__sub {
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: var(--gray-500);
}

.hub {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
  column-gap: 0;
  min-height: 0;
}

.hub__col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
  min-height: 0;
  padding: 12px 0;
}

.hub__col--left {
  align-items: flex-end;
  padding-right: 72px;
}

.hub__col--right {
  align-items: flex-start;
  padding-left: 72px;
}

/* Stagger: top & bottom closer to center, middle further out */
.hub__col--left .hub-card:nth-child(1),
.hub__col--left .hub-card:nth-child(3) {
  transform: translateX(28px);
}

.hub__col--left .hub-card:nth-child(2) {
  transform: translateX(-12px);
}

.hub__col--right .hub-card:nth-child(1),
.hub__col--right .hub-card:nth-child(3) {
  transform: translateX(-28px);
}

.hub__col--right .hub-card:nth-child(2) {
  transform: translateX(12px);
}

.hub__col--left .hub-card:nth-child(1) .hub-card__line,
.hub__col--left .hub-card:nth-child(3) .hub-card__line,
.hub__col--right .hub-card:nth-child(1) .hub-card__line,
.hub__col--right .hub-card:nth-child(3) .hub-card__line {
  width: 80px;
  height: 56px;
}

.hub__col--left .hub-card:nth-child(2) .hub-card__line,
.hub__col--right .hub-card:nth-child(2) .hub-card__line {
  width: 96px;
  height: 16px;
}

.hub-card__line {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  display: block;
}

.hub__col--left .hub-card__line {
  left: 100%;
}

.hub__col--right .hub-card__line {
  right: 100%;
}

.hub__col--left .hub-card__line--down,
.hub__col--right .hub-card__line--down {
  top: 50%;
  transform: translateY(-8px);
}

.hub__col--left .hub-card__line--up,
.hub__col--right .hub-card__line--up {
  bottom: 50%;
  transform: translateY(8px);
}

.hub__col--left .hub-card__line--mid,
.hub__col--right .hub-card__line--mid {
  top: 50%;
  transform: translateY(-50%);
}

.hub-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(26, 28, 41, 0.06);
}

.hub-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.hub-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-card--red .hub-card__icon {
  background: #fee2e2;
  color: #d50000;
}

.hub-card--orange .hub-card__icon {
  background: #ffedd5;
  color: #ea580c;
}

.hub-card--green .hub-card__icon {
  background: #dcfce7;
  color: #16a34a;
}

.hub-card--violet .hub-card__icon {
  background: #ede9fe;
  color: #7c3aed;
}

.hub-card--blue .hub-card__icon {
  background: #dbeafe;
  color: #2563eb;
}

.hub-card--indigo .hub-card__icon {
  background: #e0e7ff;
  color: #4f46e5;
}

.hub__center {
  position: relative;
  z-index: 1;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hub__ring--outer {
  inset: 0;
  background: radial-gradient(circle, rgba(213, 0, 0, 0.12) 0%, rgba(213, 0, 0, 0.04) 45%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(213, 0, 0, 0.08);
}

.hub__ring--mid {
  inset: 28px;
  background: radial-gradient(circle, rgba(213, 0, 0, 0.16) 0%, rgba(213, 0, 0, 0.05) 55%, transparent 72%);
  box-shadow: 0 0 0 1px rgba(213, 0, 0, 0.1);
}

.hub__core {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(213, 0, 0, 0.06),
    0 10px 30px rgba(213, 0, 0, 0.18);
}

.hub__core img {
  width: 64px;
  height: auto;
}

@media (max-width: 900px) {
  .hub {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  .hub__col {
    min-height: 0;
    padding: 0;
    gap: 16px;
    justify-content: flex-start;
    align-items: stretch;
  }

  .hub__col--left,
  .hub__col--right {
    padding-left: 0;
    padding-right: 0;
  }

  .hub__col--left .hub-card:nth-child(1),
  .hub__col--left .hub-card:nth-child(2),
  .hub__col--left .hub-card:nth-child(3),
  .hub__col--right .hub-card:nth-child(1),
  .hub__col--right .hub-card:nth-child(2),
  .hub__col--right .hub-card:nth-child(3) {
    transform: none;
  }

  .hub-card__line {
    display: none;
  }

  .hub-card {
    min-width: 0;
    width: 100%;
  }

  .hub__center {
    order: -1;
    margin: 0 auto;
  }

  .hub-section__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hub-section__title {
    font-size: 28px;
  }
}

/* ---------- Maple AI ---------- */
.maple {
  background: var(--surface-muted);
  padding: var(--section-pad) 24px;
}

.maple__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.maple__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}

.maple__title {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--dark);
  max-width: 520px;
}

.maple__desc {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: var(--gray-500);
  max-width: 480px;
}

.maple__list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maple__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

.maple__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #fecaca;
  background: #fff5f5;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.maple__cta {
  margin-top: 32px;
}

.maple__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.maple__mascot {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.maple__bubble {
  position: absolute;
  top: 24px;
  right: 8%;
  z-index: 2;
  max-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(26, 28, 41, 0.1);
}

.maple__bubble::after {
  content: '';
  position: absolute;
  left: 28px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

@media (max-width: 1000px) {
  .maple__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .maple__title {
    font-size: 34px;
  }

  .maple__visual {
    order: -1;
    min-height: 0;
  }

  .maple__bubble {
    right: 12%;
    top: 8px;
  }
}

@media (max-width: 768px) {
  .maple__title {
    font-size: 28px;
  }
}

/* ---------- Integrations & Trust (paired split panels) ---------- */
.integrations,
.trust-section {
  padding-left: 24px;
  padding-right: 24px;
  background: var(--surface);
}

.integrations {
  padding-top: var(--section-pad);
  padding-bottom: 20px;
}

.trust-section {
  padding-top: 20px;
  padding-bottom: var(--section-pad);
}

.integrations__panel,
.trust-panel {
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.integrations__panel {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
}

.trust-panel {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr);
}

.integrations__eyebrow,
.trust-panel__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.integrations__title,
.trust-panel__title {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--dark);
  max-width: 380px;
}

.integrations__desc,
.trust-panel__desc {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-500);
  max-width: 360px;
}

.integrations__link,
.trust-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.integrations__link:hover,
.trust-panel__btn:hover {
  gap: 10px;
}

.trust-panel__btn {
  padding: 10px 18px;
  border: 1.5px solid rgba(213, 0, 0, 0.22);
  border-radius: 9999px;
  background: var(--surface);
}

.trust-panel__btn:hover {
  border-color: var(--red);
  background: #fffafa;
}

.trust-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

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

.int-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.int-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.int-card__brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.int-card__brand strong {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 650;
  color: var(--dark);
  line-height: 1.2;
}

.int-card > p {
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: var(--gray-500);
}

@media (max-width: 1100px) {
  .integrations__panel,
  .trust-panel {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .integrations__title,
  .trust-panel__title {
    max-width: none;
    font-size: 30px;
  }

  .integrations__desc,
  .trust-panel__desc {
    max-width: none;
  }

  .trust-panel__copy {
    order: -1;
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .integrations__cards {
    grid-template-columns: 1fr 1fr;
  }

  .integrations__title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .integrations__cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: #f9fafb;
  padding: 0 24px var(--section-pad);
}

.testimonials__inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}

.testimonials__title {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--dark);
}

.testimonials__sub {
  margin: 14px auto 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-500);
}

.testimonials__carousel {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.testimonials__stage {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonials__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.testimonials__track {
  display: flex;
  gap: 20px;
  width: 100%;
  text-align: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonials__track .t-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

.testimonials__dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonials__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.testimonials__arrow:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow-md);
}

.t-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.t-card__quote {
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.t-card__stars {
  display: flex;
  gap: 2px;
  color: var(--red);
  margin-bottom: 14px;
}

.t-card__text {
  font-size: 15px;
  line-height: 24px;
  color: var(--dark);
  flex: 1;
}

.t-card__author {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gray-100);
}

.t-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.t-card__author span {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

.testimonials__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials__dots button.is-active {
  background: var(--red);
  transform: scale(1.15);
}

.testimonials__dots button:hover:not(.is-active) {
  background: #9ca3af;
}

/* ---------- Trust panel ---------- */
.trust-panel__assoc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.trust-panel__assoc-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

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

.trust-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-badge:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.trust-badge__logo {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.trust-badge__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.trust-badge__name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin: 0;
}

.trust-badge__desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gray-500);
}

@media (max-width: 1100px) {
  .testimonials__track .t-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .testimonials__title {
    font-size: 30px;
  }

  .testimonials__stage {
    gap: 10px;
  }

  .testimonials__arrow {
    width: 40px;
    height: 40px;
  }

  .testimonials__track .t-card {
    flex: 0 0 100%;
  }

  .integrations__panel,
  .trust-panel {
    padding: 28px 20px;
  }

  .integrations__title,
  .trust-panel__title {
    font-size: 26px;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--surface-muted);
  padding: var(--section-pad) 24px;
}

.pricing__inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.pricing__eyebrow,
.faq__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--red);
}

.pricing__title,
.faq__title {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--dark);
}

.pricing__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

.pricing__toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  border-radius: 9999px;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pricing__toggle-btn.is-active {
  background: var(--red);
  color: #fff;
}

.pricing__save {
  background: rgba(213, 0, 0, 0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  padding: 2px 8px;
  border-radius: 9999px;
}

.pricing__toggle-btn.is-active .pricing__save {
  background: #fff;
  color: var(--red);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  text-align: left;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.price-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 30px;
}

.price-card__desc {
  margin-top: 4px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 19.5px;
  color: var(--gray-500);
}

.price-card__amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 28px;
}

.price-card__value {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 44px;
  color: var(--dark);
}

.price-card__period {
  font-size: 15px;
  color: var(--gray-400);
  padding-bottom: 6px;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 21px;
  color: var(--gray-600);
}

.price-card__list img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.price-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 22.5px;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.price-card__btn--outline {
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-card__btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.price-card__btn--primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 8px 20px -12px rgba(213, 0, 0, 0.45);
}

.price-card__btn--primary:hover {
  box-shadow: 0 10px 24px -12px rgba(213, 0, 0, 0.5);
}

.price-card--featured {
  background: var(--surface);
  border: 2px solid var(--red);
  box-shadow: var(--shadow-md), 0 12px 32px -16px rgba(213, 0, 0, 0.18);
  transform: scale(1.02);
}

.price-card--featured:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md), 0 16px 40px -16px rgba(213, 0, 0, 0.22);
}

.price-card--featured h3,
.price-card--featured .price-card__value {
  color: var(--dark);
}

.price-card--featured .price-card__desc {
  color: var(--gray-500);
}

.price-card--featured .price-card__period {
  color: var(--gray-400);
}

.price-card--featured .price-card__list li {
  color: var(--gray-600);
}

.price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(213, 0, 0, 0.08);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.pricing__note {
  margin-top: 32px;
  font-size: 13px;
  line-height: 19.5px;
  color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
  border-top: none;
  padding: var(--section-pad) 24px;
}

.faq__inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.faq__list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--dark);
  text-align: left;
}

.faq-item__trigger img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__trigger img {
  transform: rotate(180deg);
}

.faq-item__panel {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.is-open .faq-item__panel {
  display: block;
}

.faq-item__panel p {
  font-size: 15px;
  line-height: 24px;
  color: var(--gray-500);
}

@media (max-width: 1000px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .pricing__title,
  .faq__title {
    font-size: 32px;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 0 24px calc(var(--section-pad) + 16px);
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  position: relative;
}

.final-cta__panel {
  position: relative;
  overflow: hidden;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 72px 56px 64px;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(213, 0, 0, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 248, 0.98) 100%),
    radial-gradient(ellipse 90% 80% at 50% -20%, rgba(213, 0, 0, 0.11), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(255, 106, 0, 0.07), transparent 52%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(213, 0, 0, 0.05),
    0 28px 64px -28px rgba(213, 0, 0, 0.24),
    0 12px 32px -16px rgba(15, 23, 42, 0.08);
}

.final-cta__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.7;
}

.final-cta__glow--left {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -100px;
  background: rgba(255, 106, 0, 0.22);
}

.final-cta__glow--right {
  width: 320px;
  height: 320px;
  right: -100px;
  top: -120px;
  background: rgba(213, 0, 0, 0.18);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta__eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(213, 0, 0, 0.08);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.final-cta__title {
  margin: 20px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.9px;
  color: var(--dark);
}

.final-cta__title span {
  color: var(--red);
}

.final-cta__desc {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-500);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.final-cta__btn:hover {
  transform: translateY(-2px);
}

.final-cta__btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(213, 0, 0, 0.7);
}

.final-cta__btn--primary:hover {
  box-shadow: 0 16px 36px -10px rgba(213, 0, 0, 0.8);
}

.final-cta__btn--ghost {
  background: var(--surface);
  color: var(--red);
  border: 1.5px solid rgba(213, 0, 0, 0.18);
  box-shadow: var(--shadow-sm);
}

.final-cta__btn--ghost:hover {
  border-color: var(--red);
  background: #fffafa;
}

.final-cta__play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.final-cta__play svg {
  margin-left: 1px;
}

.final-cta__perks {
  list-style: none;
  margin: 36px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(213, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.final-cta__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}

.final-cta__perk-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(213, 0, 0, 0.08);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Site footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
  gap: 48px 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.site-footer__brand p {
  margin: 16px 0 0;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
}

.site-footer__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.site-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-footer__social a:hover {
  color: var(--red);
  border-color: rgba(213, 0, 0, 0.2);
  background: rgba(213, 0, 0, 0.04);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.site-footer__col h3 {
  margin: 0 0 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

.site-footer__col a,
.site-footer__hours {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-500);
  transition: color 0.15s ease;
}

.site-footer__col a:hover {
  color: var(--red);
}

.site-footer__col--support a,
.site-footer__hours {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__col--support span[aria-hidden="true"],
.site-footer__hours span[aria-hidden="true"] {
  color: var(--gray-400);
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
}

.site-footer__copy,
.site-footer__proud {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-500);
}

.site-footer__proud {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .final-cta__panel {
    padding: 44px 22px 40px;
    border-radius: 22px;
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta__btn {
    width: 100%;
  }

  .final-cta__perks {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .site-footer {
    padding: 48px 20px 24px;
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

/* ===== Soft SaaS modernization (post-hero) =====
   Calm white / slate surfaces, soft borders & shadows,
   larger radii. Red stays accent-only (eyebrows, links, CTAs).
   Does not touch .hero, .header, .nav, .logo, .btn, or .trust.
   ============================================================ */

/* --- Shared hover lift (cards) --- */
.bento-card,
.t-card,
.int-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover,
.t-card:hover,
.int-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  .bento-card,
  .t-card,
  .int-card {
    transition: none;
  }

  .bento-card:hover,
  .t-card:hover,
  .int-card:hover {
    transform: none;
  }
}

/* --- 1. Stat band --- */
.stat-band {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-band__inner {
  max-width: 1200px;
  padding: 0 48px;
}

.stat-item__num {
  color: var(--red);
  font-weight: 800;
}

.stat-item__bar {
  background: var(--red);
  opacity: 0.85;
}

/* --- 2. Before / After compare --- */
.before-after {
  background: var(--surface);
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.compare-card--accent {
  border: 1px solid var(--red);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(213, 0, 0, 0.06);
}

/* --- 3. Bento --- */
.bento-section {
  background: var(--surface-muted);
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.bento-card--cases,
.bento-card--docs,
.bento-card--calendar,
.bento-card--comm,
.bento-card--secure,
.bento-card--reports,
.bento-card--marketing {
  background: var(--surface);
}

.bento-card__icon {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

/* --- 4. Mobile app section --- */
.mobile-section {
  background: #fff;
}

/* --- 5. Feature spotlights --- */
.spotlights {
  background: var(--surface-muted);
}

.spotlights__pen-line {
  display: none;
}

.spotlight__panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.spotlight__panel--peach,
.spotlight__panel--pink {
  background: linear-gradient(160deg, #ffffff 0%, var(--gray-50) 100%);
}

.spotlight__panel--gray {
  background: linear-gradient(160deg, var(--gray-50) 0%, #f1f5f9 100%);
}

.case-card,
.ledger-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.audit-banner {
  background: var(--gray-50);
  border: 1px solid var(--border);
}

.spotlight__check {
  background: var(--gray-100);
}

/* --- 6. Workflow hub --- */
.hub-section {
  background: var(--surface);
}

.hub-section__pen-line {
  display: none;
}

.hub-card {
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
}

.hub__ring--outer {
  background: radial-gradient(circle, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.02) 45%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.hub__ring--mid {
  background: radial-gradient(circle, rgba(213, 0, 0, 0.05) 0%, rgba(15, 23, 42, 0.02) 55%, transparent 72%);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.hub__core {
  box-shadow:
    0 0 0 8px rgba(15, 23, 42, 0.03),
    var(--shadow-md);
}

/* --- 7. Maple AI --- */
.maple {
  background: var(--surface-muted);
}

.maple__inner {
  max-width: 1280px;
}

.maple__icon {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--red);
  border-radius: 12px;
}

.maple__bubble {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- 8. Integrations & Trust --- */
.integrations,
.trust-section {
  background: var(--surface);
}

.integrations__panel,
.trust-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.int-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-panel__copy {
  border-left-color: var(--border);
}

.trust-badge {
  box-shadow: var(--shadow-sm);
}

/* --- 9. Testimonials --- */
.testimonials {
  background: var(--surface-muted);
}

.t-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

/* --- 10. Pricing & FAQ --- */
.pricing {
  background: var(--surface-muted);
}

.faq {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.price-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.price-card--featured {
  background: var(--surface);
  border: 2px solid var(--red);
  box-shadow: var(--shadow-md), 0 12px 32px -16px rgba(213, 0, 0, 0.18);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.faq-item.is-open {
  box-shadow: var(--shadow-sm);
}

/* --- 12. Final CTA --- */
.final-cta {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
}

.final-cta__panel {
  border: 1px solid rgba(213, 0, 0, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 248, 0.98) 100%),
    radial-gradient(ellipse 90% 80% at 50% -20%, rgba(213, 0, 0, 0.11), transparent 58%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(213, 0, 0, 0.05),
    0 28px 64px -28px rgba(213, 0, 0, 0.24),
    0 12px 32px -16px rgba(15, 23, 42, 0.08);
}

.final-cta__glow,
.final-cta__glow--left,
.final-cta__glow--right {
  opacity: 0.75;
  filter: blur(64px);
}

.final-cta__btn--primary {
  box-shadow: 0 12px 28px -10px rgba(213, 0, 0, 0.7);
}

.final-cta__btn--primary:hover {
  box-shadow: 0 16px 36px -10px rgba(213, 0, 0, 0.8);
}

/* --- Shared section rhythm & type --- */
.bento-section__inner,
.before-after__inner,
.spotlights__inner,
.testimonials__inner,
.pricing__inner,
.faq__inner,
.hub-section__inner {
  max-width: var(--content-max);
}

.bento-section__title,
.before-after__title,
.spotlights__title-main,
.hub-section__title,
.maple__title,
.testimonials__title,
.pricing__title,
.faq__title {
  letter-spacing: -0.9px;
}

.bento-section__eyebrow,
.before-after__eyebrow,
.spotlights__eyebrow,
.hub-section__eyebrow,
.maple__eyebrow,
.testimonials__eyebrow,
.pricing__eyebrow,
.faq__eyebrow,
.integrations__eyebrow,
.stat-band__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.spotlights__header {
  margin-bottom: 8px;
  padding-bottom: 24px;
}

.spotlight {
  gap: 64px;
  padding: 64px 0;
}

.stat-band__title {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.stat-item__num {
  font-size: 56px;
  line-height: 1;
}

.spotlight__title {
  font-size: 32px;
  line-height: 1.2;
}

.spotlight__panel {
  min-height: 380px;
  padding: 28px;
}

.trust-panel__title {
  font-size: 36px;
  letter-spacing: -0.6px;
}

.final-cta__panel {
  padding: 72px 56px 64px;
}

/* --- Ambient glows: only key sections, inward (not edges) --- */
.bento-section,
.spotlights,
.maple,
.pricing {
  position: relative;
  overflow: hidden;
}

.bento-section__inner,
.spotlights__inner,
.maple__inner,
.pricing__inner {
  position: relative;
  z-index: 1;
}

.section-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(64px);
  z-index: 0;
  width: min(380px, 42vw);
  height: min(380px, 42vw);
}

.section-glow--orange {
  left: 18%;
  top: 22%;
  background: radial-gradient(circle at center, rgba(255, 106, 0, 0.22) 0%, rgba(255, 109, 42, 0) 72%);
}

.section-glow--red {
  right: 16%;
  bottom: 18%;
  left: auto;
  top: auto;
  background: radial-gradient(circle at center, rgba(213, 0, 0, 0.2) 0%, rgba(213, 0, 0, 0) 70%);
}

.spotlights .section-glow--orange {
  left: 28%;
  top: 12%;
}

.spotlights .section-glow--red {
  right: 22%;
  bottom: 28%;
}

.maple .section-glow--orange {
  left: 12%;
  top: 30%;
}

.maple .section-glow--red {
  right: 10%;
  bottom: 24%;
}

.pricing .section-glow--orange {
  left: 22%;
  top: 18%;
}

.pricing .section-glow--red {
  right: 18%;
  bottom: 22%;
}

@media (max-width: 768px) {
  .section-glow {
    filter: blur(48px);
    width: min(260px, 55vw);
    height: min(260px, 55vw);
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .stat-band__title {
    font-size: 28px;
  }

  .stat-item__num {
    font-size: 44px;
  }

  .spotlight__title {
    font-size: 26px;
  }

  .trust-panel {
    padding: 28px 20px;
  }
}

.final-cta__btn--ghost {
  border-color: rgba(213, 0, 0, 0.18);
  background: var(--surface);
}

.final-cta__btn--ghost:hover {
  border-color: var(--red);
  background: #fffafa;
}

.final-cta__perk-icon {
  background: rgba(213, 0, 0, 0.08);
  color: var(--red);
}

/* --- 13. Site footer (minor polish) --- */
.site-footer {
  background: var(--surface);
  padding-top: 72px;
}

.site-footer__social a:hover {
  background: var(--gray-50);
  border-color: var(--border);
}

.site-footer__bottom {
  margin-top: 8px;
}

/* --- Remove section border colors --- */
.stat-band,
.faq,
.site-footer,
.spotlight {
  border: none;
  border-top: none;
  border-bottom: none;
}

.stat-band {
  border-top: none !important;
  border-bottom: none !important;
}

.faq {
  border-top: none !important;
}

.site-footer {
  border-top: none !important;
}

.spotlight {
  border-bottom: none !important;
}

.final-cta__panel,
.trust-panel__stats {
  border: none !important;
  border-right: none !important;
  border-left: none !important;
}

@media (min-width: 1101px) {
  .stat-item:not(:last-child) {
    border-right: 1px solid var(--gray-100);
  }
}

/* --- Responsive: keep constrained padding on small screens --- */
@media (max-width: 768px) {
  .stat-band__inner {
    padding: 0 20px;
  }

  .stat-band__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .integrations__panel,
  .trust-panel,
  .final-cta__panel {
    border-radius: var(--radius-lg);
  }
}

/* ===== Unified section padding (Before vs After → CTA) ===== */
.before-after,
.bento-section,
.mobile-section,
.spotlights,
.hub-section,
.maple,
.integrations,
.testimonials,
.trust-section,
.pricing,
.faq,
.final-cta {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  padding-left: 24px;
  padding-right: 24px;
}

.integrations {
  padding-bottom: 20px;
}

.trust-section {
  padding-top: 20px;
}

.testimonials,
.final-cta {
  padding-top: 0;
}

@media (max-width: 768px) {
  .before-after,
  .bento-section,
  .mobile-section,
  .spotlights,
  .hub-section,
  .maple,
  .integrations,
  .testimonials,
  .trust-section,
  .pricing,
  .faq,
  .final-cta {
    padding-top: var(--section-pad-mobile);
    padding-bottom: var(--section-pad-mobile);
    padding-left: 20px;
    padding-right: 20px;
  }

  .integrations {
    padding-bottom: 16px;
  }

  .trust-section {
    padding-top: 16px;
  }

  .testimonials,
  .final-cta {
    padding-top: 0;
  }
}


/* =====================================================================
   Confirmed spec, 2026-11-18 (see rcicmaster vdo/26_website/WEBSITE-SPEC.md)
   ===================================================================== */

/* Nav: FR toggle */
.lang-toggle {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gray-600);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 9px;
  transition: color .2s ease, border-color .2s ease;
}
.lang-toggle:hover { color: var(--red); border-color: #fecaca; }

/* Hero: H1 size and side gradients as in the claude build */
.hero__title {
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  max-width: 980px;
}
.hero__glow { filter: blur(60px); border-radius: 50%; }
.hero__glow--left {
  width: 520px; height: 900px; left: -320px; top: 80px;
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, .30), rgba(255, 106, 0, 0) 70%);
}
.hero__glow--right {
  width: 760px; height: 1100px; right: -420px; top: -40px;
  background: radial-gradient(ellipse at center, rgba(213, 0, 0, .30), rgba(213, 0, 0, 0) 65%);
}
.hero__subtitle { max-width: 720px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--gray-500); text-align: center; }

/* Walkthrough video: a little smaller */
.hero__preview { margin-top: 56px; cursor: pointer; }

@media (max-width: 1400px) {
  .hero__title { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.15; }
}
@media (max-width: 1100px) {
  .hero__title { font-size: clamp(34px, 6.2vw, 56px); line-height: 1.15; letter-spacing: -.03em; }
}

/* How it works: steps turn red one by one while scrolling */
.hiw { padding: var(--section-pad) 24px; background: #fff; }
.hiw__inner { max-width: 1200px; margin: 0 auto; }
.hiw__steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative;
  --hiw-progress: 0;
}
.hiw__steps::before,
.hiw__steps::after {
  content: ''; position: absolute; top: 23px; left: 8.33%; height: 2px; z-index: 0;
}
.hiw__steps::before {
  right: 8.33%;
  background: repeating-linear-gradient(90deg, #fee2e2 0 8px, transparent 8px 14px);
}
.hiw__steps::after {
  width: calc(83.34% * var(--hiw-progress));
  background: var(--red);
  transition: width .35s ease;
}
.hiw__step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.hiw__num {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 50%;
  background: #fff; border: 2px solid #fecaca; color: #f87171;
  font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.hiw__step.is-active .hiw__num { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.hiw__step h3 { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--dark); }
.hiw__step p { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--gray-500); }
@media (max-width: 1100px) {
  .hiw__steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .hiw__steps::before, .hiw__steps::after { display: none; }
}
@media (max-width: 640px) {
  .hiw { padding: var(--section-pad-mobile) 16px; }
  .hiw__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hiw__num, .hiw__steps::after { transition: none; }
}

/* Walkthrough video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .78); }
.video-modal__dialog { position: relative; width: min(1100px, 100%); }
.video-modal__dialog video { width: 100%; border-radius: 16px; background: #000; display: block; }
.video-modal__close {
  position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #fff; color: var(--dark); font-size: 22px; line-height: 1; cursor: pointer;
}

/* H1: "in one secure place." stays together on its own line */
.hero__title-line { display: inline-block; white-space: nowrap; }
@media (max-width: 480px) { .hero__title-line { display: inline; white-space: normal; } }

/* Video: bigger, in a visible frosted-glass frame */
.hero__preview {
  max-width: 1240px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .28) 55%, rgba(255, 240, 238, .45) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, .06),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .35),
    0 40px 90px -40px rgba(213, 0, 0, .28),
    0 30px 60px -30px rgba(15, 23, 42, .30);
}
.hero__preview-img {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
@media (max-width: 1100px) {
  .hero__preview { padding: 8px; border-radius: 18px; border-width: 1px; }
  .hero__preview-img { border-radius: 11px; }
}

/* Description: "while you decide." on its own line */
.hero__subtitle-end { display: block; }
@media (max-width: 640px) { .hero__subtitle-end { display: inline; } }

.hero { padding-bottom: 72px; }

/* Walkthrough thumbnail is 16:9; popup holds a YouTube player */
.hero__preview { aspect-ratio: auto; }
.hero__preview-img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Walkthrough plays in place */
.hero__player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.hero__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero__preview.is-playing { cursor: default; }
.hero__preview.is-playing .play-btn { display: none; }
@media (max-width: 1100px) { .hero__player { border-radius: 11px; } }

/* Cost of inaction: one sourced stat in a soft card */
.cost { padding: 24px 24px 72px; }
.cost__card {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(260px, 1fr) minmax(240px, 1.05fr) auto;
  align-items: center; gap: 40px;
  padding: 44px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff1f1 0%, #fff6f3 60%, #fdf0f0 100%);
  border: 1px solid #fde2e2;
}
.cost__stat { padding-right: 40px; border-right: 1px solid #f5c9c9; }
.cost__lead { font-size: 18px; font-weight: 500; color: var(--dark); }
.cost__num {
  margin-top: 4px; font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--red);
}
.cost__label { margin-top: 12px; font-size: 17px; font-weight: 500; line-height: 25px; color: var(--dark); max-width: 320px; }
.cost__source { margin-top: 16px; font-size: 13px; color: var(--gray-500); }
.cost__source span { margin: 0 6px; color: var(--gray-400); }
.cost__source a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 3px; }
.cost__desc { font-size: 17px; line-height: 27px; color: var(--gray-600); max-width: 360px; }
.cost__art svg { display: block; width: 100%; max-width: 380px; height: auto; }
@media (max-width: 1100px) {
  .cost__card { grid-template-columns: 1fr 1fr; padding: 36px; }
  .cost__art { display: none; }
}
@media (max-width: 700px) {
  .cost { padding: 8px 16px 48px; }
  .cost__card { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; border-radius: 22px; }
  .cost__stat { padding-right: 0; padding-bottom: 20px; border-right: 0; border-bottom: 1px solid #f5c9c9; }
}
.cost__card { grid-template-columns: minmax(340px, 1fr) minmax(240px, 1fr) auto; }
.cost__source { white-space: nowrap; }
@media (max-width: 1100px) { .cost__card { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cost__card { grid-template-columns: 1fr; } .cost__source { white-space: normal; } }

/* Mobile app: coming soon */
.soon-pill {
  display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
}
.mobile-banner__store-card.is-soon { opacity: .55; filter: grayscale(.2); cursor: default; }
.mobile-banner__store-card.is-soon:hover { transform: none; opacity: .55; }
.mobile-banner__btn.is-soon { cursor: default; opacity: .75; pointer-events: none; }
.soon-tag {
  margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #b45309; background: #fef3c7; vertical-align: middle; white-space: nowrap;
}

/* =====================================================================
   Features dropdown (mega menu)
   ===================================================================== */
.nav__dd { position: relative; }
.nav__dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__chev { transition: transform .2s ease; }
.nav__dd.is-open .nav__chev { transform: rotate(180deg); }
.nav__dd.is-open .nav__dd-btn { color: var(--dark); background: var(--gray-50); }

.dd {
  position: absolute; top: calc(100% + 12px); left: -8px; z-index: 120;
  width: 600px; padding: 14px 12px 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .04);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav__dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.dd__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px; border-radius: 12px; transition: background .15s ease;
}
.dd__item:hover, .dd__item:focus-visible { background: #fef2f2; }
.dd__icon { color: var(--red); line-height: 0; margin-top: 2px; flex-shrink: 0; }
.dd__text strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.35; }
.dd__text small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--gray-500); }
.dd__all {
  display: flex; align-items: center; gap: 6px; margin: 8px 4px 0; padding: 12px 8px 4px;
  border-top: 1px solid var(--border); font-size: 15px; font-weight: 700; color: var(--red);
}
.dd__all:hover { gap: 10px; }

@media (max-width: 1100px) {
  .nav.is-open .nav__dd { width: 100%; }
  .nav.is-open .nav__dd-btn { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .nav.is-open .dd {
    position: static; width: auto; margin: 2px 0 6px; padding: 4px 0 6px;
    border: 0; border-radius: 0; box-shadow: none; transform: none;
    display: none; opacity: 1; visibility: visible;
  }
  .nav.is-open .nav__dd.is-open .dd { display: block; }
  .nav.is-open .dd::before { display: none; }
  .nav.is-open .dd__grid { grid-template-columns: 1fr; }
  .nav.is-open .dd__item { padding: 10px 14px; }
  .nav.is-open .dd__all { margin: 4px 0 0; padding: 12px 14px 4px; }
}
@media (max-width: 1100px) {
  .nav.is-open { max-height: calc(100vh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
}

/* Reports + Marketing cards: copy and visual balanced, no empty gap */
.bento-card--reports, .bento-card--marketing { align-items: center; gap: 28px; padding: 28px; min-height: 300px; }
.bento-card--reports .bento-card__copy, .bento-card--marketing .bento-card__copy { justify-content: center; align-self: stretch; }
.bento-card--reports .bento-card__link, .bento-card--marketing .bento-card__link { margin-top: 0; padding-top: 22px; }
.bento-card__visual--chart { flex: 0 0 46%; max-width: 46%; align-items: center; justify-content: center; }
.bento-card__visual--chart img { width: 100%; max-height: none; filter: drop-shadow(0 18px 30px rgba(15, 23, 42, .10)); }
.bento-card__visual--marketing { align-items: center; justify-content: center; }
.bento-card__visual--marketing img { width: 100%; max-height: none; }
@media (max-width: 768px) {
  .bento-card__visual--chart, .bento-card__visual--marketing { max-width: 100%; flex-basis: auto; }
}
.bento-card__visual--chart { flex: 0 0 36%; max-width: 36%; }
.bento-card__visual--chart img { max-width: 240px; }

/* home: alternate section backgrounds so no two neighbours match */
main > section.maple { background: #ffffff; }
main > section.mobile-section { background: #f8fafc; }
main > section.pricing { background: #ffffff; }
main > section.faq { background: #f8fafc; }

/* footer on light grey; the section above it stays white */
.site-footer { background: #f8fafc; }
main > section.final-cta { background: #ffffff; }
main > section.final-cta { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
@media (max-width: 768px) { main > section.final-cta { padding-top: var(--section-pad-mobile); padding-bottom: var(--section-pad-mobile); } }

/* home order after removing pricing: maple W, integrations G, security W, mobile tint, faq G, cta W */
main > section#integrations { background: #f8fafc; }
main > section#security { background: #ffffff; }
main > section.mobile-section { background: #fff6f6; }
main > section.faq { background: #f8fafc; }

/* mobile section: smaller phone */
.mobile-banner__visual { justify-content: center; }
.mobile-banner__visual img { max-width: min(400px, 40vw); transform: none; }
.mobile-banner__visual { justify-content: flex-start; }
.mobile-banner__visual img { max-width: min(450px, 44vw); }
/* mobile banner: equal space above and below the text */
@media (min-width: 1101px) {
  .mobile-banner { padding-top: 0; }
  .mobile-banner__content { align-self: center; padding: 52px 8px 52px 0; }
}


/* Nav: EN / FR switch, iOS settings style */
.lang-switch {
  position: relative; flex: none; width: 70px; height: 34px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: #e9ebef; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  transition: background-color .3s ease;
}
.lang-switch__side { position: absolute; top: 50%; transform: translateY(-50%); color: #64748b; transition: opacity .25s ease, color .3s ease; }
.lang-switch__side--en { left: 11px; opacity: 0; }
.lang-switch__side--fr { right: 11px; }
.lang-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, .18), 0 1px 1px rgba(15, 23, 42, .12);
  display: grid; place-items: center; color: var(--red); font-size: 11px;
  transition: transform .32s cubic-bezier(.3, 1.4, .5, 1);
}
.lang-switch__knob > span { grid-area: 1 / 1; transition: opacity .2s ease; }
.lang-switch__k-fr { opacity: 0; }
.lang-switch:hover .lang-switch__knob { box-shadow: 0 4px 12px rgba(15, 23, 42, .22), 0 1px 1px rgba(15, 23, 42, .12); }
.lang-switch:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.lang-switch[aria-checked="true"] .lang-switch__knob { transform: translateX(36px); }
.lang-switch[aria-checked="true"] .lang-switch__side--en { opacity: 1; }
.lang-switch[aria-checked="true"] .lang-switch__side--fr { opacity: 0; }
.lang-switch[aria-checked="true"] .lang-switch__k-en { opacity: 0; }
.lang-switch[aria-checked="true"] .lang-switch__k-fr { opacity: 1; }


/* Header: same width as the hero video frame (desktop) */
@media (min-width: 1101px) {
  .header__inner { max-width: 1288px; padding: 0 24px; } /* logo and CTA line up with the hero video frame (1240px) */
}

/* Bento: placeholder box where a new illustration will go */
.bento-card__visual--ph { display: flex; align-items: center; justify-content: center; }
.bento-ph {
  width: min(100%, 240px); aspect-ratio: 4 / 3; border: 1.5px dashed #e2c4c4; border-radius: 16px;
  background: rgba(255, 255, 255, .6); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cbd5e1;
}
@media (max-width: 760px) {
  .bento-card__visual--ph { width: 100%; max-width: none; margin-top: 20px; }
  .bento-ph { width: 100%; max-width: 280px; aspect-ratio: 16 / 9; }
}

/* Bento middle row: less height (wider copy, smaller calendar on the Calendar, meetings & billing card) */
@media (min-width: 1101px) {
  .bento-card--calendar .bento-card__copy { flex: 1 1 58%; min-width: 0; }
  .bento-card--calendar .bento-card__visual { flex: 0 0 40%; min-width: 0; }
  .bento-card--calendar .bento-card__visual img { width: 100%; height: auto; }
  .bento-card--calendar .bento-card__heading { font-size: 22px; line-height: 30px; }
  .bento-card--calendar, .bento-card--comm, .bento-card--secure { min-height: 0; }
}

/* =====================================================================
   Bento illustrations, matched to the real app UI (from _build/bento_art.py).
   Static for now; moving parts carry data-bx="..." for the loop later.
   ===================================================================== */
.bento-card__visual--art { align-items: center; justify-content: center; align-self: center; min-width: 0; }
.ax { --ink: #1f2937; --mut: #6b7280; --line: #ececf0; --red: #dc2626; --pink: #fdf1f1; --pinkline: #f6d4d4;
  position: relative; width: 100%; font-family: 'Outfit', var(--font-display); color: var(--ink); font-size: 11px; line-height: 1.35; text-align: left; }
.ax strong { display: block; font-weight: 500; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax small { display: block; font-size: 9.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax svg { width: 100%; height: 100%; display: block; }
.ax i { display: inline-block; flex: none; width: 10px; height: 10px; vertical-align: -1px; }
.ax-caps { margin: 0; font-size: 8.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.ax-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 22px 44px -28px rgba(17, 24, 39, .30); }
.ax-pill { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 8.5px; font-weight: 500; padding: 2px 7px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.ax-pill i { width: 8px; height: 8px; }
.ax-pill--amber { color: #c2410c; background: #fff7ed; border-color: #fcd9a8; }
.ax-pill--green { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.ax-pill--orange { color: #8a2a17; background: #f8a68f; border-color: #f8a68f; }
.ax-av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 600; color: #c62828; background: #fde8e8; }

/* 1 - Application Progress Board */
.ax--board { max-width: 350px; margin-left: auto; }
.ax-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.ax-col { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.ax-col__h { display: flex; align-items: center; gap: 5px; padding: 7px 7px; border-bottom: 1px solid var(--line); }
.ax-col__h b { flex: 1; min-width: 0; font-size: 9px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-col__i { flex: none; width: 16px; height: 16px; padding: 3px; border-radius: 50%; }
.ax-n { flex: none; font-size: 8px; font-weight: 600; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; }
.ax-col--blue .ax-col__h { background: #eef3ff; } .ax-col--blue b, .ax-col--blue .ax-col__i { color: #2f5fd0; } .ax-col--blue .ax-col__i, .ax-col--blue .ax-n { background: #dbe6ff; color: #2f5fd0; }
.ax-col--amber .ax-col__h { background: #fff6e8; } .ax-col--amber b { color: #b45309; } .ax-col--amber .ax-col__i, .ax-col--amber .ax-n { background: #ffe9c7; color: #b45309; }
.ax-col--purple .ax-col__h { background: #f5f0ff; } .ax-col--purple b { color: #6d3fd8; } .ax-col--purple .ax-col__i, .ax-col--purple .ax-n { background: #e9dfff; color: #6d3fd8; }
.ax-tile { margin: 7px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 6px 14px -12px rgba(17, 24, 39, .4); }
.ax-tile__who { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ax-tile__who strong { font-size: 10px; }
.ax-tag { display: inline-block; max-width: 100%; margin: 6px 0; padding: 2px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 8px; color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.ax-open { display: inline-flex; align-items: center; gap: 2px; font-size: 8px; color: var(--red); white-space: nowrap; }
.ax-open i { width: 8px; height: 8px; }
.ax-tile--peek { height: 46px; box-shadow: none; }

/* 2 - client portal journey */
.ax--portal { max-width: 220px; }
.ax--portal .ax-card { padding: 13px 12px; }
.ax-journey { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 6px; }
.ax-journey li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 11px; border: 1px solid transparent; }
.ax-journey li > div { min-width: 0; }
.ax-journey strong { font-size: 11.5px; }
.ax-ji { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; }
.ax-journey .is-done .ax-ji { color: #16a34a; background: #e8f8ee; }
.ax-journey .is-now { background: var(--pink); border-color: var(--pinkline); }
.ax-journey .is-now .ax-ji { color: var(--red); background: #fde3e3; }
.ax-journey .is-later { opacity: .6; }
.ax-journey .is-later .ax-ji { color: #b45309; background: #fff3e0; }
.ax-st { display: inline-block; margin-top: 3px; font-style: normal; font-size: 8.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; color: var(--mut); background: #f3f4f6; }
.ax-st--done { color: #15803d; background: #dcfce7; }
.ax-st--now { color: #b91c1c; background: #fde2e2; }

/* 3 - schedule event + trust */
.ax--meetpay { max-width: 220px; display: grid; gap: 9px; }
.ax-event { padding: 10px; border-radius: 14px; background: #f3f6fb; border: 1px solid #e6ebf3; box-shadow: 0 22px 44px -30px rgba(17, 24, 39, .35); }
.ax-event__h { display: flex; justify-content: space-between; align-items: center; }
.ax-dur { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; color: #4b5563; }
.ax-event__b { display: flex; gap: 8px; margin: 7px 0 9px; }
.ax-event__b > div { min-width: 0; }
.ax-event__b strong { font-size: 11.5px; margin-bottom: 3px; }
.ax-event__b small { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.ax-meet { flex: none; width: 22px; height: 22px; }
.ax-join { display: block; text-align: center; font-size: 10px; font-weight: 500; color: #fff; background: #e11d48; background: linear-gradient(90deg, #e3263a, #dc2626); padding: 6px 0; border-radius: 9px; }
.ax-money { padding: 10px 11px; border-radius: 14px; background: #fff7f7; border: 1px solid var(--pinkline); margin-left: 12px; }
.ax-money__h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 8.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #374151; }
.ax-ic { flex: none; width: 18px; height: 18px; padding: 3.5px; border-radius: 50%; color: var(--red); background: #fde3e3; }
.ax-money strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }

/* 4 - form gaps */
.ax--form { max-width: 300px; padding-top: 18px; }
.ax-stat { position: absolute; top: 0; right: 0; z-index: 1; padding: 7px 10px; border-radius: 12px; background: #f6f1ff; border: 1px solid #e6dcff; box-shadow: 0 14px 28px -18px rgba(17, 24, 39, .35); }
.ax-stat .ax-caps { color: #6d3fd8; font-size: 7.5px; }
.ax-stat strong { font-size: 15px; font-weight: 600; color: #6d3fd8; }
.ax-stat small { font-size: 8px; color: #6d3fd8; }
.ax-gaps { padding: 12px; margin-right: 26px; }
.ax-gaps__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding-right: 50px; }
.ax-gaps__h > div { min-width: 0; }
.ax-gaps__h strong { font-size: 12px; }
.ax-gap { padding: 8px 9px; border: 1px solid var(--line); border-radius: 11px; }
.ax-gap + .ax-gap { margin-top: 6px; }
.ax-gap p { display: flex; align-items: center; gap: 5px; margin: 0; }
.ax-gap p i { color: #2563eb; }
.ax-gap p strong { font-size: 10.5px; }
.ax-gap > small { margin: 1px 0 6px 15px; }
.ax-gap__btns { display: flex; gap: 5px; }
.ax-b { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ax-b i { width: 9px; height: 9px; }
.ax-b--line { border: 1px solid #e5e7eb; color: #374151; background: #fff; }
.ax-b--salmon { color: #7f1d1d; background: #f8a68f; }

/* 5 - roles & permissions */
.ax--team { max-width: 236px; }
.ax--team .ax-card { padding: 11px 11px 6px; }
.ax-perm__head, .ax-perms li { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 36px); align-items: center; }
.ax-perm__head { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ax-role { display: grid; justify-items: center; gap: 3px; font-size: 7px; line-height: 1.15; text-align: center; color: #374151; }
.ax-role__i { width: 16px; height: 16px; padding: 3px; border-radius: 50%; color: #fff; }
.ax-role__i--red { background: #e53935; } .ax-role__i--blue { background: #2563eb; } .ax-role__i--green { background: #16a34a; }
.ax-perms { list-style: none; margin: 0; padding: 0; }
.ax-perms li { padding: 7px 0; }
.ax-perms li + li { border-top: 1px solid #f3f4f6; }
.ax-perm__l { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-sw { justify-self: center; position: relative; width: 24px; height: 13px; border-radius: 99px; background: #e5e7eb; }
.ax-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .25); }
.ax-sw.is-on { background: #e02424; }
.ax-sw.is-on::after { left: 13px; }

/* board: two full columns, the third peeks in from the right (like scrolling the real board) */
.ax--board { overflow: hidden; border-radius: 12px; }
.ax-cols { grid-template-columns: repeat(3, 142px); width: max-content;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(180deg, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(180deg, #000 72%, transparent); mask-composite: intersect; }

/* column sizes */
.bento-card--calendar .bento-card__visual--art,
.bento-card--reports .bento-card__visual--art,
.bento-card--marketing .bento-card__visual--art { flex: 1 1 0; max-width: none; }
@media (min-width: 1101px) { .bento-card--calendar .bento-card__visual--art { flex: 0 0 38%; } .bento-card--calendar .bento-card__copy { flex: 1 1 0; } }
@media (max-width: 768px) {
  .bento-card__visual--art { width: 100%; margin-top: 22px; }
  .ax--board, .ax--portal, .ax--meetpay, .ax--team { margin: 0 auto; }
}

.ax-meet img { width: 100%; height: 100%; display: block; }

/* =====================================================================
   Bento: shorter cards + infinite loop motion for the illustrations
   (8s loops, staggered; turned off for people who prefer reduced motion)
   ===================================================================== */
@media (min-width: 1101px) {
  .bento-card { padding: 24px; }
  .bento-card--cases, .bento-card--docs, .bento-card--calendar, .bento-card--comm, .bento-card--secure,
  .bento-card--reports, .bento-card--marketing { min-height: 0; }
  .bento-card__icon { margin-bottom: 14px; }
}
.ax--portal .ax-card { padding: 11px 11px; }
.ax-journey { gap: 3px; margin-top: 7px; }
.ax-journey li { padding: 5px 8px; }
.ax-journey .ax-ji { width: 22px; height: 22px; }
.ax-tile--peek { height: 34px; }
.ax-gap { padding: 6px 9px; }
.ax-gap > small { margin-bottom: 5px; }

/* pill swap holder (Priya K.: 1 pending -> Reviewed) */
.ax-swap { display: inline-grid; }
.ax-swap > * { grid-area: 1 / 1; }


/* shorter cards: tighter copy spacing on desktop */
@media (min-width: 1101px) {
  .bento-card__icon { margin-bottom: 0; }
  .bento-card .bento-card__label { margin-top: 12px; }
  .bento-card .bento-card__heading { font-size: 22px; line-height: 29px; }
  .bento-card .bento-card__text { font-size: 14.5px; line-height: 1.55; }
  .bento-card .bento-card__link { padding-top: 14px; }
  .bento-card--cases .bento-card__link { margin-top: auto; }
  .bento-card--docs .bento-card__copy { flex: 1.15 1 0; }
  .ax--portal { max-width: 205px; }
}

/* =====================================================================
   Bento story loops (driven by bento-motion.js, which toggles classes).
   Without JS, or with reduced motion, each illustration shows its first frame.
   ===================================================================== */

/* 1 - board: a case card is dragged to the next stage */
.ax-col { overflow: visible; }
.ax-col__h { border-radius: 11px 11px 0 0; }
.ax-tile { position: relative; transition: transform .9s cubic-bezier(.65, 0, .25, 1), box-shadow .3s ease, border-color .3s ease, opacity .45s ease; }
.ax-tile.is-lift { z-index: 5; box-shadow: 0 22px 36px -16px rgba(17, 24, 39, .45); border-color: #f3b8b8; }
.ax-tile.is-gone { opacity: 0; }
.ax-tile.no-anim { transition: none; }
.ax-tile--peek { transition: opacity .3s ease; }
.ax-tile--peek.is-hidden { opacity: 0; }
.ax-n { transition: transform .3s ease; }
.ax-n.is-bump { transform: scale(1.35); }
.ax-swap > * { transition: opacity .35s ease, transform .35s ease; }
.ax-swap .ax-swap__b { opacity: 0; transform: scale(.85); }
.ax-swap.is-reviewed > :first-child { opacity: 0; }
.ax-swap.is-reviewed .ax-swap__b { opacity: 1; transform: none; }

/* 2 - portal: steps go grey -> current -> complete, top to bottom */
.ax-ji { display: grid; }
.ax-ji > b { grid-area: 1 / 1; display: block; width: 100%; height: 100%; transition: opacity .35s ease, transform .35s ease; }
.ax-sts { display: grid; margin-top: 3px; }
.ax-sts > em { grid-area: 1 / 1; margin: 0; justify-self: start; transition: opacity .35s ease; }
.ax-journey li { transition: background-color .4s ease, border-color .4s ease, opacity .4s ease; }
.ax-journey li .ax-ji { transition: background-color .4s ease, color .4s ease; }
.ax-journey li:not(.is-done) .ax-ji--done, .ax-journey li:not(.is-now) .ax-ji--now, .ax-journey li:not(.is-later) .ax-ji--later { opacity: 0; transform: scale(.6); }
.ax-journey li:not(.is-done) .ax-st--done, .ax-journey li:not(.is-now) .ax-st--now, .ax-journey li:not(.is-later) .ax-st--later { opacity: 0; }
.ax-journey .is-later { opacity: .55; }
.ax-journey .is-later .ax-ji { color: #9ca3af; background: #f3f4f6; }

/* 3 - meeting + trust: join the call, then release trust to earned */
.ax-join { display: grid; transition: background .35s ease, transform .15s ease; }
.ax-join > span { grid-area: 1 / 1; transition: opacity .3s ease; }
.ax-join__b { opacity: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.ax-join.is-press { transform: scale(.96); }
.ax-join.is-live { background: #16a34a; }
.ax-join.is-live .ax-join__a { opacity: 0; }
.ax-join.is-live .ax-join__b { opacity: 1; }
.ax-live { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
.ax-join.is-live .ax-live { animation: axPing 1.4s ease-out infinite; }
.ax-money__h { position: relative; }
.ax-rel { margin-left: auto; font-style: normal; font-size: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #15803d; background: #dcfce7; padding: 1px 6px; border-radius: 6px; opacity: 0; transition: opacity .3s ease; }
.ax-money.is-released .ax-rel { opacity: 1; }
.ax-split { height: 5px; margin: 6px 0 5px; border-radius: 99px; background: #dcfce7; overflow: hidden; }
.ax-split i { display: block; width: 100%; height: 100%; background: #f59e0b; transition: width 1.4s cubic-bezier(.65, 0, .25, 1); }
.ax-money small b { font-weight: 600; color: #15803d; }

/* 4 - form gaps: fill one, request the other, readiness climbs */
.ax-gap { transition: background-color .4s ease, border-color .4s ease; }
.ax-gap__btns, .ax-done { transition: opacity .3s ease; }
.ax-gap { display: grid; }
.ax-gap > * { grid-column: 1; }
.ax-gap__btns { grid-row: 3; }
.ax-done { grid-row: 3; align-self: center; justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 8.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: #15803d; background: #dcfce7; opacity: 0; }
.ax-done i { width: 9px; height: 9px; }
.ax-done--sent { color: #b45309; background: #fef3c7; }
.ax-gap.is-done { background: #f6fdf8; border-color: #c9f0d6; }
.ax-gap.is-sent { background: #fffbf3; border-color: #fbe3b5; }
.ax-gap.is-done .ax-gap__btns, .ax-gap.is-sent .ax-gap__btns { opacity: 0; }
.ax-gap.is-done .ax-done, .ax-gap.is-sent .ax-done { opacity: 1; }
[data-press] { transition: transform .15s ease, box-shadow .15s ease; }
[data-press].is-press { transform: scale(.92); box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }
.ax-pill--orange { transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
.ax-pill--orange.is-clear { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }

/* 5 - permissions: switches flip on, then "Changes saved" */
.ax-sw { transition: background-color .3s ease; }
.ax-sw::after { transition: left .3s cubic-bezier(.65, 0, .25, 1); }
.ax-toast { position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 9.5px; font-weight: 500; color: #fff; background: #111827; box-shadow: 0 12px 24px -12px rgba(17, 24, 39, .6); opacity: 0; white-space: nowrap; transition: opacity .3s ease, transform .3s ease; }
.ax-toast i { width: 10px; height: 10px; color: #4ade80; }
.ax-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ax--team { padding-bottom: 6px; }

@keyframes axPing { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }

/* story fixes: room for the moved card; Released pill beside the amount */
.ax-cols { min-height: 228px;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(180deg, #000 86%, transparent);
  mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(180deg, #000 86%, transparent); }
.ax-amt { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ax-amt strong { min-width: 0; }
.ax-rel { margin-left: 0; flex: none; }
.ax-gap.is-done .ax-done--sent { color: #15803d; background: #dcfce7; }

/* =====================================================================
   Home Maple section: mascot in front of a co-pilot panel drafting an analysis
   (_build/maple_art.py; story in bento-motion.js "maple")
   ===================================================================== */
.maple__visual--ai { min-height: 0; }
.ax--maple { width: min(100%, 540px); height: 420px; margin: 0 auto; font-size: 12px; }
.mx-panel { position: absolute; left: 0; top: 8px; width: 320px; padding: 12px; background: #fff; border: 1px solid #ececf0; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 30px 60px -30px rgba(17, 24, 39, .35); }
.mx-head { display: flex; align-items: center; gap: 9px; padding: 4px 4px 10px; border-bottom: 1px solid #f1f1f4; }
.mx-head strong { font-size: 14px; font-weight: 600; }
.mx-head small { font-size: 10.5px; }
.mx-av { width: 28px; height: 28px; object-fit: cover; object-position: 50% 12%; border-radius: 50%; background: #fdf1f1; }
.mx-ai { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 600; color: #fff; background: #dc2626; padding: 2px 8px; border-radius: 999px; }
.mx-status { display: grid; margin: 10px 0 8px; }
.mx-status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; transition: opacity .35s ease; }
.mx-status__busy { color: #b91c1c; }
.mx-status__ok { color: #15803d; opacity: 0; }
.ax--maple.is-ready .mx-status__busy { opacity: 0; }
.ax--maple.is-ready .mx-status__ok { opacity: 1; }
.mx-spark, .mx-ok { width: 14px; height: 14px; }
.mx-ok { padding: 2px; border-radius: 50%; color: #fff; background: #16a34a; }
.mx-dots { display: inline-flex; gap: 2px; margin-left: 1px; }
.mx-dots b { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .3; }
.mx-draft { padding: 11px 12px; border-radius: 14px; background: #f8f9fb; border: 1px solid #f0f1f4; }
.mx-h { margin: 0 0 6px; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.mx-h + .mx-line { margin-top: 0; }
.mx-line + .mx-h { margin-top: 10px; }
.mx-line { position: relative; display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 12px; font-weight: 500; color: #111827; white-space: nowrap;
  clip-path: inset(0 100% 0 0); }
.mx-line b { flex: none; width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center; font-size: 9.5px; color: #b91c1c; background: #fde3e3; }
.mx-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease; }
.mx-chips span { font-size: 9.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; color: #2563eb; background: #eff6ff; border: 1px solid #dbeafe; }
.mx-chips span:last-child { color: #b91c1c; background: #fdf1f1; border-color: #f6d4d4; }
.mx-input { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 5px 5px 13px; border: 1px solid #ececf0; border-radius: 999px; }
.mx-input span { flex: 1; font-size: 11px; color: #9ca3af; }
.mx-mic, .mx-send { flex: none; width: 26px; height: 26px; padding: 6px; border-radius: 50%; }
.mx-mic { color: #374151; border: 1px solid #ececf0; }
.mx-send { color: #fff; background: #ef4444; }
.mx-mascot { position: absolute; right: 0; bottom: 0; z-index: 2; width: 230px; height: auto; filter: drop-shadow(0 30px 30px rgba(17, 24, 39, .18)); }

/* first frame / no JS: the draft is shown in full */
.ax--maple:not(.is-live) .mx-line { clip-path: none; }
.ax--maple:not(.is-live) .mx-chips { opacity: 1; transform: none; }
.ax--maple:not(.is-live) .mx-status__busy { opacity: 0; }
.ax--maple:not(.is-live) .mx-status__ok { opacity: 1; }
/* typing: each line is revealed left to right with a caret */
.ax--maple .mx-line.is-typed { clip-path: inset(0 0 0 0); transition: clip-path 1.1s steps(28, end); }
.ax--maple .mx-line.is-typing::after { content: ""; width: 2px; height: 13px; margin-left: 1px; background: #dc2626; animation: mxCaret .7s steps(1) infinite; }
.ax--maple.is-chips .mx-chips { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .mx-mascot { animation: mxFloat 5s ease-in-out infinite; }
  .ax--maple:not(.is-ready) .mx-spark { animation: mxSpin 1.6s linear infinite; }
  .mx-dots b { animation: mxDot 1.2s ease-in-out infinite; }
  .mx-dots b:nth-child(2) { animation-delay: .2s; }
  .mx-dots b:nth-child(3) { animation-delay: .4s; }
}
@keyframes mxCaret { 50% { opacity: 0; } }
@keyframes mxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mxSpin { to { transform: rotate(360deg); } }
@keyframes mxDot { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }

@media (max-width: 1000px) {
  .ax--maple { height: 400px; }
}
@media (max-width: 560px) {
  .ax--maple { height: 380px; }
  .mx-panel { width: 290px; }
  .mx-mascot { width: 170px; right: -6px; }
}

/* maple panel: icon sizes beat the generic .ax i rule; Maple overlaps the panel edge */
.ax--maple .mx-mic, .ax--maple .mx-send { width: 26px; height: 26px; }
.ax--maple .mx-spark, .ax--maple .mx-ok { width: 14px; height: 14px; }
.ax--maple { width: min(100%, 520px); }
.mx-panel { width: 330px; }
.mx-mascot { right: 6px; }

/* maple placement: never cover the draft or the send button */
.mx-panel { width: 320px; }
.mx-mascot { right: -24px; }
@media (max-width: 560px) {
  .ax--maple { width: 100%; height: 400px; }
  .mx-panel { left: 0; right: 0; top: 54px; width: auto; }
  .mx-ai { display: none; }
  .mx-mascot { width: 118px; top: -18px; right: -4px; bottom: auto; }
}

/* Maple panel as a chat: the question is typed and sent, Maple thinks, then replies line by line.
   The panel grows as each part appears (grid-rows 0fr -> 1fr). Without JS the finished chat shows. */
.mx-panel { top: 30px; }
.mx-chat { margin-top: 10px; }
.mx-grow { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.4, 0, .2, 1), opacity .4s ease; }
.mx-grow > div { overflow: hidden; min-height: 0; }
.ax--maple.is-live .mx-grow { grid-template-rows: 0fr; opacity: 0; }
.ax--maple.is-live .mx-grow.is-show { grid-template-rows: 1fr; opacity: 1; }
.ax--maple:not(.is-live) [data-think] { display: none; }
.mx-q { width: fit-content; max-width: 88%; margin: 0 0 9px auto; padding: 8px 11px; border-radius: 13px 13px 4px 13px;
  font-size: 11.5px; font-weight: 500; color: #fff; background: #dc2626; }
.mx-think { display: flex; align-items: center; gap: 6px; margin: 0 0 9px; font-size: 11px; font-weight: 500; color: #b91c1c; }
.mx-reply { padding: 10px 12px 6px; border-radius: 4px 14px 14px 14px; background: #f8f9fb; border: 1px solid #f0f1f4; }
.mx-from { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 10px; font-weight: 600; color: #6b7280; }
.mx-av--s { width: 18px; height: 18px; }
.mx-reply .mx-line { margin: 0 0 6px; }
.mx-reply .mx-chips { margin: 4px 0 4px; opacity: 1; transform: none; }
.mx-field { flex: 1; min-width: 0; display: grid; }
.mx-field > span { grid-area: 1 / 1; font-size: 11px; white-space: nowrap; overflow: hidden; }
.mx-ph { color: #9ca3af; }
.mx-typed { color: #111827; font-weight: 500; }
.mx-input.has-text .mx-ph { opacity: 0; }
.mx-input.has-text { border-color: #f3b8b8; box-shadow: 0 0 0 3px rgba(220, 38, 38, .08); }
.mx-input.has-text .mx-typed::after { content: ""; display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; vertical-align: -2px; background: #dc2626; animation: mxCaret .7s steps(1) infinite; }
.mx-send { transition: transform .15s ease, box-shadow .15s ease; }
.mx-send.is-press { transform: scale(.88); box-shadow: 0 0 0 4px rgba(220, 38, 38, .18); }
@media (max-width: 560px) { .mx-panel { top: 54px; } }

/* Maple panel, detailed like the real co-pilot panel: Case analysis card + Ask Maple card.
   The explanation and next steps are grey placeholder bars that draw in. */
.ax--maple { height: 520px; }
.mx-panel { top: 14px; width: 330px; }
.mx-x { flex: none; width: 16px !important; height: 16px !important; margin-left: auto; color: #9ca3af; }
.mx-box { margin-top: 10px; padding: 10px; border: 1px solid #f1e4e4; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -16px rgba(17, 24, 39, .35); }
.mx-analysis { background: linear-gradient(180deg, #fff6f6, #fff 70%); }
.mx-analysis__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mx-analysis__top strong, .mx-ask__top strong { font-size: 12.5px; font-weight: 600; }
.mx-analysis__top small { font-size: 9.5px; }
.mx-refresh { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 9px; padding: 8px 0; border-radius: 11px;
  font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #e3263a, #dc2626); box-shadow: 0 8px 16px -10px rgba(220, 38, 38, .7); }
.ax--maple .mx-refresh i { width: 13px; height: 13px; }
.mx-ask__top { display: flex; align-items: center; gap: 7px; }
.mx-lang { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 10px; color: #374151; }
.ax--maple .mx-lang i { width: 10px; height: 10px; }
.ax--maple .mx-speak { width: 15px; height: 15px; color: #16a34a; }
.mx-files { display: flex; align-items: center; justify-content: space-between; margin: 8px -10px 0; padding: 6px 10px; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; }
.mx-files small { font-size: 9px; }
.mx-attach { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 9.5px; color: #374151; }
.ax--maple .mx-attach i { width: 10px; height: 10px; }
.mx-ask .mx-chat { margin-top: 9px; }
.mx-ask .mx-input { margin-top: 8px; }
.mx-reply { padding: 10px 11px 7px; }
.mx-line--title { font-weight: 600; }
.mx-line--title em { font-style: normal; font-size: 9.5px; font-weight: 600; color: #15803d; background: #dcfce7; padding: 1px 7px; border-radius: 999px; }
.mx-sks { padding: 2px 0 2px; }
.mx-sk { display: block; width: var(--w); height: 7px; margin: 0 0 6px; border-radius: 4px; background: #e5e7eb; transform-origin: left center; }
.mx-sub { margin: 4px 0 5px; font-size: 10.5px; font-weight: 600; color: #374151; }
.mx-steps { list-style: none; margin: 0; padding: 0; }
.mx-steps li { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.mx-steps li b { flex: none; font-size: 10px; font-weight: 600; color: #374151; width: 12px; }
.mx-steps li span { flex: 1; }
.mx-steps .mx-sk { margin: 0; }
.mx-ground { display: inline-block; margin: 4px 0 3px; padding: 2px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 500; color: #1d4ed8; background: #eff6ff; border: 1px solid #dbeafe; }

/* bars draw in from the left when their row appears */
.ax--maple.is-live .mx-sk { transform: scaleX(0); transition: transform .8s cubic-bezier(.4, 0, .2, 1); }
.ax--maple.is-live .is-show .mx-sk { transform: scaleX(1); }
.ax--maple.is-live .is-show .mx-sk:nth-child(2), .ax--maple.is-live .is-show li:nth-child(2) .mx-sk { transition-delay: .25s; }
.ax--maple.is-live .is-show .mx-sk:nth-child(3), .ax--maple.is-live .is-show li:nth-child(3) .mx-sk { transition-delay: .5s; }
@media (prefers-reduced-motion: no-preference) {
  .ax--maple.is-live .is-show .mx-sk { background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%); background-size: 200% 100%; animation: mxShim 1.6s linear infinite; }
}
@keyframes mxShim { to { background-position: -200% 0; } }

@media (max-width: 1000px) { .ax--maple { height: 520px; } }
@media (max-width: 560px) {
  .ax--maple { height: 590px; }
  .mx-panel { top: 54px; }
  .mx-analysis .mx-ai { display: inline-block; }
}

@media (max-width: 560px) { .ax--maple { height: 650px; } }
.mx-ground { margin-bottom: 5px; }
@media (min-width: 561px) { .ax--maple { height: 590px; } }
@media (min-width: 561px) { .mx-mascot { bottom: 90px; } }

/* hide the page for a moment while the French text is applied (i18n.js) */
html.i18n-pending body { opacity: 0; }
body { transition: opacity .15s ease; }
