@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700;750;800&family=Noto+Sans+KR:wght@400;450;500;550;600;650;700;750;800&display=swap");
/* Shared type, navigation, galleries and downloads for the product collection. */
:root{--ink:#243d32;--muted:#5f7166;--accent:#256b54;--soft:#edf4ee;--line:#dfe7de;--paper:#f8faf8;color-scheme:light;font-synthesis:none}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);font-family:"DM Sans","Noto Sans KR",-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
img{display:block;max-width:100%;height:auto}
p,h1,h2,h3,figure{margin:0}
.container{width:min(1080px,calc(100% - 96px));margin-inline:auto}
.skip{position:fixed;top:-80px;left:20px;background:var(--ink);color:white;padding:12px;z-index:10}
.skip:focus{top:15px}

.section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.section-top h2,.faq h2{font-size:26px;font-weight:680;letter-spacing:-1px;line-height:normal;margin-top:12px}
.section-top>p{font-size:12px;line-height:1.8;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.feature{padding:29px 30px 22px;border:1px solid var(--line);border-radius:13px;background:#fff}
.feature-number{color:var(--muted);font-size:10px}
.feature h3,.feature-title{display:block;font-size:21px;font-weight:670;margin:22px 0 12px;letter-spacing:-.7px;word-break:keep-all}
.feature p,.feature-description{display:block;font-size:12px;line-height:1.9;color:var(--muted);word-break:keep-all}
.feature-gallery{--stage-height:520px;--caption-height:48px}
.feature-gallery .feature{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;color:var(--ink);transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}
.feature-gallery .feature:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 10px 25px #35573b0c}
.feature-gallery .feature[aria-selected="true"]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,white)}
.feature-indicator{position:absolute;top:29px;right:25px;width:15px;height:15px;color:var(--accent);opacity:0}
.feature-indicator svg{display:block;width:15px;height:15px;stroke-width:2}
.feature[aria-selected="true"] .feature-indicator{opacity:1}
.feature-viewer{height:calc(var(--stage-height) + var(--caption-height));margin-top:28px}
.feature-panel{height:100%;margin:0}
.feature-panel[hidden]{display:none}
.feature-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:var(--stage-height);padding:20px;border:1px solid var(--line);border-radius:14px;background:#eef3ee;overflow:hidden;cursor:zoom-in}
.feature-stage img{display:block;flex:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;min-width:0;min-height:0}
.feature-panel figcaption{display:flex;align-items:center;gap:10px;height:var(--caption-height);font-size:12px;line-height:1.65;color:var(--muted);overflow:hidden}
.feature-caption-number{flex:none;color:var(--accent);font-size:10px;font-weight:650}
@media(max-width:800px){.feature-gallery{--stage-height:420px}}
@media(max-width:540px){.feature-gallery{--stage-height:300px;--caption-height:60px}.feature-stage{padding:10px}.feature-panel figcaption{font-size:11px}}
.faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:40px}
.faq-item + .faq-item { margin-block-start: 32px; }
.faq-item h3{font-size:13px;font-weight:600;line-height:1.7;word-break:keep-all}
.faq-item p{font-size:12px;line-height:1.9;color:var(--muted);margin-top:10px;word-break:keep-all}
.footer { padding-block: clamp(72px, 8vw, 120px) 28px; }
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-brand{font-size:14px;font-weight:700;letter-spacing:-.5px}
.footer-links{display:flex;align-items:center;gap:24px;font-size:13px;color:var(--muted)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:17px;font-size:10px;line-height:1.8;color:var(--muted)}
.footer-bottom a:hover{text-decoration:underline}
.image-dialog{width:fit-content;max-width:min(1200px,94vw);max-height:92dvh;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.image-dialog::backdrop{background:#14271db3;backdrop-filter:blur(4px)}
.image-dialog img{width:auto;height:auto;max-width:min(1200px,94vw);max-height:92dvh;object-fit:contain;cursor:zoom-out}
.image-dialog button{display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-out}
.screenshot img,.feature-stage img,.image-dialog img{border-radius:12px;box-shadow:0 2px 6px #14271d0a,0 10px 24px #14271d1a}
/* Follow the captured native dialog curves, including the antialiased edge. */
img[src$="/transcribe.webp"]{border-radius:.96875% / 1.6766%}
img[src$="/speakers.webp"]{border-radius:1.3157% / 1.6169%}
/* Finder already contains its original transparent window and menu shadows. */
img[src$="/finder.png"]{border-radius:0;box-shadow:none}


.collection-page {
  --paper: #fffdf9;
  --cover-paper: #f4f0fa;
  --ink: #272332;
  --muted: #605b66;
  --line: #dedbe1;
  --accent: #685187;
  --masthead-height: 78px;
  background: var(--paper);
  color: var(--ink);
}
.collection-page ::selection { color: #252032; background: #e1ccef; }
.collection-page .container { width: min(1160px, calc(100% - 80px)); }
.collection-page .masthead,
.collection-page .product-cover { background-color: var(--cover-paper); }
.product-cover {
  min-height: calc(100svh - var(--masthead-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(24px, 3vw, 40px);
  padding-block: clamp(24px, 4svh, 56px);
}
.masthead-inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--masthead-height); }
.masthead .brand { display: inline-flex; align-items: center; font-weight: 750; gap: 8px; color: #282436; font-size: 24px; letter-spacing: -.04em; }
.masthead .brand img { width: 38px; height: 38px; }
.cover-actions { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 24px 0 9px; }
.cover-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #22202f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background .18s ease-out, transform .18s ease-out;
}
.cover-actions .github-link { background: #34313b; }
.cover-actions .github-link span[aria-hidden] { display: none; }
.cover-actions svg { width: 18px; height: 18px; }
.cover-actions .cover-download svg { fill: currentColor; stroke: none; }
.product-macro-studio .cover-download svg { fill: none; stroke: currentColor; }
.cover-actions a:hover { background: #4a4058; transform: translateY(-1px); }
.cover-platform { color: #665f71; font-size: 12px; line-height: 1.6; }
.collection-page .features { padding-block-start: clamp(40px, 5vw, 80px); }
.collection-page .section-top h2,
.collection-page .faq h2 { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -.04em; }
.collection-page .section-top { margin-bottom: 26px; }
.collection-page .faq { margin-block-start: clamp(120px, calc(64px + 10vw), 216px); }
.collection-page .faq-item h3 { font-size: 17px; }
.collection-page .faq-item p { font-size: 15px; line-height: 1.8; }
.collection-page .footer-bottom { font-size: 12px; }
.collection-page .feature-gallery {
  --gallery-ink: var(--ink);
  --gallery-muted: var(--muted);
  --gallery-rule: var(--line);
  --gallery-field: color-mix(in srgb, var(--cover-paper) 58%, white);
  --stage-height: clamp(26rem, 44vw, 34rem);
  --caption-height: 3.25rem;
}

.collection-page .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 36px);
}

.collection-page .feature-gallery .feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  align-content: start;
  gap: 9px;
  padding: 16px 0 20px;
  border: 0;
  border-bottom: 1px solid var(--gallery-rule);
  border-radius: 0;
  color: var(--gallery-ink);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.collection-page .feature-gallery .feature:hover {
  border-color: var(--gallery-ink);
}

.collection-page .feature-gallery .feature[aria-selected="true"] {
  border-color: var(--gallery-ink);
  box-shadow: inset 0 -2px var(--gallery-ink);
}

.collection-page .feature-gallery :focus-visible {
  outline: 3px solid #6843a1;
  outline-offset: 3px;
  z-index: 1;
}

.collection-page .feature-number,
.collection-page .feature-caption-number {
  font: 600 12px/1.4 ui-monospace, monospace;
  letter-spacing: .04em;
  color: var(--gallery-muted);
}

.collection-page .feature-indicator {
  position: static;
  align-self: center;
  color: var(--gallery-ink);
}

.collection-page .feature-title,
.collection-page .feature-description {
  grid-column: 1 / -1;
  margin: 0;
}

.collection-page .feature-title {
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.4;
  letter-spacing: -.04em;
}

.collection-page .feature-description,
.collection-page .feature-panel figcaption {
  color: var(--gallery-muted);
  font-size: 13px;
  line-height: 1.7;
}

.collection-page .feature-viewer {
  margin-top: 28px;
}

.collection-page .feature-stage,
.collection-page .summary-proof {
  min-width: 0;
  padding: clamp(18px, 3vw, 42px);
  border: 0;
  border-radius: 3px;
  background: var(--gallery-field);
}

@media (max-width: 600px) {
  .collection-page .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--gallery-rule);
  }

  .collection-page .feature-gallery .feature {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 6px 12px;
    padding: 13px 2px;
  }

  .collection-page .feature-title {
    grid-area: 1 / 2;
    font-size: 17px;
  }

  .collection-page .feature-indicator { grid-area: 1 / 3; }
  .collection-page .feature-description { grid-column: 2 / -1; }


  .collection-page .feature-viewer { margin-top: 16px; }
  .collection-page .feature-panel figcaption { font-size: 12px; }
}

@media (max-width: 800px) {
  .collection-page .container { width: calc(100% - 44px); }
  .collection-page { --masthead-height: 68px; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 540px) {
  .collection-page .container { width: calc(100% - 36px); }
  .masthead .brand { font-size: 21px; }
  .masthead .brand img { width: 32px; height: 32px; }
  .cover-actions { gap: 7px; }
  .cover-actions a { min-height: 46px; padding-inline: 17px; font-size: 14px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* Embedded covers size to their content; viewport height comes from Explore. */
.product-embed body { min-width: 0; }
.product-embed .product-cover { min-height: 0; padding-block: clamp(24px, 4vw, 48px); }
.product-embed .pickly-album { --print-height: clamp(150px, 22vw, 270px); }
