/* mecavo — public website. Plain CSS, no build step. Colours follow the design tokens of
   packages/design-system (brand #0B7A64); the warm tones belong to the social commitment. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --mint: #e6f6f0;
  --surface: #ffffff;
  --ink: #10161b;
  --ink-2: #44505c;
  --ink-3: #5f6b78;
  --line: #e2e8ec;
  --brand: #0b7a64;
  --brand-strong: #075e4d;
  --brand-soft: #ddf3ec;
  --on-brand: #ffffff;
  --sun: #ffb547;
  --coral: #e8573f;
  --warm-ink: #a8381f;
  --warm-soft: #fff2e8;
  --warm-badge: #ffe2d4;
  --focus: #1a73e8;
  --shadow: 0 1px 2px rgba(16, 22, 27, 0.04), 0 8px 24px rgba(16, 22, 27, 0.06);
  --shadow-lg: 0 2px 6px rgba(16, 22, 27, 0.06), 0 18px 44px rgba(16, 22, 27, 0.14);
  --radius: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --bg-soft: #12171e;
    --mint: #0f2a24;
    --surface: #161c24;
    --ink: #eef2f6;
    --ink-2: #bcc6d1;
    --ink-3: #93a0ad;
    --line: #26303b;
    --brand: #3ecfae;
    --brand-strong: #79e3ca;
    --brand-soft: #12332c;
    --on-brand: #04211b;
    --coral: #ff8a75;
    --warm-ink: #ffb199;
    --warm-soft: #251a14;
    --warm-badge: #3a2418;
    --focus: #7ab3ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 44px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body {
    font-size: 1.0625rem;
  }
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.25em;
}

.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;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(1180px, 100% - 48px);
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
  }
}

.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

/* brand at the start; then the menu, the languages and (narrow screens) the menu button */
.header-row > .brand {
  margin-inline-end: auto;
}

.header-row > .menu {
  order: 1;
}

.header-row > .lang-menu {
  order: 2;
}

