:root {
  --green: #002e21;
  --cream: #fffaf0;
  --gold: #edcb70;
  --ink: #153f34;
  --muted: #52685f;
  --line: #d8dfd6;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body, 'Site-latin'), 'Site-latin', sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-tap-highlight-color: #edcb7040;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
summary,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button,
a,
summary {
  outline-offset: 6px;
}
:focus-visible {
  outline: 3px solid #bd9026;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--font-display, 'Display-latin'), 'Display-latin', sans-serif;
  font-weight: 400;
  text-wrap: balance;
}
h2 {
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
p {
  text-wrap: pretty;
}
section[id] {
  scroll-margin-top: 32px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 14px 20px;
  background: var(--cream);
  color: var(--green);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.header-surface {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  color: var(--cream);
}
.hero-surface {
  position: relative;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
}
.hero-surface::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('/assets/emerald-background.webp') center / cover;
  opacity: 0.45;
}
.site-header {
  position: relative;
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: 'Site-latin', sans-serif;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand img {
  border-radius: 12px;
  flex: none;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
}
.site-header nav > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}
.site-header nav > a:hover {
  text-decoration: underline;
}
.nav-download {
  color: var(--gold);
  font-weight: 600;
}
.language-menu summary {
  cursor: pointer;
  padding: 12px 0;
}
.language-icon {
  display: inline-block;
  margin-inline-start: 6px;
  vertical-align: -3px;
}
.language-panel {
  position: absolute;
  z-index: 5;
  top: 100%;
  inset-inline-end: 0;
  width: 560px;
  max-width: calc(100vw - 40px);
  color: var(--green);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px #001a1326;
}
.language-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: min(60vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #738779 #e8eee5;
  padding: 8px;
}
.language-options::-webkit-scrollbar {
  width: 6px;
}
.language-options::-webkit-scrollbar-track {
  background: #e8eee5;
}
.language-options::-webkit-scrollbar-thumb {
  background: #738779;
  border-radius: 4px;
}
.language-options a {
  display: block;
  min-height: 44px;
  padding: 10px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 4px;
  text-decoration: none;
}
.language-options a:hover,
.language-options a[aria-current] {
  background: #e8eee5;
}
.language-scroll-hint {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 36px;
  border-radius: 0 0 8px 8px;
  display: grid;
  place-items: end center;
  padding-bottom: 6px;
  background: linear-gradient(transparent, var(--cream) 60%);
  pointer-events: none;
  visibility: hidden;
}
.language-menu[data-more-below] .language-scroll-hint {
  visibility: visible;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  min-height: 712px;
  padding-block: 142px 62px;
}
.hero h1 {
  font-size: clamp(66px, 7.1vw, 106px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero > * {
  min-width: 0;
}
.hero-line {
  margin-top: 20px;
  font-family: var(--font-display, 'Display-latin'), 'Display-latin', sans-serif;
  font-weight: 400;
  font-size: clamp(29px, 3.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.hero-description {
  max-width: 590px;
  margin-top: 30px;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: -0.012em;
}
.store-links {
  --badge-width: 216px;
  --badge-height: 64px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.store-links a {
  position: relative;
  width: var(--badge-width);
  height: var(--badge-height);
  overflow: hidden;
  display: block;
  border-radius: 6px;
  transition: opacity 0.15s;
}
.store-links a:hover {
  opacity: 0.8;
}
.store-links img {
  width: var(--badge-width);
  height: var(--badge-height);
  object-fit: contain;
}
.store-links img[src$='google-play.png'] {
  /* The source badge has 41px of transparent clear space on each side. */
  position: absolute;
  max-width: none;
  width: calc(var(--badge-width) * 646 / 564);
  height: calc(var(--badge-height) * 250 / 168);
  left: calc(var(--badge-width) * -41 / 564);
  top: calc(var(--badge-height) * -41 / 168);
}
.hero-art {
  direction: ltr;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.compass-art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: clip;
  border-radius: 50%;
  outline: 1px solid #edcb7080;
}
.compass-dial {
  position: absolute;
  inset: 0;
  transform: rotate(-118.987466deg);
}
.dial {
  width: 100%;
  height: 100%;
}
.kaaba {
  position: absolute;
  left: 75.49%;
  top: 61.44%;
  width: 12%;
  height: 12%;
  transform: rotate(118.987466deg);
}
.needle {
  position: absolute;
  left: 40.8%;
  top: 8%;
  width: 18.4%;
  height: 36.8%;
}
.app-section {
  background: var(--cream);
}
.app-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: start;
  padding-block: 40px 80px;
}
.app-copy {
  padding-top: 72px;
}
.app-copy h2 {
  font-size: clamp(40px, 5.3vw, 80px);
}
.section-intro {
  max-width: 460px;
  font-size: 21px;
  line-height: 1.6;
  margin-top: 28px;
}
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  border-bottom: 1px solid var(--line);
}
.preview-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 12px 0 14px;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: 17px;
  min-height: 48px;
}
.preview-tabs button[aria-selected='true'] {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
.preview-tabs button:hover {
  color: var(--green);
}
.preview-description {
  margin-top: 26px;
  min-height: 112px;
}
.preview-description h3 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}
.preview-description p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 440px;
}
.quiet-copy {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 400px;
}
.app-preview {
  margin: 0;
  width: 320px;
  justify-self: center;
}
.app-preview > img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid #d3d4c8;
  box-shadow: 0 12px 40px #173f3410;
  background: white;
}
.app-preview figcaption {
  font-size: 13px;
  text-align: center;
  color: var(--muted);
  margin-top: 16px;
}
.design-section {
  border-top: 1px solid var(--line);
  padding-block: 80px 90px;
}
.design-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.design-copy h2 {
  font-size: clamp(36px, 3.8vw, 54px);
}
.design-copy > p {
  max-width: 410px;
  font-size: 20px;
  line-height: 1.6;
}
.design-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 36px;
  margin-top: 62px;
}
.design-gallery img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: brightness(0);
}
.help-section {
  background: #eaf0e6;
  padding-block: 84px;
}
.help-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 100px;
}
.help-layout h2 {
  font-size: clamp(34px, 3.4vw, 48px);
}
.help-layout > div > p {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 26px;
}
.text-link {
  font-weight: 600;
}
.questions details {
  border-bottom: 1px solid #c8d2c4;
}
.questions details:first-child {
  border-top: 1px solid #c8d2c4;
}
.questions summary {
  padding: 23px 4px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}
