/* Shootpacked site v2: packing cubes on a blush bed. Mobile first; from 1100px the desktop gets its own
   composition (the stage, side-by-side sections), not the phone stretched.
   Tokens: DIRECTION.md "v2 tokens". Light only on purpose (daylight, after the trip). */
@font-face { font-family: "Gloock"; src: url(fonts/gloock-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-var.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Gloock Fallback"; src: local("Times New Roman"), local("Liberation Serif"); size-adjust: 108.1%; ascent-override: 90.66%; descent-override: 21.28%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 99.15%; ascent-override: 100.86%; descent-override: 30.26%; line-gap-override: 0%; }

:root {
  --ground: #FFF4EF; --ground-2: #FBE4DC; --surface: #FFFFFF;
  --ink: #3B1E2A; --ink-2: #6B4653; --rule: rgba(59, 30, 42, .12);
  --cherry: #C8304F; --cherry-hi: #DE4A68; --cherry-lo: #A9233F; --on-cherry: #FFFFFF;
  /* each pastel belongs to one album, everywhere on the site and in the app */
  --cube-pink: #F8C9D3; --cube-pink-lo: #EFA9B8;
  --cube-butter: #F8E39A; --cube-butter-lo: #EDCB64;
  --cube-sky: #CFE3F5; --cube-sky-lo: #A9CBEA;
  --cube-sage: #CFE5C4; --cube-sage-lo: #B0D29F;
  --cube-oat: #EDE2D4; --cube-oat-lo: #DCCBB5;
  --shadow-print: 0 18px 30px -16px rgba(80, 20, 40, .45), 0 3px 8px -4px rgba(80, 20, 40, .25);
  --shadow-float: 0 34px 60px -30px rgba(80, 20, 40, .55), 0 10px 22px -12px rgba(80, 20, 40, .25);
  --display: "Gloock", "Gloock Fallback", Georgia, serif;
  --text: "Hanken Grotesk", "Hanken Fallback", system-ui, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: 16px; --max: 1120px; --r-lg: 28px; --r-md: 18px; --r-sm: 10px;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --max: 1200px; --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; }
@media (min-width: 860px) { html { scroll-padding-top: 80px; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(34px, 8.6vw, 60px)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
h3 { font: 700 19px/1.25 var(--text); }
p { margin: 0; }
kbd { font: 700 .9em var(--text); background: var(--surface); border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 8px; padding: 0 7px; }
q { quotes: "“" "”"; }
.mono { font: 400 .92em var(--mono); }
.nowrap { white-space: nowrap; }
@media (max-width: 719px) { .hero h1 .nowrap { white-space: normal; } }
.pricing [data-price] { visibility: hidden; } /* no flash of the dollar price before the visitor's own */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cube-pink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; background: var(--cherry); color: var(--on-cherry); font: 700 18px var(--text); text-decoration: none;
  box-shadow: 0 14px 26px -14px rgba(169, 35, 63, .9), inset 0 -3px 0 var(--cherry-lo), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: translate .25s var(--ease), background .25s, box-shadow .25s;
}
.btn::after { /* a slow sheen on hover, like light across satin */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 48%, transparent 66%) -120% 0 / 60% 100% no-repeat;
  transition: background-position .9s var(--ease);
}
.btn:hover { background-color: var(--cherry-hi); translate: 0 -2px; box-shadow: 0 20px 30px -14px rgba(169, 35, 63, .9), inset 0 -3px 0 var(--cherry-lo), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:hover::after { background-position: 220% 0; }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline-color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: inset 0 -2px 0 var(--cherry-lo); }
.btn-light { background: var(--surface); color: var(--cherry-lo); box-shadow: 0 14px 26px -14px rgba(60, 10, 25, .7), inset 0 -3px 0 var(--cube-pink); }
.btn-light:hover { background: #FFF7F9; }
.btn-light::after { background-image: linear-gradient(105deg, transparent 30%, rgba(248, 201, 211, .7) 48%, transparent 66%); }

/* ------------------------------------------------------------- top bar (phone: a second row of section pills) */
.bar {
  position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  padding: 8px var(--gut) 10px; padding-top: max(8px, env(safe-area-inset-top));
  background: rgba(255, 244, 239, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.bar.scrolled { border-bottom-color: var(--rule); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 400 24px/1 var(--display); letter-spacing: -.01em; min-height: 44px; }
.logo svg { width: 30px; height: 30px; }
.bar nav { order: 3; display: flex; gap: 6px; width: calc(100% + var(--gut) * 2); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut);
  overflow-x: auto; scrollbar-width: none; font-size: 14px; font-weight: 650; }
.bar nav::-webkit-scrollbar { display: none; }
.bar nav a { flex: none; display: grid; place-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s, box-shadow .2s; }
.bar nav a:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(59, 30, 42, .3); }
@media (min-width: 860px) {
  .bar { flex-wrap: nowrap; padding-block: 12px; }
  .bar nav { order: 0; width: auto; margin: 0; padding: 4px; gap: 2px; overflow: visible; font-size: 15px;
    background: rgba(255, 255, 255, .6); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule), 0 10px 24px -18px rgba(80, 20, 40, .5); }
  .bar nav a { min-height: 38px; padding: 0 16px; background: none; box-shadow: none; }
  .bar nav a:hover { background: var(--surface); box-shadow: 0 4px 10px -6px rgba(80, 20, 40, .4); }
}

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding: 18px var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--cherry-lo); margin-bottom: 10px; }
.hero h1 { font: 400 clamp(46px, 13.4vw, 76px)/.95 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
.cta { margin-top: 22px; display: grid; gap: 10px; justify-items: start; }
.cta .btn { width: 100%; }
.fine { font-size: 14px; color: var(--ink-2); }

/* the bed: a blush sheet the prints lie on; the cube hangs over its edge into the next section */
.hero-bed {
  position: relative; margin: 30px calc(var(--gut) * -1) 0; height: 400px;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(170deg, #FBD9DE, #F6C2CC 60%, #F0B0BE);
  border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: visible;
}
.hero-bed::before, .stage::before { /* quilting: a stitched seam with its own highlight and shadow */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(255, 255, 255, .55) 26px 27px, rgba(160, 60, 90, .10) 27px 28px),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255, 255, 255, .55) 26px 27px, rgba(160, 60, 90, .10) 27px 28px);
}
.print {
  position: absolute; margin: 0; width: 44%; max-width: 240px; padding: 7px 7px 0; background: var(--surface); border-radius: 4px;
  box-shadow: var(--shadow-print); rotate: var(--r, 0deg);
}
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.tag, .sp-tag {
  position: relative; display: block; padding: 8px 12px 8px 24px; min-height: 40px;
  background: #FFFDF8; border: 1.5px solid var(--ink); border-radius: 6px 12px 12px 6px; box-shadow: 0 8px 16px -10px rgba(80, 20, 40, .6);
  font: 600 13px/1.25 var(--text); color: var(--ink);
}
.print .tag { margin: 8px -14px 10px 18px; }
.tag::before, .sp-tag::before { /* the eyelet, tied with a little pink ribbon */
  content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--ground);
}
.tag::after, .sp-tag::after { content: ""; position: absolute; left: -9px; top: 50%; width: 22px; height: 5px; margin-top: -2px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cherry-hi), var(--cube-pink-lo)); rotate: -18deg; }
.tag span, .sp-tag span { display: block; transition: opacity .32s, filter .32s; }
.sp-tag span { transition: opacity .32s; }
.tag.is-old span, .sp-tag.is-old span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tag.retag span { opacity: 0; filter: blur(3px); }
.sp-tag.retag span { opacity: 0; } /* no blur on the stage: WebKit re-lays the tag out mid-blur */
.p1 { --r: -4deg; left: 5%; top: 28px; z-index: 2; }
.p2 { --r: 5deg; right: 4%; top: 6px; z-index: 1; width: 40%; }
.p3 { --r: 3deg; right: 4%; top: 178px; z-index: 3; width: 38%; }

