html {
  font-size: 65.5%;

  font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida,
    "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
  /* Ensure in-page anchors aren’t hidden under the fixed header */
  scroll-padding-top: calc(var(--header-offset) + 16px);
  scroll-behavior: smooth;
}

/* Theme variables */
:root {
  --bg: #ffffff;
  --text: #000000;
  --link: #000000;
  --muted: #000000;
  --header-bg: #ffffff;
  --footer-bg: #f2f5fa;
  --card-bg: #f3f5fb;
  --border: #e8ecf3;
  --progress: #5271ff;
  --button-bg: #6c86ff;
  --button-text: #ffffff;
  --input-bg: #ffffff;
  --input-border: #6c86ff;
  --header-offset: 80px; /* space reserved below taller fixed header */
}

.dark {
  --bg: #0e1218;
  --text: #f5f7ff;
  --link: #c8d2ff;
  --muted: #9aa3c2;
  --header-bg: #0f131a;
  --footer-bg: #11161d;
  --card-bg: #171c24;
  --border: #1e2430;
  --progress: #7c95ff;
  --button-bg: #4f6cff;
  --button-text: #ffffff;
  --input-bg: #0f131a;
  --input-border: #4f6cff;
}

body {
  font-size: 1.3rem;
  line-height: 1.618;
  max-width: 100%;
  color: var(--text);
  background-color: var(--bg);
  padding: calc(var(--header-offset) + 24px) 2px 2px; /* extra top padding keeps text below fixed header */
}

body,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body span,
body a,
body li,
body label,
body button,
body input,
body textarea,
body small,
body strong,
body em {
  color: var(--text) !important;
}

main {
  padding: 0;
  margin-top: 12px;
}
header { position: relative; max-width: 100%; top: 0; background: var(--header-bg); }

content > div {
  height: 100px;
}

@media (max-width: 684px) {
  body {
    font-size: 1.33rem;
  }
}

