/* Rivet Rivet landing — mobile-first, logbook / shop-manual feel */
:root {
  --paper: #F4F0E6;
  --paper-deep: #E8E2D4;
  --ink: #1C1914;
  --muted: #5C574E;
  --rule: #C9C1B0;
  --accent: #6E2E26;
  --accent-hover: #54231D;
  --soon: #8A8478;
  --white: #FBF9F4;
  --shadow: 0 10px 30px rgba(28, 25, 20, 0.12);
  --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:
    radial-gradient(1200px 500px at 50% -80px, #fffdf8 0%, transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
}

.page {
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.masthead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}

.wordmark .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.rivets {
  display: inline-flex;
  gap: 0.28rem;
}

.rivet {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #d7d0c4 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, #8a8376 0 55%, #4a453c 56% 100%);
  box-shadow: inset 0 -1px 1px rgba(28, 25, 20, 0.35);
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 1.75rem 0 1.25rem;
}

h1 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2rem, 8.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.video-block {
  margin: 0.25rem 0 1.75rem;
}

.video-frame {
  background: #1C1914;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  max-height: min(70vh, 36rem);
  margin: 0 auto;
  width: min(100%, calc(min(70vh, 36rem) * 9 / 16));
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1C1914;
}

.video-fallback {
  margin: 0;
  padding: 2rem 1.25rem;
  color: #E8E2D4;
  text-align: center;
  font-weight: 500;
}

.features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.feature {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

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

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

.cta {
  padding: 1.75rem 0 1.25rem;
  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-top: 1rem;
  text-align: center;
}

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

@media (min-width: 640px) {
  .page { padding: 2rem 1.5rem 3rem; }
  .hero { padding-top: 2.25rem; }
  .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; }
}
