/* Sanadi — the launch site.
 *
 * Every colour, radius and face here is the app's, from
 * lib/core/theme/tokens.dart. Nothing invents a value. The card, the chip, the
 * match pill and the button are the same components the app draws, rebuilt in
 * CSS so the site and the first screen after install look like one product.
 *
 * The rule the app follows, and so does this: orange is the action. It fills
 * exactly one thing per view — the primary button — and otherwise appears only
 * as the wordmark's period, a soft-tinted badge, or a boost mark. Green is
 * reserved for match quality. Ink carries the voice.
 *
 * Three locales share one stylesheet. Everything directional is written with
 * logical properties (inline-start / inline-end), and the tracking variables
 * collapse to 0 in Arabic — negative letter-spacing pulls joined Arabic
 * letterforms into each other. */

/* ── Faces ────────────────────────────────────────────────────────────────
 * Self-hosted, exactly as the app bundles them (assets/google_fonts/). The
 * first visit happens on an Algerian mobile network; fonts.gstatic.com is not
 * somewhere those are guaranteed to reach. Tajawal carries Arabic because
 * Space Grotesk has no Arabic glyphs at all. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────────────────────
 * Left column is the CSS name, right is the AppColors field it mirrors. */

:root {
  --paper: #f5f2ea; /* paper  — page ground */
  --surface: #fff; /* white  — cards */
  --ink: #17140f; /* ink    — text, dark surfaces */
  --muted: #6f685c; /* muted  — secondary text */
  --faint: #9a9284; /* faint  — placeholders */
  --chip: #f0ece2; /* chipBg — neutral tag */
  --track: #e4ded2; /* track  — rules, progress */
  --line: rgba(23, 20, 15, 0.08); /* line */

  --accent: #ff4a1c; /* accent     — the action */
  --accent-soft: #fde7df; /* accentSoft — badge tint */
  --accent-ink: #ff7a56; /* accentInk  — accent on ink */

  --green: #2e7d50; /* green   — match quality */
  --green-bg: #eaf2ec;
  --violet: #5b3fd6; /* violet  — interview stage */
  --violet-bg: #ede9fb;
  --gold: #b8860b; /* gold    — deadlines */
  --gold-bg: #f7efd6;

  --display: 'Space Grotesk', 'Tajawal', ui-sans-serif, system-ui, sans-serif;
  --body: 'Manrope', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    system-ui, sans-serif;

  /* Latin tracking. Zeroed for Arabic below. */
  --tight: -0.3px;
  --tighter: -1.5px; /* the wordmark's own tracking */
  --lead: 1.5;

  --r-button: 14px;
  --r-button-lg: 16px;
  --r-card: 20px;
  --r-tile: 16px;
  --r-logo: 13px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

html[lang='ar'] {
  --display: 'Tajawal', ui-sans-serif, system-ui, sans-serif;
  --body: 'Tajawal', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --tight: 0;
  --tighter: 0;
  --lead: 1.7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: var(--lead);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Only ever hide. Never set display on the visible copy — that would fight
 * whatever layout the element's own class asked for. */
html[lang='en'] [data-lang]:not([data-lang='en']),
html[lang='fr'] [data-lang]:not([data-lang='fr']),
html[lang='ar'] [data-lang]:not([data-lang='ar']) {
  display: none !important;
}

.wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 24px;
}

.wide {
  max-width: 1000px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ── Header ─────────────────────────────────────────────────────────────── */

header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 10;
}

.navpill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(20px, 5.5vw, 80px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}

/* The wordmark is a Latin logotype: it never mirrors, in any locale — the same
 * forced-LTR rule SanadiWordmark applies in the app. */
.wordmark {
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.brand .wordmark {
  font-size: 27px;
}

/* The period is the one glyph that carries the accent: it is a shape, not a
 * label — the exception sanadi_wordmark.dart makes, kept here. */
.dot {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-app,
.langswitch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 2px solid var(--track);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: var(--tight);
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.16s var(--ease-out),
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.nav-app svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.langswitch {
  display: inline-flex;
  gap: 4px;
  background: var(--surface);
  border: 2px solid var(--track);
  border-radius: 999px;
  padding: 3px;
}

.langswitch button {
  border: 0;
  padding: 8px 13px;
  font-size: 15px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
}

.langswitch button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}

/* The ع sets in Tajawal whatever locale the page is in — Manrope has no Arabic
 * glyph, and the fallback it would otherwise pick sits off the button's
 * baseline. Arabic also needs the extra leading. */
.langswitch button[data-setlang='ar'] {
  font-family: 'Tajawal', sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
  .nav-app:hover {
    border-color: #d8d1c3;
    transform: translateY(-1px);
  }
  .langswitch button:not([aria-pressed='true']):hover {
    background: var(--chip);
    color: var(--ink);
  }
}

.nav-app:active,
.langswitch button:active {
  transform: scale(0.97);
}

@media (max-width: 780px) {
  .navpill {
    padding-top: 14px;
  }
  .brand .wordmark {
    font-size: 23px;
  }
  .nav-app {
    padding: 9px 14px;
    font-size: 14px;
  }
  .nav-app svg {
    width: 13px;
    height: 13px;
  }
  .langswitch button {
    padding: 7px 10px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .nav-app {
    display: none;
  }
}

/* ── Type ───────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -1.5px;
  line-height: 0.96;
}

html[lang='ar'] h1 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

h2 {
  font-weight: 700;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.8px;
}

html[lang='ar'] h2 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
}

h3 {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tight);
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--tight);
  max-width: 540px;
}

html[lang='ar'] .lede {
  line-height: 1.75;
}

a {
  color: var(--ink);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  padding: clamp(130px, 22svh, 180px) 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(245, 242, 234, 0) 0, var(--paper) 100%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  gap: 22px;
  justify-items: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
}

.hero-content .lede {
  max-width: 520px;
}

.title-block {
  display: grid;
  gap: 18px;
  justify-items: center;
}

/* The tally, in the slot the app's feed gives its match count. */
.tally {
  position: absolute;
  top: 30px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--tight);
  line-height: 1;
  white-space: nowrap;
}

html[dir='rtl'] .tally {
  transform: translateX(50%);
}

.tally b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* The tally shares the header's line, so it goes before it can crowd the pill
 * rather than when the viewport gets small — the two meet around 1240px. */
@media (max-width: 1240px) {
  .tally {
    display: none;
  }
}

/* ── The wordmark, writing itself ───────────────────────────────────────
 * The same three beats as AnimatedSanadiWordmark: the letters fade and lift in
 * reading order, each overlapping the last, then the period springs in. The
 * app's splash keeps the period breathing afterwards because it is standing in
 * for a spinner; nothing is loading here, so it lands and stops. */

.markbutton {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 90ms var(--ease-out);
}

.markbutton:active {
  transform: scale(0.96);
}

.markbutton .wordmark {
  font-size: clamp(52px, 7.4vw, 84px);
  color: var(--ink);
}

.markbutton .letter {
  display: inline-block;
}

.markhint {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tight);
  line-height: 1.4;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.markhint.is-in {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .markbutton:hover .markhint {
    color: var(--muted);
  }
}

/* 62% of the run belongs to the six letters, the tail to the period — the same
 * split as the Interval curves in the Dart widget. */
.markbutton.is-writing .letter {
  opacity: 0;
  animation: letter-in 420ms var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 70ms);
}

.markbutton.is-writing .dot {
  display: inline-block;
  opacity: 0;
  animation: dot-in 520ms var(--ease-out) 500ms forwards;
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(0.18em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dot-in {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  55% {
    opacity: 1;
    transform: scale(1.22);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .markbutton,
  .markhint {
    transition: none;
  }
  .markbutton.is-writing .letter,
  .markbutton.is-writing .dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .markhint {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(32px, 8.8vw, 38px);
    line-height: 1.02;
  }
  html[lang='ar'] h1 {
    line-height: 1.36;
  }
}

/* ── Buttons & the waitlist ─────────────────────────────────────────────
 * PrimaryButton: accent fill, white label, radius 14. The app sets that label
 * at 16px/800; here it is 18px/700, which clears WCAG's large-text threshold on
 * a 3.4:1 pair the app only just misses at its size. */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: var(--tight);
  line-height: 1;
  text-decoration: none;
  padding: 17px 26px;
  border: 0;
  border-radius: var(--r-button);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s var(--ease-out),
    background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    background: #ef3f12;
    transform: translateY(-1px);
  }
}

.cta:active {
  transform: scale(0.97);
}

.cta:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.cta svg {
  width: 17px;
  height: 17px;
}

.waitlist {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
}

.waitlist-row {
  display: flex;
  gap: 8px;
  width: min(470px, 100%);
}

.waitlist-row input[type='text'] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--track);
  border-radius: var(--r-button);
  padding: 16px 18px;
  outline: none;
  /* An address and a phone number both read left to right, even in Arabic —
   * the same reason the app pins its phone field. */
  direction: ltr;
  text-align: start;
  transition: border-color 0.15s ease;
}