@media (max-width: 382px) {
  body {
    font-size: 1.35rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0 0 0.45em;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: keep-all;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h3 {
  line-height: 1.5;
  text-align: center;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: keep-all;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
p {
  line-height: 1.5;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;

  hyphens: auto;
  white-space: wrap;
}

li {
  line-height: 1.5;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;

  hyphens: auto;
}

th {
  line-height: 1.5;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

summary {
  line-height: 1.5;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1 {
  font-size: 1.9em;
  font-weight: 900;
}

h2 {
  font-size: 1.3em;
  
  
}

h3 {
  font-size: 1.1em;
}

h4 {
  font-size: 1em;
}




h5 {
  font-size: calc(6px + 2vmin);
  text-align: center;
}

p {
  font-size: 1em;
  font-weight: 500;
}

th {
  font-size: 1em;
  font-weight: 500;
}

h6 {
  font-size: calc(24px + 2vmin);
  text-align: center;
}

small,
sub,
sup {
  font-size: 75%;
}

hr { border-color: var(--link); }

a { text-decoration: none; font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
  Roboto, Helvetica, Arial, sans-serif; color: var(--link); }

ul {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

blockquote { font-style: italic; margin-left: 1.5em; padding-left: 1em; border-left: 3px solid var(--link); }

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.portrait {
  height: 80px;
  width: 30px;
}

.landscape {
  height: 30px;
  width: 80px;
}

.square {
  max-width: 750px;
  align-content: center;
  display: block;
  margin-left: auto;

  margin-right: auto;
}

.square .brand-logo {
  width: clamp(210px, 54vw, 360px) !important;
  max-width: calc(100vw - 48px);
  height: auto !important;
  aspect-ratio: 507 / 270;
  object-fit: contain;
}

.square h5,
.square > p {
  max-width: min(100%, 42rem);
  margin-left: auto;
  margin-right: auto;
}

.seo-answer {
  box-sizing: border-box;
  width: min(100%, 68rem);
  max-width: calc(100vw - 32px);
  margin: 10px auto 16px;
  padding: 0 4px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: break-word;
}

.article-hero .seo-answer,
.conditions-hero .seo-answer,
.hero .seo-answer,
.support-card .seo-answer {
  text-align: left;
}

.homepage-sky .square .seo-answer {
  width: min(32rem, calc(100vw - 80px));
}

@media (max-width: 480px) {
  .square .brand-logo {
    width: clamp(180px, 68vw, 260px) !important;
    max-width: calc(100vw - 32px);
  }

  .square h5 {
    max-width: 32rem;
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .square > p {
    max-width: 31rem;
  }
}

/* Pre and Code */
pre { background-color: var(--card-bg); display: block; padding: 1em; overflow-x: auto; }
code { font-size: 0.9em; padding: 0 0.5em; background-color: var(--card-bg); white-space: pre-wrap; }
pre > code { padding: 0; background-color: transparent; white-space: pre; }

/* Tables */
table {
  text-align: left;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

td,
th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1;
}

/* Buttons, forms and input */
input,
textarea {
  border: 1px solid #303952;
}
input:focus,
textarea:focus {
  border: 1px solid #6c86ff;
}

textarea {
  width: 100%;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;

  text-decoration: none;
  white-space: nowrap;
  background-color: #6c86ff;
  color: white;
  border-radius: 1px;
  border: 1px solid #6c86ff;
  cursor: pointer;
  box-sizing: border-box;
}
.button[disabled],
button[disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled] {
  cursor: default;
  opacity: 0.5;
}
.button:focus,
.button:hover,
button:focus,
button:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="button"]:focus,
input[type="button"]:hover {
  background-color: #5271ff;
  border-color: #5271ff;
  color: white;
  outline: 0;
}

textarea,
select,
input[type] {
  color: var(--text);
  padding: 16px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  border-width: 2px;
}
textarea:focus,
select:focus,
input[type]:focus {
  border: 1px solid var(--link);
  outline: 0;
}

input[type="checkbox"]:focus { outline: 1px dotted var(--link); }

label,
legend,
fieldset {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

section { padding-bottom: 24px; border-bottom: none; }

.inline-distortion {
  background: var(--card-bg);
  padding: 0.2em 0.7em;
  white-space: nowrap;
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
  font-family: monospace;
}
.inline-distortion:hover { color: var(--link); border: none; }

/*
We added this to create a drop down FAQ for our site .
*/

summary { font-size: 1.05em; font-weight: 600; background-color: var(--card-bg); color: var(--text); padding: 1rem; margin-bottom: 1rem; outline: none; border-radius: 0.25rem; text-align: left; cursor: pointer; }
details > summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}
details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}
details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}
/* The progress container follows each page theme/background */
.progress-container { width: 100%; height: 4px; background: var(--header-bg, var(--bg)); }
.header .progress-container { position: absolute; left: 0; right: 0; bottom: 0; }

/* The progress bar (scroll indicator) */
.progress-bar { height: 4px; background: var(--progress); width: 0%; }
#name {
  width: 223.67px;
  height: 40.25px;
}

.content-containerx {

  margin-top: 60px;
  max-width: 90%; 
  margin: auto;/* Adjust the value based on your header height and desired spacing */
}

.form-group {
  display: inline-block;
  width: calc(50% - 1px);
  padding: 0 !important;
}

.container {
  display: inline-block;
  width: 90%;
  margin-left: 5% !important;
  margin-right: 5% !important;
}

.form-control {
  margin: 0 !important;
}
@keyframes confetti-slow {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
  }
}
@keyframes confetti-medium {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
  }
}
@keyframes confetti-fast {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
  }
}
.confetti-container {
  perspective: 700px;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.confetti {
  position: absolute;
  z-index: 1;
  top: -10px;
  border-radius: 0;
}
.confetti--animation-slow {
  animation: confetti-slow 3.25s linear 1 forwards;
}
.confetti--animation-medium {
  animation: confetti-medium 1.75s linear 1 forwards;
}
.confetti--animation-fast {
  animation: confetti-fast 1.25s linear 1 forwards;
}

/* Paste this for confetti <div class="js-container"> */

/** We are trying to draw attention to some buttons  */

.first_button {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}



.header { display: flex; justify-content: center; align-items: center; padding: 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background-color: var(--header-bg); box-shadow: 0 2px 4px rgba(0,0,0,0.08); }

/* Header layout */
.ws-nav { max-width: 1240px; width: 100%; margin: 0 auto; padding: 8px 16px; gap: 12px; display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.ws-left { display: flex; align-items: center; gap: 16px; }
.ws-tabs { display: flex; gap: 12px; }
.ws-tabs a { padding: 6px 10px; border-radius: 16px; color: var(--text); background: transparent; border: 1px solid transparent; font-weight: 600; }
.ws-tabs a.active { border-color: var(--border); background: var(--card-bg); }
.ws-logo img { height: 64px; width: auto; display: block; }
body[data-header-logo] .ws-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 22px;
}
.ws-center { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; justify-content: center; }
.ws-center a { color: var(--text); font-weight: 600; white-space: nowrap; }
.ws-center a .caret { opacity: 0.6; margin-left: 4px; }
.ws-right { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-outline { color: var(--text); background: transparent; border: 1.5px solid var(--text); }
.btn-outline:hover { background: var(--card-bg); }
.btn-dark {
  color: #ffffff !important;
  background: #1a202f;
  border: 1.5px solid #1a202f;
  box-shadow: 0 12px 30px rgba(8, 12, 24, 0.35);
  position: relative;
  overflow: hidden;
}
.dark .btn-dark {
  background: #3a4461;
  border-color: #3a4461;
}
.btn-dark:hover { filter: brightness(1.1); }
.btn-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0));
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn-dark:hover::after {
  transform: translateX(120%);
}
.btn-brand {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4d72ff, #2c57ff);
  border: 1.5px solid #2747ff;
  box-shadow: 0 14px 30px rgba(57, 93, 255, 0.4);
  position: relative;
  font-size: 1.32rem;
}
.btn-brand:hover {
  filter: brightness(1.05);
}
.dark .btn-brand {
  color: #0f131d;
  background: #c8d2ff;
  border-color: #c8d2ff;
}
/* Header button sizing (uniform across Login / Subscribe / Download) */
.ws-right .btn { padding: 8px 18px; font-size: 1.14rem; }
.ws-right .btn-dark { font-size: 1.14rem; padding: 8px 18px; }
@media (max-width: 768px) {
  .ws-right .btn { padding: 7px 16px; font-size: 1.02rem; }
  .ws-right .btn-dark { font-size: 1.02rem; padding: 7px 16px; }
}

