/* VetCamps — premium launch marketing (light) */
:root {
  /* Cool slate page so white / light-gray app chrome does not melt into the site */
  --bg: #d9e0ec;
  --bg-elev: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.64);
  --faint: rgba(15, 23, 42, 0.45);
  --line: rgba(15, 23, 42, 0.12);
  --accent: #a8841a;
  --accent-dim: rgba(168, 132, 26, 0.14);
  --header-bg: rgba(217, 224, 236, 0.92);
  --shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 36px 90px rgba(15, 23, 42, 0.22);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Outfit", var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.15rem, 4vw, 1.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(255, 255, 255, 0.55), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text) !important;
  background: var(--bg-elev);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-lead,
  .ios-waitlist-panel {
    margin-inline: auto;
  }
  .hero-visual {
    order: -1;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.play-badge {
  display: inline-flex;
  line-height: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.play-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.play-badge img {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(200px, 70vw);
}

.link-ios {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.5rem 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(15, 23, 42, 0.25);
  transition: color 0.2s;
}

a.link-ios {
  display: inline-block;
}

.link-ios:hover,
.link-ios[aria-expanded="true"] {
  color: var(--text);
}

.hero-meta {
  margin: 1.35rem 0 0;
  font-size: 0.88rem;
  color: var(--faint);
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.device-frame {
  width: min(320px, 72vw);
  border-radius: 36px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.55);
  box-shadow:
    var(--shadow-lg),
    0 0 0 6px rgba(255, 255, 255, 0.35);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  vertical-align: top;
}

/* iOS panel */
.ios-waitlist-panel {
  margin-top: 1rem;
  max-width: 26rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  text-align: left;
}

.ios-waitlist-panel[hidden] {
  display: none !important;
}

.ios-waitlist-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.ios-waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ios-waitlist-row input {
  flex: 1 1 11rem;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  outline: none;
}

.ios-waitlist-row input:focus {
  border-color: rgba(212, 175, 55, 0.55);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-solid:hover {
  opacity: 0.92;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

/* Trust */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  padding: 1.1rem 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.28);
}

/* Product moments */
.product {
  padding: clamp(3.5rem, 9vw, 6rem) 0 1rem;
}

.moment {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.moment + .moment {
  border-top: 1px solid var(--line);
}

.moment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  grid-template-areas: "copy media";
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.moment-copy {
  grid-area: copy;
}

.moment-media {
  grid-area: media;
  display: flex;
  justify-content: center;
}

/* Phone on the left, copy on the right (alternates with hero / non-flip rows). */
.moment--flip .moment-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  grid-template-areas: "media copy";
}

@media (max-width: 900px) {
  .moment-grid,
  .moment--flip .moment-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
    text-align: center;
  }
  .moment-copy p {
    margin-inline: auto;
  }
}

.moment-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.moment h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.moment-copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.moment-media img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 28px;
  border: 2px solid rgba(15, 23, 42, 0.55);
  box-shadow:
    var(--shadow),
    0 0 0 6px rgba(255, 255, 255, 0.35);
  background: #0f172a;
}

/* Screens / gallery */
.screens {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.screens-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.screens-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
}

.screens-lead {
  margin: 0;
  color: var(--muted);
}

.see-more-stage {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
}

.see-more-peek {
  padding: 1.75rem 1rem 0.75rem;
  cursor: pointer;
  text-align: center;
}

.see-more-peek-track {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 170px;
  gap: 0;
}

.see-more-peek-phone {
  width: clamp(72px, 16vw, 100px);
  margin: 0 -10px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(15, 23, 42, 0.5);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.35);
  background: #0f172a;
}

.see-more-peek-phone:nth-child(1) {
  transform: rotate(-6deg) translateY(10px);
}
.see-more-peek-phone:nth-child(2) {
  transform: rotate(-2deg) translateY(4px);
  z-index: 2;
}
.see-more-peek-phone:nth-child(3) {
  transform: translateY(-2px) scale(1.05);
  z-index: 3;
  border-color: rgba(212, 175, 55, 0.35);
}
.see-more-peek-phone:nth-child(4) {
  transform: rotate(2deg) translateY(4px);
  z-index: 2;
}
.see-more-peek-phone:nth-child(5) {
  transform: rotate(6deg) translateY(10px);
}

.see-more-peek-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.see-more-peek-label {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--faint);
}

.see-more-stage-inner.is-gallery-open .see-more-peek {
  display: none;
}

.see-more-disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  border-top: 1px solid var(--line);
  user-select: none;
}

.see-more-disclosure summary::-webkit-details-marker {
  display: none;
}

.see-more-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.see-more-cta-title {
  font-weight: 600;
  font-size: 1rem;
}

.see-more-cta-sub {
  font-size: 0.85rem;
  color: var(--faint);
}

.see-more-cta-badge {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--line);
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 1.25rem 1.25rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slide--deep {
  flex: 0 0 min(240px, 72vw);
  max-width: 240px;
  margin: 0;
  scroll-snap-align: start;
}

.slide-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.5);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.16),
    0 0 0 4px rgba(255, 255, 255, 0.35);
}

.slide-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.slide-caption {
  padding: 0.55rem 0.15rem 0;
}

.slide-caption-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.see-more-carousel-wrap {
  position: relative;
}

/* Finale */
.finale {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim), transparent 70%),
    var(--bg);
}

.finale h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
}

.finale p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.contact-band {
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: var(--faint);
  font-size: 0.95rem;
}

.contact-band a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Sticky install (mobile) */
.sticky-install {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(217, 224, 236, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.sticky-install a {
  display: block;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .sticky-install {
    display: block;
  }
  body {
    padding-bottom: 5.5rem;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.site-footer-policies a:hover {
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.35);
}

.xcommunity-link {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  color: rgba(15, 23, 42, 0.22) !important;
  text-decoration: none !important;
}

.xcommunity-link:hover {
  color: rgba(15, 23, 42, 0.4) !important;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
}

.modal-content {
  width: min(420px, 100%);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  text-align: center;
}

.modal-content h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.45rem;
}

.modal-content p {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