.questions details p {
  padding: 0 24px 24px 4px;
  font-size: 17px;
  line-height: 1.7;
  color: #3d594d;
}
.download-section {
  padding-block: 84px 88px;
  text-align: center;
}
.download-section > img {
  margin: 0 auto 26px;
  border-radius: 15px;
}
.download-section h2 {
  font-size: clamp(34px, 4vw, 54px);
}
.download-section > p {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
}
.download-section .store-links {
  justify-content: center;
  margin-top: 28px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 30px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer small {
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer a {
  text-decoration: none;
  padding-block: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer a:hover {
  text-decoration: underline;
}
.contact-page,
.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.contact-page .site-header {
  flex-wrap: wrap;
  padding-block: 18px;
  row-gap: 8px;
  color: var(--green);
}
.contact-page .contact-main {
  max-width: 760px;
  padding-block: 90px 140px;
  min-height: 0;
  flex: 1;
}
.contact-main h1 {
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.05em;
}
.contact-main p {
  font-size: 21px;
  line-height: 1.7;
  margin-top: 28px;
}
.contact-main .email {
  direction: ltr;
  display: inline-block;
  margin-top: 32px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 600;
}
.contact-main .contact-form {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 26px;
}
.legal-page .site-header {
  color: var(--green);
}
.legal-main {
  width: min(780px, calc(100% - 112px));
  margin-inline: auto;
  padding-block: 64px 96px;
  flex: 1;
}
.legal-main h1 {
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.04em;
}
.legal-date {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.6;
}
.legal-content {
  margin-top: 40px;
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.legal-content > br,
.legal-content br + br {
  display: none;
}
.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-block: 20px;
}
.legal-content h2 {
  font-family: var(--font-body, 'Site-latin'), 'Site-latin', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: pretty;
  margin-block: 38px 20px;
}
.legal-content ul,
.legal-content ol {
  padding-inline-start: 24px;
}
.legal-content li + li {
  margin-top: 14px;
}
html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] .hero-line,
html[data-script='bengali'] h1,
html[data-script='bengali'] h2,
html[data-script='devanagari'] h1,
html[data-script='devanagari'] h2 {
  letter-spacing: 0;
  line-height: 1.3;
}
html[data-script='urdu'] {
  line-height: 2;
}
html[data-script='urdu'] h1,
html[data-script='urdu'] h2,
html[data-script='urdu'] .hero-line {
  line-height: 1.9;
}
html[data-script='urdu'] .hero-description,
html[data-script='urdu'] .questions summary,
html[data-script='urdu'] .questions details p,
html[data-script='urdu'] .preview-description p,
html[data-script='urdu'] .quiet-copy,
html[data-script='urdu'] .section-intro,
html[data-script='urdu'] .contact-main p {
  line-height: 2.1;
}
html[dir='rtl'] .site-header nav,
html[data-script='ethiopic'] .site-header nav {
  gap: 24px;
}
.contact-page .site-header nav {
  flex-wrap: wrap;
  gap: 24px;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 744px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero {
    min-height: 664px;
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(60px, 7.1vw, 82px);
  }
  .hero-line {
    font-size: 31px;
  }
  .hero-description {
    font-size: 20px;
  }
  .store-links {
    gap: 12px;
    --badge-width: 155px;
    --badge-height: 47px;
  }
  .site-header nav {
    gap: 25px;
  }
  .app-layout {
    gap: 50px;
  }
  .app-preview {
    width: 290px;
  }
  .help-layout {
    gap: 60px;
  }
  .design-gallery {
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 88px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 10px;
  }
  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 15px;
  }
  .site-header .nav-section,
  .site-header .nav-download {
    display: none;
  }
  .language-panel {
    inset-inline: 0;
    width: 100%;
  }
  .language-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: 0;
    padding-block: 126px 54px;
  }
  .hero h1 {
    font-size: clamp(64px, 11.8vw, 86px);
    line-height: 0.98;
  }
  .hero-line {
    font-size: clamp(28px, 5.2vw, 37px);
    margin-top: 18px;
  }
  .hero-description {
    font-size: 19px;
    max-width: 460px;
    margin-top: 24px;
  }
  .store-links {
    margin-top: 28px;
    --badge-width: 159px;
    --badge-height: 48px;
  }
  .hero-art {
    width: min(82%, 390px);
  }
  .app-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 58px;
  }
  .app-copy {
    max-width: 520px;
    padding-top: 0;
  }
  .app-preview {
    width: min(78%, 320px);
  }
  .section-intro {
    font-size: 19px;
    margin-top: 24px;
  }
  .preview-tabs {
    margin-top: 28px;
    gap: 22px;
  }
  .preview-description {
    min-height: 0;
  }
  .quiet-copy {
    margin-top: 22px;
  }
  .design-section {
    padding-block: 54px 62px;
  }
  .design-copy {
    display: block;
  }
  .design-copy p {
    font-size: 19px;
    margin-top: 24px;
  }
  .design-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 42px;
  }
  .design-gallery img {
    width: 90px;
    height: 90px;
  }
  .help-section {
    padding-block: 58px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .help-layout > div > p {
    margin-top: 22px;
  }
  .questions summary {
    padding-block: 21px;
  }
  .download-section {
    padding-block: 58px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 26px;
  }
  .site-footer nav {
    margin-top: 0;
    gap: 0 20px;
  }
  .contact-page .contact-main {
    padding-block: 50px 72px;
  }
  .legal-page .site-header {
    flex-wrap: wrap;
    padding-block: 18px;
    row-gap: 8px;
  }
  .legal-main {
    width: calc(100% - 40px);
    padding-block: 42px 64px;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 19px;
  }
  .store-links {
    gap: 10px;
    --badge-width: 145px;
    --badge-height: 44px;
  }
  .hero h1 {
    font-size: clamp(49px, 15.5vw, 56px);
  }
  .hero-line {
    font-size: 25px;
  }
  .contact-main h1 {
    font-size: 36px;
  }
  .design-copy h2 {
    font-size: 32px;
  }
  .design-gallery {
    gap: 20px;
  }
  .preview-tabs {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
