/* CLAILA web v2: the product page of CLAILA Business Hub (page ai-tools-for-small-business). Its own face: a "switchboard" on warm paper,
   the cobalt of the Operations group of the app launcher (the Hub's own tile) and marigold for everything that is switched on.
   Classes h-*, colours scoped on .w2-ai-tools-for-small-business. Motion: motion.css/js (reveal, stagger, count, scenes) and hub.js. */
.w2-ai-tools-for-small-business {
  --h-paper: #FBF8F1; --h-paper-2: #F3EEE2; --h-line: #E5DDCB; --h-dot: rgba(37, 99, 201, .16);
  --h-cobalt: #2563C9; --h-cobalt-2: #1D4FA8; --h-deep: #102A6B; --h-ink: #0D1A3D;
  --h-gold: #F5B700; --h-gold-2: #E0A400; --h-gold-soft: #FFF2C7;
  --w-action: #2563C9; --w-action-hover: #1D4FA8; --w-accent: #2563C9; --w-spot: #F5B700;
  background: var(--h-paper);
}
.w2-ai-tools-for-small-business .w-sec-tint { background: var(--h-paper-2); }
.h-over { color: var(--h-cobalt); }
.h-over-light { color: var(--h-gold); }
/* the switchboard grid: dots like sockets */
.h-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--h-dot) 1.6px, transparent 1.8px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 70%, transparent 100%); }

/* windows around the screenshots */
.h-window { overflow: hidden; border: 1px solid var(--h-line); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(13, 26, 61, .05), 0 24px 56px rgba(13, 26, 61, .14); }
.h-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid #ECE6D8; background: #F7F3EA; }
.h-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCD3C0; }
.h-window-bar span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: #fff; color: #5A6480; font-size: 12px; line-height: 18px; transform: translateX(-20px); }
.h-window img { display: block; width: 100%; height: auto; }

/* ---- hero */
.h-hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.h-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(37, 99, 201, .25); border-radius: 999px; background: #fff;
  color: var(--h-cobalt); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .02em; }
