@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Cairo-Regular.woff2') format('woff2');
}

@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Cairo-Bold.woff2') format('woff2');
}

:root {
  --brand-start: #4f46e5;
  --brand-end: #7c3aed;
  --ink: #1e293b;
  --muted: #94a3b8;
  --canvas: #f4f6fb;
  --surface: #ffffff;
  --border: #e7eaf3;
  --radius: 12px;
  --radius-lg: 14px;
  --container: 1120px;
  --header-break: 761px;
  --guide-bar-h: 3rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
}

:lang(ar),
:lang(ur) {
  font-family: Cairo, Tahoma, sans-serif;
}

:where(h1, h2, h3) {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-start);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.site-brand__logo {
  width: 2rem;
  height: 2rem;
  /* The app icon is a full-bleed square; iOS and Android mask its corners, so
     the site rounds them itself to match what people see on their home screen. */
  border-radius: 22%;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav__link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.site-nav__link[aria-current='page'] {
  color: var(--brand-start);
}

.skip {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -100px;
  z-index: 40;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.skip:focus {
  top: 0.75rem;
}

.lang-picker {
  position: relative;
}

.lang-picker summary {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--surface);
  cursor: pointer;
}

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

.lang-picker ul {
  position: absolute;
  inset-inline-end: 0;
  z-index: 30;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  min-width: 10rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.lang-picker li a {
  display: block;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: inherit;
}

.guide-section figure,
.guide-figure {
  margin: 0 0 1rem;
}

.guide-section__body h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
}

.guide-section__body p,
.guide-section__body li {
  line-height: 1.65;
}

.guide-section__body ol,
.guide-section__body ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.4rem;
}

.guide-section__body li + li {
  margin-top: 0.35rem;
}

.page--articles,
.page--article {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
}

.article {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto 3rem;
}

.home-articles {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
}

.article h1,
.page--articles h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.article .lede,
.page--articles > .lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.article__hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0 0 1.5rem;
  background: var(--surface);
}

.article h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.article p,
.article li {
  line-height: 1.65;
}

.timeline,
.corners,
.article .steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.corners {
  counter-reset: corner;
}

.timeline li,
.corners li,
.article .steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid var(--brand-start);
}

.corners li {
  counter-increment: corner;
}

.corners li::before {
  content: counter(corner);
  display: inline-block;
  min-width: 1.5rem;
  margin-inline-end: 0.5rem;
  font-weight: 700;
  color: var(--brand-start);
}

.fields {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  background: var(--surface);
}

.fields th,
.fields td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: start;
}

.faq {
  margin: 2rem 0;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0 0 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.helps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 2rem 0 1rem;
}

.helps__motto {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 0;
}

.helps__cards {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.helps__card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
}

.helps__card h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.helps__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.helps__icon {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  color: var(--brand-start);
}

