/* Packback's overview in the app's own look: the Biscuit palette (cream, peach, cocoa, sky, mint), rounded type,
   luggage tags and Pal the suitcase. Coral is kept for "forgot" only, as in the app. Light only.
   Every rule is scoped to body.packback or a .pb-* class, so no other page on the site changes. */
html:has(body.packback){background:#FFF9F3}
body.packback{--paper:#FFF9F3;--ink:#4A3428;--muted:#7A6355;--dim:#8E7A6D;--line:#EED8C5;--accent:#4A3428;--soft:#FCEBDD;
  --peach:#FCEBDD;--cream:#FFF9F3;--card:#FFFFFF;--cocoa:#4A3428;--cocoa2:#7A6355;--cocoa3:#A8968A;--sky:#A9D8F5;--sky-soft:#E3F3FC;
  --coral:#FF7A5C;--coral-soft:#FFE1D8;--coral-text:#B03A22;--mint:#4CB98A;--mint-soft:#DDF4E8;--mint-text:#23774F;--sage:#D5E8C8;--apricot:#FFD3B8;--dark-ink:#1F1915;
  --round:ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  background:var(--paper);color:var(--ink);color-scheme:light}
body.packback ::selection{background:var(--sky)}
body.packback a:focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:6px}
body.packback .back-link{color:var(--muted);border-bottom-color:var(--line)}
body.packback .text-link{color:var(--ink);border-bottom-color:var(--cocoa3)}
body.packback .text-link:hover{border-bottom-color:var(--ink)}
body.packback .primary-link{background:var(--cocoa);color:var(--cream);font-weight:700;font-family:var(--round);border-radius:999px;padding:15px 26px}
body.packback .primary-link:hover{background:#5C4334}
body.packback h1,body.packback h2,body.packback h3{font-family:var(--round);font-weight:800;letter-spacing:-.01em;text-wrap:balance;color:var(--ink)}
.pb-defs{position:absolute;width:0;height:0;overflow:hidden}
.pb-nw{white-space:nowrap}

/* Shared pieces: a section heading with a short lead, two-column term lists, small notes. */
.pb-intro,.pb-loop,.pb-why,.pb-pack,.pb-day,.pb-checkin,.pb-plus{scroll-margin-top:12px}
.pb-loop,.pb-why,.pb-pack,.pb-day,.pb-checkin,.pb-plus,.pb-notes{border-top:2px dashed var(--line);padding:64px 0}
.pb-head{max-width:720px;margin:0 0 36px}
.pb-head h2{font-size:clamp(30px,3.6vw,42px);line-height:1.12;margin:0 0 14px}
.pb-head p{font-size:19px;line-height:1.6;color:var(--muted);margin:0}
.pb-note{font-size:14px;line-height:1.7;color:var(--muted);margin:22px 0 0;max-width:760px}
.pb-terms{margin:0;border-top:1px solid var(--line)}
.pb-terms dt{font-family:var(--round);font-weight:800;font-size:18px;line-height:1.4;padding-top:16px}
.pb-terms dd{margin:0;padding:4px 0 16px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.7;color:var(--muted)}
.pb-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:44px}
.pb-split h3{font-size:21px;line-height:1.3;margin:0 0 8px}
.pb-split p{font-size:16px;line-height:1.7;color:var(--muted);margin:0}