.cube {
  position: relative; display: grid; align-content: center; gap: 2px; padding: 18px 22px 16px;
  border-radius: 20px; box-shadow: var(--shadow-float), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(80, 20, 40, .08);
}
.cube b { font: 400 22px/1.1 var(--display); }
.cube small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.zip { /* the zipper across the top of every cube: two rows of teeth, a slider and a hanging pull */
  position: absolute; left: 16px; right: 16px; top: 8px; height: 6px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(59, 30, 42, .42) 0 3px, transparent 3px 6px) 0 0 / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(59, 30, 42, .42) 3px 6px) 0 100% / 100% 3px no-repeat;
}
.zip::before { content: ""; position: absolute; right: 18%; top: -2px; width: 14px; height: 10px; border-radius: 3px 3px 5px 5px;
  background: linear-gradient(180deg, #7A5563, var(--ink)); box-shadow: 0 2px 3px rgba(59, 30, 42, .35); }
.zip::after { content: ""; position: absolute; right: calc(18% + 3px); top: 6px; width: 8px; height: 16px; border-radius: 2px 2px 4px 4px;
  background: radial-gradient(circle at 50% 70%, transparent 0 2px, var(--ink) 2.5px); rotate: 10deg; transform-origin: 50% 0; }
.hero-cube { position: absolute; left: 5%; bottom: -46px; z-index: 4; width: 54%; max-width: 300px; rotate: -2deg; padding-top: 26px; }
.cube-pink { background: linear-gradient(160deg, #FCD9E0, var(--cube-pink) 55%, var(--cube-pink-lo)); }
.cube-butter { background: linear-gradient(160deg, #FCEEBE, var(--cube-butter) 55%, var(--cube-butter-lo)); }
.cube-sky { background: linear-gradient(160deg, #E4F0FA, var(--cube-sky) 55%, var(--cube-sky-lo)); }
.cube-sage { background: linear-gradient(160deg, #E0F0D7, var(--cube-sage) 55%, var(--cube-sage-lo)); }
.cube-oat { background: linear-gradient(160deg, #F5EDE3, var(--cube-oat) 55%, var(--cube-oat-lo)); }

/* the desktop stage (hidden below 1100px): a pile of files that get named and fly into albums */
.stage { display: none; }
@media (min-width: 1100px) {
  .hero { padding-top: 46px; }
  .hero-copy { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
  .hero h1 { font-size: clamp(76px, 7.4vw, 104px); }
  .hero-side { padding-bottom: 6px; }
  .lede { margin-top: 0; max-width: 38ch; }
  .cta .btn { width: auto; }
  .hero-bed { display: none; }
  .stage {
    display: block; position: relative; isolation: isolate; height: 480px; margin-top: 40px; border-radius: 40px;
    background:
      radial-gradient(60% 80% at 22% 0%, rgba(255, 255, 255, .75), transparent 70%),
      radial-gradient(50% 70% at 100% 100%, rgba(222, 74, 104, .18), transparent 70%),
      linear-gradient(170deg, #FBDCE1, #F6C4CE 55%, #F0B2C0);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -30px 60px -40px rgba(140, 30, 60, .35), 0 50px 90px -60px rgba(80, 20, 40, .6);
  }
  .pile { position: absolute; left: 28px; top: 0; bottom: 0; width: 52%; }
  .sp {
    position: absolute; left: var(--x); top: var(--y); width: 148px; margin: 0; padding: 6px 6px 0; z-index: 2;
    background: #fff; border-radius: 4px; box-shadow: var(--shadow-print);
    transform-origin: 0 0; transform: rotate(var(--r));
    transition: transform .82s cubic-bezier(.65, 0, .35, 1), box-shadow .45s var(--ease), opacity .3s;
  }
  .sp img, .sp-wave { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  .sp-wave { display: block; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 8h1M5 5v6M8 2v12M11 6v4M14 3v10M17 5v6M20 7v2' stroke='%23CFE3F5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; }
  .sp-tag { margin: 7px -16px 9px 12px; padding: 6px 10px 6px 22px; min-height: 0; font-size: 12.5px; transition: opacity .3s; }
  .sp.lift { transform: rotate(0deg) translate(-4px, -14px) scale(1.06); box-shadow: var(--shadow-float), 0 0 0 4px rgba(255, 255, 255, .7); z-index: 25; transition-duration: .5s; }
  .sp.landed { box-shadow: 0 10px 18px -10px rgba(80, 20, 40, .6); }
  .sp.fly .sp-tag, .sp.landed .sp-tag { opacity: 0; }
  .albums { position: absolute; right: 28px; top: 28px; bottom: 28px; width: 38%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; z-index: 1; }
  .alb { position: relative; display: flex; flex-direction: column; padding: 26px 18px 14px; border-radius: 22px;
    box-shadow: var(--shadow-float), inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -4px 0 rgba(80, 20, 40, .08); }
  .alb b { font: 400 22px/1.1 var(--display); }
  .alb small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .alb .n { font-variant-numeric: tabular-nums; }
  .tray { flex: 1; margin-top: 10px; border-radius: 12px; background: rgba(255, 255, 255, .35); box-shadow: inset 0 2px 6px rgba(80, 20, 40, .12); }
  .alb.bump { animation: bump .32s var(--ease); }
  .stage-pack { position: absolute; right: 28px; bottom: -22px; z-index: 40; padding: 12px 22px; border-radius: 999px; background: var(--cherry); color: #fff;
    font-weight: 700; font-size: 16px; box-shadow: 0 16px 30px -14px rgba(169, 35, 63, .9), inset 0 -3px 0 var(--cherry-lo); }
  .stage-pack::before { content: "✓ "; }
  .stage.live .stage-pack { opacity: .45; transition: opacity .4s, scale .4s var(--ease); }
  .stage.live.done .stage-pack { opacity: 1; scale: 1.06; }
  .stage.live.undo .stage-pack { opacity: .45; }
}
@keyframes bump { 40% { scale: 1.035; } }

/* ------------------------------------------------------------- what you need */
.needs { max-width: var(--max); margin: 0 auto; padding: 84px var(--gut) 0; }
.needs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.needs li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-print), inset 0 2px 0 rgba(255, 255, 255, .55); }
.needs svg { width: 34px; height: 34px; flex: none; }
.needs p { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.needs b { display: block; color: var(--ink); font-size: 16px; }
.send { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--cherry-lo); text-underline-offset: 4px; }
.send svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 720px) { .needs ul { grid-template-columns: repeat(3, 1fr); gap: 16px; } .needs li { align-items: flex-start; } }
@media (min-width: 1100px) { .needs { padding-top: 64px; } .needs .send { display: none; } }

/* ------------------------------------------------------------- sections */
.sec { max-width: var(--max); margin: 0 auto; padding: 84px var(--gut) 0; }
.sec > h2 { max-width: 15ch; }
.sub { margin-top: 10px; color: var(--ink-2); }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* before / after: camera names, then real names and albums */
.swap { padding-top: 72px; }
.swap-copy { margin-bottom: 18px; }
.seg { display: inline-flex; margin: 22px 0 14px; padding: 4px; border-radius: 999px; background: var(--ground-2); }
.seg button {
  min-height: 44px; min-width: 104px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 999px; background: transparent;
  font: 700 16px var(--text); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s;
}
.seg button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.finder { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-float); overflow: hidden; }
.finder-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.finder-head .count { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ground-2); }
.finder ul { list-style: none; margin: 0; padding: 4px 0; }
.finder li { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 9px 16px; min-height: 68px; background: var(--surface); }
.finder li + li { box-shadow: 0 -1px 0 var(--rule); }
.finder li img, .finder .wave { width: 44px; height: 44px !important; border-radius: 8px; object-fit: cover; }
.wave { display: block; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 8h1M5 5v6M8 2v12M11 6v4M14 3v10M17 5v6M20 7v2' stroke='%23CFE3F5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; }
.names { display: grid; min-width: 0; }
.old { width: fit-content; font: 400 14px var(--mono); color: var(--ink-2); text-decoration: none;
  background: linear-gradient(var(--cherry), var(--cherry)) 0 55% / 0% 1.5px no-repeat; transition: background-size .45s var(--ease), font-size .35s, opacity .35s; }
.new { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.al { display: inline-block; margin: 0 8px 3px 0; padding: 1px 8px; border-radius: 6px; font: 700 13px/1.6 var(--text); font-style: normal; color: var(--ink); vertical-align: 1px; }
.finder[data-state="before"] .new { display: none; }
.finder[data-state="after"] .old { font-size: 12px; opacity: .7; background-size: 100% 1.5px; transition-delay: calc(var(--i) * 90ms); }
.finder[data-state="after"] .new { animation: land .5s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes land { from { opacity: 0; translate: 0 6px; filter: blur(3px); } }

/* steps */
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.step { position: relative; padding: 26px 22px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-print), inset 0 2px 0 rgba(255, 255, 255, .55); min-height: 340px; display: flex; flex-direction: column; }
.step .num { position: absolute; right: 18px; top: 4px; font: 400 96px/1 var(--display); color: rgba(59, 30, 42, .14); }
.step h3 { font: 400 27px/1.1 var(--display); max-width: 13ch; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 32ch; }
.folder { position: relative; height: 170px; margin: auto -6px 0; }
.folder img { position: absolute; bottom: 52px; width: 92px; aspect-ratio: 4 / 5; object-fit: cover; border: 5px solid #fff; border-radius: 3px; box-shadow: var(--shadow-print); transition: translate .5s var(--ease), rotate .5s var(--ease); }
.folder img:nth-child(1) { left: 14%; rotate: -10deg; } .folder img:nth-child(2) { left: 38%; bottom: 62px; rotate: 3deg; } .folder img:nth-child(3) { left: 61%; rotate: 11deg; }
.folder-front { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; display: grid; place-items: center; border-radius: 18px 18px 0 0;
  background: linear-gradient(170deg, #F3D46F, var(--cube-butter-lo)); box-shadow: 0 -10px 20px -12px rgba(80, 40, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .5);
  font: 400 26px var(--display); }
.chat { margin: auto 0 22px; display: grid; gap: 10px; padding-top: 22px; }
.chat p { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; margin: 0; color: var(--ink); }
.chat .me { justify-self: end; background: var(--ink); color: var(--ground); font-weight: 700; border-bottom-right-radius: 6px; }
.chat .them { background: var(--surface); border-bottom-left-radius: 6px; box-shadow: var(--shadow-print); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips b { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--ink); }
.chips b:first-child { background: var(--cherry); border-color: var(--cherry); color: #fff; }
.window { margin: auto 0 22px; padding: 14px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-float); display: grid; gap: 10px; margin-top: 22px; }
.mini { padding: 10px 12px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini b { font: 400 17px var(--display); }
.mini span { display: flex; gap: 4px; } .mini img { width: 34px; height: 42px !important; object-fit: cover; border-radius: 3px; border: 2px solid #fff; }
.pack-btn { justify-self: end; padding: 9px 16px; border-radius: 999px; background: var(--cherry); color: #fff; font-weight: 700; font-size: 14px; }

/* what it notices */
.tiles { display: grid; gap: 18px; margin-top: 26px; }
.tile { padding: 24px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-print); }
.tile h3 { font: 400 28px/1.1 var(--display); }
.tile > p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.tile .meta { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; padding: 8px; background: var(--ink); border-radius: 12px; }
.frames img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; border-radius: 4px; }
.tile-hear { background: linear-gradient(165deg, #E9F3FB, var(--cube-sky)); }
.tile-hear blockquote { margin: 18px 0 0; font: 400 25px/1.25 var(--display); }
.becomes { margin-top: 16px !important; font-weight: 700; font-size: 15px; color: var(--ink) !important; }
.becomes span { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 13px; }
.faces { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 14px; }
.faces li { display: grid; justify-items: center; gap: 2px; width: 84px; text-align: center; }
.faces img { width: 72px; height: 72px !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--cube-pink-lo); }
.faces b { margin-top: 6px; font-size: 15px; } .faces small { font-size: 13px; color: var(--ink-2); }
.faces .who img { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--cherry); }
.faces .who b { color: var(--cherry-lo); }

/* sorted your way: modes, and one window whose thumbnails regroup */
.modes { display: flex; gap: 8px; margin: 20px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 6px; overflow-x: auto; scrollbar-width: none; }
.modes::-webkit-scrollbar { display: none; }
.modes button { flex: none; display: grid; text-align: left; min-height: 44px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink); font: 700 15px var(--text); box-shadow: inset 0 0 0 1.5px var(--rule); transition: background .25s, color .25s, box-shadow .25s; }
.modes button span { display: none; }
.modes button[aria-selected="true"] { background: var(--ink); color: var(--ground); box-shadow: 0 10px 20px -12px rgba(59, 30, 42, .8); }
.sorter { margin-top: 14px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
.grp { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 1px; min-width: 0; padding: 12px 12px 12px; border-radius: 16px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 8px 16px -12px rgba(80, 20, 40, .45);
  transition: background .5s; }
.grp b { font: 400 18px/1.15 var(--display); min-height: 2.3em; }
.grp small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.thumbs { --over: 0px; display: flex; min-width: 0; gap: 6px; margin-top: 10px; height: 70px; }
.thumbs > * { flex: none; width: 52px; height: 65px !important; object-fit: cover; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 6px 12px -6px rgba(80, 20, 40, .55); }
.thumbs > * + * { margin-left: calc(var(--over) * -1); }
.thumbs > :nth-child(odd) { rotate: -3deg; } .thumbs > :nth-child(even) { rotate: 3deg; translate: 0 3px; }

/* safety */
.safe-card { position: relative; padding: 30px 22px 210px; border-radius: var(--r-lg); color: var(--ground); overflow: hidden;
  background: radial-gradient(90% 60% at 10% 0%, #5E2A42, transparent 70%), var(--ink); box-shadow: var(--shadow-float); }
.safe-card h2 { color: #fff; }
.promises { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.promises li { position: relative; padding-left: 34px; color: #EAD6DC; font-size: 16px; }
.promises li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--cube-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%233B1E2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.promises b { color: #fff; display: block; }
.undo-print { position: absolute; right: -10px; bottom: -40px; width: 200px; margin: 0; padding: 8px 8px 30px; background: #fff; border-radius: 4px; rotate: -6deg; box-shadow: 0 30px 50px -20px #000; }
.undo-print img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.undo-chip { position: absolute; left: -64px; top: 40%; padding: 10px 16px; border-radius: 999px; background: var(--cube-butter); color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-float); rotate: 6deg; white-space: nowrap; }

/* price */
.price-card { position: relative; padding: 34px 22px 26px; border-radius: var(--r-lg); color: #fff; overflow: hidden;
  background: radial-gradient(90% 70% at 20% 0%, var(--cherry-hi), var(--cherry) 55%, var(--cherry-lo)); box-shadow: var(--shadow-float); }
.price-big { display: flex; align-items: baseline; gap: 10px; font: 400 96px/.9 var(--display); letter-spacing: -.03em; }
.price-big small { font: 700 18px var(--text); letter-spacing: 0; opacity: .9; }
.price-card h2 { margin-top: 14px; font-size: clamp(28px, 7vw, 40px); color: #fff; }
.incl { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.incl li { padding-left: 26px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; rotate: -45deg; }
.price-card .btn { width: 100%; }
.need { margin-top: 24px; padding: 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .14); display: grid; gap: 8px; font-size: 15px; }
.need h3 { font-size: 16px; }

/* FAQ: a pastel pocket per question */
.faq h2 { margin-bottom: 18px; }
.qs { display: grid; gap: 10px; }
.qs details { border-radius: var(--r-md); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 10px 20px -16px rgba(80, 20, 40, .5); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; padding: 12px 16px 12px 18px; font-weight: 700; font-size: 17px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%233B1E2A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 50% no-repeat; transition: rotate .3s var(--ease); }
.qs details[open] summary::after { rotate: 45deg; }
.qs details p { padding: 0 18px 18px; color: var(--ink); max-width: 60ch; font-size: 16px; }

/* closing cube */
.close-card { position: relative; padding: 40px 22px 28px; border-radius: var(--r-lg); text-align: center; box-shadow: var(--shadow-float), inset 0 2px 0 rgba(255, 255, 255, .6); }
.close-card .zip { top: 12px; left: 22px; right: 22px; }
.close-card h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(34px, 8.6vw, 56px); }
.close-card > p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.close-act { display: grid; justify-items: center; gap: 4px; margin-top: 20px; }
.close-act .btn { width: 100%; max-width: 360px; }
@media (min-width: 1100px) { .close-act .send { display: none; } }

/* footer + dock */
.foot { max-width: var(--max); margin: 64px auto 0; padding: 30px var(--gut) 110px; border-top: 1px solid var(--rule); display: grid; gap: 14px; font-size: 14px; color: var(--ink-2); }
.foot-logo { font: 400 26px var(--display); color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot ul a { display: inline-block; padding: 10px 0; font-weight: 600; color: var(--ink); }
.foot-small { font-size: 13px; max-width: 70ch; }
.dock {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-float); animation: up .5s var(--ease);
}
.dock p { display: grid; font-size: 13px; line-height: 1.25; color: var(--ink-2); } .dock p b { font-size: 16px; color: var(--ink); }
@keyframes up { from { translate: 0 30px; opacity: 0; } }

/* ------------------------------------------------------------- tablet: the phone given room */
@media (min-width: 720px) {
  .cta .btn { width: auto; }
  .hero-bed { margin: 40px 0 0; height: 520px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .print { width: 30%; }
  .p1 { left: 8%; top: 40px; } .p2 { right: 10%; top: 20px; width: 26%; } .p3 { right: 36%; top: 250px; width: 24%; }
  .hero-cube { width: 330px; left: 6%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: 1.1fr 1fr; } .tile-who { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 0 30px; align-items: center; }
  .tile-who .faces { grid-row: 1 / 4; grid-column: 2; margin: 0; }
  .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; }
  .safe-card { padding: 50px 46px; padding-right: 360px; min-height: 420px; }
  .undo-print { width: 260px; right: 40px; bottom: -50px; }
  .price-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; padding: 48px; }
  .price-card .need { grid-column: 2; grid-row: 1 / 6; align-self: start; margin-top: 0; }
  .price-card .btn { width: auto; justify-self: start; }
  .close-card { padding: 64px 48px 48px; }
  .foot { padding-bottom: 40px; }
  .dock { display: none !important; }
}

/* ------------------------------------------------------------- desktop: its own composition */
@media (min-width: 1100px) {
  .sec { padding-top: 120px; }
  .sec > h2 { font-size: 64px; }
  h2 { font-size: 64px; }

  /* before/after: the words on the left, a wide window on the right */
  .swap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; padding-top: 120px; }
  .swap-copy { position: sticky; top: 120px; }
  .finder li { grid-template-columns: 52px 1fr; min-height: 76px; padding: 10px 22px; }
  .finder li img, .finder .wave { width: 52px; height: 52px !important; }
  .new { font-size: 17px; }

  /* steps: three cubes stepping down, like a staircase you walk */
  .steps { gap: 24px; align-items: start; }
  .step { min-height: 420px; padding: 34px 30px 0; }
  .step:nth-child(2) { margin-top: 48px; } .step:nth-child(3) { margin-top: 96px; }
  .step h3 { font-size: 32px; }

  /* tiles: a bento of three with the listening card tall */
  .tiles { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 24px; }
  .tile { padding: 34px 32px; }
  .tile-see { grid-column: 1; grid-row: 1; }
  .tile-hear { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .tile-hear .player { margin-block: auto; }
  .tile-hear blockquote { font-size: 36px; margin-top: 0; }
  .tile-who { grid-column: 1; grid-row: 2; }

  /* sorter: the modes as cards on the left, the window on the right */
  .ways { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
  .modes { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; overflow: visible; }
  .modes button { display: grid; gap: 2px; min-height: 0; padding: 16px 20px; border-radius: var(--r-md); font-size: 18px; }
  .modes button span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .modes button[aria-selected="true"] span { color: #E9D3DA; }
  .modes button:not([aria-selected="true"]):hover { box-shadow: inset 0 0 0 1.5px rgba(59, 30, 42, .35); translate: 4px 0; }
  .modes button { transition: background .25s, color .25s, box-shadow .25s, translate .3s var(--ease); }
  .sorter { margin-top: 0; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; }
  .grp { padding: 18px 18px 16px; }
  .grp b { font-size: 24px; min-height: 0; }
  .thumbs { height: 100px; margin-top: 14px; }
  .thumbs > * { width: 72px; height: 90px !important; border-width: 4px; }

  /* safety + price: wider, calmer */
  .safe-card { padding: 64px 64px; padding-right: 460px; min-height: 480px; }
  .safe-card h2 { font-size: 64px; }
  .undo-print { width: 300px; right: 80px; bottom: -40px; }
  .undo-chip { left: -90px; }
  .price-card { padding: 64px; gap: 0 72px; }
  .price-big { font-size: 128px; }

  /* FAQ: the heading holds still on the left */
  .faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq h2 { position: sticky; top: 120px; }
  .qs summary { font-size: 19px; min-height: 68px; padding-inline: 24px 18px; }
  .qs details p { padding: 0 24px 22px; }

  .close-card { padding: 80px 64px 64px; }
  .close-card h2 { font-size: 72px; }
}

/* hover lifts, only where there is a mouse */
@media (hover: hover) and (min-width: 720px) {
  .step, .tile, .needs li, .qs details { transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
  .step:hover, .tile:hover, .needs li:hover { translate: 0 -4px; box-shadow: var(--shadow-float), inset 0 2px 0 rgba(255, 255, 255, .55); }
  .step:hover .folder img:nth-child(1) { translate: -6px -10px; rotate: -14deg; }
  .step:hover .folder img:nth-child(2) { translate: 0 -16px; }
  .step:hover .folder img:nth-child(3) { translate: 6px -10px; rotate: 15deg; }
  .finder li:hover { background: #FFF9F7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media (forced-colors: active) {
  .cube, .step, .tile, .finder, .sorter, .grp, .alb, .needs li, .qs details, .close-card, .price-card, .safe-card, .btn, .tag, .sp-tag { border: 1px solid CanvasText; }
}

/* ------------------------------------------------------------- inner pages (thanks, guide, legal) */
.page { max-width: 760px; margin: 0 auto; padding: 26px var(--gut) 40px; }
.page h1 { font: 400 clamp(40px, 11vw, 72px)/1 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.page .lede { max-width: 46ch; }
.legal h2 { font: 400 28px/1.15 var(--display); margin: 36px 0 10px; max-width: none; }
.legal h3 { margin: 20px 0 6px; font-size: 17px; }
.legal p, .legal li { color: var(--ink-2); margin: 0 0 10px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal .updated { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.legal .box { margin: 22px 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-print); }
.legal .box p { margin: 0 0 6px; }
.todo { background: #FFF1A8; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* the listening tile: a voice-note player, its bars filling as it plays */
.player { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 10px 22px -16px rgba(40, 60, 100, .7); }
.play { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 3.5v9l7-4.5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 50% no-repeat; }
.bars { flex: 1; height: 28px; background: linear-gradient(90deg, var(--cherry) 0 var(--played), #9DB7D3 var(--played)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='6' y='7' width='3' height='14' rx='1.5'/%3E%3Crect x='12' y='3' width='3' height='22' rx='1.5'/%3E%3Crect x='18' y='9' width='3' height='10' rx='1.5'/%3E%3Crect x='24' y='5' width='3' height='18' rx='1.5'/%3E%3Crect x='30' y='10' width='3' height='8' rx='1.5'/%3E%3Crect x='36' y='2' width='3' height='24' rx='1.5'/%3E%3Crect x='42' y='8' width='3' height='12' rx='1.5'/%3E%3Crect x='48' y='5' width='3' height='18' rx='1.5'/%3E%3Crect x='54' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='60' y='6' width='3' height='16' rx='1.5'/%3E%3Crect x='66' y='3' width='3' height='22' rx='1.5'/%3E%3Crect x='72' y='9' width='3' height='10' rx='1.5'/%3E%3Crect x='78' y='12' width='3' height='4' rx='1.5'/%3E%3Crect x='84' y='7' width='3' height='14' rx='1.5'/%3E%3Crect x='90' y='4' width='3' height='20' rx='1.5'/%3E%3Crect x='96' y='10' width='3' height='8' rx='1.5'/%3E%3Crect x='102' y='6' width='3' height='16' rx='1.5'/%3E%3Crect x='108' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='114' y='8' width='3' height='12' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='6' y='7' width='3' height='14' rx='1.5'/%3E%3Crect x='12' y='3' width='3' height='22' rx='1.5'/%3E%3Crect x='18' y='9' width='3' height='10' rx='1.5'/%3E%3Crect x='24' y='5' width='3' height='18' rx='1.5'/%3E%3Crect x='30' y='10' width='3' height='8' rx='1.5'/%3E%3Crect x='36' y='2' width='3' height='24' rx='1.5'/%3E%3Crect x='42' y='8' width='3' height='12' rx='1.5'/%3E%3Crect x='48' y='5' width='3' height='18' rx='1.5'/%3E%3Crect x='54' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='60' y='6' width='3' height='16' rx='1.5'/%3E%3Crect x='66' y='3' width='3' height='22' rx='1.5'/%3E%3Crect x='72' y='9' width='3' height='10' rx='1.5'/%3E%3Crect x='78' y='12' width='3' height='4' rx='1.5'/%3E%3Crect x='84' y='7' width='3' height='14' rx='1.5'/%3E%3Crect x='90' y='4' width='3' height='20' rx='1.5'/%3E%3Crect x='96' y='10' width='3' height='8' rx='1.5'/%3E%3Crect x='102' y='6' width='3' height='16' rx='1.5'/%3E%3Crect x='108' y='11' width='3' height='6' rx='1.5'/%3E%3Crect x='114' y='8' width='3' height='12' rx='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.time { font: 700 13px var(--text); color: var(--ink-2); font-variant-numeric: tabular-nums; }
@property --played { syntax: "<percentage>"; inherits: false; initial-value: 38%; }
@media (prefers-reduced-motion: no-preference) { .tile-hear .bars { animation: played 7s linear infinite; } }
@keyframes played { from { --played: 0%; } to { --played: 100%; } }
@media (min-width: 1100px) { .player { margin-top: 28px; padding: 14px 22px 14px 14px; } .play { width: 44px; height: 44px; } .bars { height: 36px; } }
