/* OpenWX site: the app's "Backlit Plum" theme. No external fonts or scripts. */
:root {
  --bg: #110c1a;
  --card: #1e1630;
  --text: #f4eef8;
  --muted: #a79fb8;
  --sun: #ffc46b;
  --twilight: #6b5596;
  --line: rgba(167, 159, 184, 0.18);
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(107, 85, 150, 0.35), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 var(--body);
  min-height: 100vh;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 18px/1 var(--display);
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 15px;
}

nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 24px 0 48px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; }
h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }

p { margin: 0 0 16px; }

a { color: var(--sun); }
a:hover { text-decoration-thickness: 2px; }

.muted { color: var(--muted); }

.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(107, 85, 150, 0.45); }
.hero h1 { font-size: 44px; margin-top: 20px; }
.tagline { font: 500 20px/1.4 var(--display); color: var(--sun); margin-bottom: 12px; }
.store-note { display: inline-block; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 15px; }

.cards { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--twilight); }

.faq { display: grid; gap: 12px; }
.faq .card p + p { margin-top: 10px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

footer.site a { color: var(--muted); }

.shots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 28px -16px 0;
  padding: 4px 16px 12px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots img {
  flex: 0 0 auto;
  width: 38%;
  max-width: 170px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mission { margin-top: 40px; padding: 22px 22px 6px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.mission h2 { margin-top: 0; color: var(--sun); }

.store { display: inline-block; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }

@media (min-width: 640px) {
  .shots { justify-content: center; overflow: visible; margin: 28px 0 0; padding: 4px 0 12px; }
  .shots img { width: 22%; max-width: 150px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 52px; }
}

/* Wide screens: text on the left, three phones fanned on the right. */
@media (min-width: 900px) {
  .wrap { max-width: 980px; }
  main > :not(.hero) { max-width: 680px; margin-left: auto; margin-right: auto; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; text-align: left; padding: 40px 0 16px; }
  .hero img[alt="OpenWX app icon"] { width: 88px; height: 88px; border-radius: 20px; }
  .hero h1 { font-size: 48px; margin-top: 16px; }
  .shots { position: relative; height: 420px; margin: 0; padding: 0; overflow: visible; display: block; }
  .shots img { position: absolute; top: 50%; left: 50%; width: 190px; max-width: none; border-radius: 22px; }
  .shots img:nth-child(1) { transform: translate(-125%, -46%) rotate(-7deg); }
  .shots img:nth-child(2) { transform: translate(-50%, -52%); z-index: 2; }
  .shots img:nth-child(3) { transform: translate(25%, -46%) rotate(7deg); }
  .shots img:nth-child(4) { display: none; }
}
