/* Outfit Picker website. Colors from app/src/presentation/themes/color.ts and docs/branding.html:
   chocolate for text and dark sections, cream for surfaces, mandarina for what matters.
   On mandarina, text is always chocolate, never white. The gradient is only for key buttons (Sofia, 23 nov 2026);
   everything else orange is flat. */
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --choc: #2b1a12;          /* Color.dark */
  --choc-soft: #20130d;     /* Color.softBlack */
  --charcoal: #3d2a20;      /* Color.charcoal */
  --crema: #f4f0e8;         /* Color.crema */
  --crema-clara: #faf7f1;   /* Color.cremaClara */
  --white: #ffffff;
  --acc-1: #ff6a1a;         /* GRADIENTE_ACENTO */
  --acc-2: #ffb23e;
  --acc: #ff8e2c;           /* Color.accent */
  --acc-text: #e0560f;      /* Color.accentText */
  --acc-soft: rgba(255, 106, 26, 0.12);
  --grad: linear-gradient(90deg, var(--acc-1), var(--acc-2));
  --muted-dark: rgba(244, 240, 232, 0.72);
  --muted-light: rgba(43, 26, 18, 0.7);
  --radius: 22px;
  --title: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --stk-edge: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
  --stk-shadow: drop-shadow(0 10px 14px rgba(20, 10, 5, 0.32));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--choc);
  color: var(--crema);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--title); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.5em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.hl { color: var(--acc-text); }
.sec-dark .hl { color: var(--acc); }
.eyebrow {
  display: inline-block;
  font: 700 0.8rem/1 var(--title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 16px;
}
.sec-light .eyebrow, .sec-cream .eyebrow { color: var(--acc-text); }
.lead { font-size: 1.15rem; color: var(--muted-dark); max-width: 36em; }
.sec-light .lead, .sec-cream .lead { color: var(--muted-light); }
.sec-cream .fine { color: var(--muted-light); }
.sec-cream .link-arrow { color: var(--choc); border-color: rgba(43,26,18,.3); }
.fine { font-size: 0.88rem; color: var(--muted-dark); margin-top: 14px; }

/* Buttons */
.btn {
  --tilt: 0deg;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px;
  padding: 15px 26px;
  font: 600 1rem/1 var(--text);
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s cubic-bezier(.3,1.6,.5,1), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.2deg) scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--acc-2); outline-offset: 3px; }
.btn-accent { background: var(--grad); color: var(--choc); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(255, 106, 26, 0.35); }
.btn-accent::after { /* the app's shimmer */
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  animation: shimmer 3.6s ease-in-out infinite;
}
.btn-dark { background: var(--choc); color: var(--crema); }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btn-xl { padding: 20px 34px; font-size: 1.12rem; }
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--crema); border-bottom: 1.5px solid rgba(244,240,232,.35); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--acc); }
.link-arrow.dark { color: var(--choc); border-color: rgba(43,26,18,.3); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid rgba(43, 26, 18, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.1rem/1 var(--title); color: var(--choc); }
.footer .brand { color: var(--crema); }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 0.95rem; color: var(--muted-light); }
.nav-links a:not(.btn):hover { color: var(--choc); }
.nav-links .lang { font-weight: 700; border: 1.5px solid rgba(43,26,18,.25); border-radius: 999px; padding: 5px 10px; font-size: 0.8rem !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.nav-toggle i { display: block; height: 2px; background: var(--choc); margin: 6px 0; border-radius: 2px; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: var(--crema);
    border-bottom: 1px solid rgba(43,26,18,.1);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  .nav-links .lang { align-self: flex-start; padding: 7px 12px !important; margin: 6px 0; }
  .nav-links .btn { margin-top: 8px; }
}

/* Sections */
section { position: relative; }
.sec-dark { background: var(--choc); color: var(--crema); padding: 110px 0; }
.sec-cream { background: var(--crema); color: var(--choc); }
.sec-light { background: var(--crema-clara); color: var(--choc); padding: 120px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head .lead { margin-inline: auto; }
.sec-head.left { text-align: left; margin: 0; }

/* Stickers: die-cut garments with white edge and soft shadow, slightly tilted, slap in when they appear */
.stk {
  position: absolute; width: 120px; height: auto;
  filter: var(--stk-edge) var(--stk-shadow);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg)) scale(var(--sc, 1));
  will-change: transform; pointer-events: none; user-select: none;
}
.js .stk { --sc: 0.4; opacity: 0; transition: opacity .35s ease var(--dl, 0ms), --sc 0s; }
.js .stk.in { opacity: 1; animation: slap .7s cubic-bezier(.2,1.6,.4,1) var(--dl, 0ms) both; }
@keyframes slap {
  0% { transform: translate3d(0, var(--py, 0px), 0) rotate(calc(var(--r) - 18deg)) scale(1.5); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r)) scale(1); opacity: 1; }
}
.stk.in.settled { animation: none; --sc: 1; }

