@font-face {
  font-family: "Namysto Caveat";
  src: url("assets/fonts/Caveat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ink: #242122;
  --muted: #6b6870;
  --coral: #cc4939;
  --coral-dark: #b93a2e;
}
body { font-family: var(--font); font-size: 17px; }
button, input, select, textarea { font-family: var(--font); }
.landing :is(h1,h2,h3), .app-screen :is(h1,h2,h3) {
  font-family: var(--font); font-weight: 600; letter-spacing: -.025em;
}
.landing h2, .landing .personal-necklaces h2 {
  font-family: "Namysto Caveat", var(--font); font-weight: 500;
  font-size: clamp(40px,4.3vw,62px); line-height: 1.08; letter-spacing: 0;
}
.landing .hero-v2 { min-height: 670px; }
.landing .hero-v2 h1 {
  font-family: var(--font); font-size: clamp(42px,4.5vw,68px);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.07;
}
.landing :is(h1,h2,h3) em { font-weight: inherit; }
.landing h3 { font-size: 23px; font-weight: 600; line-height: 1.18; }
.landing .hero-v2 p { font-size: 17px; line-height: 1.55; }
.landing :is(.button,.nav,.lang button) { font-family: var(--font); font-weight: 600; }
.landing .nav { font-size: 14px; gap: 22px; }
.landing .button:hover, .landing .nav a.button:hover { color: #fff; }
.landing .plan-button-free:hover { color: var(--ink); }
.landing .v2-closing .button:hover { color: var(--coral-dark); }
.landing .v2-demo .demo-range output { font-family: var(--font); font-weight: 600; font-variant-numeric: tabular-nums; }
.landing video.hero-memory { filter: none; }
.landing .personal-necklace h3 { font-size: clamp(20px,1.65vw,25px); font-weight: 600; }
.landing .personal-necklace { background: #fffcf8; }
.landing .eyebrow { font-family: var(--font); font-weight: 500; }
.landing .faq summary { font-family: var(--font); font-weight: 500; font-size: 17px; }
.landing .plan-price { font-family: var(--font); font-weight: 600; }
.app-screen, .app-screen :is(button,input,select) { font-family: var(--font); }

/* Five equal slots span the viewport, including on small screens. */
.live-moments { padding: 62px 0 74px; overflow: hidden; }
.live-heading { text-align: center; max-width: 820px; }
.live-heading p { margin: 18px auto 0; color: var(--muted); max-width: 560px; }
.live-rail {
  --bead-slot: 20vw;
  --bead-gap: clamp(8px,2vw,32px);
  position: relative; margin-top: 38px; width: 100%; overflow: hidden;
}
.live-rail::before {
  content: ""; position: absolute; top: calc((var(--bead-slot) - var(--bead-gap)) / 2);
  left: 0; right: 0; height: 2px; background: #e8614f;
}
.live-track { display: flex; width: max-content; animation: bead-drift 26.4s linear infinite; }
.live-group { display: flex; width: calc(var(--bead-slot) * 12); flex: none; }
.live-bead {
  flex: 0 0 var(--bead-slot); width: var(--bead-slot);
  margin: 0; padding: 0 calc(var(--bead-gap) / 2); position: relative;
}
.live-bead video {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; background: #f2dad1;
}
.live-bead figcaption {
  margin-top: 16px; text-align: center; font: 14px/1.4 var(--font);
  color: var(--muted); min-height: 2.8em;
}
.live-rail:is(:hover,:focus-within,.is-paused,.is-outside) .live-track { animation-play-state: paused; }
@keyframes bead-drift { to { transform: translateX(-50%); } }
.live-footer { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 14px; }
.live-footer p { color: var(--muted); font-size: 13px; }
.rail-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 10px 16px; color: var(--ink); font-size: 14px; min-height: 44px; }
.rail-toggle svg { width: 15px; height: 15px; }
.rail-toggle:hover { background: #f7e9df; }
.rail-toggle:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* Real simulator captures, presented without redrawing the application UI. */
.app-gallery { padding-block: 74px; scroll-margin-top: 24px; }
.app-gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.app-gallery-head p { color: var(--muted); margin-top: 15px; max-width: 600px; }
.gallery-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gallery-arrow { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 25px; line-height: 1; }
.gallery-arrow:hover { background: #f7e9df; }
.gallery-arrow:disabled { opacity: .35; }
.gallery-arrow:focus-visible { outline: 2px solid var(--coral); }
.gallery-track {
  display: flex; gap: 25px; overflow-x: auto; margin-top: 36px;
  padding: 4px 4px 22px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: #ddb8a4 transparent;
}
.gallery-card { flex: 0 0 min(240px,calc((100% - 75px) / 4)); min-width: 0; margin: 0; scroll-snap-align: start; }
.gallery-phone { overflow: hidden; border-radius: 31px; background: #141414; padding: 5px; border: 1px solid #504a4c; box-shadow: 0 10px 24px #2a1d190b; }
.gallery-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.gallery-card h3 { font-size: 18px; font-weight: 600; margin-top: 24px; }
.gallery-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.gallery-status { font-size: 13px; color: var(--muted); min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.gallery-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
@media (max-width: 1050px) {
  .landing .nav { gap: 15px; }
  .gallery-card { flex-basis: min(240px,calc((100% - 40px) / 3)); }
  .gallery-track { gap: 20px; }
}
@media (max-width: 740px) {
  .landing .hero-v2 h1 { font-size: clamp(40px,10.2vw,64px); }
  .landing .hero-v2 { min-height: 0; }
  .live-moments { padding: 40px 0; }
  .live-rail { margin-top: 26px; }
  .live-bead figcaption { font-size: 10px; margin-top: 9px; min-height: 4.2em; }
  .live-footer { flex-wrap: wrap; gap: 10px; }
  .live-footer p { font-size: 12px; }
  .app-gallery { padding-block: 42px; }
  .app-gallery-head { align-items: start; }
  .app-gallery-head p { font-size: 15px; }
  .gallery-controls { gap: 6px; padding-top: 5px; }
  .gallery-arrow { width: 40px; height: 40px; font-size: 22px; }
  .gallery-status { display: none; }
  .gallery-track { gap: 20px; margin-top: 25px; }
  .gallery-card { flex-basis: 78%; }
  .gallery-phone { border-radius: 29px; }
  .gallery-phone img { border-radius: 24px; }
  .gallery-card h3 { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-track { animation: none; }
  .live-rail { overflow-x: auto; }
  .live-group[aria-hidden="true"] { display: none; }
  .gallery-track { scroll-behavior: auto; }
}
