/* PackMeList site. Same palette and type as the app: nylon white, ink, zipper blue, packing-cube colours. */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --nylon: #f5f6f8;
  --ink: #14171f;
  --ink-2: #454b59;
  --line: #dfe2e8;
  --blue: #1f4fe0;
  --blue-dark: #1739a8;
  --coral: #f2553d;
  --saffron: #f5a623;
  --mint: #17b890;
  --cobalt: #2d5bff;
  --grape: #7a4de8;
  --pink: #ee5c9a;
  --teal: #0e9aa7;
  --slate: #5b6676;
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--nylon);
  color: var(--ink);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
a:focus-visible, summary:focus-visible, .strip:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff;
}
.skip:focus { top: 12px; }

/* top bar */
.top { border-bottom: 1px solid var(--line); background: var(--nylon); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.25rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { border-radius: 10px; }
.top-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 2px; }
.top-nav a:not(.btn):hover { color: var(--blue); text-decoration: underline; }

/* buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none;
  font: 700 1rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn-small { padding: 9px 16px; font-size: 0.9375rem; }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* the fill bar: the app's hero, a bag-wide bar of cube-coloured segments */
.bar { display: flex; height: 18px; gap: 3px; }
.bar i { display: block; border-radius: 9px; }
.bar .s1 { flex: 18; background: var(--coral); }
.bar .s2 { flex: 6; background: #f0b9b0; }
.bar .s3 { flex: 14; background: var(--mint); }
.bar .s4 { flex: 8; background: var(--cobalt); }
.bar .s5 { flex: 5; background: #c8d3ff; }
.bar .s6 { flex: 9; background: var(--saffron); }
.bar .s7 { flex: 7; background: var(--teal); }
.bar .s8 { flex: 6; background: var(--grape); }
.bar-hero { margin: 0 20px; max-width: 1080px; }
@media (min-width: 1160px) { .bar-hero { margin: 0 auto; } }

/* hero */
.hero { padding: 40px 0 0; }
.hero-in { display: grid; gap: 32px; align-items: center; padding-bottom: 40px; }
.hero h1, .prose h1 {
  margin: 0 0 20px; font: 800 clamp(2.4rem, 8vw, 4.6rem)/1.02 var(--display);
  letter-spacing: -0.025em; text-wrap: balance;
}
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.cta { margin-top: 24px; }
.price { margin-top: 16px; color: var(--ink-2); font-size: 0.9375rem; max-width: 34em; }
.hero-shot img { width: min(100%, 320px); margin: 0 auto; border-radius: 28px; border: 1px solid var(--line); background: #fff; }
@media (min-width: 820px) {
  .hero { padding-top: 64px; }
  .hero-in { grid-template-columns: 1.25fr 0.75fr; gap: 56px; padding-bottom: 64px; }
  .hero-shot img { margin: 0 0 0 auto; width: 340px; }
}

/* sections */
.block { padding-top: 64px; }
.block h2, .prose h2 { margin: 0 0 20px; font: 800 clamp(1.6rem, 4vw, 2.25rem)/1.1 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.narrow { max-width: 760px; }

/* answer block */
.facts { margin: 0; }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 700 1.125rem/1.3 var(--display); }
.facts dd { margin: 0; color: var(--ink-2); max-width: 46em; }
@media (min-width: 760px) {
  .facts > div { grid-template-columns: 220px 1fr; gap: 32px; }
}

/* features: a cube per heading, in the colours the app gives each category */
.feats { display: grid; gap: 32px 48px; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 700 1.25rem/1.25 var(--display); }
.feats p { color: var(--ink-2); max-width: 34em; }
.cube { flex: none; width: 18px; height: 18px; border-radius: 6px; }
.c1 { background: var(--coral); } .c2 { background: var(--mint); } .c3 { background: var(--cobalt); } .c4 { background: var(--saffron); }
.c5 { background: var(--pink); } .c6 { background: var(--teal); } .c7 { background: var(--grape); } .c8 { background: var(--slate); }

/* screenshots */
.strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 20px 16px; margin: 0 auto; max-width: 1120px; overscroll-behavior-x: contain;
}
.strip figure { flex: none; width: 240px; margin: 0; scroll-snap-align: start; }
.strip img { width: 240px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.strip figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font: 700 1.125rem/1.35 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }

.guide-lead p { color: var(--ink-2); margin-bottom: 16px; }
.guide-lead h2 { font-size: 1.5rem; }
.last-cta { padding-bottom: 64px; }

/* guide pages */
.prose { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose .lede { margin-bottom: 8px; }
.small { font-size: 0.9375rem; color: var(--ink-2); }

/* footer */
.foot { margin-top: 8px; padding-bottom: 40px; border-top: 0; }
.foot .bar { height: 10px; margin-bottom: 28px; }
.foot-in { display: grid; gap: 8px; }
.foot-in .small { max-width: 52em; }

/* 404 */
.lost { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 18vh; }
.lost .bar { margin-top: 80px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