html[dir='rtl'] .waitlist-row input[type='text'] {
  text-align: right;
}

.waitlist-row input::placeholder {
  color: var(--faint);
  opacity: 1;
}

.waitlist-row input:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.waitlist-row input:-webkit-autofill,
.waitlist-row input:-webkit-autofill:hover,
.waitlist-row input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0 1000px var(--surface);
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 600000s 0s;
}

/* Clipped where it stands rather than sent 9999px off: the row reads left to
 * right even in Arabic, so "off" was the left, and in a right-to-left page the
 * left scrolls — the invite page grew ten thousand pixels wide. */
.waitlist-row input.waitlist-trap[type='text'] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.waitlist-note {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: var(--tight);
  line-height: 1.5;
  max-width: 470px;
}

.waitlist-msg {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tight);
}

.waitlist-msg[data-tone='error'] {
  color: #d0392b; /* danger */
}

.waitlist-msg[data-tone='ok'] {
  color: var(--green);
}

.waitlist-done {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 6px 0;
}

.waitlist-done .headline {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: var(--tight);
}

.waitlist-done .sub {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 540px) {
  .waitlist-row {
    flex-direction: column;
  }
  .waitlist-row input[type='text'],
  .waitlist .cta {
    width: 100%;
  }
}

/* ── The two sides ──────────────────────────────────────────────────────
 * One card each. The app is two apps behind one sign-in, and the site should
 * not pretend otherwise. */

