/* SlicePeek site, minimal white (2026-11-23). Archivo for text, the system serif italic for accents. */
@font-face { font-family: "Archivo"; src: url("archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --bg: #fff; --soft: #F5F5F7; --ink: #0B0B0C; --dim: #6E6E73; --line: #E6E6EB;
  --blue: #0071E3; --blue-hover: #0077ED;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 18px 40px -12px rgb(0 0 0 / 0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; height: auto; display: block; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header: brand, pill nav in the middle, blue download button on the right */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; background: rgb(255 255 255 / 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); max-width: none; }
.bar > * { flex: 1; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.bar nav { flex: 0 1 auto; display: none; gap: 0.25rem; padding: 0.3rem; background: var(--soft); border-radius: 999px; font-size: 0.9rem; }
.bar nav a { padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none; color: var(--ink); }
.bar nav a:hover { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .bar nav { display: flex; } }
.bar .end { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; font-size: 0.9rem; }
.bar .end > a:not(.dl) { text-decoration: none; color: var(--dim); }
.dl { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.15rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.dl:hover { background: var(--blue-hover); color: #fff; }

/* Type */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 550; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 600; line-height: 1.25; }
em.s, .s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--soft); font-size: 0.85rem; font-weight: 500; margin: 0 0 1.5rem; }
.chip svg { width: 14px; height: 14px; }
.head { text-align: center; max-width: 46rem; margin: 0 auto; }
.head .sub, .sub { color: var(--dim); font-size: 1.15rem; margin: 1.25rem auto 0; max-width: 38rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.9rem; min-height: 52px; padding: 0 0.4rem 0 1.4rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.btn::after { content: "↗"; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.05rem; transition: transform 0.25s; }
.btn:hover { color: #fff; }
.btn:hover::after { transform: rotate(45deg); }
.link { font-weight: 600; text-decoration: none; }
.link::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
.small { font-size: 0.88rem; color: var(--dim); }

/* Hero with the fan of cards */
.hero { text-align: center; padding: 4rem 16px 5rem; overflow-x: clip; }
@media (min-width: 640px) { .hero { padding: 5.5rem 0 6rem; } }
.hero .sub { max-width: 34rem; }
.fan { display: flex; justify-content: center; align-items: flex-end; margin: 3.5rem auto 0; padding: 0 0 1rem; list-style: none; }
.fan li { flex: none; width: 190px; margin-inline: -6px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; text-align: left; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.fan li:nth-child(1) { transform: rotate(-10deg) translateY(36px); z-index: 1; }
.fan li:nth-child(2) { transform: rotate(-5deg) translateY(10px); z-index: 2; width: 214px; }
.fan li:nth-child(3) { z-index: 3; width: 240px; }
.fan li:nth-child(4) { transform: rotate(5deg) translateY(10px); z-index: 2; width: 214px; }
.fan li:nth-child(5) { transform: rotate(10deg) translateY(36px); z-index: 1; }
.fan li:hover { z-index: 4; }
@media (hover: hover) { .fan li:hover { transform: translateY(-10px) rotate(0); } }
.fan .ph { aspect-ratio: 4 / 4.6; overflow: hidden; background: #061112; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.fan .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); }
.fan li:nth-child(n+4) .t { text-align: right; }
.fan .t { padding: 0 1.1rem 1.2rem; margin-top: -2.2rem; position: relative; }
.fan .t b { display: block; font: italic 400 1.3rem/1.15 var(--serif); letter-spacing: -0.02em; }
.fan .t span { display: block; font-size: 0.8rem; color: var(--dim); line-height: 1.35; margin-top: 0.3rem; }
.fx-invert img { filter: invert(1); }
.fx-contrast img { filter: contrast(1.6) brightness(1.2); }
.fx-zoom img { transform: scale(2.2); transform-origin: 56% 52%; }
.fx-flip img { transform: scale(-1.22, 1.22); }
@media (max-width: 760px) {
  .fan li:nth-child(1), .fan li:nth-child(5) { display: none; }
  .fan li { width: 42vw !important; max-width: 200px; margin-inline: -4vw; }
  .fan li:nth-child(3) { width: 46vw !important; }
  .fan .t b { font-size: 1.05rem; }
}
.credit { font-size: 0.8rem; color: var(--dim); margin-top: 1.5rem; }

/* Sections */
section { padding: 5rem 0; }
@media (min-width: 640px) { section { padding: 7rem 0; } }
section.soft { background: var(--soft); }

.tiles { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } .tiles.three { grid-template-columns: repeat(3, 1fr); } }
.tiles li { background: var(--soft); border-radius: 24px; padding: 1.75rem; }
section.soft .tiles li { background: #fff; }
.tiles p { margin: 0.6rem 0 0; color: var(--dim); font-size: 0.98rem; }

.points { display: grid; gap: 2rem 3rem; margin-top: 4rem; grid-template-columns: 1fr; list-style: none; padding: 0; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.points p { margin: 0.5rem 0 0; color: var(--dim); font-size: 0.98rem; }

/* Product shots */
.shots { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr 1fr; align-items: end; }
.shots figure { margin: 0; }
.shots .wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .shots { grid-template-columns: 2.4fr 1fr 1fr; } .shots .wide { grid-column: auto; } }
.shots img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); background: #061112; }
.shots .phone img { border-radius: 28px; aspect-ratio: 0.65; object-fit: cover; object-position: top; }
.shots figcaption { font-size: 0.85rem; color: var(--dim); margin-top: 0.75rem; text-align: center; }

/* Privacy */
.lock { width: 56px; height: 56px; margin: 0 auto 1.5rem; padding: 14px; border-radius: 18px; background: var(--ink); color: #fff; }

/* Pricing */
.plans { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: #fff; border-radius: 24px; padding: 1.5rem 1.5rem 1.75rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); }
.plan .tag { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--soft); font-size: 0.8rem; font-weight: 500; }
.plan .price { font: 400 2.8rem/1 var(--serif); letter-spacing: -0.03em; margin: 1.25rem 0 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.plan .price small { font: 400 0.9rem var(--sans); color: var(--dim); letter-spacing: 0; }
.plan ul { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; }
.plan li { padding-left: 1.5rem; position: relative; margin-top: 0.5rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plan.lit { background: var(--ink); color: #fff; }
.plan.lit .tag { background: rgb(255 255 255 / 0.14); }
.plan.lit .price { border-color: rgb(255 255 255 / 0.18); }
.plan.lit .price small { color: rgb(255 255 255 / 0.6); }
.plan.lit li::before { color: #6CB4FF; }
.fine { text-align: center; font-size: 0.88rem; color: var(--dim); margin: 2rem auto 0; max-width: 44rem; }

/* Banner (CD guide) */
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; background: var(--soft); border-radius: 32px; padding: 2.5rem; }
@media (min-width: 640px) { .banner { padding: 3.5rem 4rem; } }
.banner p { margin: 0.75rem 0 0; color: var(--dim); max-width: 36rem; }

/* FAQ and notes */
.faq { margin: 3rem auto 0; max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); margin: 0.75rem 0 0; }
.note { background: var(--soft); border-radius: 20px; padding: 1.25rem 1.5rem; color: var(--dim); font-size: 0.95rem; max-width: 46rem; margin: 3rem auto 0; }
.note strong { color: var(--ink); }

/* Download page */
.platforms { display: grid; gap: 1rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
.platform { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--soft); border-radius: 28px; padding: 2.5rem 1.5rem 2rem; }
.platform svg.dev { width: 64px; height: 64px; margin-bottom: 1.5rem; }
.platform p { color: var(--dim); margin: 0.5rem 0 1.75rem; font-size: 0.95rem; flex: 1; }
.platform .badge img { height: 48px; width: auto; }
.platform .store { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.3rem; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.platform .store:hover { color: #fff; opacity: 0.88; }

/* Long-form pages: CD guide and legal */
.article { max-width: 46rem; padding-block: 3.5rem 5rem; }
.article h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.article h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 3rem; }
.article h3 { margin-top: 2rem; }
.article p, .article ul, .article ol { margin: 0.8rem 0 0; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li + li { margin-top: 0.4rem; }
.article .lead { font-size: 1.2rem; color: var(--dim); margin-top: 1rem; }
.article code, .article kbd { font-family: var(--mono); font-size: 0.88em; background: var(--soft); border-radius: 6px; padding: 0.05em 0.35em; }
.article .note { margin: 2rem 0 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 3rem; margin-top: 1.25rem; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 0.9rem; }
.tree { font-family: var(--mono); font-size: 0.85rem; background: var(--soft); border-radius: 14px; padding: 1rem 1.25rem; overflow-x: auto; white-space: pre; line-height: 1.5; margin-top: 1rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.toc a { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--soft); text-decoration: none; font-size: 0.9rem; }
.meta { color: var(--dim); font-size: 0.9rem; margin-top: 1rem; }
.draft { background: #FFF4DB; color: #5A3A00; border-radius: 14px; padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: 0.95rem; }
.legal section { border-top: 1px solid var(--line); padding: 3rem 0 0; margin-top: 3rem; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; font-size: 0.85rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
footer p { margin: 0.5rem 0 0; width: 100%; font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Three portrait screenshots use the same fan and caption treatment as SlicePeek. */
.peek-fan { align-items: flex-end; padding-bottom: 1.35rem; }
.peek-fan li { width: clamp(154px, 18vw, 205px); margin-inline: -5px; }
.peek-fan li:nth-child(1) { transform: rotate(-8deg) translateY(15px); z-index: 1; }
.peek-fan li:nth-child(2) { transform: none; width: clamp(170px, 21vw, 240px); z-index: 3; }
.peek-fan li:nth-child(3) { transform: rotate(8deg) translateY(15px); z-index: 2; }
.peek-fan .ph { aspect-ratio: 4 / 4.55; background: #f5f5f7; mask-image: linear-gradient(#000 65%, transparent); -webkit-mask-image: linear-gradient(#000 65%, transparent); }
.peek-fan .ph img { object-position: 50% 5%; transform: none; }
.peek-fan .t { padding: 0 .65rem .9rem; margin-top: -.35rem; text-align: center; }
.peek-fan .t b { text-wrap: balance; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .peek-fan li:hover { transform: translateY(-8px); z-index: 4; }
}
.peek-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.peek-tags li { border-radius: 999px; padding: .35rem .8rem; background: var(--soft); font-size: .9rem; }
.peek-banner { max-width: 44rem; margin: 3rem auto 0; padding: clamp(1.4rem, 5vw, 3rem); }
@media (max-width: 760px) {
  .peek-fan li, .peek-fan li:nth-child(1) { display: block; width: min(31vw, 175px) !important; margin-inline: -2vw; }
  .peek-fan li:nth-child(2), .peek-fan li:nth-child(3) { width: min(31vw, 175px) !important; }
  .peek-fan li:nth-child(2) { width: min(36vw, 195px) !important; }
  .peek-fan .t { padding-inline: .4rem; }
}
@media (max-width: 380px) {
  .bar, .bar .end { gap: .5rem; }
  .bar .dl { padding-inline: .7rem; }
  .peek-fan .t b { font-size: .92rem; }
}
@media (max-width: 380px) {
  .peek-fan li:nth-child(1) { transform: rotate(-5deg) translateY(8px); }
  .peek-fan li:nth-child(3) { transform: rotate(5deg) translateY(8px); }
  .peek-fan { margin-inline: 0; }
}
.faq { overflow-wrap: anywhere; }
.faq summary::after { flex: none; }
/* Keep Chromium’s native details content inside the FAQ at narrow widths. */
.faq { overflow-x: clip; overflow-clip-margin: 4px; }