.h-hero h1 { margin-top: 20px; color: var(--h-ink); font-size: 56px; line-height: 60px; font-weight: 650; letter-spacing: -.028em; text-wrap: balance; }
.h-lead { margin-top: 20px; color: #3D4866; font-size: 19px; line-height: 30px; }
.h-hero .w-site { margin-top: 28px; }
.h-hero .w-site .w-btn, .h-close .w-site .w-btn { background: var(--h-cobalt); }
.h-hero .w-site .w-btn:hover, .h-close .w-site .w-btn:hover { background: var(--h-cobalt-2); }
.h-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; color: #3D4866; font-size: 14px; line-height: 20px; }
.h-trust li { display: inline-flex; align-items: center; gap: 6px; }
.h-trust .w-ic { color: var(--h-cobalt); }
.h-stage { position: relative; }
.h-stage-shot { position: relative; overflow: hidden; }
/* the reading played in front of the screenshot (hub.js); without scripts or with reduced motion the finished screenshot shows */
.h-reading { position: absolute; left: 4%; bottom: 6%; width: min(330px, 62%); padding: 14px 16px; border: 1px solid var(--h-line); border-radius: 12px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px rgba(13, 26, 61, .22); font-size: 13px; line-height: 18px; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; pointer-events: none; }
.h-reading-url { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #D8DFEC; border-radius: 999px; color: var(--h-ink); font-weight: 600; white-space: nowrap; overflow: hidden; }
.h-reading-url .w-ic { color: var(--h-cobalt); }
.h-caret { width: 2px; height: 15px; background: var(--h-cobalt); animation: h-blink 1s steps(1) infinite; }
.h-reading ol { display: grid; gap: 6px; margin-top: 10px; }
.h-reading li { display: flex; align-items: center; gap: 8px; color: #8A93AA; transition: color .3s; }
.h-reading li .w-ic { flex: none; padding: 2px; border-radius: 50%; background: #E9EDF5; color: transparent; transition: background .3s, color .3s; }
.h-reading li.is-done { color: var(--h-ink); }
.h-reading li.is-done .w-ic { background: var(--h-gold); color: var(--h-ink); }
.h-swatches { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #5A6480; font-size: 12px; opacity: 0; transition: opacity .4s; }
.h-swatches i { width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px #D8DFEC; transform: scale(.4); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.h-swatches.is-on { opacity: 1; }
.h-swatches.is-on i { transform: none; }
.h-swatches.is-on i:nth-child(2) { transition-delay: .1s; } .h-swatches.is-on i:nth-child(3) { transition-delay: .2s; }
.h-scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, rgba(37, 99, 201, 0), rgba(37, 99, 201, .14) 70%, rgba(245, 183, 0, .9) 100%);
  opacity: 0; pointer-events: none; }
.h-stage.is-reading .h-reading { opacity: 1; transform: none; }
.h-stage.is-reading .h-scan { opacity: 1; animation: h-scan 2.4s ease-in-out infinite; }
.h-stage.is-reading .h-stage-shot img { filter: saturate(.25) brightness(1.04); }
.h-stage-shot img { transition: filter .8s; }
@keyframes h-scan { from { transform: translateY(-90px); } to { transform: translateY(calc(100% + 600px)); } }
@keyframes h-blink { 50% { opacity: 0; } }
.h-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--h-ink); color: #fff;
  font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: 0 12px 28px rgba(13, 26, 61, .25); white-space: nowrap; }
.h-float .w-ic { color: var(--h-gold); }
.h-float-1 { top: -16px; right: 18px; background: var(--h-gold); color: var(--h-ink); }
.h-float-1 .w-ic { color: var(--h-ink); }
.h-float-2 { bottom: -18px; right: 8%; }

/* ---- pains */
.h-pains { background: #fff; border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); }
.h-pain-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h-pain { position: relative; padding: 28px; border: 1px solid var(--h-line); border-radius: 16px; background: var(--h-paper); }
.h-pain-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #E6EFFC; color: var(--h-cobalt); }
.h-pain h3 { margin-top: 18px; color: var(--h-ink); font-size: 20px; line-height: 28px; font-weight: 600; }
.h-pain p { margin-top: 8px; color: #47526D; font-size: 15px; line-height: 24px; }

/* ---- the reading, scene by scene */
.h-read { padding: 96px 0; }
.h-scenes { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.h-scenes-tabs { display: grid; gap: 10px; }
.h-step { display: flex; gap: 14px; width: 100%; padding: 16px; border: 1px solid transparent; border-radius: 14px; text-align: left; color: var(--h-ink); transition: background .2s, border-color .2s; }
.h-step:hover { background: rgba(255, 255, 255, .7); }
.h-step[aria-selected="true"] { border-color: var(--h-line); background: #fff; box-shadow: 0 8px 22px rgba(13, 26, 61, .08); }
.h-step-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #E6EFFC; color: var(--h-cobalt); }
.h-step[aria-selected="true"] .h-step-ic { background: var(--h-gold); color: var(--h-ink); }
.h-step-copy { display: grid; gap: 4px; min-width: 0; }
.h-step-copy strong { font-size: 17px; line-height: 24px; }
.h-step-text { color: #47526D; font-size: 14px; line-height: 21px; }
.h-step .w-scene-bar { margin-top: 8px; color: var(--h-cobalt); visibility: hidden; }
.h-step[aria-selected="true"] .w-scene-bar { visibility: visible; }

/* ---- the board of tools */
.h-board { background: #fff; border-top: 1px solid var(--h-line); }
.h-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.h-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--h-line); border-radius: 16px; background: var(--h-paper); transition: border-color .4s, box-shadow .4s, transform .2s; }
.h-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13, 26, 61, .1); }
.h-tile-shot { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--h-line); background: #F4F5F8; }
.h-tile-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.h-tile-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, rgba(244, 245, 248, 0), rgba(244, 245, 248, .9)); }
.h-tile-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.h-tile-head { display: flex; align-items: center; gap: 10px; color: var(--h-ink); font-size: 18px; line-height: 24px; }
.h-tile-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--g-soft); color: var(--g); }
.h-tile-text { flex: 1; color: #47526D; font-size: 15px; line-height: 23px; }
.h-tile-link { display: inline-flex; align-items: center; gap: 6px; color: var(--h-cobalt); font-size: 15px; font-weight: 600; }
.h-tile-link:hover { text-decoration: underline; }
/* the switch in every tile: off, then on (hub.js flips them one by one when the board comes into view) */
.h-switch { position: relative; flex: none; width: 40px; height: 22px; margin-left: auto; border-radius: 999px; background: #D5DAE5; transition: background .35s; }
.h-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.h-tile.is-on .h-switch { background: var(--h-gold); }
.h-tile.is-on .h-switch i { transform: translateX(18px); }
.h-tile.is-on { border-color: #EED89A; }

/* ---- one click, then autopilot */
.h-auto { position: relative; padding: 96px 0; background: var(--h-deep); color: #fff; overflow: hidden; }
.h-auto::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.7px); background-size: 26px 26px; pointer-events: none; }
.h-auto-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.h-auto h2 { margin-top: 12px; font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.h-auto-copy > p:not(.w-over) { margin-top: 16px; color: #C9D4F0; font-size: 17px; line-height: 27px; }
.h-auto-list { display: grid; gap: 12px; margin-top: 22px; }
.h-auto-list li { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #DCE4F7; font-size: 15px; line-height: 23px; }
.h-auto-list .w-ic { flex: none; margin-top: 2px; color: var(--h-gold); }
.h-auto-list strong { color: #fff; }
.h-auto .h-window { border-color: rgba(255, 255, 255, .18); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.h-code { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: #C9D4F0; font-size: 14px; line-height: 21px; }
.h-code .w-ic { flex: none; margin-top: 2px; color: var(--h-gold); }

/* ---- the money: a row of switches */
.h-money-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.h-panel { padding: 8px 22px 12px; border: 1px solid var(--h-line); border-radius: 18px; background: #fff; box-shadow: 0 2px 6px rgba(13, 26, 61, .04); }
.h-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--h-line); color: var(--h-ink); font-weight: 600; }
.h-cnt { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--h-line); border-radius: 999px; }
.h-cnt button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--h-cobalt); }
.h-cnt button:hover { background: #E6EFFC; }
.h-cnt output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.h-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto minmax(46px, auto); align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F0EADC; cursor: pointer; }
.h-row:last-child { border-bottom: 0; }
.h-row-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--g-soft); color: var(--g); }
.h-row-need { display: grid; min-width: 0; }
.h-row-need strong { color: var(--h-ink); font-size: 15px; line-height: 21px; font-weight: 600; }
.h-row-need em { overflow: hidden; color: #6A7591; font-size: 13px; line-height: 19px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.h-row-cost { color: var(--h-ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; transition: opacity .2s; }
.h-row.is-off .h-row-cost { opacity: .35; text-decoration: line-through; }
.h-row.is-off .h-row-need strong { color: #8A93AA; }
.h-row.is-free { cursor: default; }
.h-row-note { color: #6A7591; font-size: 13px; text-align: center; }
.h-toggle { -webkit-appearance: none; appearance: none; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 999px; background: #D5DAE5; cursor: pointer; transition: background .25s; }
.h-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.h-toggle:checked { background: var(--h-gold); }
.h-toggle:checked::after { transform: translateX(20px); }
.h-toggle:focus-visible { outline: 2px solid var(--h-cobalt); outline-offset: 2px; }
.h-sum { position: sticky; top: 96px; display: grid; gap: 18px; }
.h-sum-label { color: #47526D; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.h-sum-them { display: flex; align-items: baseline; gap: 10px; margin-top: -10px; }
.h-sum-them strong { color: var(--h-ink); font-size: 52px; line-height: 60px; font-weight: 650; letter-spacing: -.02em; text-decoration: line-through; text-decoration-color: rgba(194, 50, 50, .6); text-decoration-thickness: 3px; font-variant-numeric: tabular-nums; }
.h-sum-them span { color: #6A7591; }
.h-sum-us { padding: 26px; border-radius: 18px; background: var(--h-ink); color: #fff; box-shadow: 0 24px 50px rgba(13, 26, 61, .25); }
.h-sum-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 8px; }
.h-sum-price strong { font-size: 44px; line-height: 50px; font-weight: 650; }
.h-sum-price span { color: #B4BEDC; }
.h-sum-price s { color: #8592B8; }
.h-sum-keep { margin: 14px 0 20px; color: #DCE4F7; font-size: 17px; }
.h-sum-keep strong { color: var(--h-gold); font-size: 22px; }
.h-src { margin-top: 22px; color: #6A7591; font-size: 13px; line-height: 21px; }
.h-src a { color: #47526D; text-decoration: underline; text-decoration-color: rgba(71, 82, 109, .35); }

/* ---- comparison */
.h-diff { background: #fff; border-top: 1px solid var(--h-line); }
.h-table-scroll { overflow-x: auto; }
.h-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 23px; }
.h-table th, .h-table td { padding: 16px 18px; border-bottom: 1px solid var(--h-line); text-align: left; vertical-align: top; }
.h-table thead th { color: #47526D; font-size: 14px; font-weight: 600; }
.h-table tbody th { width: 17%; color: var(--h-ink); font-weight: 600; }
.h-table td { color: #47526D; }
.h-table .h-us { background: #F2F6FD; color: var(--h-ink); }
.h-table thead .h-us { border-radius: 12px 12px 0 0; background: var(--h-cobalt); color: #fff; }
.h-table td.h-us { display: table-cell; }
.h-table td.h-us .w-ic { float: left; margin: 2px 8px 0 0; color: var(--h-cobalt); }
.h-table td.h-us span { display: block; overflow: hidden; font-weight: 500; }

/* ---- trust band */
.h-trustband { padding: 48px 0; background: var(--h-paper-2); border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); }
.h-trustband-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h-trustband-in > div { display: flex; gap: 14px; }
.h-trustband-in > div > .w-ic { flex: none; color: var(--h-cobalt); }
.h-trustband h3 { color: var(--h-ink); font-size: 17px; line-height: 24px; font-weight: 600; }
.h-trustband p { margin-top: 4px; color: #47526D; font-size: 15px; line-height: 23px; }

/* ---- the close */
.h-close { position: relative; overflow: hidden; padding: 96px 0; background: var(--h-cobalt); color: #fff; }
.h-close .h-grid-bg { --h-dot: rgba(255, 255, 255, .16); background-image: radial-gradient(rgba(255, 255, 255, .16) 1.6px, transparent 1.8px); }
.h-close-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.h-close h2 { max-width: 820px; font-size: 42px; line-height: 48px; font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
.h-close-in > p:not(.h-bundle) { max-width: 640px; margin-top: 14px; color: #DCE6FB; font-size: 18px; line-height: 28px; }
.h-close .w-site { width: 100%; max-width: 620px; margin-top: 28px; }
.h-close .w-site .w-btn { background: var(--h-gold); color: var(--h-ink) !important; }
.h-close .w-site .w-btn:hover { background: var(--h-gold-2); }
.h-bundle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 34px; color: #DCE6FB; font-size: 14px; }
.h-bundle a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; }
.h-bundle a:hover { background: rgba(255, 255, 255, .12); }

/* ---- responsive */
@media (max-width: 1020px) {
  .h-hero { padding: 40px 0 72px; }
  .h-hero-in, .h-auto-in, .h-money-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .h-hero h1 { font-size: 44px; line-height: 50px; }
  .h-scenes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .h-scenes-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-sum { position: static; }
  .h-read, .h-auto, .h-close { padding: 72px 0; }
}
@media (max-width: 680px) {
  .h-hero h1 { font-size: 34px; line-height: 40px; }
  .h-lead { font-size: 17px; line-height: 27px; }
  .h-pain-row, .h-tiles, .h-trustband-in, .h-scenes-tabs { grid-template-columns: minmax(0, 1fr); }
  .h-step-text { display: none; }
  .h-step[aria-selected="true"] .h-step-text { display: block; }
  .h-reading { left: 3%; bottom: 4%; width: 78%; padding: 10px 12px; font-size: 12px; }
  .h-reading ol { gap: 4px; }
  .h-float { font-size: 13px; padding: 7px 12px; }
  .h-float-1 { top: -14px; right: 8px; }
  .h-float-2 { display: none; }
  .h-auto h2, .h-close h2 { font-size: 30px; line-height: 36px; }
  .h-row { grid-template-columns: 30px minmax(0, 1fr) auto minmax(44px, auto); gap: 10px; }
  .h-row-ic { width: 30px; height: 30px; }
  .h-sum-them strong { font-size: 42px; line-height: 48px; }
  .h-table thead { display: none; }
  .h-table, .h-table tbody, .h-table tr, .h-table th, .h-table td { display: block; width: 100%; }
  .h-table tr { margin-bottom: 14px; border: 1px solid var(--h-line); border-radius: 14px; overflow: hidden; }
  .h-table tbody th { width: 100%; background: var(--h-paper); }
  .h-table td { border-bottom: 0; }
  .h-table td.h-us { display: block; }
  .h-table td[data-label]::before { content: attr(data-label); display: block; color: var(--h-ink); font-size: 13px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .h-scan, .h-reading { display: none; }
  .h-tile .h-switch, .h-tile .h-switch i { transition: none; }
}