.sides {
  padding: 84px clamp(24px, 5.5vw, 80px) 20px;
  display: grid;
  gap: 40px;
  justify-items: center;
}

.sides-head {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.sides-head h2 {
  max-width: 20ch;
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  width: 100%;
}

@media (max-width: 820px) {
  .side-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.side {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  text-align: start;
}

.side.dark {
  background: var(--ink);
  color: var(--paper);
}

.side-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.side.dark .side-eyebrow {
  color: var(--accent-ink);
}

.side-eyebrow svg {
  width: 15px;
  height: 15px;
}

.side h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

html[lang='ar'] .side h3 {
  letter-spacing: 0;
  line-height: 1.5;
}

.side ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 2px;
}

.side li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--muted);
  letter-spacing: var(--tight);
  line-height: 1.45;
}

.side.dark li {
  color: rgba(245, 242, 234, 0.66);
}

.side li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--green);
}

.side.dark li svg {
  color: var(--accent-ink);
}

.side-foot {
  margin-top: 4px;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: var(--tight);
}

.side.dark .side-foot {
  color: rgba(245, 242, 234, 0.5);
}

/* ── The 58 ─────────────────────────────────────────────────────────────
 * The wilaya list, moving. Built by site.js from the same list
 * lib/core/constants/wilayas.dart holds, so the site and the app can never
 * disagree about the map. */

/* site.js fills it; without scripting it would be two hairlines around nothing,
 * so it only exists once the script that populates it has run. */
.ticker {
  display: none;
}

.js .ticker {
  display: block;
  margin-top: 64px;
  padding: 20px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 110s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline-end: 18px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: var(--tight);
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

@media (max-width: 640px) {
  /* Matches `.js .ticker`'s specificity, or the padding above would win. */
  .js .ticker {
    padding: 16px 0;
  }
  .ticker-item {
    font-size: 15px;
    gap: 14px;
    padding-inline-end: 14px;
  }
}

/* ── Reveal on scroll ───────────────────────────────────────────────────
 * Gated on .js so a page without scripting shows everything rather than
 * nothing, which is the failure mode of every scroll-reveal that forgets. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Split: copy + the app's own card ───────────────────────────────────── */

.split {
  margin: 88px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.split-copy {
  display: grid;
  gap: 16px;
}

.split-copy p {
  color: var(--muted);
  font-size: 17px;
  letter-spacing: var(--tight);
  max-width: 46ch;
}

.split-copy .fine {
  font-size: 15px;
}

/* The job card, component for component: surface, radius 20, 16px padding,
 * hairline shadow; a promoted pill in accentSoft; logo tile, title, tags; then
 * a hairline and the pay / match row with the match in greenBg. */
.jobcard {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: grid;
  gap: 13px;
  justify-items: start;
  text-align: start;
}

.jobcard-promoted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.jobcard-promoted svg {
  width: 12px;
  height: 12px;
}

.jobcard-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.logotile {
  width: 46px;
  height: 46px;
  border-radius: var(--r-logo);
  background: var(--violet-bg);
  color: var(--violet);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  flex: none;
}

.jobcard-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: var(--ink);
}

.jobcard-sub {
  font-size: 13px;
  color: rgba(23, 20, 15, 0.6);
  line-height: 1.4;
}

.jobcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tight);
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  line-height: 1;
}

.tag.violet {
  background: var(--violet-bg);
  color: var(--violet);
}

.tag.gold {
  background: var(--gold-bg);
  color: var(--gold);
}

.jobcard-rule {
  width: 100%;
  height: 1px;
  background: rgba(23, 20, 15, 0.1);
}

.jobcard-foot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobcard-pay {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: var(--tight);
  font-variant-numeric: tabular-nums;
}

/* Green is match quality and nothing else — the app's one non-brand signal. */
.matchpill {
  background: var(--green-bg);
  color: var(--green);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* The pipeline, as the app's ApplicationStepper draws it. */
.pipeline {
  margin-top: 14px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 18px 16px 16px;
}

.pipeline-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.steps {
  display: flex;
  align-items: flex-start;
  list-style: none;
}

.step {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  position: relative;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: var(--tight);
  color: var(--faint);
  text-align: center;
}

.step .bead {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--track);
  position: relative;
  z-index: 1;
}

.step.done {
  color: var(--ink);
}

.step.done .bead {
  background: var(--accent);
}

/* The rail runs behind the beads, from each step to the next. */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 6px;
  height: 2px;
  inset-inline-start: 50%;
  width: 100%;
  background: var(--track);
}

.step.done:not(:last-child)::after {
  background: var(--accent);
}

/* ── The rest of the app ────────────────────────────────────────────────
 * Six tiles, each a glyph on a chip, a name and a sentence. Ink glyphs:
 * nothing here is the action. */

.features {
  margin: 96px auto 0;
  display: grid;
  gap: 28px;
  justify-items: center;
}

.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: start;
  min-width: 0;
}

.feature-glyph {
  width: 40px;
  height: 40px;
  border-radius: var(--r-logo);
  background: var(--chip);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.feature-glyph svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 17px;
  line-height: 1.3;
}

