/* GMDSS — one-page card site. Palette taken from the app's dark theme. */

:root {
  --bg: #070b11;
  --surface: #0e151e;
  --border: #1c2936;
  --text: #ecf1f5;
  --text-2: #b4c1cc;
  --muted: #8595a3;
  --primary: #4aa3d9;
  --warn: #e8a33c;
  --warn-soft: rgba(232, 163, 60, 0.14);
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(74, 163, 217, 0.16), transparent), var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---------- Intro ---------- */

.intro {
  padding: 72px 0 56px;
  text-align: center;
}

.intro__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(74, 163, 217, 0.25);
}

.intro h1 {
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 850;
}

.tagline {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.lead {
  max-width: 520px;
  margin: 22px auto 32px;
  color: var(--text-2);
  font-size: 18px;
}

/* ---------- Store buttons ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid #3a4652;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.store:hover {
  transform: translateY(-2px);
  border-color: #8ea1b2;
}

.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.store strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Screenshots ---------- */

.shots {
  display: flex;
  gap: 24px;
  margin: 0 -16px;
  padding: 8px 16px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar {
  display: none;
}

.phone {
  flex: none;
  width: 230px;
  aspect-ratio: 402 / 874;
  padding: 7px;
  scroll-snap-align: center;
  border-radius: 13% / 6%;
  background: #04070b;
  border: 1px solid #2a3947;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.phone::before {
  content: '';
  position: absolute;
  top: 2.4%;
  left: 50%;
  width: 27%;
  height: 3.1%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11.2% / 5.2%;
}

@media (min-width: 960px) {
  .shots {
    justify-content: center;
    overflow: visible;
  }
}

/* ---------- Reviews ---------- */

.reviews {
  padding: 32px 0 72px;
}

.reviews h2 {
  margin-bottom: 28px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
}

.reviews__list {
  display: grid;
  gap: 16px;
}

.review {
  position: relative;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.review__stars {
  color: var(--warn);
  letter-spacing: 3px;
  font-size: 15px;
}

.review blockquote {
  margin: 12px 0 16px;
  font-size: 16px;
}

.review figcaption {
  font-size: 14px;
  color: var(--muted);
}

.review figcaption b {
  display: block;
  color: var(--text);
}

/* Samples are placeholders until real reviews replace them — the tag comes
   from the class, so removing `is-sample` from a card removes the tag. */
.review.is-sample {
  border-style: dashed;
  padding-top: 44px;
}

.review.is-sample::after {
  content: 'Sample — replace with a real review';
  position: absolute;
  top: 14px;
  left: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (min-width: 760px) {
  .reviews__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Footer ---------- */

footer {
  padding: 28px 16px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

footer p {
  max-width: 560px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .store {
    transition: none;
  }
}
