/* Strand app prototype */

:root {
  --cream: #FFF6EC;
  --paper: #FFFFFF;
  --ink: #1F1410;
  --ink-2: #5C4A40;
  --line: #EADFD2;
  --tomato: #E8452C;
  --sun: #FFC53D;
  --plum: #6B2D5C;
  --mint: #9ED8C3;
  --pink: #FF9EC4;
  --green: #2E5E4E;
  --display: 'Bricolage Grotesque', 'Figtree', sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --r: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 400 15px/1.45 var(--body); color: var(--ink); background: #F3E7D8;
  display: flex; align-items: center; justify-content: center; gap: 64px; padding: 32px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Desktop framing: a short note beside a phone */
.about { width: 300px; display: flex; flex-direction: column; gap: 16px; }
.about-back { font-weight: 600; text-decoration: none; color: var(--ink-2); }
.about-back:hover { color: var(--ink); }
.about-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 24px; }
.about h1 { font-size: 64px; line-height: 0.9; font-weight: 800; }
.about h1 span { color: var(--tomato); }
.about p { color: var(--ink-2); }
.about-try { background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.about-try strong { color: var(--ink); }
.about-case { font-weight: 700; color: var(--ink); }
.about-reset { align-self: flex-start; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.about-reset:hover { background: var(--ink); color: var(--cream); }
.about-note { font-size: 13px; }

.device {
  position: relative; flex: none; width: 390px; height: min(844px, calc(100vh - 64px));
  border-radius: 52px; padding: 12px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(31, 20, 16, 0.55);
}
.app { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--cream); isolation: isolate; }

@media (max-width: 760px) {
  body { display: block; padding: 0; background: var(--cream); }
  .about { display: none; }
  .device { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; background: var(--cream); }
  .app { border-radius: 0; }
}

.screen { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 128px; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen:focus { outline: none; }
.no-tabs .screen { padding-bottom: 0; }
.pad { padding: 0 20px; }
.status-space { height: 44px; }

/* Bottom tabs */
.tabs {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); border-radius: 26px; padding: 8px;
  box-shadow: 0 12px 30px -10px rgba(31, 20, 16, 0.5);
}
.no-tabs .tabs { display: none; }
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: 0; border-radius: 18px; padding: 8px 0 6px;
  color: #CDBFB3; font-size: 11.5px; font-weight: 600; text-decoration: none;
}
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { background: var(--cream); color: var(--ink); }
.tab-count {
  display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; vertical-align: 1px;
  border-radius: 9px; background: var(--tomato); color: var(--ink); font-size: 11px; line-height: 18px; text-align: center;
}
.tab-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Shared pieces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 15px 22px; font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--ink); color: var(--cream); transition: transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ghost { background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 10px; font-weight: 600; font-size: 15px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.icon-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(31, 20, 16, 0.2); text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[aria-pressed="true"] { color: var(--tomato); }
.icon-btn[aria-pressed="true"] svg path { fill: currentColor; }

.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 8px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none;
}
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }

.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 20px; margin-bottom: 12px; }
.section-head h2 { font-size: 22px; font-weight: 700; }
.section-head a { font-weight: 600; font-size: 14px; color: var(--ink-2); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; height: 56px; }
.topbar h1 { font-size: 20px; font-weight: 700; }

.stars { color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap; }
.stars span { color: var(--ink-2); font-weight: 500; }

.match {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  background: var(--green); color: #FFFFFF; font-size: 11.5px; font-weight: 700; padding: 4px 9px 4px 7px;
}
.match svg { width: 13px; height: 13px; }

/* Product art */
.art { position: relative; display: grid; place-items: center; border-radius: var(--r); overflow: hidden; }
.art svg { width: 78%; height: 78%; }

