/* Android purple palette, with a brighter website background. */
:root {
  color-scheme: dark;
  --bg: #462078;
  --panel: #24134d;
  --accent: #8a3dff;
  --text: #f8f6ff;
  --secondary: #bca4e8;
  --line: rgba(188, 164, 232, .18);
  --content-width: 1120px;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 11% 9%, rgba(149, 82, 230, .40), transparent 64%),
    radial-gradient(ellipse at 94% 66%, rgba(109, 57, 201, .24), transparent 64%);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #d8bcff; outline-offset: 5px; }
::selection { color: white; background: #6c36b2; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 16px; border-radius: 8px; background: var(--panel); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* Faint Middle Eastern arabesque, concentrated behind the phone. */
.page-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.page-art::after {
  content: "";
  position: absolute;
  width: max(1280px, 94vw);
  aspect-ratio: 1;
  right: -31%;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/arabesque.svg") center / contain no-repeat;
  opacity: .06;
  mask-image: linear-gradient(90deg, transparent 2%, #000 37%);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 37%);
}
.site-header, .hero, .site-footer { width: min(var(--content-width), calc(100% - 80px)); margin-inline: auto; }
.site-header { padding-top: 42px; }
.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 18px;
  border: 1px solid rgba(188, 164, 232, .19);
  border-radius: 30px;
  background: rgba(138, 61, 255, .21);
  color: #eee3ff;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: rgba(188, 164, 232, .45); background: rgba(138, 61, 255, .36); }
main { flex: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 80px; min-height: min(740px, calc(100svh - 170px)); padding-block: 52px 76px; }
.hero-copy { padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 15px; color: white; font-weight: 750; line-height: 1.2; text-decoration: none; letter-spacing: -.035em; }
.brand img { display: block; width: 42px; height: 42px; border-radius: 11px; }
.brand-light { font-weight: 550; }
.hero-brand { margin-bottom: 35px; font-size: 36px; }
.hero-brand img { width: 70px; height: 70px; border-radius: 18px; box-shadow: 0 8px 26px rgba(5, 0, 20, .22); }
h1 { margin: 0; font-size: clamp(30px, 3.02vw, 43px); font-weight: 500; letter-spacing: -.045em; line-height: 1.22; }
.intro { margin: 16px 0 21px; font-size: clamp(19px, 1.8vw, 25px); font-weight: 400; letter-spacing: -.02em; line-height: 1.5; }
.feature-copy { max-width: 690px; color: #d2c6e6; font-size: 14px; line-height: 1.65; }
.feature-copy p { margin: 0 0 8px; }
.feature-copy ul { margin: 0; padding: 0; list-style: none; }
.feature-copy li + li { margin-top: 6px; }
.feature-copy strong { color: #eee6fa; font-weight: 500; }
.download-area { display: flex; margin-top: 30px; }
.google-play { display: inline-flex; align-items: center; gap: 11px; padding: 10px 19px 11px 15px; border: 1px solid rgba(217, 199, 249, .24); border-radius: 11px; background: #080610; color: white; text-decoration: none; box-shadow: 0 6px 22px rgba(0, 0, 0, .1); transition: transform .2s, border-color .2s, background .2s; }
a.google-play:hover { transform: translateY(-2px); border-color: #a17bc8; background: #100a20; }
.google-play svg { flex-shrink: 0; }
.google-play span { display: flex; flex-direction: column; }
.google-play small { font-size: 9px; font-weight: 500; letter-spacing: .055em; line-height: 1.3; }
.google-play strong { font-size: 23px; font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.phone-preview { width: 100%; margin: 0; }
.phone-preview img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 35px rgba(5, 0, 18, .25)); }
.site-footer { padding-block: 24px 29px; text-align: center; color: #bfb0d7; font-size: 11px; }
.site-footer p { margin: 0; }
/* Standalone contact and policy pages also work without JavaScript. */
.inner-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.inner-header .brand { font-size: 24px; }
.page { width: min(820px, calc(100% - 48px)); margin-inline: auto; padding: 76px 0; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--secondary); font-size: 14px; text-decoration: none; }
.back-link:hover { color: white; }
.page-card { padding: 42px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(36, 19, 77, .92), rgba(25, 15, 64, .95)); }
.eyebrow { margin: 0 0 14px; color: var(--secondary); font-size: 12px; font-weight: 500; }
.page-card h1 { font-size: clamp(32px, 5vw, 43px); }
.page-card p, .contact-list { color: #c9bbdf; }
.page-card p { line-height: 1.8; }
.page-card a:not(.button) { color: #d0adff; text-underline-offset: 4px; overflow-wrap: anywhere; }
.page-card h2 { margin: 32px 0 8px; font-size: 20px; font-weight: 550; }
.contact-list { margin: 30px 0 0; }
.contact-list div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--text); font-weight: 500; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 18px; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: #7935d8; color: white; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.button:hover { background: #8a3dff; }
.site-dialog { width: min(460px, calc(100vw - 40px)); max-height: calc(100svh - 40px); padding: 40px 32px 32px; overflow-y: auto; border: 1px solid #604582; border-radius: 20px; background: #21113f; color: var(--text); box-shadow: 0 30px 100px rgba(0, 0, 0, .45); }
.site-dialog::backdrop { background: rgba(7, 2, 20, .72); backdrop-filter: blur(5px); }
.site-dialog h2 { margin: 0 0 12px; font-size: 26px; font-weight: 550; letter-spacing: -.03em; }
.site-dialog p { margin: 0; color: #cfc0e5; font-size: 15px; line-height: 1.75; }
.dialog-email { display: inline-block; margin-top: 16px; color: #c79aff; font-size: 17px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.dialog-close { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #d5c4eb; cursor: pointer; }
.dialog-close:hover { background: rgba(188, 164, 232, .13); }
body:has(.site-dialog[open]) { overflow: hidden; }
@media (min-width: 1700px) {
  :root { --content-width: 1280px; }
  .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 120px; min-height: 820px; }
  .feature-copy { font-size: 16px; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 245px; gap: 45px; min-height: 660px; }
  h1 { font-size: 35px; }
  .hero-brand { font-size: 32px; }
  .feature-copy { font-size: 13px; }
}
@media (max-width: 760px) {
  .site-header, .hero, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-top: 25px; }
  .nav-links { justify-content: flex-end; gap: 10px; }
  .nav-links a { min-height: 38px; padding: 6px 15px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-block: 44px 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero-brand { gap: 13px; margin-bottom: 28px; font-size: 31px; }
  .hero-brand img { width: 59px; height: 59px; border-radius: 15px; }
  h1 { max-width: 580px; font-size: clamp(26px, 5.8vw, 36px); letter-spacing: -.035em; }
  .intro { margin-top: 13px; margin-bottom: 19px; font-size: clamp(17px, 4vw, 21px); }
  .feature-copy { max-width: 580px; font-size: 13px; line-height: 1.7; }
  .feature-copy p { margin-bottom: 9px; }
  .feature-copy li + li { margin-top: 7px; }
  .download-area { margin-top: 25px; }
  .google-play { padding: 9px 16px 10px 13px; }
  .google-play strong { font-size: 21px; }
  .phone-preview { width: clamp(210px, 53vw, 275px); margin-inline: auto; }
  .page-art::after { width: 1150px; right: -690px; top: 65%; opacity: .05; }
  .site-footer { padding-block: 21px 27px; font-size: 10px; }
  .inner-header { flex-wrap: wrap; gap: 24px; }
  .inner-header .brand { font-size: 22px; }
  .inner-header .nav-links { margin-left: auto; }
  .page { padding-block: 38px; }
  .page-card { padding: 28px 23px; border-radius: 15px; }
  .page-card p, .contact-list { font-size: 14px; }
  .contact-list div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