/* Emphasize Subscribe call-to-action */
#subscribe-btn {
  padding: 8px 18px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  background: linear-gradient(135deg, #5c7cff 0%, #3e63ff 55%, #2a47d1 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 28px rgba(56, 90, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  animation: subscribe-breathe 5.5s ease-in-out infinite;
}
#subscribe-btn::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -30%;
  width: 42%;
  height: 320%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(18deg) translateX(-260%);
  transition: transform 0.75s ease;
  pointer-events: none;
  z-index: 0;
}
#subscribe-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow:
    0 16px 32px rgba(56, 90, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
#subscribe-btn:hover::before {
  transform: rotate(18deg) translateX(500%);
}
#subscribe-btn:active {
  transform: translateY(0);
  box-shadow:
    0 10px 22px rgba(56, 90, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
#subscribe-btn:focus-visible {
  outline: 3px solid rgba(98, 124, 255, 0.35);
  outline-offset: 2px;
}
.dark #subscribe-btn {
  color: #0f172a !important;
  background: linear-gradient(135deg, #e2e9ff 0%, #cad6ff 56%, #b6c6ff 100%);
  border: 1px solid rgba(206, 218, 255, 0.95);
  box-shadow:
    0 12px 26px rgba(8, 12, 24, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
@media (max-width: 768px) {
  #subscribe-btn {
    padding: 7px 16px;
    font-size: 1.02rem;
  }
}

@keyframes subscribe-breathe {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(56, 90, 255, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  50% {
    box-shadow:
      0 15px 32px rgba(56, 90, 255, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.36);
  }
}

@media (prefers-reduced-motion: reduce) {
  #subscribe-btn {
    animation: none;
    transition: none;
  }
  #subscribe-btn::before {
    transition: none;
  }
}

.header__logo {
  margin-right: 90px; /* Add some spacing between the logo and links */
}

.header__links {
  display: flex;
  align-items: center;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
Roboto, Helvetica, Arial, sans-serif;
}

.header__links a {
  margin-right: 0; /* use flex gap for spacing */
  font-size: 16px; /* Adjust the font size as needed */
  color: var(--text); /* Set the link color */
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: IBM Plex Sans, BlinkMacSystemFont, -apple-system, Segoe UI,
Roboto, Helvetica, Arial, sans-serif;
}

.header__links a:hover { color: var(--muted); }

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
}
.theme-toggle {
  display: inline-block;
  font-size: 20px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
}
.theme-toggle:hover,
.theme-toggle:focus,
.theme-toggle:focus-visible {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none; /* prevent purple browser focus ring */
}

