/* DunyaPause marketing site — brand-aligned, mobile-first */

:root {
  --green: #215843;
  --green-deep: #163c2e;
  --green-soft: #2d6b52;
  --sage: #6e8e80;
  --ivory: #fbf8f2;
  --ivory-deep: #f3efe6;
  --sand: #d0b277;
  --sand-soft: rgba(208, 178, 119, 0.22);
  --text: #1c1e1d;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: rgba(33, 88, 67, 0.12);
  --shadow-soft: 0 18px 48px rgba(28, 30, 29, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max: 1120px;
  --header-h: 68px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--sand-soft), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(110, 142, 128, 0.12), transparent 50%),
    var(--ivory);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-deep);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

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

.section {
  padding: 3.25rem 0;
}

.section--tight,
.section--compact {
  padding: 2.5rem 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid var(--border);
}

@media (min-width: 900px) {
  .section {
    padding: 4.25rem 0;
  }

  .section--tight,
  .section--compact {
    padding: 3.25rem 0;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--green);
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

.section--compact .section-head {
  margin-bottom: 1.25rem;
}

.pricing-promise {
  margin-top: 0.85rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(251, 248, 242, 0.94);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green);
}

.brand:hover {
  color: var(--green-deep);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(28, 30, 29, 0.08);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--green);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-panel {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--green);
}

/* Higher specificity so mobile can hide the desktop CTA */
.app-store-badge.nav-cta {
  display: none;
}

@media (max-width: 879px) {
  .nav-panel {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 1rem 1rem 1.25rem;
    background: rgba(251, 248, 242, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-panel .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-panel .nav-links a {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
  }

  .nav-panel .nav-links a:hover {
    background: rgba(33, 88, 67, 0.06);
  }

  .nav-panel .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .nav-panel .app-store-badge {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: contents;
  }

  .nav-mobile-cta {
    display: none;
  }

  .btn.nav-cta {
    display: none;
  }

  .app-store-badge.nav-cta {
    display: inline-flex;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--green);
  border-color: rgba(33, 88, 67, 0.28);
}

.btn--secondary:hover {
  background: rgba(33, 88, 67, 0.06);
  color: var(--green-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--green-deep);
}

.btn--block {
  width: 100%;
}

.btn.is-placeholder {
  opacity: 0.92;
}

/* Official App Store badge (Apple Marketing Resources) */

.app-store-badge {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.app-store-badge:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 40px;
}

.app-store-badge--nav img {
  height: 36px;
}

.app-store-badge--block {
  display: flex;
  justify-content: center;
  margin-top: 0.35rem;
}

.app-store-badge.is-placeholder {
  opacity: 0.65;
  pointer-events: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 479px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.trust-line svg {
  flex-shrink: 0;
  color: var(--sage);
}

.meta-note {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Hero — landscape product composition (1536×1024) */

.hero {
  padding: 1.35rem 0 0;
  overflow: clip;
}

.hero-intro {
  text-align: center;
  width: min(100% - 2rem, 38rem);
  margin-inline: auto;
  padding-bottom: 1.35rem;
}

.hero-intro .eyebrow {
  margin-bottom: 0.55rem;
}

.hero-intro h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 6.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--green);
}

.hero-body {
  margin: 0 auto 1.15rem;
  max-width: 30rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-intro .cta-row {
  justify-content: center;
}

.hero-intro .meta-note {
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.hero-intro .trust-line {
  justify-content: center;
  text-align: center;
  max-width: 26rem;
  margin: 0.85rem auto 0;
  font-size: 0.84rem;
}

.hero-stage {
  position: relative;
  width: 100%;
  padding: 0 0 0.25rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(243, 239, 230, 0.35) 55%,
    rgba(243, 239, 230, 0.85) 100%
  );
}

.hero-stage-inner {
  width: min(100% - 1rem, 1080px);
  margin-inline: auto;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px 16px 0 0;
  /* Keep full 3-phone composition visible — never crop side screens */
  background: transparent;
  filter: drop-shadow(0 16px 36px rgba(28, 30, 29, 0.1));
}

@media (min-width: 640px) {
  .hero {
    padding-top: 1.75rem;
  }

  .hero-intro {
    padding-bottom: 1.6rem;
  }

  .hero-stage-inner {
    width: min(100% - 1.5rem, 1120px);
  }

  .hero-image {
    border-radius: 20px 20px 0 0;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 2.25rem;
  }

  .hero-intro {
    width: min(100% - 2rem, 42rem);
    padding-bottom: 1.85rem;
  }

  .hero-intro h1 {
    font-size: clamp(2.55rem, 3.6vw, 3.25rem);
  }

  .hero-body {
    font-size: 1.08rem;
    max-width: 32rem;
  }

  .hero-stage-inner {
    width: min(100% - 2rem, 1180px);
  }

  .hero-image {
    border-radius: 24px 24px 0 0;
    /* Cap height so the product art doesn't consume two full scrolls */
    max-height: min(560px, 58vh);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 479px) {
  .hero-intro .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-intro .cta-row .btn {
    width: 100%;
  }

  .hero-intro .cta-row .app-store-badge {
    align-self: center;
  }

  .hero-stage-inner {
    width: 100%;
  }

  .hero-image {
    border-radius: 14px 14px 0 0;
  }
}

/* How it works */

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps--solo {
  max-width: 40rem;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--green);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.how-visual {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.how-visual img {
  width: 100%;
}

@media (min-width: 900px) {
  .how-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.75rem;
    align-items: center;
  }

  .steps:not(.steps--solo) {
    margin-bottom: 0;
  }
}

/* Privacy compact */

.privacy-compact {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
}

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

.privacy-points--tight li {
  padding: 0.85rem 1rem;
}

.privacy-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.privacy-points strong {
  display: block;
  color: var(--green);
  font-size: 0.98rem;
}

.privacy-points span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.privacy-analytics-note {
  margin: 0;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.check {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  color: var(--sage);
}

/* Screens gallery */

.screens-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screens-scroller::-webkit-scrollbar {
  height: 6px;
}

.screens-scroller::-webkit-scrollbar-thumb {
  background: rgba(33, 88, 67, 0.25);
  border-radius: 999px;
}

.screen-card {
  flex: 0 0 min(58vw, 200px);
  scroll-snap-align: start;
}

.screen-card figure {
  margin: 0;
}

.phone-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.screen-card figcaption {
  margin-top: 0.7rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .screens-scroller {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: 1.25rem;
  }

  .screen-card {
    flex: none;
  }
}

/* Try / CTA cards */

.try-grid {
  display: grid;
  gap: 1rem;
}

.platform-card {
  padding: 1.6rem 1.45rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.platform-card--primary {
  border-color: rgba(33, 88, 67, 0.28);
  box-shadow: var(--shadow-soft);
}

.platform-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--green);
}

.platform-card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

@media (min-width: 760px) {
  .try-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
  }
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
}

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

.faq-answer p {
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 2.25rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green);
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-weight: 600;
}

.footer-copy {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-availability {
  margin: 0.35rem 0 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

/* Inner pages */

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--green);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
  padding-bottom: 4rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--green);
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--green);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.support-card {
  margin: 1.5rem 0;
  padding: 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.support-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green);
}