.header-row > .menu-btn {
  order: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a:not(.btn) {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.menu a:not(.btn):hover {
  background: var(--bg-soft);
}

.menu a[aria-current="page"] {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.menu-cta {
  margin-inline-start: 8px;
}

.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-btn .ic {
  width: 22px;
  height: 22px;
}

@media (max-width: 879px) {
  /* without the script the menu is a row that scrolls sideways */
  .header-row {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .menu {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-row > .menu {
    order: 4;
  }

  .menu a {
    white-space: nowrap;
  }

  .js .header-row {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .js .menu-btn:not([hidden]) {
    display: inline-grid;
  }

  .js .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .js .menu.open {
    display: flex;
  }

  .js .menu a:not(.btn) {
    padding: 12px 14px;
    font-size: 1.05rem;
  }

  .js .menu-cta {
    margin: 8px 0 0;
  }
}

/* ---------- languages ---------- */

.lang-menu {
  position: relative;
}

.lang-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.lang-menu > summary::-webkit-details-marker {
  display: none;
}

.lang-menu > summary:hover,
.lang-menu[open] > summary {
  background: var(--bg-soft);
}

.lang-menu > summary .ic {
  width: 20px;
  height: 20px;
  flex: none;
}

.lang-short {
  display: none;
}

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, minmax(9.5rem, 1fr));
  gap: 2px 6px;
  width: max-content;
  max-width: min(calc(100vw - 32px), 40rem);
  max-height: min(70vh, 36rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.lang-list a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}

.lang-list a:hover {
  background: var(--bg-soft);
}

.lang-list a[aria-current="true"] {
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-weight: 700;
}

@media (max-width: 879px) {
  .lang-now {
    display: none;
  }

  .lang-short {
    display: inline;
  }

  /* on a phone the list hangs from the whole header, not from the button: it is never wider than
     the screen nor starts off its edge (in either writing direction), and the columns fit it */
  .lang-menu {
    position: static;
  }

  .lang-list {
    top: 100%;
    inset-inline: 16px;
    width: auto;
    max-width: none;
    max-height: min(70vh, calc(100dvh - 5.5rem));
    grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr));
  }

  .lang-list a {
    overflow-wrap: anywhere;
  }
}

/* ---------- writing systems ---------- */

/* an arrow points the other way in a language written from right to left */
[dir="rtl"] .ic.flip {
  transform: scaleX(-1);
}

/* the letters of these scripts join or stack: no tightened or widened spacing, and room
   for the marks above and below the line */
:is(:lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(he), :lang(hi), :lang(ne), :lang(bn), :lang(th), :lang(km), :lang(ja), :lang(zh), :lang(ko)) :is(h1, h2, h3, h4, .eyebrow, .kicker, .btn) {
  letter-spacing: normal;
}

html:is(:lang(hi), :lang(ne), :lang(bn), :lang(th), :lang(km)) body {
  line-height: 1.75;
}

html:is(:lang(ur)) body {
  font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", var(--font);
  line-height: 2;
}

html:is(:lang(ur)) :is(h1, h2, h3) {
  line-height: 1.6;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn .ic {
  width: 22px;
  height: 22px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0 22px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 22px rgba(11, 122, 100, 0.28);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-outline {
  background: var(--surface);
  color: var(--brand-strong);
  border-color: var(--brand);
}

.btn-ghost {
  color: var(--brand-strong);
  padding-inline: 10px;
}

.btn-warm {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(232, 87, 63, 0.28);
}

.btn .soon {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.btn-outline .soon {
  background: var(--brand-soft);
}

.btn.is-open .soon {
  display: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 479px) {
  .cta-row .btn-lg,
  .cta-row .btn-primary,
  .cta-row .btn-outline {
    width: 100%;
  }
}

/* ---------- hero ---------- */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 88% 18%, var(--mint), transparent 72%),
    radial-gradient(45% 50% at 0% 100%, var(--warm-soft), transparent 70%),
    var(--bg);
}

.hero {
  padding: 32px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 88px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
  }
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 750;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.kicker.warm {
  background: var(--warm-badge);
  color: var(--warm-ink);
}

h1 {
  font-size: clamp(2.15rem, 1.25rem + 3.7vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hl {
  color: var(--brand);
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.24rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.hero-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 0.95rem;
}

.hero-note .ic {
  color: var(--brand);
  margin-top: 2px;
}

.hero-art {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  width: 100%;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 62%;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  line-height: 1.25;
}

.chip strong {
  display: block;
  font-weight: 800;
}

.chip small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8rem;
}

.chip .ic {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.chip-eta {
  top: 4%;
  left: 0;
}

.chip-price {
  top: 44%;
  right: 0;
}

.chip-share {
  bottom: 3%;
  left: 4%;
}

@media (prefers-reduced-motion: no-preference) {
  .chip {
    animation: float 7s ease-in-out infinite;
  }

  .chip-price {
    animation-delay: -2.3s;
  }

  .chip-share {
    animation-delay: -4.6s;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ---------- trust strip ---------- */

.trust {
  padding: 0 0 8px;
  margin-top: -20px;
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-item > .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.trust-item.warm > .ic {
  background: var(--warm-badge);
  color: var(--warm-ink);
}

.trust-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

@media (max-width: 479px) {
  .trust-item {
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head .lead {
  margin-inline: auto;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split.reverse .split-art {
    order: 2;
  }
}

.split-art img {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.split-copy > p {
  color: var(--ink-2);
}

.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose p {
  color: var(--ink-2);
}

/* numbered steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
}

.steps strong {
  color: var(--ink);
}

/* list with check marks */
.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}

.checks strong {
  color: var(--ink);
}

.check-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.check-ic .ic {
  width: 16px;
  height: 16px;
}

/* ---------- reasons ---------- */

.group-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.group-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}

.group-nav a .ic {
  color: var(--brand);
}

.reason-groups {
  counter-reset: reason;
  display: grid;
  gap: 48px;
}

.group-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.group-head .badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--on-brand);
}

.group-head .badge .ic {
  width: 26px;
  height: 26px;
}

.reason-group.warm .group-head .badge {
  background: var(--coral);
  color: #ffffff;
}

.group-head h3 {
  margin-bottom: 4px;
}

.group-head p {
  margin: 0;
  color: var(--ink-2);
}

.reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason {
  counter-increment: reason;
  position: relative;
  display: flex;
  gap: 14px;
  padding-block: 20px;
  padding-inline: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.reason::after {
  content: counter(reason, decimal-leading-zero);
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-3);
  opacity: 0.6;
}

.ic-wrap {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.ic-wrap .ic {
  width: 24px;
  height: 24px;
}

.reason-group.warm .ic-wrap {
  background: var(--warm-badge);
  color: var(--warm-ink);
}

.reason h4 {
  margin: 2px 28px 6px 0;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.reason p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ---------- feature cards (sub-pages) ---------- */

.cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.2rem;
  margin: 14px 0 8px;
}

.card p {
  margin: 0;
  color: var(--ink-2);
}

.card p + p {
  margin-top: 0.8em;
}

.card.warm .ic-wrap {
  background: var(--warm-badge);
  color: var(--warm-ink);
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--ink);
}

.note .ic {
  color: var(--brand-strong);
  margin-top: 2px;
}

.note.warn {
  background: var(--warm-soft);
  border: 1px solid var(--warm-badge);
}

.note.warn .ic {
  color: var(--warm-ink);
}

.note p {
  margin: 0;
}

/* ---------- page hero (sub-pages) ---------- */

.page-hero {
  padding: 40px 0 48px;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 64px 0 72px;
  }
}

.page-hero .split-art img {
  max-width: 520px;
}

.crumbs {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.crumbs a {
  color: var(--ink-3);
}

/* ---------- solidarity ---------- */

.solidarity {
  background:
    radial-gradient(50% 60% at 100% 0%, var(--warm-soft), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, var(--mint), transparent 70%),
    var(--bg);
}

.cause-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 10px;
}

.cause-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 650;
}

.cause-list .ic {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--warm-badge);
  color: var(--warm-ink);
}

/* ---------- questions ---------- */

.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 20px;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

/* ---------- joining ---------- */

.join {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 70%),
    linear-gradient(160deg, #0b7a64, #075e4d);
  color: #ffffff;
}

.join .section-head h2,
.join .section-head .lead {
  color: #ffffff;
}

.join .kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.join-grid {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .join-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.join-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.join-card h3 {
  margin: 4px 0 0;
}

.join-card p {
  margin: 0;
  color: var(--ink-2);
  flex: 1;
}

.join-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.join-ic .ic {
  width: 28px;
  height: 28px;
}

.join-status {
  flex: none !important;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-3) !important;
  text-align: center;
}

.join-status.is-open {
  color: var(--brand-strong) !important;
  font-weight: 700;
}

/* ---------- the apps to download ---------- */

.dl .join-grid {
  max-width: 1040px;
}

.dl-card {
  gap: 14px;
}

.dl-os {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.dl-os h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  color: var(--ink-2);
}

.dl-os h4 .ic {
  width: 20px;
  height: 20px;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dl-row .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.dl-row .btn[hidden] {
  display: none;
}

.btn.is-soon {
  cursor: default;
  opacity: 0.62;
  box-shadow: none;
}

.btn.is-soon:hover {
  transform: none;
}

.dl-size {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
}

.dl-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 820px;
  margin: 22px auto 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.dl-note .ic {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brand-strong);
}

/* ---------- footer ---------- */

.site-footer {
  background: #0b1014;
  color: #c3ccd6;
  padding: 56px 0 calc(76px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}

.site-footer .brand {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 38ch;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-block-start: 14px;
  font-style: normal;
}

.footer-contact a {
  color: #e6ebf0;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-brand .by {
  color: #8f9ba7;
  font-size: 0.88rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f9ba7;
  margin: 0 0 4px;
}

.footer-col a {
  color: #e6ebf0;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222b34;
  color: #8f9ba7;
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-baja {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  inset-inline-end: calc(12px + env(safe-area-inset-right, 0px));
  inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 48px;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-lg);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

[dir="rtl"] .floating-whatsapp {
  inset-inline-end: calc(12px + env(safe-area-inset-left, 0px));
}

.floating-whatsapp:hover {
  background: var(--brand-strong);
}

.floating-whatsapp:focus-visible {
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-row,
  .join {
    display: none;
  }
}