/* Sun/Moon visual states for theme toggle */
.theme-toggle.is-sun { color: #f6c90e; /* warm yellow */ }
@keyframes sun-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.theme-toggle.is-sun { animation: sun-spin 4s linear infinite; transform-origin: 50% 50%; }

.content-container {
  margin-top: 0;
  max-width: 90%;
  margin: auto; /* body top padding already offsets the fixed header */
}

/* Shared legal page layout (Terms / Privacy) */
.legal-page .content-container {
  margin-top: 0;
  max-width: 100%;
  margin: 0 auto;
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 12px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.legal-sidebar {
  position: sticky;
  top: calc(var(--header-offset) + 100px);
  height: max-content;
  align-self: start;
  margin-top: 100px;
}
.legal-sidebar h4 {
  margin: 8px 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.legal-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.legal-toc a:hover {
  background: var(--card-bg);
}
.legal-toc a.active {
  background: var(--card-bg);
  border-left-color: var(--link);
}
.legal-main {
  min-width: 0;
}
.legal-main h1,
.legal-main h2,
.legal-main h3,
.legal-main h4,
.legal-main h5,
.legal-main h6 {
  scroll-margin-top: calc(var(--header-offset) + 32px);
}
.legal-intro {
  color: var(--muted);
  font-size: 0.98rem;
}
.legal-language-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}
.legal-language-picker label {
  font-weight: 600;
  color: var(--text);
}
.legal-language-picker select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
}
@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
    margin-top: 0;
  }
}

/* Mega menu */
.mega-panel { position: fixed; left: 0; right: 0; top: var(--header-offset); background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,0.08); display: none; z-index: 9998; }
.header.mega-open + .mega-panel, .mega-panel.open { display: block; }
.mega-grid { max-width: 1240px; margin: 0 auto; padding: 20px 16px; display: grid; grid-template-columns: repeat(3, 1fr) 320px; gap: 24px; }
.mega-col h4 { margin: 6px 0 10px; font-size: 1.05rem; font-weight: 800; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin: 8px 0; }
.mega-col a { color: var(--text); }
.mega-col a:hover { color: var(--link); }
.mega-promo .promo-card { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.mega-promo img { width: 100%; height: auto; border-radius: 8px; display: block; }
.mega-promo span { font-weight: 800; color: var(--text); }
@media (max-width: 960px) { .mega-panel { position: static; display: none !important; } }

/* Footer styles */
footer {
  background-color: var(--footer-bg);
  padding: 24px 0;
  display: flex;
  flex-direction: column; /* stack footer content and bottom */
  align-items: center; /* center the inner containers */
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  gap: 24px; /* slightly smaller gap to fit 1 row */
  width: 100%;
  max-width: 1440px; /* allow up to 6 columns on desktop */
  padding: 0 24px; /* side padding inside footer */
  box-sizing: border-box;
  margin: 0 auto;
}


.footer-column {
  flex: 1 1 220px; /* grow, shrink, base width */
  min-width: 200px; /* keep columns readable */
  margin: 0; /* use gap instead of ad-hoc margins */
}

.footer-column h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 18px; /* add more space under section header */
}

