/*
 * pictoss.thecodevolt.com
 * Brand: the app's locked "Soft Pop" direction (pictoss repo, docs/DESIGN.md).
 * Web Design Read and token notes: .brain/map/feature-pictoss-site.md.
 * Pages are generated by scripts/pictoss-site/build.mjs; edit the CSS here.
 */

@font-face { font-family: "Nunito"; src: url("/fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- tokens (app values; --keep-ink is a web-only AA shade) ---------- */
:root {
  color-scheme: light dark;
  --paper: #F3F2F8;
  --surface: #FFFFFF;
  --sunken: #EAE9F1;
  --ink: #17162B;
  --ink-2: #686780;
  --ink-3: #A09FB4;
  --hairline: #E4E3EE;
  --brand: #E5214F;
  --brand-press: #CC1A44;
  --brand-ink: #CC1A44;
  --brand-soft: #FFE4EA;
  --keep: #12B886;
  --keep-ink: #0A7656;
  --keep-soft: #DDF5EC;
  --gold: #FFC233;
  --gold-ink: #8F6200;
  --gold-soft: #FFF1CC;
  --sky: #4C8DFF;
  --sky-ink: #1F5FD0;
  --sky-soft: #E1ECFF;
  --night: #17162B;
  --night-ink: #F4F3FA;
  --night-ink-2: #A3A2B8;
  --on-accent: #FFFFFF;
  --focus: #1F5FD0;
  --shadow: 0 2px 4px rgb(23 22 43 / 5%), 0 10px 28px rgb(23 22 43 / 8%);
  --shadow-lift: 0 4px 8px rgb(23 22 43 / 6%), 0 18px 40px rgb(23 22 43 / 12%);

  --r-sheet: 32px;
  --r-card: 24px;
  --r-tile: 20px;
  --r-chip: 12px;

  /* impeccable-disable bounce-easing: the app's locked press spring (pictoss docs/DESIGN.md, Motion: press scale 0.96 then spring back) */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in: cubic-bezier(.05, .7, .1, 1);
  --ease-out: cubic-bezier(.3, 0, .8, .15);

  --gutter: 16px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F0E17;
    --surface: #1A1925;
    --sunken: #24232F;
    --ink: #F4F3FA;
    --ink-2: #A3A2B8;
    --ink-3: #6E6D84;
    --hairline: #2A2937;
    --brand-press: #CC1A44;
    --brand-ink: #FF7A92;
    --brand-soft: #3A1621;
    --keep: #2ED69C;
    --keep-ink: #5BE3B1;
    --keep-soft: #13362A;
    --gold: #FFC94D;
    --gold-ink: #FFD475;
    --gold-soft: #3A2E12;
    --sky: #5C9BFF;
    --sky-ink: #8AB6FF;
    --sky-soft: #172648;
    --night: #1A1925;
    --focus: #8AB6FF;
    --shadow: none;
    --shadow-lift: none;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 1.0625rem/1.55 "Nunito", ui-rounded, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--brand);
}
::selection { background: var(--brand-soft); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
strong { font-weight: 800; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: var(--r-chip);
  font-weight: 800; box-shadow: var(--shadow-lift);
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 800 1.0625rem/1.2 "Nunito", ui-rounded, system-ui, sans-serif;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 380ms var(--ease-spring), background-color 160ms ease-out;
}
.btn:active { transform: scale(.96); transition-duration: 120ms; transition-timing-function: ease-out; }
.btn-primary { background: var(--brand); color: var(--on-accent); }
.btn-primary:hover { background: var(--brand-press); }
.btn-quiet { background: var(--sunken); color: var(--ink); }
.btn-quiet:hover { background: var(--hairline); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; margin-right: auto; border-radius: 12px; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: none; gap: 4px; }
.nav a, .lang {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: .98rem;
}
.nav a:hover, .lang:hover { background: var(--sunken); }
.nav a[aria-current="page"] { background: var(--sunken); }
.lang { gap: 6px; color: var(--ink-2); }
.lang .ic { width: 20px; height: 20px; }
.top .btn { display: none; }
@media (min-width: 880px) {
  .nav { display: flex; }
  .top .btn { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: 64px; }
.hero-card {
  position: relative; background: var(--brand-soft); border-radius: var(--r-sheet);
  padding: 120px 22px 30px; display: grid; gap: 24px;
}
.hero-art {
  position: absolute; width: min(300px, 82%); right: 50%; transform: translateX(50%); top: -52px;
  filter: drop-shadow(0 18px 24px rgb(23 22 43 / 14%));
  animation: float 3.2s ease-in-out infinite alternate;
}
@keyframes float { from { translate: 0 -6px; } to { translate: 0 6px; } }
.hero h1 { font-size: clamp(2.25rem, 1.55rem + 3.4vw, 4.25rem); line-height: 1.02; font-weight: 900; letter-spacing: -.025em; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 36rem; margin-top: 16px; }
.hero-cta { display: grid; gap: 12px; margin-top: 28px; justify-items: start; }
.status { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: .9375rem; max-width: 30rem; }
.status .ic { margin-top: 2px; color: var(--gold-ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 800; font-size: .9375rem;
  box-shadow: var(--shadow);
}
.facts .ic { color: var(--keep); }
@media (min-width: 880px) {
  .hero { padding-top: 72px; }
  .hero-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: 64px 56px 56px; min-height: 520px; align-items: center; }
  .hero-art { right: -40px; left: auto; top: 50%; transform: translateY(-56%); width: min(540px, 46%); }
  .hero-copy { grid-column: 1; }
}

/* ---------- screenshot rail ---------- */
.shots { margin-top: 40px; }
.rail {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 248px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.rail:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
.rail li { scroll-snap-align: start; }
.rail img { border-radius: 22px; box-shadow: var(--shadow); background: var(--surface); }
@media (prefers-color-scheme: dark) { .rail img { outline: 1px solid var(--hairline); outline-offset: -1px; } }
@media (min-width: 1184px) {
  .rail { grid-auto-columns: minmax(0, 1fr); width: min(100% - 64px, var(--max)); margin-inline: auto; padding-inline: 0; overflow: visible; }
}

/* ---------- sections ---------- */
.sec { padding-block: 72px; }
.sec-tight { padding-block: 48px; }
.h2 { font-size: clamp(1.875rem, 1.45rem + 1.9vw, 2.75rem); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; }
.body { color: var(--ink-2); margin-top: 14px; max-width: 34rem; }
.body + .body { margin-top: 12px; }
.split { display: grid; gap: 32px; }
@media (min-width: 880px) {
  .sec { padding-block: 104px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .split-flip > :first-child { order: 2; }
}

/* honest counter tiers */
.tiers { list-style: none; display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 20px 20px 22px; border-radius: var(--r-tile); background: var(--surface); box-shadow: var(--shadow); }
.tier .ic { width: 28px; height: 28px; margin-top: 1px; }
.tier h3 { font-size: 1.25rem; font-weight: 900; line-height: 1.25; }
.tier p { color: var(--ink-2); margin-top: 4px; font-size: 1rem; }
.tier-marked .ic { color: var(--ink-2); }
.tier-recent { background: var(--gold-soft); box-shadow: none; }
.tier-recent p, .tier-freed p { color: var(--ink); }
.tier-recent .ic, .tier-recent h3 { color: var(--gold-ink); }
.tier-freed { background: var(--keep-soft); box-shadow: none; }
.tier-freed .ic, .tier-freed h3 { color: var(--keep-ink); }
.note { display: flex; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-chip); background: var(--sunken); color: var(--ink); font-size: .9875rem; max-width: 34rem; }
.note .ic { color: var(--sky-ink); margin-top: 2px; }

/* finds */
.finds-art { width: min(340px, 78%); margin-inline: auto; }
.list-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); list-style: none; padding: 6px 0; }
@media (prefers-color-scheme: dark) { .list-card { box-shadow: none; } }
.list-card li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 20px; }
.list-card li + li { border-top: 1px solid var(--hairline); }
.list-card h3 { font-size: 1.125rem; font-weight: 800; }
.list-card p { grid-column: 1 / -1; color: var(--ink-2); font-size: 1rem; }
.tag { align-self: center; justify-self: end; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 900; letter-spacing: .02em; }
.tag-free { background: var(--keep-soft); color: var(--keep-ink); }
.tag-pro { background: var(--gold-soft); color: var(--gold-ink); }
.quick { margin-top: 22px; }

/* privacy band */
.night { background: var(--night); color: var(--night-ink); border-radius: var(--r-sheet); padding: 40px 22px 32px; display: grid; gap: 28px; }
.night .h2 { color: var(--night-ink); }
.night .body { color: var(--night-ink-2); }
.night-art { width: min(220px, 60%); margin-inline: auto; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--keep); margin-top: 2px; }
.night a { color: var(--night-ink); }
.night .more { margin-top: 16px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
@media (min-width: 880px) {
  .night { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: 64px; align-items: center; }
  .night-art { width: min(300px, 90%); }
}

/* ritual */
.ritual-art { display: flex; justify-content: center; align-items: flex-end; gap: 4px; }
.ritual-art img { width: 46%; max-width: 220px; }
.ritual-art img:last-child { width: 40%; max-width: 190px; margin-bottom: 18px; }

/* pricing */
.plans { display: grid; gap: 16px; margin-top: 36px; }
.plan { background: var(--surface); border-radius: var(--r-card); padding: 28px 22px; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .plan { box-shadow: none; } }
.plan-pro { outline: 2px solid var(--brand); outline-offset: -2px; }
.plan h3 { font-size: 1.5rem; font-weight: 900; }
.plan .price { margin-top: 6px; color: var(--ink-2); }
.plan .price strong { color: var(--ink); font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.plan .checks { margin-top: 18px; }
.plan .checks .ic { color: var(--keep); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tile { background: var(--sunken); border-radius: var(--r-tile); padding: 16px 14px; }
.tile .t-name { font-weight: 800; color: var(--ink-2); font-size: .9375rem; }
.tile .t-price { font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; margin-top: 2px; }
.tile .t-sub { font-size: .9375rem; color: var(--ink-2); margin-top: 2px; }
.tile .t-badge { display: inline-block; margin-top: 8px; padding: 2px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: .8125rem; font-weight: 900; }
.fine { color: var(--ink-2); font-size: .9375rem; margin-top: 20px; max-width: 46rem; }
@media (min-width: 880px) {
  .plans { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .plan { padding: 36px 32px; }
}

/* faq */
.faq { margin-top: 32px; padding-block: 6px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .faq { box-shadow: none; } }
.faq details { padding-inline: 20px; }
.faq details + details { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.0625rem; border-radius: var(--r-card);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-2); transition: transform 260ms var(--ease-in); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 48rem; }
@media (min-width: 880px) { .faq details { padding-inline: 28px; } .faq summary { padding-block: 18px; } .faq .a { padding-bottom: 24px; } }

/* closing band */
.closer { background: var(--brand-soft); border-radius: var(--r-sheet); padding: 36px 22px; display: grid; gap: 20px; align-items: center; }
.closer img { width: min(160px, 46%); }
.closer .hero-cta { margin-top: 18px; }
@media (min-width: 880px) { .closer { grid-template-columns: auto 1fr; padding: 48px 56px; gap: 40px; } .closer img { width: 180px; } }

/* ---------- footer ---------- */
.foot { margin-top: 72px; border-top: 1px solid var(--hairline); padding-block: 40px 48px; color: var(--ink-2); font-size: .9375rem; }
.foot-in { display: grid; gap: 28px; }
.foot .brand { font-size: 1.125rem; }
.foot .brand img { width: 32px; height: 32px; border-radius: 8px; }
.foot p { margin-top: 10px; max-width: 26rem; }
.foot-links { list-style: none; display: grid; gap: 2px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-weight: 800; text-decoration: none; }
.foot-links a:hover { color: var(--brand-ink); }
.foot-meta a { color: var(--ink-2); }
@media (min-width: 768px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- documents (privacy, terms, support) ---------- */
.doc { padding-top: 40px; }
.crumbs { font-size: .9375rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); font-weight: 800; }
.doc-head { margin-top: 18px; max-width: 46rem; }
.doc-head h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1.05; font-weight: 900; letter-spacing: -.02em; }
.meta { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.doc-head .lead { margin-top: 18px; }
.doc-grid { display: grid; gap: 28px; margin-top: 36px; }
.toc { font-size: .9688rem; }
.toc-m { background: var(--surface); border-radius: var(--r-tile); padding: 4px 16px; }
.toc-m summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m[open] summary .ic { transform: rotate(180deg); }
.toc-d { display: none; }
.toc-h { color: var(--ink-2); font-size: .875rem; font-weight: 800; padding-bottom: 6px; }
.toc ol { list-style: none; padding-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 44rem; min-width: 0; }
.prose > section { margin-top: 44px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 900; scroll-margin-top: 88px; }
.prose h3 { font-size: 1.125rem; font-weight: 800; margin-top: 24px; }
.prose p, .prose ul, .prose ol { margin-top: 12px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--ink-3); }
.prose a { overflow-wrap: anywhere; }
.prose code { font: 600 .875em/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--sunken); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose .src { font-size: .9375rem; color: var(--ink-2); }
.summary { background: var(--keep-soft); border-radius: var(--r-card); padding: 22px 22px 24px; }
.summary h2 { margin-top: 0; font-size: 1.25rem; }
.summary ul { list-style: none; padding: 0; }
.summary li { display: flex; gap: 10px; }
.summary .ic { color: var(--keep-ink); margin-top: 3px; }
.contact-card { background: var(--surface); border-radius: var(--r-card); padding: 24px 22px; box-shadow: var(--shadow); margin-top: 28px; max-width: 44rem; }
@media (prefers-color-scheme: dark) { .contact-card { box-shadow: none; } }
.contact-card h2 { font-size: 1.25rem; font-weight: 900; }
.contact-card p { color: var(--ink-2); margin-top: 6px; }
.contact-card .btn { margin-top: 18px; overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sunken); color: var(--ink); font-weight: 900; font-size: .875rem; margin-top: 1px; }
@media (min-width: 1000px) {
  .doc-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
  .toc { position: sticky; top: 96px; align-self: start; }
  .toc-m { display: none; }
  .toc-d { display: block; }
}

/* 404 */
.lost { padding-block: 72px 24px; display: grid; gap: 18px; justify-items: start; max-width: 40rem; }
.lost img { width: 180px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  .btn, .faq summary .ic { transition: none; }
  .btn:active { transform: none; }
  html { scroll-behavior: auto; }
}
