/* Rollsy website — "Sticker Deck". Tokens mirror the app: SwipePhotosCleaner/DesignSystem/Sticker.swift */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0020-024F, U+2010-206F, U+20AC, U+2122, U+2190-2193, U+2713, U+2715;
}
:root {
  --ink: #111111;
  --on-ink: #ffffff;
  --ground: #ffe89a;
  --paper: #ffffff;
  --muted: #3d3d3d;
  --lilac: #c9b6ff;
  --mint: #7de2c3;
  --sky: #8ec5ff;
  --peach: #ffb35c;
  --pink: #ff8fb1;
  --sun: #ffd23f;
  --keep: #0e7a4a;
  --del: #c2264b;
  --line: 2.5px;
  --sh: 5px;
  --r: 22px;
  --font: "Bricolage", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4efe3;
    --on-ink: #111111;
    --ground: #17151d;
    --paper: #26232e;
    --muted: #c4bed0;
    --keep: #5fe0a8;
    --del: #ff8fa3;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.6 var(--font); }
:lang(ar) body, :lang(hi) body, :lang(ja) body, :lang(ko) body, :lang(zh-Hans) body { line-height: 1.75; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 0.4em; text-wrap: balance; }
:lang(ar) :is(h1, h2, h3), :lang(hi) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(zh-Hans) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(42px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { padding-block: 80px 24px; }
.sub { font-size: 20px; max-width: 62ch; color: var(--muted); }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.skip { position: absolute; inset-inline-start: 12px; top: 8px; z-index: 50; background: var(--paper); padding: 10px 16px; border: var(--line) solid var(--ink); border-radius: 12px; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* sticker primitives */
.st { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.chip { display: inline-block; padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; color: #111; background: var(--sun); box-shadow: 2px 2px 0 var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--ground); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .12s, box-shadow .12s; cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-soon { cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: var(--line) solid var(--ink); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; text-decoration: none; letter-spacing: -0.02em; }
.logo img { border-radius: 10px; border: 2px solid var(--ink); }
.links { display: flex; gap: 2px; padding: 5px; background: var(--ink); border-radius: 999px; margin-inline-start: auto; }
.links a { color: var(--on-ink); color: var(--ground); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.links a:hover, .links a[aria-current] { background: var(--ground); color: var(--ink); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; width: 230px; max-height: 70vh; overflow: auto; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.lang li a:hover, .lang li a[aria-current] { background: var(--sun); color: #111; }
@media (max-width: 960px) {
  .links { order: 5; width: 100%; overflow-x: auto; margin: 0; scrollbar-width: none; }
  .links a { white-space: nowrap; }
  .lang { margin-inline-start: auto; }
}
@media (max-width: 520px) { .top .btn-sm { display: none; } }

.suggest { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 20px; background: var(--ink); color: var(--ground); font-weight: 700; }
.suggest[hidden] { display: none; }
.suggest a { color: var(--ground); }
.suggest button { background: none; border: 0; color: inherit; font-size: 24px; cursor: pointer; min-width: 44px; min-height: 44px; }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.hero .chip { background: var(--mint); transform: rotate(-2deg); margin-bottom: 18px; }
.lead { font-size: 21px; max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 0; }
.req { font-size: 15px; color: var(--muted); margin-top: 16px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* animated swipe deck (kept LTR: directions are physical) */
.deck { position: relative; height: 520px; display: grid; place-items: center; }
.deck .card { position: absolute; width: min(300px, 70vw); aspect-ratio: 3 / 4; padding: 10px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.deck .card img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.deck .back1 { transform: rotate(-9deg) translate(-60px, 20px); }
.deck .back2 { transform: rotate(8deg) translate(70px, 16px); }
.deck .live { animation: swipe 9s infinite cubic-bezier(.5, 0, .3, 1); }
.deck .live:nth-of-type(4) { animation-delay: -3s; }
.deck .live:nth-of-type(5) { animation-delay: -6s; }
.stamp { position: absolute; top: 30px; padding: 2px 14px; border: 3px solid currentColor; border-radius: 10px; background: #fff; font-weight: 800; font-size: 26px; opacity: 0; }
.stamp.k { left: 24px; color: #0e7a4a; transform: rotate(-12deg); }
.stamp.d { right: 24px; color: #c2264b; transform: rotate(12deg); }
.live .k { animation: stampK 9s infinite; }
.live:nth-of-type(4) .k, .live:nth-of-type(4) .d { animation-delay: -3s; }
.live:nth-of-type(5) .k, .live:nth-of-type(5) .d { animation-delay: -6s; }
.live .d { animation: stampD 9s infinite; }
@keyframes swipe {
  0%, 4% { transform: translate(0, 30px) scale(.94) rotate(0); opacity: 0; }
  10%, 22% { transform: translate(0, 0) scale(1) rotate(-1deg); opacity: 1; }
  30% { transform: translate(140%, -20px) rotate(18deg); opacity: 0; }
  31%, 100% { opacity: 0; transform: translate(0, 30px) scale(.94); }
}
@keyframes stampK { 0%, 18% { opacity: 0; } 23%, 29% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes stampD { 0%, 100% { opacity: 0; } }
.deck .live:nth-of-type(4) { animation-name: swipeL; }
.live:nth-of-type(4) .k { animation-name: stampD; }
.live:nth-of-type(4) .d { animation-name: stampK; }
@keyframes swipeL {
  0%, 4% { transform: translate(0, 30px) scale(.94) rotate(0); opacity: 0; }
  10%, 22% { transform: translate(0, 0) scale(1) rotate(1deg); opacity: 1; }
  30% { transform: translate(-140%, -20px) rotate(-18deg); opacity: 0; }
  31%, 100% { opacity: 0; transform: translate(0, 30px) scale(.94); }
}
.deck-btns { position: absolute; bottom: 0; display: flex; gap: 12px; }
.deck-btns span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-weight: 800; color: #111; }
.deck-btns .bd { background: var(--pink); } .deck-btns .bl { background: var(--lilac); } .deck-btns .bk { background: var(--mint); }
@media (prefers-reduced-motion: reduce) {
  .deck .live { animation: none; }
  .deck .live:nth-of-type(4), .deck .live:nth-of-type(5) { display: none; }
  .live .k { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
@media (max-width: 520px) { .deck { height: 440px; } .deck-btns { gap: 8px; } .deck-btns span { min-height: 44px; padding: 0 12px; font-size: 15px; white-space: nowrap; } .deck .back1 { transform: rotate(-8deg) translate(-30px, 16px); } .deck .back2 { transform: rotate(7deg) translate(34px, 12px); } }

/* marquee */
.marquee { background: var(--ink); color: var(--ground); border-block: var(--line) solid var(--ink); overflow: hidden; transform: rotate(-1deg); margin: 8px 0; }
.marquee-in { display: flex; gap: 32px; width: max-content; padding: 16px 0; font-weight: 800; font-size: 22px; white-space: nowrap; animation: slide 40s linear infinite; }
.marquee-in span::before { content: "★"; margin-inline-end: 32px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-in { animation: none; } }

/* answer-first box (AEO) */
.answer-box, .answer { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); padding: 22px 26px; font-size: 19px; }
.answer-box strong, .answer strong { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.answer { margin-top: 40px; }

/* grids */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); color: #111; }
.steps li::before { content: counter(s); display: block; font-size: 56px; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.steps li:nth-child(4n+1) { background: var(--sky); } .steps li:nth-child(4n+2) { background: var(--pink); transform: rotate(1deg); }
.steps li:nth-child(4n+3) { background: var(--mint); } .steps li:nth-child(4n+4) { background: var(--lilac); transform: rotate(-1deg); }
.steps p { margin: 0; }
.cards { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.cards li { background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); padding: 24px; display: flex; flex-direction: column; }
.cards li > .chip { align-self: flex-start; margin-bottom: 14px; }
.cards li:nth-child(6n+1) .chip { background: var(--peach); } .cards li:nth-child(6n+2) .chip { background: var(--lilac); }
.cards li:nth-child(6n+3) .chip { background: var(--mint); } .cards li:nth-child(6n+4) .chip { background: var(--pink); }
.cards li:nth-child(6n+5) .chip { background: var(--sky); }
.cards p { margin: 0; color: var(--muted); }
.cards h3 a { text-decoration: none; }
.cards h3 a::after { content: " →"; }
.cards li:has(h3 a):hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.cards li:has(h3 a) { position: relative; transition: transform .12s, box-shadow .12s; }
.cards h3 a::before { content: ""; position: absolute; inset: 0; }
.panel { background: var(--ink); color: var(--ground); border-radius: var(--r); padding: 40px; box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.panel h2 { color: var(--ground); }
.panel p { color: var(--ground); opacity: .92; max-width: 60ch; font-size: 19px; }
.panel a { color: var(--ground); }

/* pricing: Free vs Premium */
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 28px; margin-top: 36px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 22px; padding: 32px; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); background: var(--paper); }
.tier h3 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); }
.tier-pro { background: var(--mint); color: #111; --tick: #111; --tick-ink: #7de2c3; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.ticks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--tick, var(--ink)); color: var(--tick-ink, var(--paper)); font-size: 14px; font-weight: 800; }
.tier-free .ticks li:last-child { color: var(--muted); }
.tier-free .ticks li:last-child::before { content: "•"; background: transparent; color: var(--muted); border: 2px solid var(--muted); width: 22px; height: 22px; margin-inline: 2px; }
.tier-cta { margin: auto 0 0; }
.tier-cta .btn { width: 100%; }
.tier-pro .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.options { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: #fff; color: #111; border: var(--line) solid #111; border-radius: 18px; box-shadow: 4px 4px 0 #111; }
.opt strong { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.opt span { font-size: 15px; line-height: 1.4; color: #3d3d3d; }
.opt-best { background: #111; color: #ffe89a; transform: rotate(-1.5deg); }
.opt-best span:not(.chip) { color: #ffe89a; opacity: .9; }
.opt-best .chip { position: absolute; top: -16px; inset-inline-end: 12px; background: var(--pink); color: #111; border-color: #111; transform: rotate(5deg); box-shadow: 2px 2px 0 #111; font-size: 13px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .tier { padding: 24px; } .tier-pro .ticks, .options { grid-template-columns: 1fr; } .opt-best { transform: none; } }
.fine { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* tables */
.table { overflow-x: auto; margin-top: 30px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh) var(--sh) 0 var(--ink); }
.table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 17px; }
.table th, .table td { text-align: start; padding: 14px 18px; border-bottom: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); vertical-align: top; }
.table thead th { background: var(--ink); color: var(--ground); font-size: 15px; }
.table tr:last-child > * { border-bottom: 0; }
.table th[scope="row"] { font-weight: 700; width: 32%; }
.table .us { background: color-mix(in srgb, var(--mint) 35%, transparent); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; max-width: 900px; }
.faq details { background: var(--paper); border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 19px; position: relative; }
:dir(rtl) .faq summary, [dir="rtl"] .faq summary { padding: 18px 22px 18px 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 12px; font-size: 28px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* documents: guides, features, legal */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(38px, 5.6vw, 64px); }
.doc h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 48px; }
.doc ol, .doc ul:not(.cards) { padding-inline-start: 24px; }
.doc li { margin-bottom: 8px; }
.doc .cards { max-width: none; }
.crumbs { font-size: 15px; margin-bottom: 18px; color: var(--muted); }
.meta { font-size: 15px; color: var(--muted); }
.legal h2 { font-size: 26px; }
.end { text-align: center; padding-bottom: 80px; }
.end .actions { justify-content: center; }
.end h2 { max-width: 18ch; margin-inline: auto; }

/* footer */
.foot { background: var(--ink); color: var(--ground); margin-top: 80px; padding: 56px 0 32px; }
.foot a { color: var(--ground); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .logo img { border-color: var(--ground); }
.foot h2 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2; }
.foot-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ground) 25%, transparent); }
.foot-langs h2 { margin: 0; flex-basis: 100%; }
.foot-langs ul { display: flex; flex-wrap: wrap; gap: 6px; line-height: 1.2; }
.foot-langs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1.5px solid color-mix(in srgb, var(--ground) 35%, transparent); border-radius: 999px; font-size: 14px; font-weight: 600; }
.foot-langs a:hover { text-decoration: none; background: color-mix(in srgb, var(--ground) 15%, transparent); }
.foot-langs a[aria-current] { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.foot .fine { color: var(--ground); opacity: .75; margin-top: 28px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } .sec { padding-top: 56px; } .panel { padding: 28px; } }