/* Product cards */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.card .art { aspect-ratio: 1; transition: transform 0.3s var(--ease); }
.card:active .art { transform: scale(0.97); }
.card .match { position: absolute; top: 10px; left: 10px; }
.card-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.card-maker { font-size: 13px; color: var(--ink-2); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-price { font-weight: 700; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 0 20px 4px; scroll-snap-type: x mandatory; scroll-padding: 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { width: 150px; flex: none; scroll-snap-align: start; }

/* Welcome */
.welcome { height: 100%; display: flex; flex-direction: column; background: var(--tomato); position: relative; overflow: hidden; }
.welcome-art { flex: 1; position: relative; }
.welcome-art .blob { position: absolute; border-radius: 50%; }
.welcome-art .float { position: absolute; width: 130px; height: 130px; }
.motion .welcome-art .float { animation: bob 5s ease-in-out infinite; }
.motion .welcome-art .float:nth-child(2n) { animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(3deg); } }
.welcome-body { padding: 0 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.welcome h1 { font-size: 58px; line-height: 0.92; font-weight: 800; color: var(--ink); }
.welcome p { font-size: 17px; color: var(--ink); max-width: 30ch; }
.welcome .btn { margin-top: 8px; }
.welcome .btn-ghost { align-self: center; }

/* Profile setup */
.setup { min-height: 100%; display: flex; flex-direction: column; padding: 0 20px; }
.setup-top { display: flex; align-items: center; gap: 12px; height: 56px; }
.progress { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress i { height: 6px; border-radius: 3px; background: var(--line); }
.progress i.on { background: var(--ink); }
.setup h1 { font-size: 34px; line-height: 1; font-weight: 800; margin: 18px 0 8px; }
.setup-sub { color: var(--ink-2); margin-bottom: 20px; }
/* Continue stays in reach when a step is taller than the screen */
.setup-foot {
  position: sticky; bottom: 0; margin: auto -20px 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px; background: linear-gradient(transparent, var(--cream) 28%);
}
.curl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 8px 12px;
  transition: border-color 0.15s, background 0.15s;
}
.option svg { width: 44px; height: 44px; }
.option strong { font-family: var(--display); font-size: 20px; }
.option small { color: var(--ink-2); font-size: 12px; }
.option[aria-pressed="true"] { border-color: var(--ink); background: #FFE9B0; }
.option-row { flex-direction: row; text-align: left; gap: 14px; padding: 16px; align-items: center; }
.option-row div { display: flex; flex-direction: column; gap: 2px; }
.option-row strong { font-size: 18px; }
.option-row .dot { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.tip { margin-top: 16px; background: var(--paper); border-radius: var(--r); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.tip strong { color: var(--ink); }
.goal-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.goal-wrap .chip { padding: 12px 18px; font-size: 15px; }

/* Home */
.home-head { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 60px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.logo span { color: var(--tomato); }
.profile-pill {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  background: var(--paper); padding: 6px 12px 6px 6px; font-weight: 700; font-size: 13px; text-decoration: none;
  box-shadow: 0 2px 8px -2px rgba(31, 20, 16, 0.2);
}
.profile-pill i { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-style: normal; }
.profile-pill i svg { width: 18px; height: 18px; }
.profile-pill .chev { width: 14px; height: 14px; margin-left: -2px; color: var(--ink-2); }
.hero {
  margin: 8px 20px 0; border-radius: 26px; background: var(--sun); padding: 22px; position: relative; overflow: hidden; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h2 { font-size: 32px; line-height: 0.98; font-weight: 800; max-width: 8.5em; position: relative; z-index: 1; }
.hero .btn { align-self: flex-start; padding: 12px 18px; font-size: 15px; position: relative; z-index: 1; }
.hero-art { position: absolute; right: -18px; bottom: -14px; width: 170px; height: 170px; }
.motion .hero-art { animation: bob 6s ease-in-out infinite; }
.search-fake {
  display: flex; align-items: center; gap: 10px; margin: 0 20px; height: 48px; padding: 0 16px;
  border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.search-fake svg { width: 20px; height: 20px; }
.makers .maker-card { width: 210px; flex: none; scroll-snap-align: start; border-radius: var(--r); padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.maker-card .mk-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.maker-card h3 { font-size: 18px; font-weight: 700; }
.maker-card p { font-size: 13px; }
.maker-card .mk-items { display: flex; margin-top: auto; }
.maker-card .mk-items .art { width: 40px; height: 40px; border-radius: 12px; border: 2px solid currentColor; margin-right: -8px; }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px; }
.need { border-radius: var(--r); padding: 14px; min-height: 84px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; }
.need small { font-family: var(--body); font-weight: 500; font-size: 12.5px; opacity: 0.85; }

/* Search */
.search-box { display: flex; align-items: center; gap: 10px; margin: 4px 20px 12px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); }
.search-box svg { width: 20px; height: 20px; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 20px; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.toggle-row strong { display: block; font-size: 14.5px; }
.toggle-row small { color: var(--ink-2); font-size: 12.5px; }
.switch { position: relative; width: 50px; height: 30px; flex: none; border-radius: 15px; border: 0; background: var(--line); padding: 0; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease); }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.result-count { padding: 0 20px 12px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.empty { text-align: center; padding: 48px 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty .art { width: 120px; height: 120px; margin-bottom: 6px; }
.empty h2 { font-size: 22px; }
.empty p { color: var(--ink-2); }

/* Product detail */
.pd-art { position: relative; height: 380px; border-radius: 0 0 34px 34px; }
.pd-art .art { position: absolute; inset: 0; border-radius: 0 0 34px 34px; }
.pd-art .art svg { width: 66%; height: 66%; margin-top: 30px; }
.pd-bar { position: absolute; top: 52px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 2; }
.pd-actions { display: flex; gap: 10px; }
.bag-btn { position: relative; }
.bag-btn .tab-count { position: absolute; top: -4px; right: -4px; margin: 0; }
.pd-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pd-maker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.pd-maker i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 11px; color: var(--ink); }
.pd-title { font-size: 30px; line-height: 1; font-weight: 800; margin-top: 6px; }
.pd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pd-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pd-rating small { font-size: 12px; color: var(--ink-2); }
.pd-price { font-family: var(--display); font-size: 26px; font-weight: 700; }
.fit { border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.fit svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.fit strong { display: block; font-size: 15px; }
.fit p { font-size: 13.5px; }
.fit-yes { background: #DDF3EA; }
.fit-maybe { background: #FFE9B0; }
.fit-none { background: var(--paper); }
.curl-row { display: flex; gap: 6px; flex-wrap: wrap; }
.curl-tag { border-radius: 10px; padding: 6px 10px; font-weight: 700; font-size: 13px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-2); }
.curl-tag.in { border-color: var(--ink); color: var(--ink); }
.curl-tag.you { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.seg { display: flex; gap: 8px; }
.seg .chip { padding: 10px 16px; }
.pd-text { color: var(--ink-2); }
.ingredients { display: flex; flex-wrap: wrap; gap: 6px; }
.ingredients span { background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 500; }
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; }
.reviews-head h2 { font-size: 22px; }
.review-summary { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.review-filter { display: flex; background: var(--paper); border-radius: 999px; padding: 4px; margin: 10px 0 4px; }
.review-filter button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 9px 6px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.review-filter button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.review { border-bottom: 1.5px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.review:last-child { border-bottom: 0; }
.review-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--display); font-size: 14px; flex: none; }
.review-top strong { font-size: 14.5px; }
.review-top small { display: block; font-size: 12.5px; color: var(--ink-2); }
.review-stars { margin-left: auto; color: var(--tomato); letter-spacing: 1px; font-size: 13px; }
.review p { font-size: 14.5px; }
.review-note { font-size: 13.5px; color: var(--ink-2); padding: 12px 0 0; }
.buy-bar {
  position: sticky; bottom: 0; z-index: 3; display: flex; gap: 10px; align-items: center;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--cream) 30%);
}
.buy-bar .btn { flex: 1; }
.buy-bar .btn.is-added { background: var(--green); color: #FFFFFF; }

/* Maker */
.mk-hero { padding: 52px 20px 24px; border-radius: 0 0 34px 34px; display: flex; flex-direction: column; gap: 14px; }
.mk-hero .mk-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); }
.mk-hero h1 { font-size: 32px; line-height: 1; font-weight: 800; }
.mk-meta { font-weight: 600; font-size: 14px; }
.mk-hero p { font-size: 15px; }
.mk-stats { display: flex; gap: 24px; }
.mk-stats div { display: flex; flex-direction: column; }
.mk-stats strong { font-family: var(--display); font-size: 22px; }
.mk-stats small { font-size: 12.5px; font-weight: 600; }
.mk-actions { display: flex; gap: 10px; }
.mk-actions .btn { padding: 12px 20px; font-size: 15px; }

/* Bag */
.bag-group { margin: 0 20px 16px; background: var(--paper); border-radius: 22px; padding: 16px; }
.bag-maker { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.bag-maker i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--ink); }
.bag-maker strong { font-size: 15.5px; }
.bag-maker small { display: block; color: var(--ink-2); font-size: 12.5px; }
.ship { margin: 14px 0 4px; font-size: 13px; font-weight: 600; }
.ship-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.ship-bar i { display: block; height: 100%; border-radius: 3px; background: var(--green); transition: width 0.5s var(--ease); }
.line { display: flex; gap: 12px; align-items: center; padding: 14px 0 0; }
.line .art { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.line-info strong { font-size: 14.5px; line-height: 1.25; }
.line-info small { color: var(--ink-2); font-size: 12.5px; }
.line-info b { font-size: 14.5px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--cream); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--paper); font-size: 18px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.summary { margin: 4px 20px 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; }
.summary .total { font-family: var(--display); font-size: 22px; font-weight: 700; border-top: 1.5px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary .muted { color: var(--ink-2); }
.cta-wrap { padding: 20px; }

/* Checkout */
.co-card { margin: 0 20px 14px; background: var(--paper); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.co-card h2 { font-size: 17px; font-weight: 700; }
.co-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.co-row p { color: var(--ink-2); font-size: 14px; }
.speed { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--paper); text-align: left; width: 100%; }
.speed[aria-pressed="true"] { border-color: var(--ink); }
.speed .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-2); flex: none; }
.speed[aria-pressed="true"] .radio { border: 6px solid var(--ink); }
.speed div { flex: 1; }
.speed strong { display: block; font-size: 14.5px; }
.speed small { color: var(--ink-2); font-size: 12.5px; }
.demo-note { font-size: 12.5px; color: var(--ink-2); text-align: center; margin-top: 10px; }

/* Done */
.done { min-height: 100%; background: var(--green); color: var(--cream); display: flex; flex-direction: column; padding: 0 24px 28px; position: relative; overflow: hidden; }
.done-check { width: 84px; height: 84px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; margin-top: 80px; }
.done-check svg { width: 44px; height: 44px; }
.motion .done-check { animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.done h1 { font-size: 44px; line-height: 0.95; font-weight: 800; margin: 24px 0 10px; }
.done p { font-size: 16px; opacity: 0.92; }
.parcels { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.parcel { background: rgba(255, 246, 236, 0.1); border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.parcel i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--ink); flex: none; }
.parcel strong { display: block; font-size: 14.5px; }
.parcel small { font-size: 12.5px; opacity: 0.85; }
.done .btn { margin-top: auto; background: var(--cream); color: var(--ink); }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(900px) rotate(540deg); } }

/* Toast */
.toast {
  position: absolute; left: 20px; right: 20px; bottom: 96px; z-index: 6;
  background: var(--ink); color: var(--cream); border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: var(--sun); font-weight: 700; }
.no-tabs .toast { bottom: 100px; }

/* Screen entrance */
.motion .screen > * { animation: rise 0.45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
