:root {
  --bg: #0d0d0c;
  --panel: #161613;
  --text: #f2ede4;
  --dim: #9d9789;
  --brass: #c9a15c;
  --on-brass: #181410;
  --hairline: #2c2b27;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Language switch, top corner of the landing pages. */
.langswitch {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px 14px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.langswitch:hover { color: var(--text); border-color: var(--brass); }

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.35em;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.brand .diamond {
  width: 12px;
  height: 12px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}
a.brand { text-decoration: none; }

.hero { text-align: center; padding: 72px 0 24px; }
.hero h1 {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 28px 0 14px;
}
.hero p.tagline {
  color: var(--dim);
  font-size: 18px;
  max-width: 30em;
  margin: 0 auto;
}
.accent {
  width: 88px;
  height: 4px;
  background: var(--brass);
  margin: 30px auto;
  border-radius: 2px;
}

.appicon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  border: 1px solid var(--hairline);
  margin-top: 40px;
}

/* Store badges. While a store is not live yet the anchor has the
   `soon` class: not clickable, with a SOON pill. To launch a store:
   remove class="soon", add the real href. */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 10px 0 26px;
}
.badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #3a3934;
  border-radius: 14px;
  padding: 12px 22px 12px 18px;
  min-width: 205px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.badge:hover { border-color: var(--brass); }
.badge .glyph { width: 30px; height: 30px; flex: none; }
.badge .lines { text-align: left; line-height: 1.25; }
.badge .small { font-size: 11.5px; color: var(--dim); letter-spacing: 0.02em; }
.badge .big { font-size: 19px; font-weight: 700; }
.badge.soon { pointer-events: none; opacity: 0.75; }
.badge.soon .pill {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--brass);
  color: var(--on-brass);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 9px;
  padding: 2px 8px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 26px 0 8px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 20px;
}
.feature .kicker {
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
}
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--dim); font-size: 14px; }

/* Generic brass kicker (showcase rows, section heads, Pro strip). */
.kicker {
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* Feature showcase: alternating device rows, store panel style. */
.showcase { padding: 26px 0 6px; }
.show-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
}
.show-row.flip { flex-direction: row-reverse; }
.show-row .device { flex: 0 0 46%; }
.show-row .device img {
  width: 100%;
  height: auto;
  display: block;
}
.show-row .blurb { flex: 1; }
.show-row .blurb .kicker { margin-bottom: 10px; }
.show-row .blurb h2 {
  font-size: clamp(24px, 4.6vw, 32px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.show-row .blurb p { color: var(--dim); font-size: 16px; }
@media (max-width: 620px) {
  .show-row, .show-row.flip { flex-direction: column; gap: 6px; }
  .show-row .device { flex: none; width: 78%; max-width: 320px; }
  .show-row .blurb { text-align: center; max-width: 30em; }
}

/* Section heading above the full feature grid. */
.sechead { text-align: center; padding: 44px 0 6px; }
.sechead h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 10px;
}

/* Pro strip: the closing call to action. */
.pro {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  text-align: center;
  padding: 40px 26px 26px;
  margin-top: 44px;
}
.pro h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 10px 0 10px;
}
.pro > p {
  color: var(--dim);
  font-size: 16px;
  max-width: 34em;
  margin: 0 auto 8px;
}
.pro .badges { padding-top: 22px; }
.pro .fineprint {
  color: var(--dim);
  opacity: 0.75;
  font-size: 12.5px;
  max-width: 36em;
  margin: 6px auto 0;
}

/* Questions: native disclosure rows, readable without script. */
.faq .sechead { padding-top: 56px; }
.qa-list {
  display: grid;
  gap: 10px;
  padding-top: 26px;
}
.qa-list details {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0 20px;
}
.qa-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
  padding: 17px 30px 17px 0;
}
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.qa-list details[open] summary::after { content: "\2212"; }
.qa-list summary:hover { color: var(--brass); }
.qa-list details p { color: var(--dim); font-size: 15px; padding-bottom: 18px; }
.qa-list details a { color: var(--brass); }

footer {
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
  padding-top: 26px;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}
footer nav { margin-bottom: 10px; }
footer a { color: var(--text); text-decoration: none; margin: 0 12px; }
footer a:hover { color: var(--brass); }

/* Legal / contact pages */
.doc h1 { font-size: 34px; margin: 40px 0 6px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
.doc h2 {
  font-size: 19px;
  margin: 30px 0 8px;
  color: var(--text);
}
.doc p, .doc li { color: #cfc9bd; font-size: 15.5px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc p + p, .doc ul + p { margin-top: 14px; }
.doc a { color: var(--brass); }
.backlink {
  display: inline-block;
  margin-top: 34px;
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
}
.backlink:hover { color: var(--brass); }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-top: 26px;
}
.contact-card .email {
  display: inline-block;
  background: var(--brass);
  color: var(--on-brass);
  font-weight: 700;
  font-size: 17px;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  margin: 14px 0 6px;
}

/* Arabic landing page (/ar/). Arabic is cursive, so no tracking on its
   words; Latin labels keep theirs through lang="en". Sizes and leading
   step up a little because Arabic glyphs sit smaller at the same px. */
[dir="rtl"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic",
    "Geeza Pro", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
[dir="rtl"] .langswitch { right: auto; left: 24px; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .kicker[lang="en"] { letter-spacing: 0.22em; font-size: 11px; }
[dir="rtl"] .hero h1,
[dir="rtl"] .show-row .blurb h2,
[dir="rtl"] .sechead h2,
[dir="rtl"] .pro h2 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .hero p.tagline { font-size: 19px; }
[dir="rtl"] .show-row .blurb p,
[dir="rtl"] .pro > p { font-size: 17px; }
[dir="rtl"] .feature h3 { font-size: 17.5px; }
[dir="rtl"] .feature p { font-size: 15px; }
[dir="rtl"] .badge { padding: 12px 18px 12px 22px; }
[dir="rtl"] .badge .lines { text-align: right; }
[dir="rtl"] .badge .small { font-size: 13px; letter-spacing: 0; }
[dir="rtl"] .qa-list summary { font-size: 17px; padding: 17px 0 17px 30px; }
[dir="rtl"] .qa-list summary::after { right: auto; left: 0; }
[dir="rtl"] .qa-list details p { font-size: 16px; }
[dir="rtl"] .pro .fineprint { font-size: 13.5px; }
[dir="rtl"] footer .note { font-size: 13px; opacity: 0.8; margin-bottom: 6px; }