.rail { position: relative; height: 0; z-index: 5; }
.rail-stk { z-index: 5; }
@media (min-width: 701px) and (max-width: 1100px) { .rail-stk { width: 88px !important; } }
@media (max-width: 700px) { .rail-stk { width: 74px !important; } .rail-stk:nth-child(n+4) { display: none; } }

/* Hero */
.hero { padding: 36px 0 120px; overflow: hidden; }
.hero::before { /* soft light circle behind the phone */
  content: ''; position: absolute; width: 760px; height: 760px; right: -120px; top: 40px;
  background: var(--crema-clara); border-radius: 50%;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
.hero-media { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-stk.s1 { width: 150px; left: 0; top: 70px; z-index: 3; }
.hero-stk.s2 { width: 120px; right: 2%; top: 20px; z-index: 3; }
.hero-stk.s3 { width: 130px; right: -10px; bottom: 120px; z-index: 3; }
.hero-stk.s4 { width: 130px; left: 4%; bottom: 40px; z-index: 3; }

.phone {
  position: relative; z-index: 2;
  background: #120a06; border-radius: 52px; padding: 11px;
  box-shadow: 0 0 0 2px #4a362a, 0 40px 80px rgba(43, 26, 18, 0.3);
}
.phone::before { /* dynamic island */
  content: ''; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%);
  background: #000; border-radius: 20px; z-index: 6;
}
.phone-xl { width: min(360px, 82vw, calc((100vh - 200px) * 0.46)); min-width: 280px; aspect-ratio: 9 / 19.5; transform: rotate(2deg); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--crema); }
.screen-fill { width: 100%; height: 100%; object-fit: cover; }

/* Animated try-on demo (placeholder for the real video). 10 s loop, same flow as the app's Try on:
   the pieces of a look on cream, tap Try on, the look worn by a model, Esti says why. */
