/* Moment product page */

:root {
  --bg: #0b1220;
  --bg-deep: #070b14;
  --surface: #141c2b;
  --ink: #e8eef6;
  --muted: #8b9bb0;
  --line: #243044;
  --forest: #2dd4bf;
  --forest-mid: #14b8a6;
  --navy: #6b9bff;
  --gold: #e0b84a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1080px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(45, 212, 191, 0.1), transparent 55%),
    radial-gradient(700px 480px at 0% 30%, rgba(107, 155, 255, 0.07), transparent 50%),
    linear-gradient(180deg, #0e1a2c 0%, var(--bg) 35%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: #04110f;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.back {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.back:hover {
  color: var(--ink);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-lockup img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.55) 55%, rgba(11, 18, 32, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.25) 0%, rgba(7, 11, 20, 0.9) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--gold);
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-device {
  justify-self: center;
  width: min(100%, 320px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hero-device img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--forest);
  color: #04110f;
}

.btn-primary:hover {
  background: #5eead4;
  color: #04110f;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.section {
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.section-label {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head h2,
.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-intro {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.35rem 1.4rem;
  background: rgba(20, 28, 43, 0.7);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.feature:hover {
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-3px);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-visual {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.55);
}

.visual-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.visual-copy p {
  color: var(--muted);
  max-width: 48ch;
}

.chip-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-list li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.visual-mark {
  justify-self: center;
  width: min(100%, 280px);
}

.visual-mark img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.section-cta {
  text-align: center;
}

.cta-inner {
  max-width: 36rem;
}

.cta-inner p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.cta-inner .hero-actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--forest);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

/* Privacy / legal */

.legal {
  padding-top: clamp(3rem, 7vw, 4.5rem);
}

.legal-content {
  max-width: 42rem;
}

.legal-content h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.legal-meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.45rem;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .visual-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-device {
    order: -1;
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature {
    transition: none;
  }
}