.helps__shots {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.helps__shot {
  margin: 0;
  width: max-content;
  max-width: calc(50% - 0.5rem);
}

.helps__shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.helps__shot figcaption {
  max-width: 100%;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.4rem;
}

.article__disclaimer,
.article__reviewed {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.sources ul {
  padding-inline-start: 1.2rem;
}

.article-cards {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.article-cards a {
  display: grid;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  min-height: 100%;
}

.article-cards img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-cards h2 {
  margin: 0;
  font-size: 1.1rem;
}

.article-cards span {
  color: var(--brand-start);
  font-weight: 600;
}

.notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-inline-start: 3px solid var(--brand-start);
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--muted);
}

.site-menu,
.menu-button,
.site-nav--drawer {
  display: none;
}

.site-drawer {
  display: none;
}

@media (max-width: 760px) {
  .site-nav--desktop,
  .lang-picker--desktop {
    display: none;
  }

  .site-menu {
    display: block;
    margin-inline-start: auto;
  }

  .menu-button {
    display: inline-flex;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
  }

  .site-drawer {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .site-menu:not([open]) .site-drawer {
    display: none;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .site-nav--drawer {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
}

/* Conversion-led homepage pilot and shared product chrome. */
:root {
  --brand: #5b3df2;
  --brand-strong: #4024bd;
  --brand-soft: #eeeaff;
  --accent: #0f9f8f;
  --accent-soft: #e8faf6;
  --attention: #d97706;
  --ink: #172033;
  --muted: #526078;
  --canvas: #f7f8fc;
  --surface: #ffffff;
  --surface-strong: #11182a;
  --border: #dfe4ee;
  --focus: #0f766e;
  --shadow-sm: 0 12px 30px rgb(23 32 51 / 8%);
  --shadow-lg: 0 28px 80px rgb(42 31 102 / 16%);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --container: 74rem;
  --reading: 46rem;
  --header-h: 4.75rem;
  --guide-bar-h: 3rem;
  --brand-start: var(--brand);
  --brand-end: var(--brand-strong);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

.page--home p {
  text-wrap: pretty;
}

#product,
#how-it-works {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.site-header {
  box-shadow: 0 1px 0 rgb(23 32 51 / 4%);
}

.site-header__inner {
  min-height: var(--header-h);
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.site-brand {
  flex: 0 0 auto;
  min-height: 44px;
}

.site-nav--desktop {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(0.35rem, 1.5vw, 1.25rem);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.35rem;
  border-radius: 0.5rem;
  font-weight: 650;
  color: var(--muted);
}

.site-nav__link:hover,
.site-nav__link[aria-current='page'] {
  color: var(--brand-strong);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.lang-picker summary,
.menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.lang-picker summary:hover,
.menu-button:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.lang-picker li a {
  min-height: 44px;
}

.lang-picker li a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary,
.btn--header {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 24px rgb(91 61 242 / 22%);
}

.btn--primary:hover,
.btn--header:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgb(91 61 242 / 30%);
}

.btn--secondary {
  color: var(--brand-strong);
  background: var(--surface);
  border-color: #cfc6ff;
}

.btn--secondary:hover {
  background: var(--brand-soft);
}

.page--home {
  overflow: clip;
  padding-block: 0 5rem;
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: min(48rem, calc(100svh - var(--header-h)));
  padding-block: clamp(4rem, 8vw, 7rem);
  margin-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inline-size: 42rem;
  block-size: 42rem;
  inset-block-start: -14rem;
  inset-inline-start: -22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(91 61 242 / 20%), transparent 68%);
}

.hero__copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir='rtl'] .eyebrow {
  letter-spacing: 0;
}

.hero__title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

[dir='rtl'] .hero__title {
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.hero__actions {
  margin-top: 1.75rem;
}

.hero__note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.925rem;
}

.hero__visual {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.hero__signal {
  width: min(100%, 33rem);
  padding: 1rem;
  border: 1px solid rgb(91 61 242 / 16%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 84%);
  box-shadow: var(--shadow-sm);
}

.hero__flow-inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.hero__flow-pill,
.hero__flow-output {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
}

.hero__flow-pill {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.hero__flow-line {
  position: relative;
  display: block;
  width: 2px;
  height: 1.25rem;
  margin: 0.25rem auto;
  background: color-mix(in srgb, var(--accent) 35%, transparent);
}

.hero__flow-line i {
  position: absolute;
  inset-inline-start: -3px;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__flow-output {
  display: flex;
  width: max-content;
  margin-inline: auto;
  color: #075e55;
  background: var(--accent-soft);
}

.outcomes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto clamp(5rem, 9vw, 8rem);
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.outcomes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.15rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.outcomes li + li {
  border-inline-start: 1px solid var(--border);
}

.outcomes svg {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  color: var(--accent);
}

.product-story,
.whatsapp-showcase,
.readiness,
.how-it-works,
.trial-trust,
.home-faq,
.home-articles,
.final-cta {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.product-story,
.whatsapp-showcase,
.readiness,
.how-it-works,
.trial-trust,
.home-faq,
.home-articles {
  margin-bottom: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.whatsapp-showcase h2,
.section-title,
.trial-trust h2,
.final-cta h2 {
  width: auto;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.08fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.story-row:nth-of-type(odd) .story-row__media {
  grid-column: 1;
  grid-row: 1;
}

.story-row:nth-of-type(odd) .story-row__copy {
  grid-column: 2;
}

.story-row__copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.story-row__copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.story-row__media {
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-soft), var(--accent-soft));
  box-shadow: var(--shadow-sm);
}

.story-row__media img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 0.65rem);
}

.story-row__media figcaption {
  padding: 0.7rem 0.3rem 0.2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.875rem;
}

.readiness {
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  color: #fff;
}

.readiness .section-title {
  max-width: 24ch;
  margin-bottom: 1.5rem;
}

.readiness__journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  counter-reset: readiness;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 12%);
}

.readiness__slide {
  position: relative;
  counter-increment: readiness;
  border: 0;
  border-radius: 0;
  background: #182238;
}

.readiness__slide::before {
  content: counter(readiness, decimal-leading-zero);
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #a7f3d0;
  background: rgb(15 159 143 / 20%);
  font-size: 0.8rem;
  font-weight: 800;
}

.readiness__slide p {
  color: #b9c4d8;
}

.readiness__art {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.step__number {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-block-end: 1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

/* Numbers pop into place one after another when the section scrolls in. */
@media (prefers-reduced-motion: no-preference) {
  .how-it-works.is-animated .step__number {
    animation: step-pop 640ms cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
  }

  .how-it-works.is-animated .story-row:nth-of-type(1) .step__number {
    animation-delay: 60ms;
  }

  .how-it-works.is-animated .story-row:nth-of-type(2) .step__number {
    animation-delay: 260ms;
  }

  .how-it-works.is-animated .story-row:nth-of-type(3) .step__number {
    animation-delay: 460ms;
  }

  @keyframes step-pop {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }

    60% {
      transform: scale(1.15);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
}

.trial-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trial-panel,
.trust-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.trial-panel {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-strong), #24155f);
}

.trial-panel .eyebrow,
.trial-panel__notice {
  color: #ddd7ff;
}

.trial-panel__notice {
  font-size: 0.9rem;
}

.trial-panel .btn {
  margin-top: 1rem;
}

.trust-panel p {
  color: var(--muted);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.text-links a,
.home-articles__heading a {
  min-height: 44px;
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.home-faq {
  max-width: var(--reading);
}

.home-faq .section-title {
  margin-bottom: 1rem;
}

.home-faq__items {
  border-block-start: 1px solid var(--border);
}

.home-faq details {
  border-block-end: 1px solid var(--border);
}

.home-faq summary {
  min-height: 44px;
  padding-block: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.home-faq summary:hover {
  color: var(--brand-strong);
}

.home-faq details p {
  margin: 0;
  padding: 0 2rem 1.25rem 0;
  color: var(--muted);
}

[dir='rtl'] .home-faq details p {
  padding-inline: 2rem 0;
}

.home-articles__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-articles .article-cards {
  margin: 0;
}

.home-articles .article-cards a {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.home-articles .article-cards :where(h3, p, span) {
  margin-inline: 1.2rem;
}

.home-articles .article-cards h3 {
  margin-block: 0.4rem 0;
  font-size: 1.1rem;
}

.home-articles .article-cards span {
  margin-block-end: 1.2rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(120deg, var(--surface-strong), #34207d 70%, #0b7167);
  box-shadow: var(--shadow-lg);
}

.final-cta p {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: #cbd5e1;
}

.final-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--light {
  color: var(--surface-strong);
  background: #fff;
}

.btn--outline-light {
  color: #fff;
  border-color: rgb(255 255 255 / 42%);
  background: transparent;
}

.btn--light:hover,
.btn--outline-light:hover {
  color: var(--surface-strong);
  background: var(--accent-soft);
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 0;
  color: #d5dbea;
  background: var(--surface-strong);
}

.site-footer__inner {
  gap: 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1.5fr) repeat(4, minmax(8rem, 1fr));
  gap: 2rem;
}

.site-brand--footer {
  width: max-content;
  color: #fff;
}

.footer-brand p {
  max-width: 19rem;
  color: #9eabc2;
  white-space: pre-line;
}

.footer-group__title {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group nav {
  display: grid;
  gap: 0.35rem;
}

.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: #bdc7d9;
  text-decoration: none;
}

.footer-group a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.footer-legal {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #9eabc2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__flow-line i {
    animation: hero-flow 1.8s ease-in-out 2;
  }

  @keyframes hero-flow {
    from {
      transform: translateY(0);
      opacity: 0;
    }
    35%,
    65% {
      opacity: 1;
    }
    to {
      transform: translateY(1rem);
      opacity: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-nav--desktop,
  .site-header__actions {
    display: none;
  }

  .site-menu {
    display: block;
    margin-inline-start: auto;
  }

  .menu-button {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: var(--surface);
    cursor: pointer;
  }

  .site-drawer {
    position: absolute;
    inset-inline: 1rem;
    top: calc(100% - 0.35rem);
    display: block;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .site-menu:not([open]) .site-drawer {
    display: none;
  }

  .site-header__inner {
    position: relative;
  }

  .site-nav--drawer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .site-drawer .lang-picker {
    margin-bottom: 0.75rem;
  }

  .site-drawer__cta {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    max-width: 46rem;
  }

  .hero__title {
    max-width: 15ch;
  }

  .hero__visual {
    grid-template-columns: minmax(13rem, 0.65fr) minmax(17rem, 1fr);
    align-items: center;
  }

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

  .outcomes li:nth-child(3) {
    border-inline-start: 0;
  }

  .outcomes li:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-brand__name {
    font-size: 0.95rem;
  }

  .page--home {
    padding-bottom: 3rem;
  }

  .hero {
    gap: 2.5rem;
    padding-block: 3.5rem 4rem;
  }

  .hero__title {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .outcomes {
    grid-template-columns: 1fr;
    margin-bottom: 5rem;
  }

  .outcomes li + li,
  .outcomes li:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .story-row:nth-of-type(odd) .story-row__copy,
  .story-row:nth-of-type(odd) .story-row__media {
    grid-column: auto;
    grid-row: auto;
  }

  .story-row__media {
    width: min(100%, 19rem);
  }

  .readiness {
    padding: 1.25rem;
  }

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

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

  .home-articles__heading,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta__actions,
  .final-cta__actions .btn {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

.page {
  padding-block: 2rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
}

.hero__eyebrow {
  color: var(--brand-start);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
}

.store-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  max-width: 21rem;
}

.store-badges__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.store-badges__item small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  border-radius: 0.5rem;
}

.store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.store-badge--apple img {
  max-width: 8.5rem;
}

.store-badge--play img {
  max-width: 10.5rem;
}

.store-badge[href]:hover {
  opacity: 0.8;
}

.hero__shot {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(30, 41, 59, 0.12);
  background: var(--surface);
}

.readiness {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
}

.readiness__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 22rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.readiness__strip:focus-visible {
  outline: 2px solid var(--brand-start);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.readiness__slide {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.readiness__art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.readiness__slide h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.readiness__slide p {
  margin: 0;
  color: var(--muted);
}

.readiness__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.section-title {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
}

.feature-card,
.step,
.guide-section,
.legal-section,
.load-error__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.steps {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 3rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.languages {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 2rem;
}

.languages__line {
  margin: 0;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
}

.site-footer__inner {
  display: grid;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  color: var(--muted);
  margin: 0;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header__meta {
  color: var(--muted);
}

.guide-bar {
  position: sticky;
  top: 4rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0 auto 1rem;
  width: min(100% - 2rem, var(--container));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.guide-bar__chip {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.925rem;
}

.guide-bar__chip--active {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #fff;
  border-color: transparent;
}

.guide-section {
  scroll-margin-top: calc(var(--guide-bar-h) + 5rem);
  margin-bottom: 1rem;
}

.guide-figure img,
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* A phone thumb at its own size, never stretched to the column. */
.article__figure {
  margin: 0 0 1.5rem;
  width: max-content;
  max-width: 100%;
}

.article__figure img {
  width: auto;
  max-width: 100%;
}

.article__figure figcaption {
  max-width: 100%;
}

@media (min-width: 761px) {
  .guide-section--with-figure {
    display: grid;
    grid-template-columns: 1fr min(40%, 16rem);
    gap: 1.25rem;
    align-items: start;
  }

  .guide-section--with-figure h2 {
    grid-column: 1 / -1;
  }

  .guide-section--with-figure .guide-figure {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .guide-section--with-figure .guide-section__body {
    grid-column: 1;
    grid-row: 2;
  }
}

.legal-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-inline-start: 3px solid var(--brand-start);
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--muted);
}

.legal-section + .legal-section {
  margin-top: 1rem;
}

.load-error__panel {
  width: min(100% - 2rem, 32rem);
  margin: 4rem auto;
}

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

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

  /* One slide at a time on a phone; the desktop strip shows about three. */
  .readiness__strip {
    grid-auto-columns: min(100%, 18rem);
  }
}

/* Keep pilot rules above the legacy reader-page block in the final cascade. */
.page.page--home {
  padding-block: 0 5rem;
}

.page--home .hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: 0;
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0;
}

.page--home .hero__eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-strong);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  white-space: pre-line;
}

.page--home .hero__title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.page--home .hero__subtitle {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.page--home .hero__actions {
  margin-top: 1.75rem;
}

.page--home .btn {
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
}

.page--home .section-title {
  width: auto;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.page--home .readiness > .section-title,
.page--home .home-faq > .section-title {
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

:lang(ar) :is(.hero__title, .section-heading h2, .section-title, .story-row h3, .whatsapp-showcase h2),
:lang(ur) :is(.hero__title, .section-heading h2, .section-title, .story-row h3, .whatsapp-showcase h2) {
  line-height: 1.5;
  letter-spacing: 0;
}

.page--home .readiness__slide {
  border: 0;
  border-radius: 0;
  background: #182238;
}

.page--home .readiness__slide p {
  color: #b9c4d8;
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 0;
  color: #d5dbea;
  background: var(--surface-strong);
}

.site-footer__inner {
  gap: 2.5rem;
}

.site-footer .footer-legal {
  margin: 0;
  color: #9eabc2;
}

@media (max-width: 900px) {
  .page--home .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .page.page--home {
    padding-bottom: 3rem;
  }

  .page--home .hero {
    gap: 2.5rem;
    padding-block: 3.5rem 4rem;
  }

  .page--home .hero__title {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }
}

/* Shared reader pages: editorial hierarchy with restrained, content-first surfaces. */
.page--articles,
.page--guide,
.page--privacy,
.page--terms,
.page--article,
.page--notfound {
  padding-block: 0 clamp(4rem, 8vw, 7rem);
}

.page-header--reader {
  position: relative;
  overflow: hidden;
  width: min(100% - 2rem, var(--container));
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}

.page-header--reader::after {
  content: '';
  position: absolute;
  z-index: -1;
  inline-size: 22rem;
  block-size: 22rem;
  inset-block-start: -14rem;
  inset-inline-end: -5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(91 61 242 / 14%), transparent 70%);
}

.page-header--reader h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

[dir='rtl'] .page-header--reader h1 {
  letter-spacing: 0;
}

.page-header--reader .lede {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.page-header__meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 650;
}

/* Article library and long-form reading. */
.page--articles {
  width: auto;
  margin: 0;
}

.page--articles > .notice,
.page--articles > .article-cards {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.page--articles > .notice {
  margin-bottom: 1.5rem;
  border: 0;
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.page--articles > .article-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 0;
}

.page--articles .article-cards a {
  gap: 0.75rem;
  overflow: hidden;
  padding: 0;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.page--articles .article-cards a:hover {
  transform: translateY(-3px);
  border-color: #cfc6ff;
  box-shadow: var(--shadow-lg);
}

.page--articles .article-cards img {
  border-radius: 0;
  background: var(--brand-soft);
}

.page--articles .article-cards :where(h2, p, span) {
  margin-inline: 1.25rem;
}

.page--articles .article-cards h2 {
  margin-block: 0.35rem 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.page--articles .article-cards p {
  margin-block: 0;
  color: var(--muted);
}

.page--articles .article-cards span {
  margin-block: auto 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-strong);
}

.page--article {
  width: auto;
  margin: 0;
}

.article {
  width: min(100% - 2rem, var(--reading));
  margin: 0 auto;
}

.article > h1 {
  margin: clamp(3.5rem, 7vw, 6rem) 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

[dir='rtl'] .article > h1 {
  letter-spacing: 0;
}

.article > .lede {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.article__hero {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  box-shadow: var(--shadow-sm);
}

.article h2 {
  margin: 2.75rem 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.article h3 {
  margin: 2rem 0 0.65rem;
  line-height: 1.3;
}

.article p,
.article li {
  line-height: 1.75;
}

.article a:not(.btn) {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article .fields {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.article .fields :where(th, td) {
  min-width: 9rem;
}

.article :where(.timeline, .corners, .steps) li {
  border: 0;
  border-inline-start: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq {
  margin-block: 3rem;
  border-top: 1px solid var(--border);
}

.faq details {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.faq summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding-block: 1rem;
  font-weight: 750;
}

.faq details > :not(summary) {
  margin-top: 0;
  padding-inline-end: 2rem;
}

.helps {
  margin-block: 3.5rem 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-color: #d8d1ff;
  background: linear-gradient(145deg, var(--surface), var(--brand-soft));
}

.helps__card {
  border: 0;
  background: rgb(255 255 255 / 72%);
}

.article__disclaimer,
.article__reviewed {
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--border);
}

.sources {
  margin-top: 2.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.sources ul {
  display: grid;
  gap: 0.6rem;
}

.sources a {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.sources a:hover {
  color: var(--brand-strong);
}

/* Guide: sticky wrapped chips and alternating editorial sections. */
.page--guide .page-header--reader {
  margin-bottom: 0;
}

.guide-bar-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  padding-block: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(12px);
}

.guide-bar {
  position: static;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 0;
  overflow-x: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.guide-bar__chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.guide-bar__chip:hover {
  border-color: #cfc6ff;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.guide-bar__chip--active {
  color: #fff;
  background: var(--brand);
}

.guide-content {
  width: min(100% - 2rem, 64rem);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.guide-section {
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem) 0;
  scroll-margin-top: calc(var(--guide-bar-h) + var(--header-h) + 1rem);
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.guide-section:first-child {
  padding-top: 0;
}

.guide-section:last-child {
  border-bottom: 0;
}

.guide-section > h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.guide-section__body {
  max-width: 43rem;
}

.guide-section__body :where(p, li) {
  line-height: 1.75;
}

.guide-figure {
  padding: 0.6rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brand-soft), var(--accent-soft));
  box-shadow: var(--shadow-sm);
}

.guide-figure img {
  border: 0;
  border-radius: calc(var(--radius) - 0.45rem);
}

.guide-figure figcaption,
.article__figure figcaption {
  padding: 0.65rem 0.25rem 0.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 761px) {
  .guide-section--with-figure {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* Legal pages keep a calm reading column instead of promotional cards. */
.page--privacy > .container:last-child,
.page--terms > .container:last-child {
  width: min(100% - 2rem, var(--reading));
}

.legal-notice {
  margin-bottom: 2.5rem;
  padding: 1rem 1.15rem;
  border: 0;
  border-inline-start: 3px solid var(--attention);
  border-radius: var(--radius-sm);
  background: #fff8e7;
  color: #68420a;
}

.legal-section {
  margin: 0;
  padding: 2.25rem 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.legal-section + .legal-section {
  margin-top: 0;
}

.legal-section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
}

.legal-section__body :where(p, li) {
  line-height: 1.75;
}

.legal-section__body > :last-child {
  margin-bottom: 0;
}

/* The no-index 404 still gives visitors useful next steps. */
.not-found {
  display: grid;
  min-height: min(40rem, calc(100svh - var(--header-h)));
  align-content: center;
  justify-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  text-align: center;
}

.not-found__code {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.not-found__body {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .page--articles > .article-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-header--reader {
    padding-block: 3rem 2rem;
    margin-bottom: 2rem;
  }

  .page-header--reader h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .page--articles > .article-cards {
    grid-template-columns: 1fr;
  }

  .article > h1 {
    margin-top: 3rem;
  }

  .helps__shot {
    max-width: 100%;
  }

  .guide-bar-wrap {
    padding-block: 0.5rem;
  }

  .guide-bar {
    gap: 0.4rem;
  }

  .guide-bar__chip {
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }

  .not-found__actions,
  .not-found__actions .btn {
    width: 100%;
  }
}

/* Screenshot links retain direct-image navigation without JavaScript. */
.screenshot-link {
  position: relative;
  display: block;
  border-radius: inherit;
  cursor: zoom-in;
}

.screenshot-link__hint {
  position: absolute;
  inset-inline-end: 0.75rem;
  inset-block-end: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.story-row--capture .screenshot-link__hint {
  position: static;
  display: flex;
  width: fit-content;
  min-height: 44px;
  margin: 0.75rem auto 0;
}

.screenshot-link:hover .screenshot-link__hint,
.screenshot-link:focus-visible .screenshot-link__hint {
  color: white;
  background: var(--brand-strong);
}

.image-viewer-open {
  overflow: hidden;
}

.image-viewer {
  width: min(58rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.image-viewer[open] {
  display: flex;
  flex-direction: column;
}

.image-viewer::backdrop {
  background: rgb(15 23 42 / 80%);
}

.image-viewer__toolbar {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.image-viewer__toolbar .btn {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms;
}

.image-viewer__toolbar [aria-pressed='true'] {
  color: var(--surface);
  background: var(--brand-strong);
}

.image-viewer__scroll {
  /* Images are not mirrored; keep horizontal panning independent of page direction. */
  direction: ltr;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--canvas);
}

.image-viewer__scroll img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.image-viewer--actual .image-viewer__scroll img {
  max-width: none;
}

.image-viewer__caption {
  flex-shrink: 0;
  margin: 0;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  vertical-align: middle;
}

/* Shared native disclosures retain usable links when JavaScript is unavailable. */
.dropdown {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.dropdown[open] {
  z-index: 35;
}

.dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

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

.dropdown > summary > .ui-icon:last-child {
  width: 1rem;
  height: 1rem;
  transition: transform 160ms ease;
}

.dropdown[open] > summary > .ui-icon:last-child {
  transform: rotate(180deg);
}

.dropdown > .dropdown__panel {
  position: absolute;
  inset-block-start: calc(100% + 0.5rem);
  inset-inline-start: 0;
  inset-inline-end: auto;
  z-index: 40;
  width: max-content;
  min-width: 100%;
  max-width: min(22rem, calc(100vw - 4rem));
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  text-align: start;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.site-header__actions .dropdown__panel {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.dropdown__panel :is(a, .platform-unavailable) {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.dropdown__panel a:hover,
.dropdown__panel a[aria-current='true'] {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.dropdown__panel .platform-unavailable {
  flex-wrap: wrap;
  color: var(--muted);
}

.platform-unavailable small {
  flex-basis: 100%;
  padding-inline-start: 1.95rem;
  font-size: 0.75rem;
  font-weight: 400;
}

.lang-picker .dropdown__panel {
  min-width: 11rem;
}

.site-drawer {
  max-height: calc(100dvh - var(--header-h) - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-drawer .dropdown[open] > .dropdown__panel {
  position: static;
  margin-block-start: 0.5rem;
  box-shadow: none;
}

.site-drawer .start-free,
.site-drawer .start-free .dropdown__panel {
  width: 100%;
}

.whatsapp-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid #c6e8dc;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f0fdf5, #e8faf6);
}

.whatsapp-showcase .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #086549;
}

.whatsapp-showcase__copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.whatsapp-showcase__copy ol {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.whatsapp-showcase__copy li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.whatsapp-showcase__copy li .ui-icon {
  align-self: flex-start;
  margin-top: 0.2rem;
  color: #086549;
}

.whatsapp-showcase__note {
  font-size: 0.9rem;
}

.whatsapp-showcase__media {
  width: min(100%, 19rem);
  margin: 0 auto;
}

.whatsapp-showcase__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid var(--surface);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.whatsapp-showcase__media figcaption {
  padding-block-start: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.hero__flow-pill .ui-icon,
.hero__flow-output .ui-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.hero__flow-pill--whatsapp {
  color: #086549;
  background: #e0f6ea;
}

.trial-panel,
.trust-panel {
  border-radius: var(--radius-lg);
}

/* Real screenshot panels remain navigable by native fragment links without JS. */
.product-preview {
  width: min(100%, 24rem);
  min-width: 0;
}

.product-preview__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-preview__steps a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.product-preview__steps a[aria-current],
.product-preview__steps a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.product-preview__steps a span {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
}

.product-preview__note {
  margin: 0.6rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.product-preview__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.product-preview__panel {
  min-width: 0;
  margin: 0;
  padding: 0.5rem;
  scroll-snap-align: start;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.product-preview__phone {
  width: min(100%, 20rem);
  margin: 0 auto;
  border: 10px solid var(--surface-strong);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-preview__phone .screenshot-link {
  border-radius: 1.35rem;
  aspect-ratio: 720 / 1564;
}

.product-preview__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.product-preview__phone .screenshot-link:focus-visible {
  outline-offset: -4px;
}

.product-preview__phone .screenshot-link__hint {
  inset-block-start: 0.6rem;
  inset-block-end: auto;
  font-size: 0.7rem;
}

.product-preview__highlight {
  position: absolute;
  inset-inline-start: 5%;
  width: 90%;
  border: 2px solid #007d70;
  border-radius: 0.5rem;
  background: rgb(15 159 143 / 5%);
  pointer-events: none;
}

.product-preview__highlight--create {
  top: 41.5%;
  height: 7%;
}
.product-preview__highlight--review {
  top: 21.5%;
  height: 10%;
}
.product-preview__highlight--share {
  top: 96%;
  height: 3.5%;
  width: 30%;
}

.product-preview__panel figcaption {
  min-height: 5.5rem;
  padding: 1rem 0.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.product-preview__panel figcaption strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1rem;
}

.product-preview--sales {
  width: min(100%, 26rem);
  padding: 0.75rem;
}

.product-preview--sales .product-preview__steps a {
  font-size: 0.8rem;
}

.sales-gallery__stage {
  display: grid;
  align-items: center;
  min-height: 0;
  aspect-ratio: 720 / 1564;
}

.sales-gallery__document {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sales-gallery__document img {
  border-radius: 0;
}

.sales-gallery__document .screenshot-link__hint {
  inset-block-start: auto;
  inset-block-end: 0.5rem;
  font-size: 0.7rem;
}

.invoice-comparison {
  margin: 2.5rem 0 4rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--canvas), var(--brand-soft));
}

.invoice-comparison figcaption h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.invoice-comparison figcaption p,
.invoice-comparison__note {
  color: var(--muted);
  line-height: 1.6;
}

.invoice-comparison__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  align-items: center;
  margin-block: 2rem;
}

.invoice-comparison__source,
.invoice-comparison__document {
  min-width: 0;
  padding: clamp(0.85rem, 2vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.invoice-comparison__source {
  transform: rotate(-1.5deg);
}
.invoice-comparison__source > .ui-icon {
  color: #086549;
}
.invoice-comparison__document {
  border-top: 4px solid var(--brand);
}
.invoice-comparison__document > p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.invoice-comparison__document .sample-customer {
  color: var(--muted);
}

.invoice-comparison table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.invoice-comparison caption {
  padding-block: 0.75rem;
  font-weight: 700;
  text-align: start;
}

.invoice-comparison th,
.invoice-comparison td {
  padding: 0.65rem 0.35rem;
  border: 1px solid var(--border);
  text-align: start;
}

.invoice-comparison thead {
  background: var(--canvas);
}
.invoice-comparison tbody th {
  font-weight: 400;
}
.invoice-comparison bdi {
  font-variant-numeric: tabular-nums;
}

.invoice-comparison__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.invoice-comparison__connector .ui-icon {
  width: 2rem;
  height: 2rem;
}
.invoice-comparison__note {
  margin-bottom: 0;
  font-size: 0.8rem;
}
.sample-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-strong);
}
.sample-heading h4 {
  margin: 0;
  font-size: 1.4rem;
}

.sample-lines {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.sample-lines li,
.sample-totals > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 0.75rem;
  font-size: 0.85rem;
}

.sample-totals {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.sample-totals dd {
  margin: 0;
}
.sample-totals > div:last-child {
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  color: var(--brand-strong);
  font-weight: 700;
}

.whatsapp-showcase__demo {
  min-width: 0;
}
.conversation-replay {
  border: 1px solid #b7ded0;
  border-radius: var(--radius);
  background: #f6fcf8;
  overflow: hidden;
}
.conversation-replay header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem;
  color: #fff;
  background: #086549;
}
.conversation-replay header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.conversation-replay__note {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.conversation-replay__controls {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 0.5rem;
  padding-inline: 1rem;
}
.conversation-replay__controls .btn {
  min-height: 3.5rem;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.3;
  cursor: pointer;
}
.conversation-replay__status {
  margin: 0;
  padding: 0.75rem 1rem;
  color: #086549;
  font-size: 0.8rem;
}
.conversation-replay__messages {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem;
  list-style: none;
}
.conversation-replay__message {
  width: 90%;
  padding: 0.85rem;
  border: 1px solid #c9dfd3;
  border-radius: 0.85rem;
  background: var(--surface);
  font-size: 0.85rem;
  line-height: 1.6;
}
.conversation-replay__message--you {
  justify-self: end;
  background: #dcf5e5;
}
.conversation-replay__message p {
  margin: 0.3rem 0 0;
}
.conversation-replay__sender {
  color: #086549;
  font-size: 0.75rem;
  font-weight: 700;
}
.conversation-replay__total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
}
.conversation-replay__file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  color: var(--brand-strong);
  overflow-wrap: anywhere;
}
.conversation-replay__message.is-pending {
  visibility: hidden;
  opacity: 0;
}
.conversation-replay .replay-pause,
.conversation-replay[data-phase="playing"] .replay-play {
  display: none;
}
.conversation-replay[data-phase="playing"] .replay-pause {
  display: inline-block;
}

.whatsapp-capture {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #b7ded0;
  border-radius: var(--radius);
  background: var(--surface);
}
.whatsapp-capture h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}
.whatsapp-capture .whatsapp-showcase__media {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
}
.whatsapp-capture .whatsapp-showcase__media img {
  border-width: 2px;
  border-radius: 0.5rem;
}
.whatsapp-capture .whatsapp-showcase__media figcaption {
  padding: 0;
  text-align: start;
}
.whatsapp-capture .screenshot-link__hint {
  inset-inline-end: 0.25rem;
  inset-block-end: 0.25rem;
  gap: 0;
  padding: 0.25rem;
  font-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .conversation-replay__message {
    transition: opacity 180ms ease;
  }
  .product-preview__panel.is-active .product-preview__highlight {
    animation: preview-highlight 240ms ease-out;
  }
  @keyframes preview-highlight {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media (max-width: 760px) {
  .invoice-comparison__flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .invoice-comparison__source {
    transform: none;
  }
  .invoice-comparison__connector {
    flex-direction: row;
    justify-content: center;
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero__actions .start-free,
  .final-cta__actions .start-free {
    width: 100%;
  }

  .whatsapp-showcase {
    grid-template-columns: 1fr;
  }

  .page--home .hero {
    padding-block-start: 2rem;
  }
}