.demo { position: absolute; inset: 0; --t: 10s; }
.demo-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.demo-tag.demo-tag-before { animation: tag-before var(--t) infinite; }
@keyframes tag-before { 0%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
.demo-look { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; clip-path: inset(0 0 100% 0); animation: demo-look var(--t) infinite; z-index: 3; }
.demo-scan { position: absolute; left: 0; right: 0; height: 90px; top: -90px; z-index: 4; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .7), transparent); animation: demo-scan var(--t) infinite; }
.demo-tag { position: absolute; top: 60px; left: 14px; font: 700 0.72rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; background: var(--crema-clara); color: var(--choc); padding: 7px 10px; border-radius: 8px; z-index: 5; opacity: 0; animation: tag-after var(--t) infinite; }
.demo-piece { position: absolute; filter: var(--stk-edge) var(--stk-shadow); z-index: 2; opacity: 0; animation: piece var(--t) infinite; }
.demo-piece.p1 { right: 3%; top: 15%; width: 36%; --r: 8deg; --tx: -80%; --ty: 20%; }
.demo-piece.p2 { left: 4%; top: 22%; width: 26%; --r: -8deg; --tx: 90%; --ty: 10%; animation-delay: .25s; }
.demo-piece.p3 { right: 4%; top: 44%; width: 34%; --r: -5deg; --tx: -80%; --ty: 0%; animation-delay: .5s; }
.demo-piece.p4 { left: 5%; top: 62%; width: 28%; --r: 10deg; --tx: 90%; --ty: 10%; animation-delay: .75s; }
.demo-pill { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); background: var(--grad); color: var(--choc); font: 600 0.95rem/1 var(--text); padding: 13px 34px; border-radius: 999px; z-index: 6; box-shadow: 0 8px 22px rgba(255, 106, 26, .35); animation: pill var(--t) infinite; white-space: nowrap; }
.demo-tip { position: absolute; left: 12px; right: 12px; bottom: 102px; display: flex; gap: 9px; align-items: center; background: var(--crema-clara); color: var(--choc); border-radius: 16px; padding: 10px 12px; font-size: 0.82rem; line-height: 1.3; z-index: 6; opacity: 0; animation: tip var(--t) infinite; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.demo-tip b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; font: 700 0.8rem/1 var(--title); }
@keyframes piece {
  0%, 3% { opacity: 0; transform: rotate(calc(var(--r) + 20deg)) scale(1.35); }
  10%, 40% { opacity: 1; transform: rotate(var(--r)) scale(1); }
  50%, 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(0deg) scale(.35); }
}
@keyframes pill {
  0%, 36% { transform: translateX(-50%) scale(1); }
  40% { transform: translateX(-50%) scale(.9); }
  44% { transform: translateX(-50%) scale(1.06); }
  48%, 100% { transform: translateX(-50%) scale(1); }
}
@keyframes demo-look { 0%, 46% { clip-path: inset(0 0 100% 0); opacity: 1; } 58%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes demo-scan { 0%, 46% { top: -90px; opacity: 0; } 47% { top: -90px; opacity: 1; } 58% { top: 100%; opacity: 1; } 59%, 100% { opacity: 0; top: 100%; } }
@keyframes tip { 0%, 63% { opacity: 0; transform: translateY(12px); } 67%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes tag-after { 0%, 56% { opacity: 0; } 60%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero::before { width: 520px; height: 520px; right: -70px; top: auto; bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; flex-direction: column; }
  .hero-ctas .btn { width: 100%; max-width: 380px; }
  .hero-media { min-height: 0; padding: 20px 0 10px; }
  .phone-xl { width: min(320px, 78vw); }
  .hero-stk.s1 { width: 92px; left: 0; top: 40px; }
  .hero-stk.s2 { width: 76px; right: 0; top: 0; }
  .hero-stk.s3 { width: 86px; right: 0; bottom: 70px; }
  .hero-stk.s4 { width: 86px; left: 2px; bottom: 10px; }
}

/* Timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1020px; }
.tl-line { position: absolute; left: 50%; top: 20px; bottom: 20px; width: 3px; transform: translateX(-50%); background: rgba(43, 26, 18, .1); border-radius: 3px; }
.tl-fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: var(--acc); border-radius: 3px; }
.tl-item { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 28px; margin-bottom: 64px; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--crema-clara); border: 3px solid var(--acc); color: var(--choc); font: 700 1.2rem/1 var(--title); z-index: 1; transition: background .3s; }
.tl-item.in .tl-dot { background: var(--acc); }
.tl-copy { grid-column: 1; grid-row: 1; text-align: right; }
.tl-copy h3 { font-size: 1.6rem; }
.tl-copy p { color: var(--muted-light); font-size: 1.05rem; }
.tl-media { grid-column: 3; grid-row: 1; }
.tl-item:nth-child(odd of .tl-item) .tl-copy { grid-column: 3; text-align: left; }
.tl-item:nth-child(odd of .tl-item) .tl-media { grid-column: 1; justify-self: end; }
.tl-media .photo-card, .tl-media .mini-phone { width: min(280px, 100%); }
@media (max-width: 760px) {
  .tl-line { left: 26px; }
  .tl-item, .tl-item:nth-child(odd of .tl-item) { grid-template-columns: 52px 1fr; gap: 8px 18px; margin-bottom: 52px; }
  .tl-dot { grid-column: 1 !important; grid-row: 1; align-self: start; }
  .tl-copy, .tl-item:nth-child(odd of .tl-item) .tl-copy { grid-column: 2; text-align: left; }
  .tl-media, .tl-item:nth-child(odd of .tl-item) .tl-media { grid-column: 2; grid-row: 2; justify-self: start; }
  .tl-media .photo-card, .tl-media .mini-phone { width: min(230px, 100%); }
}

.photo-card { border-radius: 20px; overflow: hidden; background: #fff; padding: 8px; transform: rotate(var(--r, -2deg)); box-shadow: 0 18px 40px rgba(43, 26, 18, .18); }
.photo-card img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tl-item:nth-child(even of .tl-item) .photo-card { --r: 2.5deg; }
.mini-phone { background: #120a06; border-radius: 34px; padding: 7px; box-shadow: 0 18px 40px rgba(43, 26, 18, .25); transform: rotate(var(--r, 2deg)); }
.mini-phone img { border-radius: 28px; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; width: 100%; }

/* Step 2: palette card. Step 5: brands */
.palette-card, .brands-card { width: min(300px, 100%); background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 18px 40px rgba(43, 26, 18, .14); transform: rotate(var(--r, 2deg)); position: relative; }
.pc-season { font: 700 1.2rem/1.2 var(--title); margin: 0 0 14px; }
.pc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
.pc-sw { display: flex; align-items: center; gap: 8px; font-size: .86rem; }
.pc-sw i { width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(43,26,18,.08); }
.pc-avoid-label { font-size: .8rem; color: var(--muted-light); margin: 16px 0 8px; }
.pc-avoid { display: flex; gap: 8px; }
.pc-x { position: relative; width: 26px; height: 26px; }
.pc-x i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(43,26,18,.15); opacity: .6; }
.pc-x::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--choc); transform: rotate(-45deg); }
.brands-card { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; --r: -2deg; }
.brand { font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; background: var(--crema); }
.brand.b1 { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.brand.b2 { letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.brands-bag { position: absolute; width: 74px; right: -26px; top: -40px; filter: var(--stk-edge) var(--stk-shadow); transform: rotate(10deg); }
.brands-note { font-size: .72rem; color: var(--muted-light); margin: 6px 0 0; line-height: 1.35; }

/* Feature visuals */
.fx-stk { filter: var(--stk-edge) var(--stk-shadow); transform: rotate(var(--r, 0deg)); }
.fx-arrow { font: 700 1.6rem/1 var(--title); color: var(--acc-text); flex: none; }
.fx-color { position: relative; width: 100%; max-width: 330px; margin: 6px auto 24px; }
.fx-face { width: 78%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 16px 34px rgba(43,26,18,.18); }
.fx-swatches { position: absolute; right: 0; top: 8%; display: flex; flex-direction: column; gap: 8px; }
.fx-swatches span { width: 42px; height: 42px; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(43,26,18,.2); display: grid; place-items: end; padding: 2px 4px; color: #fff; font-size: .7rem; font-weight: 700; }
.fx-swatches span:nth-child(odd) { transform: translateX(-10px) rotate(-4deg); }
.fx-tryon, .fx-closet { display: flex; align-items: center; gap: 10px; width: 100%; }
.fx-tryon .fx-pieces, .fx-closet .fx-pieces { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: center; }
.fx-tryon .fx-pieces .fx-stk, .fx-closet .fx-pieces .fx-stk { width: 100%; max-height: 120px; object-fit: contain; }
.card .fx-tryon .photo-card, .card .fx-closet .photo-card { width: 46%; flex: none; margin-bottom: 24px; --r: 2deg; }
.fx-tryon .photo-card img, .fx-closet .photo-card img { aspect-ratio: 3 / 4.4; object-position: 50% 20%; }
.fx-closet .photo-card img { object-position: 60% 45%; }
.fx-check { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.fx-check figure { margin: 0; position: relative; min-width: 0; }
.card-media > *, .fx-pieces { min-width: 0; }
.card .fx-check .photo-card { width: auto; margin-bottom: 0; --r: -2deg; }
.card .fx-check .si .photo-card { --r: 2deg; }
.fx-check .photo-card img { aspect-ratio: 3 / 4.2; object-position: 50% 15%; }
.fx-check .no .photo-card { filter: grayscale(.85) brightness(.92); opacity: .78; }
.fx-check .si .photo-card { box-shadow: 0 18px 40px rgba(255, 106, 26, .25); }
.fx-check { padding-bottom: 24px; }
.fx-check figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--crema-clara); font-weight: 600; font-size: .85rem; box-shadow: 0 6px 16px rgba(43,26,18,.15); }
.fx-check figcaption b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; }
.fx-check .no figcaption b { background: rgba(43,26,18,.12); color: var(--choc); }
.fx-check .si figcaption b { background: var(--acc); color: var(--choc); }
.fx-check .no figcaption { color: var(--muted-light); }
.fx-check .photo-card img { max-height: 300px; }
.fx-capsule { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 6px; width: 100%; align-items: center; padding-bottom: 22px; }
.fx-capsule .fx-stk { width: 100%; max-height: 96px; object-fit: contain; }
.fx-count { grid-column: 1 / -1; text-align: center; margin: 12px 0 0; font-size: .95rem; color: var(--muted-light); }
.fx-count b { font: 700 1.5rem/1 var(--title); color: var(--acc-text); }

/* Founder: women in bubbles instead of a photo */
.bubbles { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: center; }
.bubble { position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 14px 30px rgba(43, 26, 18, .16); animation: float var(--d, 7s) ease-in-out infinite alternate; }
.bubble img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; transform: scale(2.1); transform-origin: 50% 0; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* Bento of features */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { background: var(--crema); color: var(--choc); border-radius: 28px; padding: 28px 28px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 420px; position: relative; transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.card:hover { transform: rotate(-0.6deg) translateY(-4px); }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--muted-light); font-size: 1rem; }
.card-media { margin-top: auto; display: flex; justify-content: center; }
.card .mini-phone { width: 210px; margin-bottom: -120px; --r: 0deg; }
.card .photo-card { width: 230px; margin-bottom: -40px; --r: 3deg; }
.card-color { grid-column: span 5; }
.card-tryon { grid-column: span 7; }
.card-check, .card-capsule { grid-column: span 6; }
.card-closet { grid-column: span 7; }
.card-trip { grid-column: span 5; }
.card-esti { grid-column: span 12; }
.card-esti { flex-direction: row; gap: 18px; padding-bottom: 0; min-height: 360px; }
.card-esti .card-copy { flex: 1; padding-bottom: 28px; max-width: 520px; }
.card-esti .card-media { margin: 0 6% 0 auto; align-items: flex-start; flex: none; }
.card-esti .mini-phone { width: 220px; margin-bottom: -120px; }
.card-media { padding-top: 8px; }
.tag { display: inline-block; vertical-align: middle; font: 700 .68rem/1 var(--title); letter-spacing: .05em; text-transform: uppercase; color: var(--acc-text); background: var(--acc-soft); padding: 6px 9px; border-radius: 8px; margin-left: 6px; }
@media (max-width: 980px) {
  .card-color, .card-tryon, .card-check, .card-capsule, .card-closet, .card-trip, .card-esti { grid-column: span 6; }
  .card-esti { grid-column: span 12; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card { grid-column: auto; min-height: 0; }
  .card-capsule, .card-closet, .card-esti { flex-direction: column; }
  .card-capsule .card-copy, .card-closet .card-copy, .card-esti .card-copy { padding-bottom: 0; }
  .card-capsule .card-media, .card-closet .card-media, .card-esti .card-media { align-self: center; }
  .card .mini-phone, .card-capsule .mini-phone, .card-closet .mini-phone, .card-esti .mini-phone { width: 190px; margin-bottom: -110px; margin-top: 8px; }
  .card { padding: 24px 22px 0; }
}

/* Founder */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.polaroid { position: relative; margin: 0; background: #fff; padding: 14px 14px 18px; border-radius: 6px; box-shadow: 0 30px 60px rgba(43, 26, 18, .2); transform: rotate(var(--r)); max-width: 380px; justify-self: center; width: 100%; }
.polaroid-img { aspect-ratio: 4 / 5; background: repeating-linear-gradient(45deg, var(--crema), var(--crema) 12px, var(--crema-clara) 12px, var(--crema-clara) 24px); display: grid; place-items: center; border: 2px dashed rgba(43, 26, 18, .25); border-radius: 3px; color: var(--muted-light); font-weight: 600; }
.polaroid-img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { font: 700 1.3rem/1 var(--title); color: var(--choc); text-align: center; margin-top: 14px; }
.founder-stk.f1 { width: 130px; right: -60px; top: -40px; }
.founder-stk.f2 { width: 120px; left: -50px; bottom: -30px; }
.founder-copy p { font-size: 1.15rem; color: var(--charcoal); }
.signature { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.signature .hl { font: 700 2.2rem/1 var(--title); }
.signature small { color: var(--muted-light); font-size: .95rem; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: 56px; }
  .polaroid { max-width: 280px; }
  .founder-stk.f1 { width: 90px; right: -30px; }
  .founder-stk.f2 { width: 84px; left: -26px; }
}

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list details { background: rgba(244, 240, 232, 0.06); border-radius: 18px; margin-bottom: 10px; padding: 0 22px; transition: background .2s; }
.faq-list details[open] { background: var(--charcoal); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 700 1.08rem/1.35 var(--title); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 142, 44, 0.16); color: var(--acc); display: grid; place-items: center; font: 700 1.2rem/1 var(--text); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding-bottom: 20px; margin: 0; color: var(--muted-dark); }

/* Download (closing call to action) */
.download { padding: 130px 0; overflow: hidden; text-align: center; }
.dl-inner { position: relative; z-index: 2; max-width: 620px; }
.dl-inner .lead { margin: 0 auto 30px; }
.dl-icon { margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 18px 40px rgba(43,26,18,.22); transform: rotate(-6deg); }
.dl-stk { z-index: 1; }
.dl-stk.d1 { left: 7%; top: 70px; width: 140px; }
.dl-stk.d2 { right: 9%; top: 60px; width: 110px; }
.dl-stk.d3 { right: 14%; bottom: 50px; width: 110px; }
@media (max-width: 760px) {
  .download { padding: 110px 0 130px; }
  .dl-stk.d1 { left: -14px; top: 20px; width: 84px; }
  .dl-stk.d2 { right: -6px; top: 16px; width: 72px; }
  .dl-stk.d3 { right: 6px; bottom: 14px; width: 70px; }
  .download .btn { width: 100%; max-width: 380px; }
}

/* Footer */
.footer { background: var(--choc-soft); color: var(--muted-dark); padding: 72px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h3 { font: 700 .8rem/1 var(--title); letter-spacing: .08em; text-transform: uppercase; color: var(--crema); margin-bottom: 16px; }
.footer-grid a:not(.brand) { display: block; text-decoration: none; margin-bottom: 10px; word-break: break-word; }
.footer-grid a:hover { color: var(--acc); }
.footer-brand p { margin-top: 14px; }
.footer-base { border-top: 1px solid rgba(244,240,232,.1); margin-top: 44px; padding-top: 24px; font-size: .84rem; }
.footer-base p { margin-bottom: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: 64px 0 100px; min-height: 70vh; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--charcoal); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--acc-text); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid rgba(43,26,18,.12); vertical-align: top; }
.legal th { font-family: var(--title); font-size: .85rem; }
.table-scroll { overflow-x: auto; }
.draft { display: inline-block; background: var(--acc-soft); color: var(--acc-text); font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: .9rem; }
.updated { color: var(--muted-light); font-size: .9rem; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .stk, .js .reveal { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .demo-look { clip-path: inset(0 0 0 0); }
  .demo-tip { opacity: 1; }
  .demo-piece, .demo-scan { display: none; }
}
