/* Page styles for the app pages (Frame by Frame and Living Moments). Scoped under <main class="page">. */
main.page { color: var(--body); font-size: 14px; line-height: 1.5; }
main.page a { color: var(--text); }
main.page a:hover { color: var(--a); }
main.page h1, main.page h2, main.page h3 { color: var(--text); }
main.page .wrap { max-width: 1180px; min-width: 0; margin: 0 auto; padding: 16px 20px 8px; }
main.page .doc { max-width: 720px; }

main.page .hero { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
main.page .hero-copy { min-width: 0; flex: 1; }
main.page .hero h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
main.page .sub { color: var(--a); font-weight: 600; margin-top: 2px; }
main.page .tag { font-weight: 600; color: var(--text); margin-top: 6px; }
main.page .free { color: var(--muted); font-size: 13px; margin-top: 8px; }
main.page .store-row { margin-top: 10px; }
main.page .store img { display: block; width: 135px; height: auto; }
main.page .soon {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--edge); background: var(--panel); color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; cursor: default;
}
main.page .soon:disabled { opacity: 1; }

main.page .hero-icon, main.page .hero-icon.fallback {
  width: 84px; height: 84px; border-radius: 20px; flex: none; object-fit: cover;
}
main.page .fallback {
  display: grid; place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--a) 30%, var(--panel)), var(--panel-2));
  border: 1px solid color-mix(in srgb, var(--a) 45%, var(--edge));
  color: var(--text); font-weight: 800;
}

main.page .scene { margin: 8px -20px 4px; min-width: 0; overflow: hidden; }
main.page .scene img {
  display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; aspect-ratio: 1024 / 682;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
}

main.page .shots { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 0; min-width: 0; }
main.page .shot { flex: 0 1 150px; min-width: 0; }
main.page .shot img, main.page .shot .fallback {
  display: block; width: 100%; height: auto; aspect-ratio: 1290 / 2796; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--edge); background: var(--panel);
}

main.page .head { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; }
main.page .head h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
main.page .rule { flex: 1; height: 1px; background: var(--edge); }

main.page .feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
main.page .feat {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px;
}
main.page .feat-icon {
  display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 8px;
  color: var(--a); background: color-mix(in srgb, var(--a) 14%, var(--panel));
}
main.page .feat-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main.page .feat h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
main.page .pro-tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px;
  background: var(--a); color: var(--on-c);
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; vertical-align: 1px;
}
main.page .intro { margin: 2px 0 18px; }
main.page .intro-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
main.page .enso { flex: none; width: 56px; height: 56px; }
main.page .intro h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
main.page .intro p { margin-bottom: 6px; }
main.page .intro p:last-child { margin-bottom: 0; }
main.page .intro strong { color: var(--text); font-weight: 600; }
main.page .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
main.page .chips span {
  font-size: 12px; font-weight: 600; color: var(--text);
  padding: 2px 8px; border: 1px solid var(--edge); border-radius: 999px;
}
main.page .circle { max-width: 68ch; }
main.page .quiet { color: var(--muted); margin-top: 6px; }
main.page .made { margin-top: 14px; color: var(--muted); font-size: 13px; }
main.page .feat p { font-size: 13px; line-height: 1.45; }

main.page .table-scroll {
  max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain;
  border: 1px solid var(--edge); border-radius: 12px; background: var(--panel);
}
main.page table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
main.page th, main.page td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
main.page tr:last-child th, main.page tr:last-child td { border-bottom: 0; }
main.page thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
main.page tbody th { font-weight: 600; }
main.page td:nth-child(n+2), main.page thead th:nth-child(n+2) { width: 27%; }
main.page td:last-child, main.page thead th:last-child { background: color-mix(in srgb, var(--a) 8%, transparent); }
main.page .pro-line { margin-top: 10px; color: var(--text); }
main.page .price-note { color: var(--muted); font-size: 12px; margin-top: 2px; }

main.page .private {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--a) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--a) 35%, var(--edge));
}
main.page .private h2 { font-size: 15px; margin-bottom: 4px; }
main.page .private a, main.page .doc a { font-weight: 600; text-underline-offset: 3px; }
main.page .links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--edge);
  color: var(--muted);
}
main.page .links a { font-weight: 600; text-decoration: none; }
main.page .links a:hover { text-decoration: underline; }

main.page .doc h1 { font-size: clamp(22px, 4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
main.page .updated, main.page .lead { color: var(--muted); margin-top: 6px; }
main.page .doc section { margin-top: 16px; }
main.page .doc h2 { font-size: 16px; margin-bottom: 4px; }
main.page .email {
  display: inline-flex; margin-top: 14px; padding: 12px 18px; border-radius: 10px;
  background: var(--a); color: var(--on-c); font-size: 16px; font-weight: 700; text-decoration: none;
}
main.page .email:hover { filter: brightness(1.08); color: var(--on-c); }
main.page .addr { margin-top: 8px; color: var(--text); font-weight: 600; }
main.page .faq { margin-top: 4px; border-top: 1px solid var(--edge); }
main.page .faq details { border-bottom: 1px solid var(--edge); }
main.page .faq summary {
  cursor: pointer; color: var(--text); font-weight: 600; padding: 10px 22px 10px 0;
  list-style: none; position: relative;
}
main.page .faq summary::-webkit-details-marker { display: none; }
main.page .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 16px; width: 7px; height: 7px;
  border-right: 2px solid var(--a); border-bottom: 2px solid var(--a); transform: rotate(45deg);
}
main.page .faq details[open] summary::after { top: 19px; transform: rotate(-135deg); }
main.page .faq details p { padding: 0 0 12px; }

@media (max-width: 800px) {
  main.page .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  main.page .table-scroll { overflow: visible; }
  main.page table { min-width: 0; }
  main.page thead { display: none; }
  main.page tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 8px 12px; border-bottom: 1px solid var(--edge); }
  main.page tbody tr:last-child { border-bottom: 0; }
  main.page th, main.page td { border-bottom: 0; }
  main.page tbody th { grid-column: 1 / -1; padding: 0 0 2px; }
  main.page td { width: auto; padding: 0; }
  main.page td:last-child { background: transparent; }
  main.page td:nth-child(2)::before, main.page td:nth-child(3)::before {
    display: block; margin-bottom: 1px;
    color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  }
  main.page td:nth-child(2)::before { content: "Free"; }
  main.page td:nth-child(3)::before { content: "Pro"; color: var(--a); }
}
@media (max-width: 720px) {
  main.page .wrap { padding: 14px 14px 8px; }
  main.page .scene { margin-left: -14px; margin-right: -14px; }
  main.page .shots {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; gap: 10px; padding-bottom: 6px;
  }
  main.page .shot { flex: 0 0 min(68vw, 240px); scroll-snap-align: center; }
}
@media (max-width: 560px) {
  main.page .feats { grid-template-columns: 1fr; }
}
