/* DressUp landings: palette and type of the web prototype (dressup_web/src/sections.css)
   and of the B1 pins. System fonts only: no requests to other sites. */
:root {
  --bg: #faf9f5;
  --paper: #fffefa;
  --fg: #2a3026;
  --muted: #5f6658;
  --line: #dedfd5;
  --soft: #eeefe7;
  --active: #3c4933;
  --on-active: #fffef6;
  --tint: #e4ebd8;
  --photo: #f6f1e8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px calc(96px + env(safe-area-inset-bottom));
}
.top { padding: 18px 0 4px; }
.logo { font: 500 26px/1 var(--serif); letter-spacing: -.8px; color: var(--fg); }
h1 { font: 400 36px/1.06 var(--serif); letter-spacing: -1px; margin: 16px 0 12px; }
h2 { font: 400 28px/1.1 var(--serif); letter-spacing: -.6px; margin: 0 0 10px; }
h3 { font: 500 17px/1.3 var(--sans); margin: 2px 0 4px; }
p { margin: 0; }
.lead { color: var(--muted); }
.muted { color: var(--muted); }
section { margin-top: 40px; }

/* Buttons. */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 28px;
  background: var(--active);
  color: var(--on-active);
  font: 500 17px/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.cta { margin-top: 20px; }
.next { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 6px 0; }

/* Bottom bar: shown by forward.js while the first button is off screen. */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 245, .96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.sticky.show { transform: none; }
.sticky .btn { max-width: 440px; margin: 0 auto; }

/* Pieces: web versions of the pin pictures (src/img/), placed in % of a card, as in the prototype collage. */
.pc { position: absolute; display: block; object-fit: contain; }
.look .pc, .tile .pc { filter: drop-shadow(0 3px 5px rgba(40, 32, 20, .10)); }
.look { position: relative; aspect-ratio: 1 / 1.35; background: var(--photo); border-radius: 12px; }
.look-inner { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; }
.tile { position: relative; aspect-ratio: 1; background: var(--photo); border-radius: 12px; }
.tile.paper { background: var(--paper); border: 1px solid #e2ddd2; }
.tile.cam { display: flex; align-items: center; justify-content: center; background: var(--paper); border: 1.5px dashed #b9bdaf; }
.tag {
  position: absolute;
  z-index: 20;
  white-space: nowrap;
  font: 500 11px/1 var(--sans);
  padding: 5px 8px 6px;
  border-radius: 14px;
}
.tag.pick { background: var(--active); color: var(--on-active); }
.tag.yours { background: var(--paper); color: var(--fg); border: 1px solid #cfd2c4; }
figure { margin: 0; }
figcaption, .cap { font-size: 12.5px; line-height: 1.25; color: var(--muted); text-align: center; margin-top: 6px; }
.cap.strong { color: var(--fg); font-weight: 500; font-size: 13.5px; }

.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* K1: one pick and how to wear it. */
.pick-demo { margin-top: 28px; }
.pick-demo .tile { width: 42%; margin: 0 auto; }
.connect { display: block; width: 100%; height: 30px; }
.finish { width: 64%; margin: 18px auto 0; }

/* Steps. */
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--active);
  color: var(--on-active);
  font: 500 15px/30px var(--sans);
  text-align: center;
}
.step p { color: var(--muted); font-size: 15px; }
.tiles5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }

/* Chips and chat. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-block;
  padding: 8px 13px 9px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.25;
}
.chip.on { background: var(--active); border-color: var(--active); color: var(--on-active); }
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.bubble { display: inline-block; max-width: 86%; padding: 11px 15px 12px; border-radius: 20px; font-size: 16px; line-height: 1.35; }
.bubble.me { align-self: flex-end; background: var(--active); color: var(--on-active); border-bottom-right-radius: 6px; }
.bubble.it { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.chat .looks { margin-top: 2px; }
.refine { background: #f3e3dc; border-radius: 20px; padding: 22px 16px 20px; }
.refine .row3 { margin-top: 2px; }
.refine .tile { background: #fbf5f1; }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); }
.own { align-self: flex-end; width: 38%; }

/* Documents: the privacy policy. */
a.logo { text-decoration: none; }
.page.doc { max-width: 680px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 23px; letter-spacing: -.3px; margin: 34px 0 8px; }
.doc h3 { margin: 20px 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.5; }
.doc p + p, .doc ul + p, .doc .table + p { margin-top: 10px; }
.doc ul { margin: 8px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--active); }
.doc code { font-size: 14px; }
.doc .table { overflow-x: auto; margin-top: 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 500; color: var(--muted); }
/* Draft only: the --prod build fails while a page has data-draft or [[…]]. */
.todo { background: #fbe7a1; color: inherit; padding: 0 3px; border-radius: 3px; }
.draft-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fbe7a1; font-size: 14.5px; }
