:root {
  --violet: #5f1e96;
  --violet-soft: #ece4f5;
  --ink: #000;
  --sheet: #f6f5fa;
  --carbon: #1d1030;
  --muted: #5a5466;
  --line: #d9d4e3;
  --skin: #f1d3bd;
  --radius-big: 28px;
  --radius-small: 10px;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-3: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --step-4: clamp(3.2rem, 2rem + 6vw, 7.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.55; color: var(--ink); background: var(--sheet); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav ul a:hover { color: var(--ink); }
.nav ul a.btn { color: #fff; }
.nav ul a.btn:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.btn:hover { background: var(--violet); border-color: var(--violet); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { padding: .55rem 1.05rem; font-size: .95rem; }
@media (max-width: 760px) { .nav ul li:not(:last-child) { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: var(--step-4); line-height: .9; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 1.5rem; }
.hero p.lede { font-size: var(--step-1); line-height: 1.4; color: var(--muted); max-width: 30ch; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero .note { margin-top: 1.1rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

/* the transfer demo */
.demo { position: relative; }
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-big); overflow: hidden; background: var(--skin); touch-action: none; user-select: none; box-shadow: 0 30px 60px -30px rgba(29, 16, 48, .45); }
.stage .skin { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.28), transparent 60%),
  radial-gradient(90% 70% at 80% 90%, rgba(0,0,0,.12), transparent 60%), var(--skin); transition: background-color .4s; }
.stage .skin::after { content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0,0,0,.35) .6px, transparent .8px); background-size: 5px 5px; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.stage .after { mix-blend-mode: multiply; transition: opacity .25s; }
.stage .before-layer img { transition: opacity .25s; }
.stage.swapping img { opacity: 0; }
.stage .before-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); background: #e9e4dc; }

.stage .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; }
.stage .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.stage .handle span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-weight: 800; color: var(--violet); }
.stage .tag { position: absolute; bottom: 1rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; }
.stage .tag.l { left: 1rem; }
.stage .tag.r { right: 1rem; background: var(--violet); color: #fff; }
.stage input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.stage:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 4px; }
.controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1rem; align-items: center; }
.pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.pill { font: inherit; font-size: .92rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.pill[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tones { display: flex; gap: .45rem; align-items: center; color: var(--muted); font-size: .9rem; }
.tone { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.tone[aria-pressed=true] { box-shadow: 0 0 0 2.5px var(--ink); }

/* lines artists say */
.lines { background: var(--carbon); color: #fff; padding: clamp(4rem, 9vw, 8rem) 0; overflow: hidden; }
.lines blockquote { margin: 0; font-size: var(--step-3); line-height: 1; font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.lines .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.lines .row p { margin: 0; font-size: var(--step-1); line-height: 1.3; font-weight: 600; color: #d9c8ee; }
@media (max-width: 760px) { .lines .row { grid-template-columns: 1fr; gap: 1.5rem; } }

/* hard-cases gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.gallery figure { margin: 0; }
.g-pair { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-small); overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4dc; }
.g-pair > img, .g-skin img { width: 100%; height: 100%; object-fit: cover; }
.g-skin { background: var(--skin); }
.g-skin img { object-fit: cover; mix-blend-mode: multiply; }
.gallery figcaption { margin-top: .7rem; font-weight: 600; line-height: 1.3; }
.credit { color: var(--muted); font-size: .85rem; margin-top: 1.5rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* sections */
section.block { padding: clamp(4rem, 8vw, 7rem) 0; }
h2 { font-size: var(--step-3); line-height: .95; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 1rem; max-width: 18ch; }
.sub { color: var(--muted); font-size: var(--step-1); line-height: 1.4; max-width: 46ch; margin: 0; }

.steps { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1.25rem; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font-size: var(--step-2); font-weight: 800; color: var(--violet); line-height: 1; margin-bottom: .75rem; }
.steps h3, .feat h3 { font-size: var(--step-1); margin: 0 0 .4rem; line-height: 1.2; letter-spacing: -0.01em; }
.steps p, .feat p { margin: 0; color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 2.5rem; }
@media (max-width: 900px) { .split, .feat { grid-template-columns: 1fr; } }

.who { background: var(--violet-soft); }
.who-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.who-list h3 { font-size: var(--step-2); line-height: 1; letter-spacing: -0.03em; margin: 0 0 .6rem; }
.who-list p { margin: 0; color: #3e3650; }
@media (max-width: 760px) { .who-list { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; margin-top: 3rem; max-width: 900px; }
.plan { border: 2px solid var(--line); border-radius: var(--radius-big); padding: 2rem; background: #fff; display: flex; flex-direction: column; }
.plan.pro { background: var(--carbon); color: #fff; border-color: var(--carbon); }
.plan h3 { margin: 0; font-size: var(--step-1); }
.price { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.025em; line-height: 1; margin: 1rem 0 .25rem; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translateY(-50%); color: var(--violet); }
.plan.pro li::before { color: #c9a8f0; }
.plan .btn { margin-top: auto; }
.plan.pro .btn { background: #fff; color: var(--ink); border-color: #fff; }
.plan.pro .btn:hover { background: #c9a8f0; border-color: #c9a8f0; }
.plan .fine { font-size: .9rem; opacity: .75; margin: .8rem 0 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 780px; margin-top: 2.5rem; }
.faq details { border-top: 1.5px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: .75rem 0 0; max-width: 62ch; }

.final { text-align: left; padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1.5px solid var(--line); }
.final h2 { font-size: var(--step-3); max-width: 14ch; margin-bottom: 2rem; }

footer { background: var(--carbon); color: #cfc6dd; padding: 3rem 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* legal pages */
.legal { max-width: 720px; padding: 2rem 0 5rem; }
.legal h1 { font-size: var(--step-3); letter-spacing: -0.035em; line-height: 1; margin: 1rem 0; }
.legal h2 { font-size: var(--step-1); letter-spacing: -0.01em; margin: 2.2rem 0 .5rem; max-width: none; }
.legal p, .legal li { color: #2c2638; }
.legal .updated { color: var(--muted); }