html[lang='ar'] .feature h3 {
  line-height: 1.5;
}

.feature p {
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: var(--tight);
  line-height: 1.5;
}

/* ── Trust & safety ─────────────────────────────────────────────────────── */

.trust {
  align-items: start;
}

.trust .fine a {
  font-weight: 700;
}

/* ── Plans ──────────────────────────────────────────────────────────────── */

.plans {
  margin: 96px auto 0;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.plans-head {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

/* Two plans, one per side of the marketplace: Pro for the student, Boost for
 * the company. Narrower than the sections above so a pair doesn't stretch. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 720px;
}

@media (max-width: 820px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.plan {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: start;
}

.plan.featured {
  background: var(--ink);
  color: var(--paper);
}

.plan-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tight);
}

.plan-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

html[lang='ar'] .plan-price {
  letter-spacing: 0;
}

.plan-price em {
  font-style: normal;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan.featured .plan-price em {
  color: rgba(245, 242, 234, 0.6);
}

.plan-for {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: var(--tight);
  line-height: 1.5;
}

.plan.featured .plan-for {
  color: rgba(245, 242, 234, 0.66);
}

.plan-free {
  color: var(--green);
  font-weight: 700;
  font-size: 13.5px;
}

/* ── Strip ──────────────────────────────────────────────────────────────── */

.strip {
  margin: 96px auto 0;
  background: var(--accent-soft);
  border-radius: var(--r-card);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.strip-glyph {
  flex: none;
  line-height: 0;
}

.strip-glyph svg {
  width: 38px;
  height: 38px;
  color: var(--accent);
  display: block;
}

.strip p {
  color: #6b4436;
  font-size: 16px;
  letter-spacing: var(--tight);
}

.strip strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 560px) {
  .strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer {
  margin-top: 110px;
  padding: 0 0 56px;
  color: var(--muted);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}

.foot-brand {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}

.foot-brand .wordmark {
  font-size: 19px;
  color: var(--ink);
}

.foot-brand span {
  font-size: 13px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: var(--ink);
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot-note {
  font-size: 13px;
}

/* The staff sign-in: there, but not asking to be clicked. */
footer a.foot-team {
  font-weight: 500;
  font-size: 13px;
}

/* ── Documents: privacy, terms, invite, 404 ─────────────────────────────── */

.doc {
  padding: 130px 0 0;
}

.doc h1 {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.1;
}

html[lang='ar'] .doc h1 {
  line-height: 1.4;
}

.doc .updated {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}

.doc .intro {
  margin-top: 24px;
}

.doc h2 {
  font-size: 21px;
  letter-spacing: var(--tight);
  margin: 40px 0 10px;
}

.doc p,
.doc li {
  color: #3d382f;
  font-size: 16px;
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
}

.doc ul + p {
  margin-top: 12px;
}

.doc a {
  overflow-wrap: anywhere;
}

.doc .draft {
  margin-top: 24px;
  padding: 14px 18px;
  border-inline-start: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--r-tile) var(--r-tile) 0;
  font-size: 14.5px;
  color: #6b4436;
}

html[dir='rtl'] .doc .draft {
  border-radius: var(--r-tile) 0 0 var(--r-tile);
}

.doc .fine-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.doc .backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.doc .backlink:hover {
  text-decoration: underline;
}

html[dir='rtl'] .doc .backlink svg {
  transform: scaleX(-1);
}

/* A landing that is one message and one action: the invite link and the 404
 * the app's shared job links fall back to. */
.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 60px;
  text-align: center;
}

.landing-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  max-width: 520px;
}

.landing .wordmark {
  font-size: 44px;
}

.landing h1 {
  font-size: clamp(28px, 5.4vw, 40px);
}

.landing .code {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  background: var(--chip);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  direction: ltr;
  unicode-bidi: isolate;
}

.landing .lede {
  max-width: 460px;
}

/* ── Skip link ──────────────────────────────────────────────────────────── */

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--r-button);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus-visible {
  top: 12px;
}

/* ── Team (staff only) ──────────────────────────────────────────────────
 * A sign-in, then two lists of cards. The sign-in button is the page's one
 * orange: once signed in, a download is ink, because a page of five orange
 * buttons has no action at all. */

/* The views below set their own display, which would otherwise beat the
 * `hidden` attribute team.js toggles them with. */
.team [hidden] {
  display: none !important;
}

.team {
  padding-top: 130px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.team-head {
  display: grid;
  gap: 10px;
}

.team-head h1 {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.1;
}

html[lang='ar'] .team-head h1 {
  line-height: 1.4;
}

.team-status {
  min-height: 1.5em;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: var(--tight);
}

.team-status[data-tone='error'] {
  color: #b3261e; /* danger, darkened to clear 4.5:1 on paper */
}

.team-boot {
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.team-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid var(--track);
  border-top-color: var(--ink);
  animation: team-spin 0.8s linear infinite;
}

@keyframes team-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-spinner {
    animation-duration: 2.4s;
  }
}

.team-signin {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
  max-width: 460px;
  width: 100%;
  display: grid;
  gap: 16px;
}

.team-signin h2 {
  font-size: 21px;
}

