/* Vagabond — site styles. Palette matched to the Go Vagabond logo
   (cyan field, hot-pink hand, deep-purple ring). Cyan is the same
   value as the app's VibeTag.cool primary, so site + app read as
   one brand. */

:root {
  --bone: #FBEFD6;
  --cyan: #09D5FA;
  --pink: #E91572;
  --pink-dark: #B30E58;
  --purple: #6918E5;
  --purple-dark: #4C0FAA;
  --ink: #1A1A1A;
  --linen: #C9B596;

  /* Legacy aliases — some pages reference these by the old names.
     Point them at the new palette so nothing renders in "ugly orange." */
  --terracotta: var(--pink);
  --terracotta-dark: var(--pink-dark);
  --ochre: var(--cyan);
  --pine: var(--purple);

  --body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --headline: 'Unbounded', 'Figtree', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero --- */

.hero {
  padding: 72px 0 48px;
  text-align: left;
}

.brandmark {
  margin-bottom: 28px;
}

.brandmark img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(105, 24, 229, 0.18);
}

@media (max-width: 480px) {
  .brandmark img {
    width: 96px;
    height: 96px;
  }
}

.hero h1 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin: 0 0 20px;
  color: var(--purple);
}

.tagline {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 32px;
  line-height: 1.3;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terracotta);
  color: var(--bone);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.status-link {
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.status-link:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--bone);
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* --- Sections --- */

.section {
  padding: 48px 0;
  border-top: 2px solid rgba(58, 46, 42, 0.12);
}

.section h2 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.5px;
  margin: 0 0 24px;
  color: var(--ink);
}

.section p {
  margin: 0 0 16px;
}

.section p.lead {
  font-size: 19px;
  font-weight: 500;
}

.section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section li {
  position: relative;
  padding: 0 0 14px 24px;
  margin: 0;
}

.section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.section em {
  font-style: italic;
  color: var(--pink);
  font-weight: 600;
}

.values-footer {
  margin-top: 24px !important;
  padding: 16px 20px;
  background: rgba(9, 213, 250, 0.10);
  border-left: 3px solid var(--cyan);
  border-radius: 2px;
  font-weight: 500;
}

/* --- Utility --- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Beta CTA (TestFlight button + QR) --- */

.beta-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.beta-button {
  display: inline-block;
  padding: 18px 32px;
  background: var(--terracotta);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid var(--terracotta);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 0 var(--terracotta-dark);
}

.beta-button:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-1px);
}

.beta-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.beta-qr img {
  display: block;
  width: 100px;
  height: 100px;
  image-rendering: pixelated;
}

.beta-qr p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(58, 46, 42, 0.75);
  max-width: 140px;
}

.beta-fallback {
  margin: 28px 0 4px !important;
  font-size: 15px;
  color: rgba(58, 46, 42, 0.75);
}

@media (max-width: 480px) {
  .beta-qr {
    display: none; /* On phones the button IS the install path — QR is redundant. */
  }
  .beta-cta {
    gap: 20px;
  }
  .beta-button {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }
}

/* --- Signup form --- */

.signup-form {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.signup-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 16px;
  border: 2px solid var(--ink);
  background: var(--bone);
  color: var(--ink);
  border-radius: 6px;
  outline: none;
}

.signup-form input[type="email"]:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 21, 114, 0.22);
}

.signup-form button {
  padding: 14px 22px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  background: var(--terracotta);
  color: var(--bone);
  border: 2px solid var(--terracotta);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.signup-form button:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.signup-note {
  font-size: 14px;
  color: rgba(58, 46, 42, 0.7);
}

.signup-note a {
  color: var(--terracotta);
  font-weight: 600;
}

/* --- Footer --- */

footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 48px;
  border-top: 2px solid rgba(58, 46, 42, 0.12);
  margin-top: 48px;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

.footer-links a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.footer-links span {
  color: rgba(58, 46, 42, 0.4);
}

.made-by {
  font-size: 14px;
  color: rgba(58, 46, 42, 0.6);
  margin: 0;
}

.made-by a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 46, 42, 0.4);
}

.made-by a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* --- Legal page styles (used by privacy.html + terms.html) --- */

.legal {
  padding: 56px 0;
}

.legal h1 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -1px;
  margin: 0 0 8px;
  color: var(--purple);
}

.legal .effective {
  color: rgba(58, 46, 42, 0.6);
  font-size: 14px;
  margin: 0 0 32px;
  font-weight: 500;
}

.legal h2 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
  color: var(--ink);
}

.legal p, .legal li {
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 20px;
}

.legal .back {
  display: inline-block;
  margin-top: 36px;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

.legal .back:hover {
  text-decoration: underline;
}

.legal .caveat {
  padding: 16px 20px;
  background: rgba(9, 213, 250, 0.12);
  border-left: 3px solid var(--cyan);
  border-radius: 2px;
  font-size: 14px;
  margin-bottom: 32px;
}

/* --- Mobile tightening --- */

@media (max-width: 480px) {
  main {
    padding: 0 20px;
  }
  .hero {
    padding: 56px 0 36px;
  }
  .section {
    padding: 36px 0;
  }
}
