/* ==========================================================================
   ThriveWoo marketing homepage
   Palette derived from the ThriveWoo logo (navy wordmark, indigo → teal mark)
   ========================================================================== */

:root {
  --navy-950: #070d2e;
  --navy-900: #0b1440;
  --navy-800: #142057;
  --navy-700: #1e2d6e;
  --ivory: #fbf9f4;
  --sand: #f3efe6;
  --white: #ffffff;
  --ink: #0d1330;
  --body: #3f4763;
  --muted: #6a7290;
  --line: #e6e2d8;
  --line-cool: #e3e7f1;
  --teal-300: #7fe0cb;
  --teal-400: #4cc5a9;
  --teal-500: #2fb293;
  --teal-700: #0f7a66;
  --indigo-400: #8b91f0;
  --indigo-500: #6c74e6;
  --indigo-600: #535bd0;
  --lime: #c8f169;
  --amber: #f4b740;
  --rose: #ef6f6c;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 48, .06), 0 2px 8px rgba(13, 19, 48, .05);
  --shadow: 0 10px 30px -12px rgba(13, 19, 48, .22), 0 4px 10px -6px rgba(13, 19, 48, .08);
  --shadow-lg: 0 40px 80px -30px rgba(7, 13, 46, .45), 0 18px 36px -18px rgba(7, 13, 46, .3);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body.tw-home {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* :where() keeps these resets at element-level specificity so component classes win */
:where(.tw-home) img { max-width: 100%; height: auto; }
:where(.tw-home) h1, :where(.tw-home) h2, :where(.tw-home) h3, :where(.tw-home) h4 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
:where(.tw-home) p { margin: 0; }
:where(.tw-home) a { color: inherit; }
.tw-home :focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }

.tw-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.tw-section { padding: 96px 0; }
.tw-section--tight { padding: 64px 0; }
.tw-section--sand { background: var(--sand); }
.tw-section--white { background: var(--white); }
.tw-section--navy { background: var(--navy-900); color: #c9cfe6; }
.tw-section--navy h2, .tw-section--navy h3, .tw-section--navy h4 { color: #fff; }

.tw-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tw-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.tw-skip:focus { top: 12px; }

.tw-eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-700);
}
.tw-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.tw-section--navy .tw-eyebrow, .tw-hero .tw-eyebrow { color: var(--teal-300); }

.tw-h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-top: 14px; }
.tw-lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); margin-top: 16px; max-width: 680px; }
.tw-section--navy .tw-lead { color: #aab2d1; }
.tw-section-head { max-width: 760px; margin-bottom: 56px; }
.tw-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tw-section-head--center .tw-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.tw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.tw-btn:hover { transform: translateY(-1px); }
.tw-btn--primary { background: var(--teal-400); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(76, 197, 169, .8); }
.tw-btn--primary:hover { background: var(--teal-300); }
.tw-btn--dark { background: var(--navy-900); color: #fff; }
.tw-btn--dark:hover { background: var(--navy-700); }
.tw-btn--ghost { background: transparent; color: var(--ink); border-color: #cfd3e2; }
.tw-btn--ghost:hover { border-color: var(--ink); }
.tw-btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.tw-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.tw-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.tw-btn--block { width: 100%; }
.tw-link { color: var(--teal-700); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tw-link:hover { text-decoration: underline; }
.tw-section--navy .tw-link { color: var(--teal-300); }

/* ---------- Header ---------- */
.tw-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line-cool);
  transition: box-shadow .25s ease;
}
.tw-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(13, 19, 48, .28); }
.tw-header__inner { height: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tw-logo { display: flex; align-items: center; height: 100%; flex-shrink: 0; border-radius: 12px; }
.tw-logo img { height: 52px; width: auto; display: block; }
.tw-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 20px; min-width: 0; }

/* Section links sit in a soft pill track; the current section gets a white "chip" */
.tw-nav__links {
  display: flex; align-items: center; gap: 2px; margin: 0 auto;
  padding: 4px; border-radius: 999px; background: #f2f4f9; border: 1px solid #e8ebf3;
}
.tw-nav__link {
  position: relative; white-space: nowrap; padding: 8px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--body); text-decoration: none;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.tw-nav__link:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.tw-nav__link.is-active { color: var(--navy-900); background: #fff; box-shadow: 0 1px 2px rgba(13, 19, 48, .08), 0 2px 8px -2px rgba(13, 19, 48, .1); }
.tw-nav__link:focus-visible, .tw-nav__login:focus-visible, .tw-icon-btn:focus-visible, .tw-ai-btn:focus-visible, .tw-nav-toggle:focus-visible {
  outline: 2px solid var(--indigo-500); outline-offset: 2px;
}

.tw-nav__tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tw-nav__icons { display: flex; align-items: center; gap: 6px; }
.tw-nav__auth { display: flex; align-items: center; gap: 6px; }
.tw-nav__divider { width: 1px; height: 26px; background: var(--line-cool); }

.tw-icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: var(--ink);
  transition: background-color .2s ease, border-color .2s ease;
}
.tw-icon-btn:hover { background: #f2f4f9; border-color: #e8ebf3; }
.tw-chat-btn { overflow: hidden; }

.tw-lang {
  position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px;
  border-radius: 999px; color: var(--body); border: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease;
}
.tw-lang:hover, .tw-lang:focus-within { background: #f2f4f9; border-color: #e8ebf3; }
.tw-lang i { font-size: 15px; color: var(--muted); }
.tw-lang select { background: transparent; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--body); field-sizing: content; max-width: 150px; cursor: pointer; outline: none; text-overflow: ellipsis; }

/* AI voice assistant: indigo pill with a "live" dot */
.tw-ai-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer;
  background: rgba(108, 116, 230, .1); color: var(--indigo-600); border: 1px solid rgba(108, 116, 230, .22);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tw-ai-btn:hover { background: var(--indigo-500); border-color: var(--indigo-500); color: #fff; }
.tw-ai-btn::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(47, 178, 147, .2); flex-shrink: 0;
}
.tw-ai-btn.is-calling::before { background: #fff; box-shadow: none; }
.tw-ai-btn i { font-size: 13px; }

.tw-nav__login {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease;
}
.tw-nav__login:hover { background: #f2f4f9; }
.tw-nav__cta { border-radius: 999px; padding: 0 18px; }
.tw-nav__cta i { font-size: 12px; transition: transform .2s ease; }
.tw-nav__cta:hover i { transform: translateX(3px); }

.tw-nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-cool);
  background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; margin-left: auto;
}

/* Tighter spacing on smaller desktops; the AI button becomes icon-only (its title/aria text remain) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .tw-header__inner, .tw-nav { gap: 12px; }
  .tw-nav__link { padding: 8px 10px; font-size: 14px; }
  .tw-nav__tools { gap: 8px; }
  .tw-nav__icons { gap: 0; }
  .tw-nav__login { padding: 0 10px; }
  .tw-ai-btn { padding: 0 12px; }
  .tw-ai-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (max-width: 1279px) {
  .tw-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .tw-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line-cool); box-shadow: 0 24px 40px -20px rgba(13, 19, 48, .3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .tw-nav.is-open { display: flex; animation: twNavIn .22s ease-out; }
  .tw-nav__links { flex-direction: column; align-items: stretch; margin: 0; padding: 0; gap: 0; background: none; border: 0; border-radius: 0; }
  .tw-nav__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 6px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-cool); border-radius: 0;
  }
  .tw-nav__link::after { content: "\f054"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; color: var(--muted); }
  .tw-nav__link:hover, .tw-nav__link.is-active { background: none; box-shadow: none; color: var(--teal-700); }
  .tw-nav__tools { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 18px; }
  .tw-nav__icons { flex-wrap: wrap; gap: 10px; }
  .tw-nav__icons .tw-lang { flex: 1 1 160px; background: #f2f4f9; border-color: #e8ebf3; }
  .tw-nav__icons .tw-lang select { max-width: none; width: 100%; }
  .tw-nav__icons .tw-icon-btn { background: #f2f4f9; border-color: #e8ebf3; }
  .tw-nav__icons .tw-ai-btn { flex: 1 1 160px; justify-content: center; }
  .tw-nav__divider { display: none; }
  .tw-nav__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tw-nav__login { justify-content: center; height: 48px; border: 1.5px solid #cfd3e2; }
  .tw-nav__cta { min-height: 48px; }
}
@media (max-width: 420px) {
  .tw-nav__auth { grid-template-columns: 1fr; }
}
@keyframes twNavIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.tw-hero {
  position: relative; overflow: hidden; color: #c9cfe6;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(108, 116, 230, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(76, 197, 169, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.tw-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.tw-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.tw-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.05; margin-top: 18px; }
.tw-hero h1 .tw-accent { background: linear-gradient(90deg, var(--teal-300), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tw-hero__sub { color: #fff; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; margin-top: 22px; }
.tw-hero__desc { font-size: 17px; color: #aab2d1; margin-top: 12px; max-width: 560px; }
.tw-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tw-hero__note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; color: #aab2d1; list-style: none; padding: 0; }
.tw-hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.tw-hero__note i { color: var(--lime); }

@media (max-width: 960px) {
  .tw-hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .tw-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* Hero photo */
.tw-hero-art { margin: 0; position: relative; }
.tw-hero-art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.tw-hero-art::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 32px; border: 1.5px solid rgba(127, 224, 203, .35); z-index: -1; }

/* ---------- Integrations strip ---------- */
.tw-logos { padding: 30px 0; background: linear-gradient(90deg, #eef0fd 0%, #e9f8f3 100%); border-bottom: 1px solid var(--line-cool); }
.tw-logos__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; flex-wrap: wrap; }
.tw-logos__intro { display: flex; flex-direction: column; gap: 8px; max-width: 260px; }
.tw-logos__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--indigo-500); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tw-logos__label { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.tw-logos__list { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tw-logos__list li { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: 14px; }
.tw-logos__list img { height: 30px; width: auto; object-fit: contain; }
.tw-logos__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--indigo-600); text-decoration: none; white-space: nowrap; }
.tw-logos__more:hover { text-decoration: underline; }

/* ---------- Integrations section ---------- */
.tw-integr { position: relative; background: radial-gradient(1000px 420px at 50% 0%, rgba(108, 116, 230, .14), transparent 70%), linear-gradient(180deg, #f4f5fe 0%, var(--ivory) 100%); border-top: 1px solid var(--line-cool); }
.tw-integr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-integr__card { background: #fff; border: 1px solid var(--line-cool); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tw-integr__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(108, 116, 230, .35); }
.tw-integr__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tw-integr__logo { display: flex; align-items: center; height: 44px; }
.tw-integr__logo img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.tw-integr__logo--icon { width: 44px; justify-content: center; border-radius: 12px; background: var(--navy-900); color: var(--lime); font-size: 18px; }
.tw-integr__type { font-size: 12px; font-weight: 700; color: var(--muted); background: #f2f4f9; border-radius: 999px; padding: 4px 10px; }
.tw-integr__card h3 { font-size: 19px; font-weight: 800; }
.tw-integr__syncs-label { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tw-integr__syncs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tw-integr__syncs li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal-700); background: #e8f7f2; border-radius: 999px; padding: 5px 11px; }
.tw-integr__syncs li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; }
.tw-integr__card--api { background: var(--navy-900); border-color: var(--navy-900); color: #c9cfe6; }
.tw-integr__card--api h3 { color: #fff; }
.tw-integr__card--api .tw-integr__type { background: rgba(255, 255, 255, .1); color: #c9cfe6; }
.tw-integr__card--api p { margin-top: 8px; }
.tw-integr__card--api .tw-link { color: var(--teal-300); }
.tw-integr__links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }

.tw-integr__flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-integr__flow li { display: flex; gap: 14px; align-items: flex-start; }
.tw-integr__flow-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--indigo-500); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tw-integr__flow strong { color: var(--ink); font-size: 16px; }
.tw-integr__flow p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.tw-integr__foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; }
.tw-integr__foot p { color: var(--body); font-weight: 600; }
.tw-integr__foot p:empty { display: none; }

@media (max-width: 1023px) {
  .tw-integr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-integr__flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .tw-integr__grid { grid-template-columns: minmax(0, 1fr); }
  .tw-logos__list li { height: 48px; padding: 0 14px; }
  .tw-logos__list img { height: 24px; }
}

/* ---------- Main modules grid ---------- */
.tw-modgroup + .tw-modgroup { margin-top: 64px; }
.tw-modgroup__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.tw-modgroup__num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--lime); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.tw-modgroup__num--addon { background: var(--indigo-500); color: #fff; }
.tw-modgroup__head h3 { font-size: 22px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tw-modgroup__head p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.tw-modgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-modgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tw-modcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s ease, border-color .2s ease; }
.tw-modcard:hover { box-shadow: var(--shadow); border-color: #d9e6f0; }
.tw-modcard__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #e7f6f1; color: var(--teal-700); font-size: 18px; margin-bottom: 16px; }
.tw-modcard--addon { border-style: dashed; border-color: #c9cbf3; }
.tw-modcard--addon .tw-modcard__icon { background: #ecedfd; color: var(--indigo-600); }
.tw-modcard h4 { font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tw-modcard > p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.tw-modcard ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--body); }
.tw-modcard li { position: relative; padding-left: 18px; }
.tw-modcard li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); }
.tw-modcard--addon li::before { background: var(--indigo-400); }
.tw-modcard b { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) { .tw-modgrid, .tw-modgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tw-modgrid, .tw-modgrid--4 { grid-template-columns: 1fr; } .tw-modcard { padding: 22px; } }

/* ---------- Feature showcase ---------- */
.tw-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.tw-feature + .tw-feature { margin-top: 112px; }
.tw-feature--flip .tw-feature__copy { order: 2; }
.tw-feature__copy h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin-top: 12px; }
.tw-feature__copy > p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.tw-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tw-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.tw-checks li i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #def6ef; color: var(--teal-700); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px; }
.tw-section--navy .tw-checks li { color: #dfe3f3; }
.tw-section--navy .tw-checks li i { background: rgba(76, 197, 169, .18); color: var(--teal-300); }
.tw-feature__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.tw-badge-addon {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: #ecedfd; color: var(--indigo-600); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.tw-section--navy .tw-badge-addon { background: rgba(139, 145, 240, .18); color: #c3c6fb; }
@media (max-width: 960px) {
  .tw-feature { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tw-feature--flip .tw-feature__copy { order: 0; }
  .tw-feature + .tw-feature { margin-top: 80px; }
}

/* Feature photos */
.tw-photo { margin: 0; }
.tw-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Connected platform ---------- */
.tw-eco { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tw-eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tw-eco__lines line { stroke: rgba(127, 224, 203, .45); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tw-eco__lines line.is-addon { stroke: rgba(139, 145, 240, .6); stroke-dasharray: 6 6; }
.tw-eco__node {
  position: relative; z-index: 1; background: rgba(20, 32, 87, .92); border: 1px solid rgba(127, 224, 203, .35);
  border-radius: var(--radius); padding: 20px; color: #c9cfe6; backdrop-filter: blur(4px);
}
.tw-eco__node--addon { border-style: dashed; border-color: rgba(139, 145, 240, .7); }
.tw-eco__node h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.tw-eco__node h3 i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(76, 197, 169, .16); color: var(--teal-300); font-size: 15px; flex-shrink: 0; }
.tw-eco__node--addon h3 i { background: rgba(139, 145, 240, .18); color: #c3c6fb; }
.tw-eco__node p { font-size: 14px; margin-top: 8px; color: #aab2d1; }
.tw-eco__hub {
  position: relative; z-index: 1; border-radius: var(--radius-lg); padding: 26px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(76, 197, 169, .35), transparent 70%), linear-gradient(160deg, #1d2b70, #0b1440);
  border: 1px solid rgba(127, 224, 203, .6); box-shadow: 0 0 0 8px rgba(76, 197, 169, .08), 0 30px 60px -20px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.tw-eco__hub img { width: 64px; height: 64px; background: #fff; border-radius: 16px; padding: 4px; }
.tw-eco__hub strong { color: #fff; font-size: 18px; }
.tw-eco__hub span { font-size: 13px; color: #aab2d1; }
.tw-eco-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 36px; font-size: 14px; color: #aab2d1; }
.tw-eco-legend span { display: inline-flex; align-items: center; gap: 10px; }
.tw-eco-legend span::before { content: ""; width: 28px; height: 0; border-top: 2px solid var(--teal-300); }
.tw-eco-legend span.is-addon::before { border-top: 2px dashed var(--indigo-400); }
@media (max-width: 860px) {
  .tw-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tw-eco__lines { display: none; }
  .tw-eco__hub { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 520px) { .tw-eco { grid-template-columns: 1fr; } }

/* ---------- Modules ---------- */
.tw-modules { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.tw-module--core { position: sticky; top: calc(var(--header-h) + 20px); }
.tw-module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.tw-module--core { background: var(--navy-900); color: #c9cfe6; border-color: var(--navy-900); position: relative; overflow: hidden; }
.tw-module--core::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 197, 169, .35), transparent 65%); }
.tw-module--core h3 { color: #fff; }
.tw-module__tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.tw-module--core .tw-module__tag { color: var(--lime); }
.tw-module h3 { font-size: 22px; font-weight: 800; margin-top: 8px; }
.tw-module__price { margin-top: 10px; font-size: 15px; color: var(--muted); min-height: 24px; }
.tw-module__price strong { color: var(--ink); font-size: 22px; font-weight: 800; }
[data-addon-price="webstore"] { position: relative; }
.tw-tiers__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: 6px;
  vertical-align: middle; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(108, 116, 230, .12); color: var(--indigo-600); font-size: 14px; transition: background-color .2s ease, color .2s ease;
}
.tw-tiers__btn:hover, .tw-tiers__btn[aria-expanded="true"] { background: var(--indigo-500); color: #fff; }
.tw-tiers__btn:focus-visible { outline: 2px solid var(--indigo-500); outline-offset: 2px; }
.tw-tiers__pop {
  position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; width: min(340px, calc(100vw - 40px));
  display: block; padding: 16px 18px; background: #fff; border: 1px solid var(--line-cool); border-radius: 16px;
  box-shadow: var(--shadow-lg); color: var(--body); font-size: 14px; text-align: left; cursor: default;
}
.tw-tiers__pop[hidden] { display: none; }
.tw-tiers__title { display: block; font-weight: 800; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.tw-tiers__pop table { width: 100%; border-collapse: collapse; }
.tw-tiers__pop th, .tw-tiers__pop td { padding: 8px 6px; border-bottom: 1px solid var(--line-cool); text-align: right; white-space: nowrap; }
.tw-tiers__pop th:first-child { text-align: left; }
.tw-tiers__pop thead th { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tw-tiers__pop tbody th { font-weight: 600; color: var(--ink); }
.tw-tiers__pop td { font-weight: 700; color: var(--ink); }
.tw-tiers__pop tbody tr:last-child th, .tw-tiers__pop tbody tr:last-child td { border-bottom: 0; }
.tw-tiers__note { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.tw-module--core .tw-module__price { color: #aab2d1; }
.tw-module--core .tw-module__price strong { color: #fff; }
.tw-module dl { margin: 18px 0 0; display: grid; gap: 12px; font-size: 15px; }
.tw-module dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tw-module--core dt { color: #8d96c2; }
.tw-module dd { margin: 2px 0 0; color: var(--ink); }
.tw-module--core dd { color: #e4e7f5; }
.tw-module__core-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 20px; list-style: none; padding: 0; }
.tw-module__core-grid li { display: flex; gap: 10px; align-items: flex-start; color: #e4e7f5; font-size: 15px; }
.tw-module__core-grid li i { color: var(--teal-300); margin-top: 5px; }
.tw-module__foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; position: relative; }
.tw-addons { display: grid; gap: 20px; }
.tw-addons .tw-module { padding: 22px 24px; }
.tw-addons .tw-module h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.tw-addons .tw-module h3 i { color: var(--indigo-500); }
.tw-module--integr { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--sand); }
.tw-module--integr h3 { font-size: 19px; }
@media (max-width: 960px) { .tw-modules { grid-template-columns: 1fr; } .tw-module--core { position: relative; top: 0; } }
@media (max-width: 520px) { .tw-module__core-grid { grid-template-columns: 1fr; } }

/* ---------- Solution finder ---------- */
.tw-finder { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tw-finder__form { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.tw-finder fieldset { border: 0; margin: 0; padding: 0; }
.tw-finder legend { font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.tw-finder__hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.tw-options { display: grid; gap: 10px; }
.tw-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; color: var(--ink); font-weight: 600; font-size: 15px; }
.tw-option:hover { border-color: #c8ccdc; }
.tw-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tw-option__box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #c3c7d8; display: inline-flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; flex-shrink: 0; transition: all .15s; }
.tw-option__icon { color: var(--indigo-500); width: 20px; text-align: center; }
.tw-option input:checked ~ .tw-option__box { background: var(--teal-400); border-color: var(--teal-400); color: var(--navy-950); }
.tw-option:has(input:checked) { border-color: var(--teal-400); background: #f1fbf8; }
.tw-option input:focus-visible ~ .tw-option__box { outline: 3px solid var(--teal-400); outline-offset: 2px; }
.tw-finder__actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.tw-finder__result { background: var(--navy-900); color: #c9cfe6; border-radius: var(--radius-lg); padding: 28px; min-height: 100%; box-sizing: border-box; }
.tw-finder__result h3 { color: #fff; font-size: 20px; font-weight: 800; }
.tw-finder__empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tw-finder__empty i { font-size: 28px; color: var(--teal-300); }
.tw-rec { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.tw-rec li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; }
.tw-rec li.is-addon { border-style: dashed; border-color: rgba(139, 145, 240, .6); }
.tw-rec__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tw-rec__top strong { color: #fff; font-size: 16px; }
.tw-rec__price { color: var(--lime); font-weight: 700; font-size: 14px; }
.tw-rec p { font-size: 14px; margin-top: 4px; color: #aab2d1; }
.tw-finder__note { margin-top: 16px; font-size: 13px; color: #8d96c2; }
@media (max-width: 960px) { .tw-finder { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.tw-billing { display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); gap: 4px; }
.tw-billing button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); padding: 10px 18px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tw-billing button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.tw-billing__save { background: var(--lime); color: var(--navy-950); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.tw-pricing-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.tw-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.tw-plan h3 { font-size: 22px; font-weight: 800; }
.tw-plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tw-plan__price strong { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.tw-plan__price span { color: var(--muted); font-size: 14px; }
.tw-plan__alt { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 20px; }
.tw-plan__count { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink); }
.tw-plan__meter { height: 6px; background: #eef0f6; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.tw-plan__meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--indigo-500), var(--teal-400)); border-radius: 6px; }
.tw-plan .tw-checks { margin-top: 18px; font-size: 14px; gap: 10px; }
.tw-plan .tw-checks .tw-checks__head { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tw-plan__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.tw-plan--skeleton { min-height: 360px; background: linear-gradient(90deg, #fff, #f6f4ee, #fff); background-size: 200% 100%; animation: tw-shimmer 1.4s infinite; }
@keyframes tw-shimmer { to { background-position: -200% 0; } }
.tw-pricing-msg { grid-column: 1 / -1; text-align: center; padding: 40px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.tw-addon-prices { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tw-addon-price { background: var(--white); border: 1px dashed #c9cbf3; border-radius: var(--radius); padding: 20px; }
.tw-addon-price h4 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.tw-addon-price h4 i { color: var(--indigo-500); }
.tw-addon-price__val { margin-top: 8px; color: var(--muted); font-size: 14px; }
.tw-addon-price__val strong { color: var(--ink); font-size: 20px; }
.tw-tiers { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.tw-tiers li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #f0eee8; padding: 4px 0; }
.tw-tiers li:last-child { border-bottom: 0; }
.tw-tiers strong { color: var(--ink); }
.tw-trial { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: #eaf8f3; border-radius: var(--radius-lg); padding: 24px 28px; color: var(--ink); }
.tw-trial__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-400); color: var(--navy-950); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.tw-trial h3 { font-size: 18px; }
.tw-trial ul { list-style: disc; margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; color: var(--body); }
@media (max-width: 960px) { .tw-plans, .tw-addon-prices { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tw-trial { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.tw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.tw-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.tw-step__num { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--lime); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.tw-step h3 { font-size: 20px; margin-top: 18px; }
.tw-step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.tw-step ul { list-style: disc; margin: 14px 0 0; padding-left: 18px; font-size: 14.5px; display: grid; gap: 6px; }
@media (max-width: 960px) { .tw-steps { grid-template-columns: 1fr; } }

/* ---------- Trust ---------- */
.tw-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tw-trust__item { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.tw-trust__item i { font-size: 22px; color: var(--teal-300); }
.tw-trust__item h3 { font-size: 17px; margin-top: 14px; }
.tw-trust__item p { font-size: 14.5px; margin-top: 8px; color: #aab2d1; }
.tw-trust__item a { color: var(--teal-300); }
@media (max-width: 960px) { .tw-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tw-trust { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.tw-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.tw-faq__list { display: grid; gap: 12px; }
.tw-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s; }
.tw-faq details[open] { border-color: #bfe9dd; box-shadow: var(--shadow-sm); }
.tw-faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; }
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px; color: var(--teal-700); transition: transform .2s; flex-shrink: 0; }
.tw-faq details[open] summary::after { transform: rotate(45deg); }
.tw-faq__answer { padding: 0 20px 18px; color: var(--body); font-size: 15px; }
.tw-faq__answer p + p { margin-top: 8px; }
.tw-faq__answer a { color: var(--teal-700); font-weight: 600; }
@media (max-width: 960px) { .tw-faq { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact ---------- */
.tw-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.tw-contact__info { display: grid; gap: 14px; align-content: start; margin-top: 28px; }
.tw-contact__info a, .tw-contact__info div { display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; }
.tw-contact__info i { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--teal-700); }
.tw-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; }
.tw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tw-field { display: grid; gap: 6px; }
.tw-field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.tw-field input, .tw-field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box;
}
.tw-field input:focus, .tw-field textarea:focus { outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(76, 197, 169, .2); background: #fff; }
.tw-form__status { font-size: 14px; font-weight: 600; min-height: 20px; }
.tw-form__status.is-error { color: #b4452f; }
.tw-form__status.is-ok { color: var(--teal-700); }
@media (max-width: 960px) { .tw-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tw-form__row { grid-template-columns: 1fr; } .tw-form { padding: 20px; } }

/* ---------- Final CTA ---------- */
.tw-final {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 48px; text-align: center; color: #c9cfe6;
  background:
    radial-gradient(600px 300px at 0% 100%, rgba(200, 241, 105, .22), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(108, 116, 230, .45), transparent 60%),
    var(--navy-900);
}
.tw-final h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.tw-final p { font-size: 18px; max-width: 640px; margin: 18px auto 0; color: #aab2d1; }
.tw-final__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tw-final__note { margin-top: 16px; font-size: 14px; color: #8d96c2; }
@media (max-width: 560px) { .tw-final { padding: 52px 22px; border-radius: 24px; } }

/* ---------- Footer ---------- */
.tw-footer { background: var(--navy-950); color: #9aa3cc; padding: 64px 0 32px; font-size: 15px; }
.tw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.tw-footer h2 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; letter-spacing: 0; }
.tw-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tw-footer a { color: #9aa3cc; text-decoration: none; }
.tw-footer a:hover { color: #fff; }
.tw-footer__brand img { width: 64px; height: 64px; background: #fff; border-radius: 16px; padding: 4px; }
.tw-footer__brand p { margin-top: 14px; max-width: 300px; }
.tw-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.tw-footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.tw-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.tw-footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) { .tw-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tw-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.tw-mobile-cta { display: none; }
@media (max-width: 640px) {
  .tw-mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; gap: 10px;
    padding: 10px; border-radius: 16px; background: rgba(11, 20, 64, .94); box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .tw-mobile-cta.is-visible { transform: none; }
  .tw-mobile-cta .tw-btn { flex: 1; min-height: 46px; }
  body.tw-home { padding-bottom: 0; }
}

/* ---------- Reveal on scroll ---------- */
.tw-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.tw-reveal.is-visible { opacity: 1; transform: none; }
.no-js .tw-reveal { opacity: 1; transform: none; }

/* ---------- Telnyx AI Assistant WebRTC call integration ---------- */
telnyx-ai-agent.telnyx-hidden-idle {
  position: fixed !important; bottom: 0 !important; right: 0 !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
  pointer-events: none !important; overflow: hidden !important; z-index: -999 !important;
}
/* The widget's own panel is pointer-events:auto inside its shadow root; keeping the full-screen host
   click-through means the page (including the "End AI Call" button) stays clickable during a call */
telnyx-ai-agent.telnyx-active {
  position: fixed !important; inset: 0 !important; z-index: 99999 !important;
  pointer-events: none !important; opacity: 1 !important; display: block !important;
}
.tw-ai-btn.is-calling { background: #dc2626; border-color: #dc2626; color: #fff; }
.tw-ai-btn.is-calling:hover { background: #b91c1c; }
.ai-btn-pulse { animation: aiPulse 2s infinite; }
@keyframes aiPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ---------- Articles & pricing modals: open state, sizing, scrollbars ---------- */
#articleModal.modal-active, #pricingModal.modal-active { opacity: 1 !important; }
#articleModalContent.modal-active, #pricingModalContent.modal-active { transform: scale(1) translateY(0) !important; }
#articleModalContent { height: 90vh; max-height: 90vh; }
#pricingModalContent { max-height: 90vh; }
@media (max-width: 640px) {
  #pricingModalContent { max-height: 94vh; }
}
@media (min-width: 768px) {
  .centered-row-card { width: calc(33.333% - 1rem) !important; }
}
#articleModalBody::-webkit-scrollbar, #pricingModalBody::-webkit-scrollbar { width: 8px; }
#articleModalBody::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
#articleModalBody::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
#articleModalBody::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
#pricingModalBody::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
#pricingModalBody::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
#pricingModalBody::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---------- Pricing modal fixes (Tailwind 2 has no arbitrary values / opacity shorthands) ---------- */
#pricingFeaturesHead .text-\[10px\] { font-size: 10px; }
#pricingFeaturesBody .bg-blue-50\/40 { background-color: rgba(239, 246, 255, .4); }
#pricingModalBackdrop { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tw-reveal { opacity: 1; transform: none; transition: none; }
  .tw-btn, .tw-plan--skeleton, .tw-mobile-cta, .ai-btn-pulse, .tw-nav.is-open { transition: none; animation: none; }
}