.team-signin form {
  display: grid;
  gap: 14px;
}

.team-field {
  display: grid;
  gap: 6px;
}

.team-field label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tight);
}

.team-field input {
  width: 100%;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--track);
  border-radius: var(--r-button);
  padding: 14px 16px;
  /* An address and a password read left to right in every locale. */
  direction: ltr;
  text-align: start;
}

html[dir='rtl'] .team-field input {
  text-align: right;
}

.team-field input:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.team-signin .cta {
  width: 100%;
  white-space: normal;
}

.team-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding-block: 12px;
  padding-inline: 18px 12px;
  font-size: 15px;
  color: var(--muted);
}

.team-bar p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-who {
  color: var(--ink);
  font-weight: 700;
}

.team-updated {
  font-size: 14px;
  color: var(--muted);
}

.team-updated:empty {
  display: none;
}

.team-empty {
  background: var(--accent-soft);
  color: #6b4436;
  border-radius: var(--r-card);
  padding: 18px 20px;
  font-size: 16px;
}

.team-section {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.team-section h2 {
  font-size: 22px;
}

.team-section-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: -4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 14px;
}

.team-card,
.team-account {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.team-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.team-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--r-logo);
  background: var(--chip);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.team-icon svg {
  width: 24px;
  height: 24px;
}

.team-card-titles {
  min-width: 0;
}

.team-card h3,
.team-account h3 {
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.team-card-sub {
  font-size: 13.5px;
  color: var(--muted);
}

.team-card-notes,
.team-notes {
  font-size: 14.5px;
  color: #3d382f;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.team-notes {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  font-size: 15.5px;
}

.team-none {
  font-size: 14px;
  color: var(--muted);
}

/* Ink, not orange: see the note at the top of this block. */
.team-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: var(--tight);
  line-height: 1;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: var(--r-button);
  justify-self: start;
  transition: transform 0.16s var(--ease-out);
}

.team-download svg {
  width: 17px;
  height: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .team-download:hover {
    transform: translateY(-1px);
  }
}

.team-steps {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 14px;
  color: #3d382f;
}

.team-steps summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 4px 0;
}

.team-steps ol {
  margin-top: 8px;
  padding-inline-start: 20px;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}

.team-account-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.team-creds {
  display: grid;
  gap: 10px;
}

.team-cred {
  display: grid;
  gap: 4px;
}

.team-cred dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang='ar'] .team-cred dt {
  letter-spacing: 0;
}

.team-cred dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.team-secret {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--chip);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 9px;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1 1 140px;
}

.team-mini {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tight);
  line-height: 1;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--track);
  border-radius: 999px;
  padding: 9px 13px;
  min-height: 36px;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .team-mini:hover {
    border-color: #d8d1c3;
    background: var(--chip);
  }
}

.team-mini:disabled {
  opacity: 0.5;
  cursor: default;
}

@media (max-width: 480px) {
  .team {
    padding-top: 110px;
  }
  .team-signin,
  .team-card,
  .team-account {
    padding: 16px;
  }
}

/* The line under the pricing lede that says nothing is on sale yet. Quieter
   than the lede it follows: it is a caveat, not a headline. */
.plans-note {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ══ The launch page, September 2026 ═══════════════════════════════════════
 * The app is on the App Store, so the page stops saying "coming soon" and
 * starts showing it: the app in the hero, its screens, the store badge, and
 * the Android list for the half of the country still waiting. Everything
 * below builds on the tokens above; nothing adds a colour. */

[id] {
  scroll-margin-top: 88px;
}

/* ── Top bar ─────────────────────────────────────────────────────────────
 * In the flow and sticky: a bar that floats over the hero hides the hero's
 * first line on a short phone. */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(245, 242, 234, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(16px, 5vw, 72px);
}

.topnav {
  display: flex;
  gap: 2px;
  margin-inline-start: 20px;
}

.topnav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: var(--tight);
  text-decoration: none;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.topnav a:hover {
  color: var(--ink);
  background: rgba(23, 20, 15, 0.05);
}

.topbar-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .langswitch button {
  padding: 10px 14px;
  font-size: 14px;
}

.cta-small {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .topnav {
    display: none;
  }
}

@media (max-width: 460px) {
  .topbar .langswitch button {
    padding: 9px 11px;
  }
  .cta-small {
    padding: 11px 13px;
    font-size: 14px;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero2 {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vh, 56px) clamp(16px, 5vw, 72px) clamp(40px, 7vh, 80px);
  min-height: min(calc(100svh - 72px), 900px);
  display: flex;
  align-items: center;
}

/* The page's paper again at the bottom, so the wall ends softly. */
.hero2::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(245, 242, 234, 0), var(--paper));
  pointer-events: none;
  z-index: 1;
}

/* Nothing between the hero and its wall is positioned on a wide screen, so
 * the wall (inside .hero2-visual) spreads over the whole hero; the words and
 * the phone stand on it, and the paper fade above it, by their own z-index. */
.hero2-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
}

.hero2-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  justify-items: start;
  text-align: start;
}

.hero2 .markbutton {
  justify-items: start;
  gap: 6px;
}

.hero2 .markbutton .wordmark {
  font-size: clamp(40px, 4.6vw, 60px);
}

