@font-face {
  font-family: "Fixel Display";
  src: url("assets/fonts/FixelDisplay-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Shared content edges, independent of each section's vertical spacing. */
.landing { --page-gutter: clamp(24px, 5.5vw, 72px); }
.landing .wrap { max-width: 1360px; padding-inline: var(--page-gutter); }
.landing .site-header { gap: 16px; }
.landing .wordmark { flex-shrink: 0; }
.landing .wordmark .logo { width: 280px; height: auto; }
.landing .hero-v2 { padding-right: 24px; gap: 60px; }
.landing .hero-copy, .landing .demo-layout > *,
.landing .app-showcase > *, .landing .story > * { min-width: 0; }
.landing .story-beads { gap: clamp(30px, 6vw, 95px); }
.landing .story-moment { display: block; position: relative; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 50%; background: var(--peach); overflow: hidden; isolation: isolate; transition: transform .25s; }
.landing .story-moment img, .landing .story-moment video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.landing .story-moment video { opacity: 0; }
.landing .story-moment.is-playing video { opacity: 1; }
.landing .story-bead:hover img { transform: none; }
.landing .story-moment:hover { transform: rotate(-3deg) scale(1.035); }
.landing .story-play-cue { position: absolute; z-index: 2; right: 21%; bottom: 10px; display: flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 30px; color: var(--coral); background: var(--paper); font: 12px/1.2 var(--font); pointer-events: none; }
.landing .story-play-cue svg { width: 14px; height: 14px; }
.landing .story-moment.is-playing .story-play-cue { opacity: 0; }
.landing .story-moment.has-error { outline: 2px dashed var(--coral); }
.landing .phone-wordmark { width: 172px; height: auto; margin-block: 3px; }
.landing .closing-mark { width: 144px; height: 56px; margin: 0 auto 28px; }
.landing video.hero-memory { display: block; object-position: 57% center; filter: brightness(1.06) saturate(1.08); }
.landing .memory-stamp .pause-symbol { display: none; }
.landing .memory-stamp.playing .pause-symbol { display: block; }
.landing .memory-stamp.playing .play-symbol { display: none; }
.landing .memory-stamp,
.landing .memory-stamp.playing {
  width: 152px; height: 70px; padding: 10px 14px;
  top: 52px; right: -20px; border-radius: 999px;
  background: var(--paper); color: #E8614F;
  transform: rotate(6deg); box-shadow: 0 5px 20px #2a1d190d;
}
.landing .memory-stamp:hover { background: #FFFDF9; transform: rotate(0) scale(1.04); }
.landing .memory-stamp .memory-logo { width: 124px; height: auto; color: inherit; }
.landing .moment-hint { max-width: 220px; text-align: center; }
.landing .hero-photo { height: auto; aspect-ratio: 1; width: 100%; max-width: 510px; margin-inline: auto; }
.landing .hero-memory, .landing .hero-photo::after { border-radius: 50%; }
.landing video.hero-memory { position: absolute; inset: 0; object-position: center; }
.landing .hero-photo .memory-caption { left: 0; right: 0; bottom: -28px; max-width: none; font-size: 12px; text-align: center; color: var(--muted); transform: rotate(-3deg); }
.landing .floating-memory { bottom: -8px; left: -35px; }
.landing .moment-beads { position: absolute; bottom: -108px; left: 50%; right: auto; width: 244px; height: 72px; transform: translateX(-50%) rotate(-3deg); }
.landing .moment-necklace-thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.landing .moment-necklace-thread path { stroke: #E8614F; stroke-width: 1.5; stroke-linecap: round; }
.landing .moment-bead { position: absolute; z-index: 1; width: 44px; height: 44px; border-radius: 50%; padding: 2px; border: 2px solid var(--paper); background: var(--paper); transform: translate(-50%, -50%); transition: transform .16s, border-color .16s; }
.landing .moment-bead:nth-of-type(1) { left: 26px; top: 28px; }
.landing .moment-bead:nth-of-type(2) { left: 90px; top: 42px; }
.landing .moment-bead:nth-of-type(3) { left: 154px; top: 26px; }
.landing .moment-bead:nth-of-type(4) { left: 218px; top: 37px; }
.landing .moment-bead img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.landing .moment-bead.active { border-color: #E8614F; transform: translate(-50%, -50%) scale(1.12); }
.landing .demo-surface { min-width: 0; margin-right: 12px; }
.landing .personal-image { width: calc(100% - 12px); }

@media (min-width: 741px) and (max-width: 1050px) {
  .landing .hero-v2 { gap: 40px; }
  .landing .hero-v2 h1 { font-size: clamp(54px, 7.2vw, 76px); }
  .landing .story-bead, .landing .story-bead img { width: clamp(160px, 20vw, 200px); }
  .landing .story-bead img { height: clamp(160px, 20vw, 200px); }
  .landing .v2-demo .demo-layout { gap: 32px; }
  .landing .v2-demo .demo-surface { padding: 22px; }
  .landing .app-showcase { grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr); gap: 28px; }
  .landing .personal .story { gap: 40px; }
}

@media (max-width: 740px) {
  .landing .wordmark .logo { width: clamp(176px, 55vw, 250px); }
  .landing .hero-v2 { padding-right: 0; padding-bottom: 142px; gap: 42px; }
  .landing .hero-v2 h1 { font-size: clamp(52px, 13.2vw, 94px); }
  .landing .hero-photo { width: calc(100% - 42px); max-width: 385px; }
  .landing .hero-photo .memory-caption { bottom: -32px; font-size: 10px; }
  .landing .floating-memory { left: -22px; bottom: -12px; }
  .landing .floating-memory img { width: 72px; height: 72px; }
  .landing .moment-hint { top: 110px; max-width: 165px; }
  .landing .memory-stamp, .landing .memory-stamp.playing { width: 132px; height: 62px; padding: 10px 12px; top: 30px; right: -18px; }
  .landing .memory-stamp .memory-logo { width: 108px; }
  .landing .story-beads { margin-inline: 4px; }
  .landing .demo-surface { margin-inline: 4px 12px; }
  .landing .app-showcase-art { margin-inline: -8px; }
  .landing .personal-image { width: calc(100% - 14px); margin-inline: 7px; }
}

@media (max-width: 374px) {
  .landing { --page-gutter: 20px; }
  .landing .site-header { gap: 12px; }
  .landing .story-bead, .landing .story-bead img { width: 136px; }
  .landing .story-bead img { height: 136px; }
  .landing .app-showcase .phone { transform: rotate(-3deg) scale(.92); }
  .landing .big-bead-bg { width: 280px; height: 280px; left: calc(50% - 140px); }
}

/* Light, open Ukrainian letterforms paired with the handwritten wordmark. */
.landing :is(h1, h2, h3) {
  font-family: "Fixel Display", -apple-system, sans-serif;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.landing :is(h1, h2, h3) em { font-style: normal; }
.landing .hero-v2 h1 { font-size: clamp(54px, 6.1vw, 84px); letter-spacing: -.045em; line-height: 1.04; }
.landing .v2-closing h2 { font-size: clamp(54px, 6.5vw, 80px); }
@media (min-width: 741px) and (max-width: 1050px) {
  .landing .hero-v2 h1 { font-size: clamp(44px, 5.65vw, 60px); }
}
@media (max-width: 740px) {
  .landing .hero-v2 h1 { font-size: clamp(44px, 11.8vw, 82px); }
  .landing .v2-closing h2 { font-size: clamp(42px, 10.5vw, 68px); }
}

/* A permanent free necklace and one subscription, billed two ways. */
.landing .pricing { padding-block: 96px; scroll-margin-top: 28px; }
.landing .pricing .section-head { align-items: end; margin-bottom: 40px; }
.landing .pricing .section-head p { max-width: 380px; }
.landing .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.landing .pricing-card { display: flex; flex-direction: column; padding: 40px; border: 1px solid var(--line); border-radius: 32px; background: #fffaf4; }
.landing .pricing-paid { background: #f9e6dc; border-color: #e9c1b2; }
.landing .pricing-card h3 { font-size: 32px; letter-spacing: -.025em; margin-bottom: 28px; }
.landing .plan-price { font-size: clamp(34px, 3.5vw, 48px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.landing .plan-price small { font-size: 18px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.landing .plan-period { margin-top: 8px; color: var(--muted); font-size: 16px; }
.landing .plan-intro { margin-top: 28px; max-width: 360px; min-height: 52px; }
.landing .pricing-card ul { list-style: none; padding: 0; margin: 28px 0; }
.landing .pricing-card li { display: flex; align-items: baseline; gap: 12px; margin: 12px 0; }
.landing .pricing-card li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #bd4938; }
.landing .plan-note { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.landing .pricing-card .button { margin-top: auto; align-self: start; }
.landing .plan-button-free { color: var(--ink); background: transparent; border: 1px solid #c5b8ac; }
.landing .plan-button-free:hover { background: #f9e6dc; }
.landing .pricing-footnotes { max-width: 850px; margin: 24px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
.landing .pricing-footnotes p + p { margin-top: 8px; }
.landing .small-note a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ccbbae; }
@media (max-width: 1100px) { .landing .nav { gap: 18px; } }
@media (max-width: 760px) {
  .landing .pricing { padding-block: 64px; }
  .landing .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .landing .pricing-card { padding: 28px; border-radius: 26px; }
  .landing .pricing-card h3 { font-size: 30px; margin-bottom: 20px; }
  .landing .plan-intro { min-height: 0; }
  .landing .pricing .section-head { display: block; }
  .landing .pricing .section-head p { margin-top: 24px; }
  .landing .pricing-footnotes { text-align: left; }
}