.support-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.support-card p:last-child {
  margin-bottom: 0;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Utilities */

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.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;
}

/* Language switcher */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 2rem;
  min-height: 1.85rem;
  padding: 0 0.45rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--green);
}

.lang-switch button.is-active {
  background: var(--green);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (max-width: 879px) {
  .nav-actions .app-store-badge.nav-cta {
    display: none;
  }
}

/* Arabic / RTL */

html[lang="ar"] body {
  font-family:
    "SF Arabic",
    "Segoe UI",
    "Tahoma",
    "Arial",
    var(--font-sans);
  line-height: 1.75;
}

html[lang="ar"] .brand-name,
html[lang="ar"] .section-title,
html[lang="ar"] .hero-intro h1,
html[lang="ar"] .platform-card h3,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .faq-question {
  font-family:
    "SF Arabic",
    "Segoe UI",
    "Tahoma",
    "Arial",
    var(--font-serif);
  letter-spacing: 0;
}

html[dir="rtl"] .faq-question::after {
  transform: rotate(45deg);
}

html[dir="rtl"] .faq-item.is-open .faq-question::after {
  transform: rotate(-135deg);
}

html[dir="rtl"] .nav-toggle-bars::before,
html[dir="rtl"] .nav-toggle-bars::after {
  left: auto;
  right: 0;
}

/* Optional analytics consent */

.consent-bar {
  position: fixed;
  z-index: 80;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 32px rgba(28, 30, 29, 0.08);
}

.consent-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.consent-bar p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.consent-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
}

body.has-consent-bar {
  padding-bottom: 8.5rem;
}

/* /go/* redirect utility pages */

.go-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.go-shell {
  text-align: center;
  max-width: 22rem;
}

.go-shell img {
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(28, 30, 29, 0.08);
}

.go-shell p {
  margin: 0;
  color: var(--text-muted);
}

.go-fallback-line {
  margin-top: 0.85rem !important;
}

.go-fallback-line a {
  font-weight: 600;
}