.hero2 h1 {
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 0.95;
  letter-spacing: -2.2px;
}

html[lang='ar'] .hero2 h1 {
  letter-spacing: 0;
  line-height: 1.3;
}

/* The accent is the action's, so the headline's stress is the badge tint
 * laid under the words, not orange ink. */
.hero2 h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--accent-soft) 58%, var(--accent-soft) 92%, transparent 92%);
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero2 .lede {
  max-width: 540px;
  font-size: clamp(16px, 1.35vw, 19px);
}

.livepill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--tight);
  color: var(--ink);
  text-decoration: none;
}

html[dir='rtl'] .livepill {
  padding: 8px 11px 8px 15px;
}

.livepill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: live 2.4s ease-out infinite;
}

@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 80, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(46, 125, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 80, 0);
  }
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Apple's artwork as Apple draws it: never recoloured, never under 40px. */
.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  transition: transform 0.16s var(--ease-out);
}

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

@media (hover: hover) and (pointer: fine) {
  .store-badge:hover {
    transform: translateY(-1px);
  }
}

.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(23, 20, 15, 0.2);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

html[dir='rtl'] .store-soon {
  padding: 0 14px 0 18px;
}

.store-soon:hover {
  border-color: rgba(23, 20, 15, 0.45);
}

.store-soon svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--muted);
}

.store-soon-text {
  display: grid;
  line-height: 1.1;
  text-align: start;
}

.store-soon-text small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.store-soon-text b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-facts li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex: none;
}

@media (max-width: 560px) {
  .hero-facts {
    gap: 8px 18px;
  }
  .hero-facts li + li::before {
    display: none;
  }
}

.hero-facts b {
  color: var(--ink);
}

/* The three languages each set in their own face and direction. */
.hero-langs {
  font-family: 'Tajawal', var(--body);
}

.hero-langs[lang='fr'],
.hero-langs[lang='en'] {
  font-family: 'Manrope', var(--body);
}

.hero2-visual {
  justify-self: center;
  width: 100%;
  max-width: 600px;
}

.hero2-stage {
  position: relative;
  z-index: 2;
}

.hero2-disc {
  position: absolute;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  inset-inline-end: 2%;
  bottom: 4%;
}

.hero2-phone {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 50px rgba(23, 20, 15, 0.16));
}

/* One column: the words above, the phone below. The wall hangs off the
 * phone now, so it starts where the words stop in every language. */
@media (max-width: 960px) {
  .hero2-inner {
    grid-template-columns: 1fr;
  }
  .hero2-visual {
    position: relative;
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .hero2 h1 {
    letter-spacing: -1.4px;
  }
  .store-badge img,
  .store-soon {
    height: 50px;
  }
}

/* ── The wall ──────────────────────────────────────────────────────────
 * The welcome screen's backdrop, as the app draws it: rows of invented
 * listings — the kind of work in its colour, then field and place — tilted a
 * little and drifting, alternate rows the other way. Faded where the words
 * are, so it is texture there and picture behind the phone. */

.wall {
  position: absolute;
  inset: -12% -20%;
  z-index: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  transform: rotate(-6deg);
  pointer-events: none;
  opacity: 0.6;
  /* The wall is 140% of the hero wide, so hero x sits at (x + 20) / 140 of
   * it: the words end near 46%, the phone starts near 56%. */
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 44%, #000 60%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 44%, #000 60%);
}

html[dir='rtl'] .wall {
  transform: rotate(6deg);
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.08) 44%, #000 60%);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.08) 44%, #000 60%);
}

.wall-row {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: wall-drift var(--speed, 80s) linear infinite;
}

.wall-row.back {
  animation-direction: reverse;
}

@keyframes wall-drift {
  to {
    transform: translateX(-50%);
  }
}

html[dir='rtl'] .wall-row {
  animation-name: wall-drift-rtl;
}

@keyframes wall-drift-rtl {
  to {
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall-row {
    animation: none;
  }
  .livepill-dot {
    animation: none;
  }
}

.wchip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(23, 20, 15, 0.06);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

html[dir='rtl'] .wchip {
  padding: 6px 6px 6px 15px;
}

.wchip b {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.wchip.k0 b { color: var(--accent); background: var(--accent-soft); }
.wchip.k1 b { color: var(--green); background: var(--green-bg); }
.wchip.k2 b { color: var(--violet); background: var(--violet-bg); }
.wchip.k3 b { color: var(--gold); background: var(--gold-bg); }
.wchip.k4 b { color: var(--ink); background: var(--chip); }

@media (max-width: 960px) {
  .wall,
  html[dir='rtl'] .wall {
    inset: -6% -70% -14%;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 2%, #000 26%);
  }
  .wall {
    transform: rotate(-4deg);
  }
  html[dir='rtl'] .wall {
    transform: rotate(4deg);
  }
}

/* ── The screens ─────────────────────────────────────────────────────── */

.gallery {
  margin-top: 96px;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.gallery-nav {
  display: flex;
  gap: 8px;
  flex: none;
}

.roundbtn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--track);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.roundbtn:hover {
  border-color: rgba(23, 20, 15, 0.35);
}

.roundbtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.roundbtn svg {
  width: 20px;
  height: 20px;
}

html[dir='rtl'] .roundbtn svg {
  transform: scaleX(-1);
}

.gallery-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1000px) / 2));
  padding: 26px max(24px, calc((100vw - 1000px) / 2)) 34px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track:focus-visible {
  outline-offset: -4px;
}

