:root {
  color-scheme: light dark;
  --ink: #1c1c1e;
  --page: #f2f2f7;
  --plate: #fff;
  --well: #e8e8ed;
  --muted: #636366;
  --accent: #0062cc;
  --cover: #0062cc;
  --cover-text: #fff;
  --gutter: clamp(20px, 4vw, 64px);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f2f7; --page: #000; --plate: #1c1c1e; --well: #2c2c2e; --muted: #aeaeb2; --accent: #70b5ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.5; letter-spacing: -.02em; }
a { color: var(--accent); text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
a, button { transition: opacity .18s, transform .18s; }
a:hover, button:hover { opacity: .75; }
button:active, .button:active { transform: scale(.97); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 6vw, 84px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
main, .site-nav, .site-footer, body > footer { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.site-nav { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 24px; }
.wordmark { color: var(--ink); font-size: 23px; font-weight: 750; text-decoration: none; letter-spacing: -.05em; }
.site-nav > div { display: flex; gap: 30px; }
.site-nav > div a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; min-height: 680px; padding-block: 48px 88px; }
.hero-copy > p { color: var(--muted); max-width: 34ch; margin-top: 26px; font-size: 20px; line-height: 1.55; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 25px; border-radius: 999px; background: var(--accent); color: var(--plate); font-weight: 600; text-decoration: none; margin-top: 32px; }
.hero-copy .availability { font-size: 14px; margin-top: 14px; }
.product-preview { padding: 28px; background: var(--plate); border-radius: 32px; min-width: 0; animation: arrive .6s ease-out both; }
.preview-heading, .preview-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.preview-heading > span:first-child { color: var(--accent); font-weight: 600; }
.product-preview h2 { font-size: 34px; margin-top: 32px; }
.preview-intro { margin-top: 8px; color: var(--muted); font-size: 15px; }
.segmented { display: flex; gap: 3px; padding: 4px; border-radius: 12px; background: var(--well); margin-top: 26px; }
.segmented button { flex: 1; border: 0; padding: 9px 4px; min-height: 44px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 15px; }
.segmented [aria-pressed="true"] { background: var(--plate); color: var(--ink); font-weight: 600; }
.collection-demo { padding: 28px 12px; min-height: 277px; text-align: center; }
.collection-symbol { color: var(--accent); width: 64px; margin: 0 auto 18px; }
.collection-symbol svg { display: block; width: 100%; }
.collection-demo h3 { font-size: 22px; }
.collection-demo p { max-width: 29ch; margin: 12px auto; font-size: 15px; color: var(--muted); }
.demo-note { color: var(--muted); font-size: 13px; }
.preview-bottom { padding-top: 16px; }
.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px 100px; scroll-margin-top: 32px; }
.workflow > div > p { max-width: 30ch; color: var(--muted); margin-top: 24px; font-size: 20px; }
.workflow-list { display: grid; gap: 32px; }
.workflow-list p { margin-top: 8px; color: var(--muted); }
.closing { background: var(--plate); border-radius: 28px; padding: 48px; }
.closing p { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 600; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-block: 48px; font-size: 14px; color: var(--muted); }
.site-footer p { flex: 1; }
.site-footer > a:last-child { color: var(--muted); }
/* Public collection pages keep the collection's chosen color as a small cover. */
.collection-nav { max-width: 1100px; }
.cover { max-width: 1100px; padding: 24px var(--gutter) 0; margin: 0 auto; }
.cover-inner { padding: 32px; background: var(--plate); border-radius: 24px; }
.emoji { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--cover); color: var(--cover-text); font-size: 34px; margin-bottom: 20px; }
.emoji:empty { display: none; }
.cover h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; overflow-wrap: anywhere; }
.count { margin-top: 10px; color: var(--muted); font-size: 15px; }
body > main:not(.product-page):not(.landing) { max-width: 1100px; padding-block: 28px 40px; }
.notice { color: var(--muted); max-width: 50ch; padding-block: 16px; }
.frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 16px; }
.frame { min-width: 0; }
.frame a { display: block; color: var(--ink); text-decoration: none; }
.shot { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.youtube img { transform: scale(1.34); }
.mark { font-size: 36px; font-weight: 700; color: #fff; }
.pill { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; background: #000b; color: #fff; font-size: 12px; font-weight: 600; }
.caption { margin: 10px 2px 0; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.author { margin: 4px 2px 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.skeleton { aspect-ratio: 3 / 4; border-radius: 16px; background: var(--plate); }
body > footer:not(.site-footer) { max-width: 1100px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
body > footer p { max-width: 65ch; }
.landing { min-height: 85svh; display: grid; align-content: center; gap: 24px; max-width: 800px; padding-block: 48px; }
.landing p { color: var(--muted); max-width: 50ch; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 850px) {
  .hero { gap: 32px; }
  .hero-copy > p { font-size: 17px; }
  .product-preview { padding: 22px; }
  .preview-caption { display: none; }
  .product-preview h2 { font-size: 28px; }
  .workflow { gap: 32px; }
  .preview-bottom { font-size: 11px; }
}
@media (max-width: 600px) {
  .site-nav { min-height: 76px; }
  .site-nav > div { gap: 20px; }
  .site-nav > div a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 56px; }
  .hero-copy > p { max-width: 32ch; font-size: 18px; margin-top: 22px; }
  .hero-copy .availability { font-size: 14px; }
  .product-preview { padding: 24px; border-radius: 24px; }
  .preview-caption { display: block; }
  .product-preview h2 { font-size: 30px; margin-top: 24px; }
  .preview-bottom { font-size: 12px; }
  .workflow { grid-template-columns: 1fr; padding-block: 16px 56px; }
  .workflow > div > p { font-size: 18px; }
  .closing { padding: 28px; border-radius: 24px; }
  .closing h2 { font-size: 30px; }
  .site-footer { display: grid; gap: 12px; padding-block: 32px; }
  .cover-inner { padding: 24px; }
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
