/* Rivet Rivet landing — mobile-first, hangar navy + paper */
:root {
  --navy: #0B1C33;
  --navy-deep: #071221;
  --paper: #F4F0E6;
  --paper-card: #FFFdf8;
  --ink: #1C1914;
  --muted: #5C574E;
  --rule: #D4CDBD;
  --orange: #F15A22;
  --white: #FBF9F4;
  --cream: #E8E0D0;
  --soon: #8A8478;
  --shadow: 0 16px 40px rgba(7, 18, 33, 0.28);
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero {
  background:
    radial-gradient(900px 420px at 50% -40px, #16325a 0%, transparent 62%),
    var(--navy);
  color: var(--white);
  text-align: center;
  padding: 2.15rem 1.25rem 3.25rem;
}

.hero-inner {
  width: min(36rem, 100%);
  margin: 0 auto;
}

.logo {
  display: block;
  width: 9.5rem;
  height: 9.5rem;
  margin: 0 auto 1.05rem;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
}

h1 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.05rem, 8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--orange);
}

.lede {
  margin: 0 auto;
  max-width: 26rem;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.45;
}

.video-block {
  width: min(40rem, calc(100% - 2rem));
  margin: -1.65rem auto 2rem;
}

.video-frame {
  background: var(--navy-deep);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame.is-vertical {
  aspect-ratio: 9 / 16;
  max-height: min(70vh, 36rem);
  width: min(100%, calc(min(70vh, 36rem) * 9 / 16));
  margin: 0 auto;
}

.video-frame.is-landscape {
  display: none;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy-deep);
}

.video-fallback {
  margin: 0;
  padding: 2rem 1.25rem;
  color: var(--cream);
  text-align: center;
  font-weight: 500;
  background: var(--navy);
  border-radius: 1rem;
}

.features {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.feature {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

.feature .icon {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.65rem;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.feature h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.cta {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: 0.5rem;
  border: 2px solid var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}

.play-btn:hover,
.play-btn:focus-visible {
  background: #000;
  outline: none;
}

.play-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink);
}

.play-btn:active {
  transform: translateY(1px);
}

/* Non-clickable "Coming soon on Google Play" pill. Keep .play-btn styles
   so swapping in the real Play Store link later is a one-line HTML change. */
.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.85rem 1.25rem;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: default;
  user-select: none;
}

.coming-soon {
  margin: 0.9rem 0 0;
  color: var(--soon);
  font-size: 0.98rem;
  font-weight: 500;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 1.1rem 1.25rem 2rem;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .feature {
    padding: 1.3rem 1.3rem 1.4rem;
  }
}

@media (min-width: 800px) {
  .hero { padding: 2.6rem 1.5rem 3.75rem; }
  .logo { width: 11rem; height: 11rem; }
  .video-block {
    width: min(56rem, calc(100% - 3rem));
    margin-top: -1.9rem;
  }
  .video-frame.is-vertical { display: none; }
  .video-frame.is-landscape { display: flex; }
  .play-btn,
  .play-badge { width: auto; padding-left: 1.75rem; padding-right: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-btn { transition: none; }
}