.shot {
  flex: none;
  width: clamp(220px, 23vw, 290px);
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 22px 44px -22px rgba(23, 20, 15, 0.5);
}

.shot-wide {
  width: clamp(440px, 46vw, 580px);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1304;
}

.shot-wide img {
  aspect-ratio: 1200 / 1304;
}

@media (max-width: 560px) {
  .shot {
    width: 64vw;
  }
  .shot-wide {
    width: 88vw;
  }
}

/* ── Takwin ──────────────────────────────────────────────────────────── */

.takwin {
  margin: 110px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: center;
}

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

.takwin-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.takwin h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1px;
  line-height: 1.05;
}

html[lang='ar'] .takwin h2 {
  letter-spacing: 0;
  line-height: 1.4;
}

.eyebrow-soft {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-bg);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

html[lang='ar'] .eyebrow-soft {
  letter-spacing: 0;
}

.eyebrow-green {
  background: var(--green-bg);
  color: var(--green);
}

.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: var(--tight);
}

.ticks li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--green);
}

.ticks b {
  color: var(--ink);
}

.trades {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trades li {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.trades li.trades-more {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.contract {
  background: var(--surface);
  border-radius: 26px;
  box-shadow:
    0 40px 70px -40px rgba(23, 20, 15, 0.45),
    var(--shadow-card);
  padding: 24px;
  display: grid;
  gap: 18px;
  transform: rotate(-1.5deg);
}

html[dir='rtl'] .contract {
  transform: rotate(1.5deg);
}

.contract-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logotile-steel {
  background: #e6ebee;
  color: #37474f;
}

.contract-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
}

.contract-sub {
  color: var(--muted);
  font-size: 14px;
}

.contract-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contract-facts div {
  background: var(--paper);
  border-radius: 14px;
  padding: 12px;
  min-width: 0;
}

.contract-facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--faint);
}

html[lang='ar'] .contract-facts dt {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.contract-facts dd {
  margin-top: 3px;
  font-weight: 700;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contract-steps {
  list-style: none;
  display: grid;
}

.contract-steps li {
  position: relative;
  padding-block: 7px;
  padding-inline-start: 32px;
  font-weight: 600;
  font-size: 15px;
  color: var(--faint);
}

.contract-steps li::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset-inline-start: 5px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--track);
  box-shadow: 0 0 0 4px var(--surface);
}

.contract-steps li::after {
  content: '';
  position: absolute;
  inset-inline-start: 11px;
  top: 26px;
  bottom: -12px;
  width: 2px;
  background: var(--track);
}

.contract-steps li:last-child::after {
  display: none;
}

.contract-steps li.done {
  color: var(--ink);
}

.contract-steps li.done::before,
.contract-steps li.done::after {
  background: var(--green);
}

.contract-steps li.now {
  color: var(--ink);
  font-weight: 800;
}

.contract-steps li.now::before {
  background: var(--gold);
  box-shadow:
    0 0 0 4px var(--surface),
    0 0 0 7px var(--gold-bg);
}

.contract-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ── New in 1.1 ──────────────────────────────────────────────────────── */

.fresh {
  margin: 110px auto 0;
  display: grid;
  gap: 28px;
  justify-items: center;
}

.fresh .plans-head {
  justify-items: center;
}

.fresh-grid {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.fresh-card {
  grid-column: span 2;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: start;
  min-width: 0;
}

.fresh-wide {
  grid-column: span 3;
}

@media (max-width: 880px) {
  .fresh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fresh-card {
    grid-column: span 1;
  }
  .fresh-wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .fresh-grid {
    grid-template-columns: 1fr;
  }
  .fresh-card,
  .fresh-wide {
    grid-column: auto;
  }
}

.fresh-card h3 {
  font-size: 17px;
  line-height: 1.3;
}

html[lang='ar'] .fresh-card h3 {
  line-height: 1.5;
}

.fresh-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: var(--tight);
}

.fresh-glyph {
  width: 40px;
  height: 40px;
  border-radius: var(--r-logo);
  background: var(--green-bg);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.fresh-glyph svg {
  width: 21px;
  height: 21px;
}

.fresh-visual {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 6px;
}

.pulse,
.paymeter {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}

.pulse-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: var(--faint);
}

html[lang='ar'] .pulse-eyebrow {
  letter-spacing: 0;
  font-size: 12px;
}

.pulse-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.4px;
}

.kindbar {
  display: flex;
  gap: 2px;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
}

.kindbar i {
  display: block;
  height: 100%;
}

.pulse-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pulse-stats b {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 12.5px;
  font-weight: 700;
}

.pulse-stats b.hot {
  background: var(--accent-soft);
  color: var(--accent);
}