.footer-column ul {
  list-style: none;
  padding: 0px;
  
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Store badges (App Store / Google Play) */
.store-badges { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.store-badges a { display: inline-block; height: 48px; width: 160px; background-repeat: no-repeat; background-position: center; }
.store-badges a { background-size: 100% auto; }
.store-badges a { border-radius: 8px; }
.apple-badge { background-image: url(https://developer.apple.com/assets/elements/badges/download-on-the-app-store.svg); }
.google-badge { background-image: url(https://upload.wikimedia.org/wikipedia/commons/7/78/Google_Play_Store_badge_EN.svg); }
.footer-web-link {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.footer-web-link a {
  color: var(--link);
  text-decoration: none;
}
.footer-web-link a:hover,
.footer-web-link a:focus-visible {
  text-decoration: underline;
}

/* Footer social icons */
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-social li { margin: 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer-social .icon { display: inline-block; color: var(--text); }
.footer-social a:hover .icon { color: var(--link); }

/* Footer bottom strip */
.footer-bottom {
  width: 100%;
  max-width: 1200px;
  padding: 10px 24px 0;
  text-align: center;
  margin-top: 8px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer-bottom small {
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Header: show burger, collapse links */
  .ws-nav {
    min-height: 72px;
    padding: 8px 12px;
    gap: 8px;
  }
  .ws-logo img { height: 44px; }
  body[data-header-logo] .ws-logo img {
    width: 52px;
    height: 52px;
    border-radius: 20px;
  }
  .menu-toggle { display: inline-block; }
  .ws-tabs { display: none; }
  .ws-center.header__links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--header-bg);
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
  }
  .header.menu-open .ws-center.header__links { display: flex; }
  .ws-center.header__links a { margin-right: 0; }
  .ws-center { gap: 16px; }
  .ws-right {
    margin-left: auto;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .ws-right .btn {
    padding: 6px 12px;
    font-size: 0.94rem;
    white-space: nowrap;
    line-height: 1;
  }
  .ws-right .btn-dark { display: none; }
  #subscribe-btn {
    padding: 6px 12px;
    font-size: 0.94rem;
  }
  .menu-toggle {
    font-size: 28px;
    padding: 2px 4px;
    line-height: 1;
  }
  .ws-center a .caret { display: none; }

  /* Containers stack */
  .container { display: flex; flex-direction: column; }
  .text, .image { flex: 1 1 auto; text-align: left; }

  /* Footer grid: ensure two columns on small screens */
  .footer-columns { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
}

/* Align logo tile neatly with grid */
.header__logo { margin-right: 0; align-self: start; }

/* ========== Research layout ========== */
.research-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; max-width: 1200px; width: 100%; margin: 12px auto; padding: 0 16px; box-sizing: border-box; }
.research-sidebar { position: sticky; top: calc(var(--header-offset) + 8px); height: max-content; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--border); padding-right: 16px; }
.research-sidebar .brand-link img { height: 24px; width: auto; }
.research-sidebar .side-section { margin: 12px 0 4px; color: var(--muted); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: .04em; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-link { padding: 8px 10px; border-radius: 6px; color: var(--text); border-left: 3px solid transparent; }
.side-link.active { background: var(--card-bg); border-left-color: var(--link); }
.side-link:hover { background: var(--card-bg); }

.research-main { display: block; }
.research-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font-weight: 600; cursor: pointer; }
.tab.active, .tab:focus { background: var(--card-bg); outline: none; }
.tools { display: flex; gap: 8px; align-items: center; }
.btn-small { padding: 6px 10px; font-size: 0.9rem; }
.research-search { min-width: 260px; padding-left: 34px; background: var(--input-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%236c86ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat 10px center; }
.research-sort { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); }
.result-count { color: var(--muted); font-weight: 600; }

.research-list { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.research-item { padding: 16px 8px; border-top: 1px solid var(--border); transition: background .15s ease; }
.research-item:hover { background: rgba(0,0,0,0.02); }
.dark .research-item:hover { background: rgba(255,255,255,0.03); }
.research-item h3 { margin: 6px 0; font-size: 1.3rem; line-height: 1.35; }
.research-item .meta { color: var(--muted); margin-bottom: 6px; font-size: 0.95rem; }
.research-item p { margin: 0; }

.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (max-width: 960px) {
  .research-layout { grid-template-columns: 1fr; }
  .research-sidebar { position: static; border-right: none; padding-right: 0; }
}

/* ========== Marketing text billboard (How to Journal) ========== */
.cbt-highlight { text-align: center; max-width: 760px; margin: 24px auto 16px; }
.cbt-highlight h2 { font-size: 2.2rem; line-height: 1.15; font-weight: 900; margin: 0 0 8px; color: var(--text); text-shadow: 0 1px 1px rgba(0,0,0,.22); }
.dark .cbt-highlight h2 { text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.cbt-highlight p { font-size: 1.1rem; line-height: 1.55; font-weight: 700; letter-spacing: .01em; margin: 0; color: var(--text); }

/* ========== Marketing UI mock (replace raster image) ========== */
.cbt-mock {
  position: relative;
  max-width: 420px;
  background: linear-gradient(135deg, rgba(108, 134, 255, 0.18), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(108, 134, 255, 0.25);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 28px 60px rgba(15, 31, 61, 0.15);
  margin: 0 auto;
  overflow: hidden;
  backdrop-filter: blur(12px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  color: #111315;
  text-align: left;
}
.cbt-mock * {
  font-family: inherit;
  text-align: left;
}
.cbt-mock::after {
  content: "";
  position: absolute;
  inset: -50px -100px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(108, 134, 255, 0.35), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.dark .cbt-mock {
  background: linear-gradient(135deg, rgba(9, 15, 32, 0.92), rgba(94, 126, 255, 0.22));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.cbt-mock__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.cbt-mock__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 4px;
}
.dark .cbt-mock__eyebrow {
  color: #7e8794;
}
.cbt-mock__title {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #111315;
}
.dark .cbt-mock__title {
  color: #f3f4f6;
}
.cbt-mock__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dbe2eb;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  background: #eef2f8;
  color: #4b5563 !important;
  box-shadow: none;
  white-space: nowrap;
}
.dark .cbt-mock__badge {
  background: #121827;
  border-color: #243041;
  color: #b5bec8 !important;
}
.cbt-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cbt-progress__pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  background: #f5f7fb;
  color: #4b5563 !important;
  box-shadow: none;
  opacity: 1;
}
.cbt-progress__pill.is-complete {
  background: rgba(82, 113, 255, 0.14);
  border-color: rgba(82, 113, 255, 0.22);
  color: #111315 !important;
}
.dark .cbt-progress__pill {
  background: #101827;
  border-color: #243041;
  color: #b5bec8 !important;
  box-shadow: none;
}
.dark .cbt-progress__pill.is-complete {
  background: rgba(82, 113, 255, 0.32);
  border-color: rgba(137, 155, 255, 0.28);
  color: #fff;
}
.cbt-group {
  margin: 16px 0;
  position: relative;
  padding: 18px 18px 18px 30px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}
.cbt-group::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6b84ff, #a07bff);
  opacity: 0.7;
}
.cbt-group:nth-of-type(2)::before { background: linear-gradient(180deg, #ffbd6f, #ff6d91); }
.cbt-group:nth-of-type(3)::before { background: linear-gradient(180deg, #78ffd6, #2bd6ff); }
.cbt-group:nth-of-type(4)::before { background: linear-gradient(180deg, #ff7ce5, #7a6dff); }
.dark .cbt-group {
  background: #0b0f14;
  border-color: #1f2937;
}
.cbt-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #4b5563;
  margin: 0 0 6px;
}
.dark .cbt-label {
  color: #9ca3af;
}
.cbt-field {
  border: none;
  background: transparent;
  padding: 0;
  color: #111315;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}
.dark .cbt-field {
  color: #f3f4f6;
}
.cbt-field.cbt-choice {
  padding: 0;
  display: flex;
  justify-content: flex-start;
}
.cbt-chip {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: #4c5fff;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #ffffff;
  text-align: left;
  backdrop-filter: blur(12px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}
.cbt-chip.is-selected {
  background-color: #5271ff;
}
.dark .cbt-chip {
  background-color: #4c5fff;
}
.dark .cbt-chip.is-selected {
  background-color: #5271ff;
}
.cbt-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.cbt-chip__header {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  z-index: 1;
}
.cbt-chip__icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.cbt-chip__icon {
  width: 16px;
  height: 16px;
  display: block;
}
.cbt-chip__title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}
.cbt-chip__check {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.cbt-chip__check svg {
  width: 16px;
  height: 16px;
  display: block;
}
.cbt-chip__description {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 8px;
  z-index: 1;
}
.cbt-chip__description-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}
.cbt-chip-demo {
  max-width: 390px;
  margin: 24px auto 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbt-chip-demo .cbt-chip__icon {
  transform-origin: center;
  transform-box: fill-box;
}
.cbt-chip-demo .cbt-chip--emotional-reasoning .cbt-chip__icon {
  animation: cbt-distortion-pulse 600ms ease-in-out infinite;
}
@keyframes cbt-distortion-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
.cbt-step-link {
  max-width: 390px;
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
}
.cbt-step-link__anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(82, 113, 255, 0.18);
  background: rgba(82, 113, 255, 0.1);
  color: #2f4fff !important;
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.cbt-step-link__anchor:hover {
  transform: translateY(-1px);
  background: rgba(82, 113, 255, 0.16);
  border-color: rgba(82, 113, 255, 0.26);
}
.cbt-step-link__anchor:focus-visible {
  outline: 2px solid rgba(82, 113, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cbt-mock {
    max-width: 100%;
    padding: 22px;
  }
  .cbt-mock__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cbt-chip-demo {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbt-chip-demo .cbt-chip--emotional-reasoning .cbt-chip__icon {
    animation: none !important;
  }
}

/* ========== Ella FAQ page ========== */
body.ella-faq-page {
  --header-bg: #fffcf5;
  font-family: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fffcf5;
  color: var(--text);
}

html.dark body.ella-faq-page {
  --header-bg: #0b0910;
  background: #0b0910;
}

body.ella-legal-page {
  --header-bg: #fffcf5;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 171, 0.26), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 233, 203, 0.36), transparent 24%),
    linear-gradient(180deg, #fffcf5 0%, #fff8ee 100%);
  color: #1e2431;
}

html.dark body.ella-legal-page {
  --header-bg: #0b0910;
  background: #0b0910;
}

.ella-legal-page .content-container {
  max-width: 1160px;
}

.ella-legal-shell {
  padding: 0 24px 72px;
}

.ella-legal-card {
  max-width: 920px;
  margin: 12px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(76, 90, 138, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 28px 72px rgba(124, 98, 56, 0.08),
    0 10px 24px rgba(31, 41, 55, 0.04);
  backdrop-filter: blur(10px);
}

html.dark .ella-legal-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 196, 255, 0.16);
  box-shadow: none;
}

.ella-legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: Inter, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d38228 !important;
}

.ella-legal-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.ella-legal-meta {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #5d6473 !important;
}

.ella-legal-intro {
  margin: 0 0 22px;
  max-width: 66ch;
  font-size: 1.06rem;
  line-height: 1.78;
  color: #394150 !important;
}

.ella-legal-toc {
  margin: 0 0 30px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(76, 90, 138, 0.12);
  background: rgba(245, 247, 255, 0.78);
}

html.dark .ella-legal-toc {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.14);
}

.ella-legal-toc h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  text-align: left;
}

.ella-legal-toc ul {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 28px;
}

.ella-legal-toc li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.ella-legal-card h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  text-align: left;
}

.ella-legal-card p,
.ella-legal-card li {
  font-size: 1.03rem;
  line-height: 1.82;
  color: #30384a !important;
}

.ella-legal-card ul {
  padding-left: 1.25rem;
}

.ella-legal-card a {
  color: #3f63ff !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .ella-legal-shell {
    padding: 0 16px 56px;
  }

  .ella-legal-card {
    border-radius: 22px;
    padding: 22px 18px 28px;
  }

  .ella-legal-toc ul {
    columns: 1;
  }
}

.faq-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 24px;
}

.faq-hero-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: 0.78rem;
  color: #3550d8;
}

.faq-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.faq-hero-main > p {
  max-width: 65ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.faq-chat-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(41, 49, 108, 0.14);
  border-radius: 16px;
  background: rgba(246, 249, 255, 0.82);
  padding: 14px;
  min-height: 164px;
  transition: opacity 0.2s ease;
}

.faq-chat-demo.is-swapping {
  opacity: 0.74;
}

html.dark .faq-chat-demo {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.18);
}

.faq-chat-msg {
  max-width: 78%;
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  border: 1px solid transparent;
}

.faq-chat-msg.user {
  margin-left: auto;
  background: #4c6fff;
  color: #fff !important;
}

.faq-chat-msg.user * {
  color: #fff !important;
}

.faq-chat-msg.user .faq-chat-meta {
  color: rgba(255, 255, 255, 0.92) !important;
}

.faq-chat-msg.ella {
  margin-right: auto;
  background: #eef2ff;
  border-color: #d9e2ff;
  color: #1f2937;
}

html.dark .faq-chat-msg.ella {
  background: #151b2c;
  border-color: #26314a;
  color: #e5e7eb;
}

.faq-chat-meta {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-chat-link {
  margin: 0;
  font-size: 0.95rem;
}

.faq-chat-link a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 2px;
}

.faq-jump-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(41, 49, 108, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

html.dark .faq-jump-links a {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 196, 255, 0.18);
}

.faq-hero-cta {
  border: 1px solid rgba(41, 49, 108, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-self: end;
  width: 100%;
  max-width: 310px;
  margin-top: 0;
}

html.dark .faq-hero-cta {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 196, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.faq-cta-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(41, 49, 108, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3550d8;
}

html.dark .faq-cta-kicker {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.16);
}

.faq-hero-icon {
  border-radius: 18px;
  border: 1px solid rgba(41, 49, 108, 0.14);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
}

html.dark .faq-hero-icon {
  background: rgba(255, 255, 255, 0.04);
}

.faq-hero-icon img {
  width: 100%;
  max-width: 112px;
  display: block;
  border-radius: 13px;
}

.faq-cta-copy {
  margin: 0;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: none;
  white-space: nowrap;
}

.faq-web-cta {
  width: 100%;
  max-width: 190px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, #6c86ff, #4c6fff);
  border-color: #4c6fff;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(76, 111, 255, 0.22);
  font-weight: 700;
  text-decoration: none;
}

.faq-web-cta:hover {
  background: linear-gradient(135deg, #5f79fb, #4567f5);
  border-color: #4567f5;
  color: #ffffff !important;
}

.faq-web-cta span {
  color: #ffffff !important;
}

.faq-web-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  line-height: 1;
  transform: translateX(1px);
}

.faq-store-badges {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.faq-store-badges a {
  width: clamp(136px, 17vw, 162px);
  height: 44px;
}

.faq-store-badges a:focus-visible {
  outline: 3px solid rgba(98, 124, 255, 0.35);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-search {
  border: 1px solid rgba(41, 49, 108, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html.dark .faq-search {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.16);
}

.faq-search-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: end;
}

.faq-search-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.faq-search-head p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.66;
}

.faq-search-bar {
  display: flex;
}

.faq-search-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(41, 49, 108, 0.16);
  background: rgba(246, 249, 255, 0.9);
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.faq-search-input::placeholder {
  color: #64748b;
}

.faq-search-input:focus {
  outline: 2px solid rgba(76, 111, 255, 0.22);
  border-color: rgba(76, 111, 255, 0.42);
}

html.dark .faq-search-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 196, 255, 0.18);
}

.faq-search-status,
.faq-search-empty {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-search-status {
  color: var(--muted);
}

.faq-search-empty {
  color: #3550d8;
  font-weight: 600;
}

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

.faq-section {
  border: 1px solid rgba(41, 49, 108, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html.dark .faq-section {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.16);
}

.faq-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: end;
}

.faq-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.12;
}

.faq-section-head p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.66;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

html.dark .faq-item {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  position: relative;
  display: block;
  padding: 14px 44px 14px 16px;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.72;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.faq-help-card {
  border: 1px solid rgba(41, 49, 108, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.9));
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: end;
  justify-content: space-between;
}

html.dark .faq-help-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: rgba(183, 196, 255, 0.16);
}

.faq-help-copy {
  max-width: 56ch;
}

.faq-help-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.26rem, 2.2vw, 1.68rem);
}

.faq-help-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-download-cta {
  margin-top: 32px;
  border: 1px solid rgba(41, 49, 108, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.92));
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: end;
  justify-content: space-between;
}

html.dark .article-download-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: rgba(183, 196, 255, 0.16);
}

.article-download-cta__copy {
  max-width: 58ch;
}

.article-download-cta__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(41, 49, 108, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3550d8;
}

html.dark .article-download-cta__kicker {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 196, 255, 0.16);
}

.article-download-cta__copy h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.article-download-cta__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.article-download-cta__actions {
  margin-top: 0;
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .faq-wrap {
    padding: 0 20px 60px;
  }

  .faq-hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: 18px;
  }

  .faq-hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  }

  .faq-hero-main > p {
    max-width: 58ch;
  }

  .faq-chat-demo {
    min-height: 148px;
  }

  .faq-chat-msg {
    max-width: 84%;
    font-size: 0.96rem;
  }

  .faq-hero-cta {
    padding: 14px 16px;
    max-width: 288px;
    margin-top: 0;
  }

  .faq-store-badges a {
    width: clamp(128px, 16vw, 154px);
    height: 42px;
  }
}

@media (max-width: 980px) {
  .faq-hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-hero-main {
    gap: 12px;
  }

  .faq-hero-main > p {
    max-width: none;
  }

  .faq-chat-demo {
    min-height: 0;
  }

  .faq-hero-cta {
    align-items: flex-start;
    max-width: none;
    justify-self: stretch;
    padding: 16px;
    margin-top: 0;
  }

  .faq-cta-copy {
    text-align: left;
    max-width: none;
  }

  .faq-web-cta {
    max-width: none;
    width: auto;
  }

  .faq-store-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .faq-hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-hero-cta {
    align-items: flex-start;
    max-width: none;
    justify-self: stretch;
  }

  .faq-cta-copy {
    text-align: left;
  }

  .faq-store-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .faq-chat-msg {
    max-width: 90%;
  }

  .faq-search-head,
  .faq-section-head,
  .faq-help-card {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .faq-wrap {
    padding: 0 16px 52px;
  }

  .faq-store-badges a {
    width: clamp(124px, 40vw, 168px);
    height: 44px;
  }
}