/* Intro: the promise on the left, Pal among luggage tags on the right. */
.pb-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding-bottom:72px}
.pb-intro-copy{min-width:0;max-width:620px}
.pb-icon{width:72px;height:72px;border-radius:17px;display:block;margin-bottom:22px;box-shadow:0 8px 22px #4A342822}
.pb-status{display:inline-flex;align-items:center;gap:9px;margin:0 0 16px;padding:7px 14px;border-radius:999px;background:var(--sky-soft);font-family:var(--round);font-weight:700;font-size:14px;color:var(--ink)}
.pb-status::before{content:"";width:9px;height:9px;border-radius:50%;background:#3E86B8}
.pb-intro h1{font-size:84px;line-height:1;margin:0 0 18px;letter-spacing:-.03em}
.pb-tagline{font-size:clamp(26px,3vw,36px);line-height:1.18;margin:0 0 22px;color:var(--ink)}
.pb-lead{font-size:20px;line-height:1.6;max-width:560px;margin:0 0 16px;color:var(--ink)}
.pb-small{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 28px}

.pb-hero{margin:0;position:relative;aspect-ratio:1/.92;min-width:0}
.pb-hero-blob{position:absolute;inset:6% 10%;border-radius:46% 54% 50% 50%/52% 46% 54% 48%;background:var(--peach)}
.pb-hero-pal{position:absolute;width:42%;left:29%;top:22%;filter:drop-shadow(0 16px 18px #4A342826)}
.pb-tag{position:absolute;display:flex;flex-direction:column;gap:1px;padding:9px 16px 9px 30px;border-radius:9px 22px 22px 9px;background:var(--card);box-shadow:0 6px 16px #4A34281f;font-family:var(--round);font-weight:800;font-size:16px;line-height:1.25;color:var(--ink);white-space:nowrap}
.pb-tag i{position:absolute;left:11px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 2px var(--cocoa3)}
.pb-tag small{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;font-weight:500;font-size:13px;color:var(--muted)}
.pb-tag-forgot{background:var(--coral-soft)}
.pb-tag-forgot small{color:var(--coral-text);font-weight:600}
.pb-tag-sky{background:var(--sky-soft)}
.pb-tag-mint{background:var(--mint-soft)}
.pb-tag-mint small{color:var(--mint-text)}
.pb-t1{left:0;top:8%;transform:rotate(-5deg)}
.pb-t2{right:0;top:16%;transform:rotate(4deg)}
.pb-t3{left:3%;bottom:14%;transform:rotate(3deg)}
.pb-t4{right:2%;bottom:6%;transform:rotate(-4deg)}

/* The loop: five steps in a row, joined by arrows, with a dashed return from 5 back to 1. */
.pb-loop-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:30px}
.pb-loop-steps li{position:relative;background:var(--peach);border-radius:26px;padding:22px 20px 24px;min-width:0}
.pb-loop-steps li:not(:last-child)::after{content:"";position:absolute;right:-23px;top:44px;width:16px;height:16px;border-top:3px solid var(--cocoa3);border-right:3px solid var(--cocoa3);border-radius:2px;transform:rotate(45deg)}
.pb-n{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--card);font-family:var(--round);font-weight:800;font-size:16px;color:var(--ink);margin-bottom:14px}
.pb-loop-steps h3{font-size:20px;line-height:1.2;margin:0 0 8px}
.pb-loop-steps p{font-size:15px;line-height:1.55;color:var(--muted);margin:0}
.pb-loop-steps .pb-step-forgot{background:var(--coral)}
body.packback .pb-step-forgot h3,.pb-step-forgot p{color:var(--dark-ink)}
.pb-loop-steps .pb-step-win{background:var(--mint-soft)}
.pb-return{position:relative;height:44px;margin:0 10% 0;border:3px dashed var(--cocoa3);border-top:0;border-radius:0 0 34px 34px;text-align:center}
.pb-return::before{content:"";position:absolute;left:-10px;top:-6px;width:14px;height:14px;border-top:3px solid var(--cocoa3);border-left:3px solid var(--cocoa3);transform:rotate(45deg)}
.pb-return span{position:relative;top:30px;display:inline-block;padding:0 14px;background:var(--paper);font-family:var(--round);font-weight:700;font-size:15px;color:var(--muted)}

/* SCREENSHOT SLOT: hidden while the div in packback.html is empty. Ready for up to three framed PNGs. */
.pb-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;align-items:start;border-top:2px dashed var(--line);padding:64px 0}
.pb-shots:empty{display:none}
.pb-shots figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}
.pb-shots img{display:block;width:100%;max-width:280px;height:auto;filter:drop-shadow(0 18px 26px #4A342826)}
.pb-shots figcaption{font-size:14px;line-height:1.6;color:var(--muted);text-align:center}

/* Why each item is there: the list's four parts as a key. */
.pb-key{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.pb-key li{border-radius:24px;padding:20px 20px 22px;background:var(--card);border:2px solid var(--line);min-width:0}
body.packback .pb-key h3{font-size:14px;line-height:1.3;margin:0 0 14px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.pb-key-item{display:flex;align-items:center;gap:10px;font-family:var(--round);font-weight:800;font-size:19px;line-height:1.3;margin:0 0 3px;color:var(--ink)}
.pb-key-item::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;border:2.5px solid var(--cocoa3)}
.pb-reason{font-size:14px;line-height:1.45;color:var(--muted);margin:0 0 14px 30px}
.pb-key li>p:last-child{font-size:15px;line-height:1.6;color:var(--muted);margin:0;padding-top:14px;border-top:1px dotted var(--cocoa3)}
.pb-key .pb-key-forgot{background:var(--coral-soft);border-color:var(--coral-soft)}
body.packback .pb-key-forgot h3,.pb-key-forgot .pb-reason{color:var(--coral-text)}
.pb-key-forgot .pb-key-item::before{border-color:var(--coral)}
.pb-key .pb-key-always{background:var(--peach);border-color:var(--peach)}
.pb-key .pb-key-trip{background:var(--sky-soft);border-color:var(--sky-soft)}
.pb-q{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--apricot);font-size:13px;color:var(--ink)}
.pb-why-more{margin-top:40px;max-width:820px}

/* Swipe right to pack: a list with one row slid right over the mint "Packed", the status circles on the
   right, and the Undo bar. */
.pb-pack-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.pb-swipe{margin:0;display:flex;flex-direction:column;gap:0;padding:28px 22px;border-radius:30px;background:var(--peach);min-width:0}
.pb-swipe-row{position:relative;overflow:hidden;border-radius:18px;margin-bottom:8px}
.pb-swipe-open{background:var(--mint)}
.pb-swipe-act{position:absolute;left:0;top:0;bottom:0;width:30%;display:flex;align-items:center;justify-content:center;gap:6px;font-family:var(--round);font-weight:800;font-size:16px;color:var(--dark-ink)}
.pb-swipe-act::before{content:"";width:7px;height:13px;border-right:3px solid var(--dark-ink);border-bottom:3px solid var(--dark-ink);transform:rotate(45deg) translate(-2px,-2px)}
.pb-swipe-fg{position:relative;display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--cream);border-radius:18px;min-width:0}
.pb-swipe-moving{transform:translateX(30%);box-shadow:-6px 0 14px -8px rgba(74,52,40,.35)}
.pb-swipe-name{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.pb-swipe-name b{font-family:var(--round);font-weight:700;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-swipe-name small{font-size:13px;color:var(--muted)}
.pb-swipe-qty{font-family:var(--round);font-weight:700;color:var(--muted)}
.pb-dot{flex:none;position:relative;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 2.5px var(--cocoa3)}
.pb-dot-done{background:var(--mint);box-shadow:none}
.pb-dot-done::after{content:"";position:absolute;left:8px;top:4px;width:5px;height:11px;border-right:3px solid var(--dark-ink);border-bottom:3px solid var(--dark-ink);transform:rotate(45deg)}
.pb-swipe-undo{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:12px 18px;border-radius:999px;background:var(--cocoa);color:var(--cream);font-size:14px}
.pb-swipe-undo b{text-decoration:underline}

/* The reminder day: a timeline from the evening before to the check-in at home. */
.pb-timeline{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:26px;position:relative}
.pb-timeline::before{content:"";position:absolute;left:8px;right:8px;top:8px;border-top:3px dotted var(--cocoa3)}
.pb-timeline li{position:relative;padding-top:34px;min-width:0}
.pb-timeline li::before{content:"";position:absolute;left:0;top:0;width:19px;height:19px;border-radius:50%;background:var(--sky);box-shadow:0 0 0 4px var(--paper)}
.pb-timeline .pb-tl-door::before{background:var(--apricot)}
.pb-timeline .pb-tl-home::before{background:var(--mint)}
.pb-when{display:block;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.pb-timeline h3{font-size:20px;line-height:1.25;margin:0 0 8px}
.pb-timeline p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}

/* "I forgot…": the one coral band on the page, with Pal saying oops. */
.pb-forgot{display:grid;grid-template-columns:auto 1fr;gap:40px;align-items:center;background:var(--coral-soft);border-radius:34px;padding:44px 48px;margin:0 0 64px;scroll-margin-top:12px}
.pb-forgot-pal{width:150px;height:150px}
body.packback .pb-forgot h2{font-size:clamp(30px,3.6vw,42px);line-height:1.1;margin:0 0 8px;color:var(--coral-text)}
.pb-forgot-lead{font-family:var(--round);font-weight:800;font-size:21px;line-height:1.4;margin:0 0 12px;color:var(--ink)}
.pb-forgot p:last-child{font-size:17px;line-height:1.7;color:var(--ink);margin:0;max-width:720px}

/* The check-in: two question cards with answer chips. */
.pb-qa{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.pb-card{background:var(--card);border:2px solid var(--line);border-radius:26px;padding:24px 24px 22px;min-width:0}
.pb-card-forgot{border-color:var(--coral-soft)}
.pb-card-q{font-family:var(--round);font-weight:800;font-size:21px;line-height:1.3;margin:0 0 14px}
.pb-card p:last-child{font-size:15px;line-height:1.6;color:var(--muted);margin:16px 0 0}
.pb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.pb-chip{display:inline-block;padding:8px 14px;border-radius:999px;background:var(--peach);font-size:14px;line-height:1.3;color:var(--ink)}
.pb-chip-on{background:var(--cocoa);color:var(--cream);font-weight:600}
.pb-card-forgot .pb-chip-on{background:var(--coral);color:var(--dark-ink)}
.pb-streak{display:flex;gap:20px;align-items:flex-start}
.pb-streak svg{flex:none;width:64px;height:64px}

/* Privacy: a sky panel of plain statements. */
.pb-private{background:var(--sky-soft);border-radius:34px;padding:48px;margin:0 0 64px;scroll-margin-top:12px}
.pb-private h2{font-size:clamp(28px,3.2vw,38px);line-height:1.15;margin:0 0 24px}
.pb-private ul{margin:0 0 22px;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:18px 40px}
.pb-private li{font-size:16px;line-height:1.65;color:var(--ink)}
.pb-private li b{font-family:var(--round);font-weight:800}
.pb-private p{margin:0}

/* Free and Plus side by side. */
.pb-plans{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:900px}
.pb-plan{border-radius:28px;padding:28px 28px 26px;background:var(--peach);min-width:0}
.pb-plan h3{font-size:21px;margin:0 0 4px}
.pb-price{font-family:var(--round);font-weight:800;font-size:34px;line-height:1.2;margin:0 0 16px}
.pb-price small{font-size:15px;font-weight:700;opacity:.8}
.pb-plan ul{margin:0;padding:0;list-style:none}
.pb-plan li{position:relative;padding:0 0 10px 26px;font-size:15px;line-height:1.55}
.pb-plan li::before{content:"";position:absolute;left:0;top:.3em;width:14px;height:14px;border-radius:50%;background:var(--mint)}
.pb-plan-plus{background:var(--cocoa);color:var(--cream)}
body.packback .pb-plan-plus h3{color:var(--cream)}
.pb-plan-plus li::before{background:var(--sky)}

.pb-notes{display:grid;grid-template-columns:1fr 1.4fr;gap:56px;padding-bottom:24px}
.pb-notes h2{font-size:34px;line-height:1.15;margin:0}
.pb-notes dl{margin:0;border-top:1px solid var(--line)}
.pb-notes dt{font-family:var(--round);font-weight:800;font-size:17px;line-height:1.4;padding-top:14px}
.pb-notes dd{margin:0;padding:4px 0 14px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.7;color:var(--muted)}
.pb-notes a{border-bottom:1px solid var(--cocoa3)}
.pb-notes a:hover{border-bottom-color:var(--ink)}

@media (max-width:1000px){
  .pb-loop-steps{grid-template-columns:repeat(3,1fr)}
  .pb-loop-steps li:nth-child(3)::after{display:none}
  .pb-return{display:none}
  .pb-key{grid-template-columns:1fr 1fr}
  .pb-timeline{grid-template-columns:1fr 1fr;row-gap:36px}
  .pb-timeline::before{display:none}
}
@media (max-width:860px){
  .pb-intro{grid-template-columns:1fr;gap:36px;padding-bottom:48px}
  .pb-intro h1{font-size:60px}
  .pb-lead{font-size:18px}
  .pb-hero{max-width:440px;width:100%;justify-self:center}
  .pb-loop,.pb-why,.pb-pack,.pb-day,.pb-checkin,.pb-plus,.pb-notes,.pb-shots{padding:48px 0}
  .pb-head p{font-size:17px}
  .pb-loop-steps{grid-template-columns:1fr;gap:26px}
  .pb-loop-steps li{display:grid;grid-template-columns:auto 1fr;column-gap:16px;padding:18px 18px 20px}
  .pb-loop-steps .pb-n{grid-row:span 2;margin:0}
  .pb-loop-steps li:not(:last-child)::after,.pb-loop-steps li:nth-child(3)::after{display:block;right:auto;left:30px;top:auto;bottom:-20px;width:12px;height:12px;transform:rotate(135deg)}
  .pb-return{display:block;height:auto;margin:16px 0 0;border:0;border-radius:0;text-align:left}
  .pb-return::before{display:none}
  .pb-return span{top:0;padding:0;background:none}
  .pb-return span::before{content:"↺ ";font-weight:800}
  .pb-shots{grid-template-columns:1fr;gap:32px}
  .pb-pack-grid,.pb-split,.pb-qa,.pb-plans,.pb-notes{grid-template-columns:1fr;gap:24px}
  .pb-split{margin-top:32px}
  .pb-forgot{grid-template-columns:1fr;gap:18px;padding:30px 24px;margin-bottom:48px}
  .pb-forgot-pal{width:96px;height:96px}
  .pb-private{padding:30px 24px;margin-bottom:48px}
  .pb-private ul{grid-template-columns:1fr}
}
@media (max-width:520px){
  .pb-intro h1{font-size:52px}
  .pb-tag{font-size:14px;padding:7px 12px 7px 26px}
  .pb-tag i{left:9px}
  .pb-tag small{font-size:12px}
  .pb-key,.pb-timeline{grid-template-columns:1fr}
  .pb-swipe{padding:22px 12px}
  .pb-swipe-fg{padding:10px 12px;gap:8px}
  .pb-swipe-act{font-size:14px}
  .pb-plan{padding:24px 22px}
}
@media (prefers-reduced-motion:no-preference){
  .pb-tag{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
  .pb-hero:hover .pb-tag{transform:rotate(0deg)}
}