.paymeter-verdict {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.meter {
  position: relative;
  display: block;
  height: 18px;
}

.meter i {
  position: absolute;
  display: block;
}

.meter .track {
  inset-inline: 0;
  top: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(23, 20, 15, 0.1);
}

.meter .pdot {
  top: 5.5px;
  width: 7px;
  height: 7px;
  margin-inline-start: -3.5px;
  border-radius: 50%;
  background: rgba(23, 20, 15, 0.32);
  inset-inline-start: calc(5px + (100% - 10px) * var(--t));
}

.meter .tick {
  top: 0;
  width: 2px;
  height: 18px;
  margin-inline-start: -1px;
  border-radius: 1px;
  background: rgba(23, 20, 15, 0.65);
  inset-inline-start: calc(5px + (100% - 10px) * var(--t));
}

.meter .own {
  top: 4px;
  height: 10px;
  border-radius: 5px;
  background: var(--accent);
  inset-inline-start: calc(5px + (100% - 10px) * var(--t));
  width: calc((100% - 10px) * var(--w));
}

.paymeter-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--faint);
}

/* ── Questions ───────────────────────────────────────────────────────── */

.faq {
  margin: 110px auto 0;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.faq-list {
  width: 100%;
  max-width: 820px;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 0 20px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tight);
  line-height: 1.35;
}

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

.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--chip);
  display: grid;
  place-items: center;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: var(--tight);
}

.faq details a {
  font-weight: 700;
}

/* ── Download ───────────────────────────────────────────────────────── */

.download {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 8vw, 88px) 0;
}

/* The logo's period as a planet, as the store frames draw it. */
.download::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  inset-inline-end: -140px;
  bottom: -300px;
  background: radial-gradient(circle at 38% 32%, #ff7a4d, #ff4a1c 55%, #c9340c);
  opacity: 0.9;
}

.download::after {
  content: '';
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  inset-inline-end: -290px;
  bottom: -450px;
  border: 1.5px dashed rgba(245, 242, 234, 0.16);
}

@media (max-width: 1180px) {
  .download {
    padding-bottom: 170px;
  }
  .download::before {
    width: 300px;
    height: 300px;
    bottom: -196px;
    inset-inline-end: 8%;
  }
  .download::after {
    width: 560px;
    height: 560px;
    bottom: -326px;
    inset-inline-end: calc(8% - 130px);
  }
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 44px;
  align-items: center;
}

.download-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.download h2 {
  color: var(--paper);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -1.8px;
}

html[lang='ar'] .download h2 {
  letter-spacing: 0;
  line-height: 1.35;
}

.download .lede {
  color: rgba(245, 242, 234, 0.72);
}

.store-badge-lg img {
  height: 60px;
}

.qr-card {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 16px 16px 14px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  transform: rotate(2deg);
}

.qr-card img {
  display: block;
  width: 148px;
  height: 148px;
}

/* A code to scan with the phone it is already on is no use. */
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .qr-card {
    display: none;
  }
  .download-inner {
    grid-template-columns: 1fr;
  }
}

.download .waitlist.android {
  grid-column: 1 / -1;
  justify-items: start;
  max-width: 720px;
  background: rgba(245, 242, 234, 0.06);
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: 20px;
  padding: 20px;
}

.android-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tight);
}

.android-title svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent-ink);
}

.download .waitlist-row input[type='text'] {
  background: rgba(245, 242, 234, 0.08);
  border-color: rgba(245, 242, 234, 0.18);
  color: var(--paper);
}

.download .waitlist-row input:focus-visible {
  border-color: var(--paper);
}

.download .waitlist-row input::placeholder {
  color: rgba(245, 242, 234, 0.45);
}

.download .waitlist-row input:-webkit-autofill,
.download .waitlist-row input:-webkit-autofill:hover,
.download .waitlist-row input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0 1000px #2a261f;
  -webkit-text-fill-color: var(--paper);
  caret-color: var(--paper);
}

.download .waitlist-note {
  color: rgba(245, 242, 234, 0.55);
}

.download .waitlist-note a {
  color: var(--paper);
}

.download .waitlist-done {
  justify-items: start;
}

.download .waitlist-done .sub {
  color: rgba(245, 242, 234, 0.6);
}

.download :focus-visible {
  outline-color: var(--paper);
}

/* ── The landings ───────────────────────────────────────────────────────
 * join.html and 404.html: a link that wanted the app. Now there is one to
 * install, so the stores are the action, and Android gets its list. */

.landing .stores {
  justify-content: center;
}

.landing-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.landing-link:hover {
  color: var(--ink);
}

.join-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  text-align: start;
}

.join-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: var(--tight);
}

.join-steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.join-android {
  margin-top: 10px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.join-android .android-title {
  justify-content: center;
  text-align: start;
  font-size: 15.5px;
}

.join-android .android-title svg {
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer2 {
  margin-top: 0;
  padding: 64px 0 40px;
}

.footer2 .footer2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

@media (max-width: 820px) {
  .footer2 .footer2-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer2-brand {
    grid-column: 1 / -1;
  }
}

.footer2-brand {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer2-brand .wordmark {
  font-size: 28px;
  color: var(--ink);
}

.footer2-brand p {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
}

.footer2-brand .store-badge img {
  height: 44px;
}

.footer2-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer2-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

html[lang='ar'] .footer2-head {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

.footer2-col a {
  font-size: 14.5px;
}

.footer2 .footer2-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
