/* ClamGlam — pocket makeup studio.
   Design language follows the v1.1 app ("just a girl" + soft glass):
   blush-to-lilac panes, plum ink, one pink accent, Quicksand display type,
   Sacramento wordmark, system text, nothing heavier than Medium. */
@font-face { font-family: "Quicksand"; src: url("assets/fonts/quicksand-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Sacramento"; src: url("assets/fonts/sacramento.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --ink: #4a3550;
  --muted: rgba(74, 53, 80, .76);
  --accent: #e0538f;
  --accent-light: #f07aae;
  --accent-deep: #c23c73;
  --pane-top: #fff3f8;
  --pane-bottom: #f3ebff;
  --blush: #f2d6e3;
  --lilac: #b9a3e3;
  --success: #5bbf8a;
  --line: rgba(74, 53, 80, .1);
  --glass: rgba(255, 255, 255, .6);
  --glass-stroke: rgba(255, 255, 255, .85);
  --shadow: 0 10px 34px rgba(122, 61, 90, .1);
  --display: "Quicksand", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Sacramento", "Snell Roundhand", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0; color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 85% -80px, rgba(185, 163, 227, .28), transparent 70%),
    radial-gradient(760px 480px at 0% 240px, rgba(246, 182, 200, .3), transparent 70%),
    linear-gradient(180deg, var(--pane-top), var(--pane-bottom) 1400px, var(--pane-top));
}
h1, h2, h3, p { margin-top: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; border-radius: 8px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1180px; margin: auto; padding: 0 48px; }
.skip { position: absolute; top: -100px; left: 20px; background: #fff; padding: 12px 18px; border-radius: 999px; z-index: 10; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Glass surfaces */
.glass, .card, .header nav .nav-cta, .chip-row button, .look-buttons button, .model-option, details {
  background: var(--glass); border: 1px solid var(--glass-stroke); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}

/* Header and brand */
.header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .brand-icon { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 4px 14px rgba(122, 61, 90, .14); }
.wordmark { font: 400 38px/1 var(--script); color: var(--ink); padding: 6px 4px 0; }
.header nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.header nav a:hover { color: var(--accent-deep); }
.header nav .nav-cta { border-radius: 999px; padding: 0 18px; gap: 10px; color: var(--accent-deep); }
.header nav .nav-cta:hover { background: #fff; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(52px, 7vw, 92px); font-weight: 300; margin-bottom: 22px; }
h1 span, h2 span { color: var(--accent-deep); }
h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 300; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent-deep); margin-bottom: 18px; }
.status-dot { display: inline-block; height: 7px; width: 7px; border-radius: 50%; background: var(--success); }
.small { color: var(--muted); font-size: 12.5px; line-height: 1.65; max-width: 520px; }
.small a, .text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(194, 60, 115, .45); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 16px; font-weight: 500;
  background: linear-gradient(90deg, #c9407b, #b3336a); box-shadow: 0 10px 26px rgba(224, 83, 143, .28);
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(224, 83, 143, .36); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent-deep); }

/* Hero */
.hero { text-align: center; padding-top: 36px; padding-bottom: 28px; }
.hero .eyebrow { padding: 7px 14px; border-radius: 999px; }
.hero-lead { font: 400 clamp(18px, 2vw, 22px)/1.5 var(--display); max-width: 560px; margin: 0 auto 26px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.hero-small { margin: 16px auto 0; }

/* ——— Animated demo ——— */
.demo { margin: 34px auto 0; max-width: 760px; }
.demo-stage { position: relative; height: calc(646px * var(--s, 1)); display: flex; justify-content: center; }
.demo-stage::before { content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 122, 174, .26), rgba(185, 163, 227, .18) 60%, transparent); filter: blur(10px); }
.duo-scale { width: 440px; height: 606px; margin-top: calc(20px * var(--s, 1)); transform: scale(var(--s, 1)); transform-origin: top center; flex-shrink: 0; }
/* The device is Apple's iPhone Duo product bezel, shown as supplied: fixed poses, with only the app inside the screen animating. */
.duo { position: relative; width: 440px; height: 606px; text-align: left; font: 400 12px/1.3 var(--sans); color: var(--ink); user-select: none; -webkit-user-select: none; }
.duo-open, .duo-closed { position: absolute; left: 0; width: 100%; transition: opacity .7s ease, transform .7s cubic-bezier(.3, .8, .25, 1); filter: drop-shadow(0 26px 34px rgba(74, 53, 80, .22)); }
.duo-open { top: 0; height: 100%; }
.duo-closed { top: 145px; aspect-ratio: 2194 / 1574; opacity: 0; transform: scale(1.04); pointer-events: none; }
.demo.folded .duo-open { opacity: 0; transform: scale(.96); }
.demo.folded .duo-closed { opacity: 1; transform: none; }
.bezel { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.screen { position: absolute; overflow: hidden; background: var(--blush); }
.duo-open .screen { left: 4.45%; right: 4.45%; top: 3.23%; bottom: 3.27%; border-radius: 37px; padding: 9px; display: flex; flex-direction: column; gap: 12px; }
.frame-closed .screen { left: 3.1%; right: 3.1%; top: 4.83%; bottom: 4.83%; border-radius: 7.6% / 10.8%; border-bottom-left-radius: 2% 3%; border-bottom-right-radius: 2% 3%; }
.pane { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mirror { flex: 0 0 266px; border-radius: 29px 29px 12px 12px; background: #cfd0d4; }
.lower { border-radius: 12px 12px 29px 29px; background: linear-gradient(180deg, var(--pane-top), var(--pane-bottom)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset; }
.duo-hinge { position: absolute; left: 50%; top: 279px; width: 46px; height: 4px; margin-left: -23px; border-radius: 3px; background: rgba(74, 53, 80, .14); }

/* cover (outer display) */
.cover { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--ink);
  background: radial-gradient(closest-side at 50% 42%, rgba(255, 255, 255, .7), transparent), linear-gradient(180deg, #fbe3ec, #f1e8ff 55%, #f9e4ee); }
.cover b { font: 400 58px/1 var(--script); padding-top: 12px; }
.cover span { font: 400 14px var(--display); color: var(--muted); }
.cover em { font-style: normal; margin-top: 22px; padding: 9px 16px; border-radius: 999px; font-size: 12.5px; display: inline-flex; gap: 7px; align-items: center; }
.d-glass { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 4px 14px rgba(74, 53, 80, .12); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); }
.duo svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* mirror pane */
.face { position: absolute; left: 0; right: 0; top: -46px; aspect-ratio: 1; }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk { opacity: 0; transition: opacity .9s ease; }
.mk-lips { -webkit-mask: radial-gradient(ellipse 11.5% 6.5% at 49.3% 62.4%, #000 62%, transparent 100%); mask: radial-gradient(ellipse 11.5% 6.5% at 49.3% 62.4%, #000 62%, transparent 100%); }
.mk-eyes { -webkit-mask: radial-gradient(ellipse 8.5% 5% at 39% 40.6%, #000 55%, transparent 100%), radial-gradient(ellipse 8.5% 5% at 60% 40.4%, #000 55%, transparent 100%); mask: radial-gradient(ellipse 8.5% 5% at 39% 40.6%, #000 55%, transparent 100%), radial-gradient(ellipse 8.5% 5% at 60% 40.4%, #000 55%, transparent 100%); }
.mk-blush { position: absolute; inset: 0;
  background: radial-gradient(ellipse 12% 8.5% at 34% 54.5%, rgba(214, 104, 138, .38), transparent 100%), radial-gradient(ellipse 12% 8.5% at 66% 54.5%, rgba(214, 104, 138, .38), transparent 100%); }
.demo.mk-blush-on .mk-blush, .demo.mk-lips-on .mk-lips, .demo.mk-eyes-on .mk-eyes { opacity: 1; }
.demo.before .mk { opacity: 0 !important; transition-duration: .25s; }
.guide { position: absolute; opacity: 0; transition: opacity .4s; pointer-events: none; }
.guide-swirl { left: 34.5%; top: 54%; width: 54px; height: 54px; margin: -27px; border: 1.5px dashed rgba(255, 255, 255, .95); border-radius: 50%; }
.guide-lips { left: 39%; width: 21%; top: 62.4%; border-top: 1.5px dashed rgba(255, 255, 255, .95); }
.guide-hint { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); padding: 5px 11px; border-radius: 999px; font-size: 11px; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.demo[data-guide="swirl"] .guide-swirl, .demo[data-guide="lips"] .guide-lips, .demo[data-guide] .guide-hint { opacity: 1; }
.ring { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .6s, box-shadow .6s; pointer-events: none; --tone: #ffc48a;
  background: rgba(42, 26, 38, .14); box-shadow: inset 0 0 0 3px #241a22, inset 0 0 0 11px #fffcf6, inset 0 0 22px 14px var(--tone), inset 0 0 70px 20px color-mix(in srgb, var(--tone) 55%, transparent); }
.demo[data-lights] .ring { opacity: 1; }
.demo[data-lights="neutral"] .ring { --tone: #ffe7b0; }
.demo[data-lights="cool"] .ring { --tone: #d6e6ff; }
.toast { position: absolute; left: 50%; top: 22px; transform: translate(-50%, -8px); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .35s, transform .35s; }
.demo.toast-on .toast { opacity: 1; transform: translate(-50%, 0); }
.seg { position: absolute; left: 20px; bottom: 18px; display: flex; padding: 3px; border-radius: 999px; font-size: 12px; }
.seg span { padding: 6px 12px; border-radius: 999px; color: rgba(74, 53, 80, .7); transition: background .25s, color .25s; }
.demo:not(.before) .seg .s-after, .demo.before .seg .s-before { background: rgba(224, 83, 143, .16); color: var(--accent-deep); font-weight: 500; }
.sun { position: absolute; right: 20px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: color .3s; }
.demo[data-lights] .sun { color: var(--accent-deep); }
.mirror-off { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 0 34px; background: linear-gradient(180deg, var(--pane-top), var(--pane-bottom)); transition: opacity .7s; }
.mirror-off i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.mirror-off i svg { width: 26px; height: 26px; }
.mirror-off b { font: 400 21px var(--display); }
.mirror-off span { color: var(--muted); font-size: 11.5px; }
.demo.mirror-on .mirror-off { opacity: 0; pointer-events: none; }

/* lower pane */
.lp-scroll { position: absolute; inset: 0 0 54px; padding: 12px 14px 0; overflow: hidden; }
.lp-inner { transition: transform .7s cubic-bezier(.3, .8, .25, 1); }
.demo[data-scroll="1"] .lp-inner { transform: translateY(-62px); }
.demo[data-scroll="2"] .lp-inner { transform: translateY(-154px); }
.lp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); transition: background .3s; }
.demo.applying .chip i { background: var(--accent); }
.chip svg { width: 10px; height: 10px; }
.lp-inner h4 { margin: 0; font: 400 24px/1.2 var(--display); }
.lp-inner > p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.pans { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pans i { aspect-ratio: 1; border-radius: 50%; position: relative; border: 2px solid rgba(255, 255, 255, .92); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); transition: background .6s, --c .6s; box-shadow: 0 2px 6px rgba(74, 53, 80, .08); }
.pans i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.pans i.on::after { opacity: 1; transform: none; }
.pans i.special { background: rgba(255, 255, 255, .4); border: 1px dashed rgba(74, 53, 80, .4); display: grid; place-items: center; box-shadow: none; }
.pans i.plus { border-color: var(--accent); color: var(--accent-deep); }
.pans i svg { width: 14px; height: 14px; }
.zone-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.wheel { width: 96px; height: 78px; border-radius: 14px; overflow: hidden; position: relative; background: rgba(255, 255, 255, .45); -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wheel::before { content: ""; position: absolute; left: 6px; right: 6px; top: 26px; height: 26px; border-radius: 8px; background: rgba(74, 53, 80, .08); }
.wheel div { transition: transform .6s cubic-bezier(.3, .8, .25, 1); transform: translateY(calc(26px - var(--zone, 2) * 26px)); }
.wheel span { display: block; height: 26px; line-height: 26px; text-align: center; font-size: 14px; font-weight: 500; }
.zr { flex: 1; min-width: 0; }
.zr small { font-size: 10.5px; color: var(--muted); }
.slider { height: 4px; border-radius: 2px; background: rgba(74, 53, 80, .12); margin: 9px 0 14px; position: relative; }
.slider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 2px; background: var(--accent); }
.slider::after { content: ""; position: absolute; left: 55%; top: -7px; width: 26px; height: 18px; margin-left: -13px; border-radius: 9px; background: #fff; box-shadow: 0 1px 5px rgba(74, 53, 80, .25); }
.seg2 { display: flex; padding: 2px; border-radius: 8px; background: rgba(74, 53, 80, .08); font-size: 11.5px; }
.seg2 span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; transition: background .25s; }
.demo:not(.blend) .seg2 .m-replace, .demo.blend .seg2 .m-blend { background: #fff; box-shadow: 0 1px 3px rgba(74, 53, 80, .15); font-weight: 500; }
.lp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; padding: 6px 12px 10px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(180deg, rgba(243, 235, 255, 0), var(--pane-bottom) 35%); }
.wipe { height: 38px; color: var(--accent-deep); font-weight: 500; }
.wipe svg { width: 13px; height: 13px; }
.tools { display: flex; align-items: center; gap: 15px; height: 38px; padding: 0 15px; border-radius: 999px; }
.tools .heart { transition: color .3s, fill .3s, transform .3s; }
.demo.saved .tools .heart { color: var(--accent); fill: var(--accent); transform: scale(1.15); }
.lp-dim { position: absolute; inset: 0; background: rgba(242, 214, 227, .62); transition: opacity .7s; pointer-events: none; }
.demo.mirror-on .lp-dim { opacity: 0; }
.sheet { position: absolute; inset: 0; padding: 14px 14px 0; background: linear-gradient(180deg, var(--pane-top), var(--pane-bottom)); transform: translateY(104%); transition: transform .6s cubic-bezier(.3, .8, .25, 1); box-shadow: 0 -8px 24px rgba(74, 53, 80, .12); border-radius: 18px 18px 0 0; }
.demo.sheet-open .sheet { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet-head b { font: 500 19px var(--display); }
.sheet-list { background: rgba(255, 255, 255, .8); border-radius: 18px; padding: 2px 12px; }
.sheet-list div { display: flex; align-items: center; gap: 8px; height: 37px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.sheet-list div:first-child { border-top: 0; }
.sheet-list u { margin-left: auto; display: flex; text-decoration: none; }
.sheet-list u s { width: 15px; height: 15px; border-radius: 50%; margin-left: -6px; background: var(--c); }
.sheet-list div > i { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .25s; }
.sheet-list div > i svg { width: 9px; height: 9px; stroke-width: 2.2; }
.sheet-list div.on > i { opacity: 1; transform: none; }

/* pointer */
.cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 0; height: 0; opacity: 0; pointer-events: none; transform: translate(var(--cx, 170px), var(--cy, 500px)); transition: transform var(--cd, .65s) cubic-bezier(.4, .1, .2, 1), opacity .3s; }
.cursor.on { opacity: 1; }
.cursor i { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 1.5px solid #fff; box-shadow: 0 2px 10px rgba(74, 53, 80, .35), 0 0 0 1px rgba(74, 53, 80, .15); }
.cursor.tap i { animation: d-tap .45s ease; }
.cursor.orbit i { animation: d-orbit 1.15s linear infinite; }
@keyframes d-tap { 40% { transform: scale(.72); background: rgba(240, 122, 174, .7); } }
@keyframes d-orbit { from { transform: rotate(0) translateX(21px); } to { transform: rotate(360deg) translateX(21px); } }

.demo.no-anim, .demo.no-anim * { transition: none !important; }

/* captions and chapters */
.demo-caption { min-height: 2.9em; margin: 4px auto 14px; max-width: 520px; padding: 0 12px; font: 400 18px/1.45 var(--display); color: var(--ink); text-align: center; transition: opacity .3s; }
.demo-caption.swap { opacity: 0; }
.chip-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.chip-row button { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(74, 53, 80, .8); box-shadow: none; position: relative; overflow: hidden; transition: background .2s, color .2s; }
.chip-row button:hover { background: #fff; }
.chip-row button[aria-pressed="true"] { background: rgba(224, 83, 143, .14); border-color: rgba(224, 83, 143, .35); color: var(--accent-deep); }
.chip-row .demo-pause { width: 40px; padding: 0; display: grid; place-items: center; }
.chip-row .demo-pause svg { width: 14px; height: 14px; fill: currentColor; }
.demo-note { margin: 16px auto 0; text-align: center; }

/* Ribbon */
.color-ribbon { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .35); }
.color-ribbon > .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.color-ribbon span { display: flex; align-items: center; gap: 30px; font: 400 22px var(--display); white-space: nowrap; }
.color-ribbon i { font-size: 15px; color: var(--accent-light); font-style: normal; }
.color-ribbon .ribbon-last { font: 400 13px var(--sans); color: var(--muted); }

/* Sections and cards */
section.block { padding-top: 96px; }
.section-intro { max-width: 640px; margin-bottom: 40px; }
.section-intro h2 { margin-bottom: 16px; }
.section-intro > p:last-child { color: var(--muted); font-size: 17px; margin: 0; }
.card { border-radius: 28px; padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.play-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
.step-number { font-size: 12px; font-weight: 500; color: var(--accent-deep); }
.step-art { height: 120px; display: flex; align-items: center; justify-content: center; margin: 4px 0 14px; border-radius: 20px; background: linear-gradient(180deg, var(--pane-top), var(--pane-bottom)); }
.mini-pans { display: flex; gap: 10px; }
.mini-pans i { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); position: relative; }
.mini-pans i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: pan-hop 6s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes pan-hop { 0%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
.gesture-art svg { width: 120px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gesture-art path { stroke-dasharray: 330; animation: swirl-draw 4.5s ease-in-out infinite; }
@keyframes swirl-draw { 0% { stroke-dashoffset: 330; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.share-art svg { width: 54px; fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.2; animation: heart-beat 2.8s ease-in-out infinite; }
@keyframes heart-beat { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.16); } 80% { transform: scale(.97); } }
.quiet-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* Feature cards with small live mocks */
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.feature-grid .card { display: flex; flex-direction: column; min-width: 0; }
.mock > * { min-width: 0; max-width: 100%; }
.feature-grid .wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.mock { border-radius: 22px; padding: 22px; margin-bottom: 22px; background: linear-gradient(180deg, var(--pane-top), var(--pane-bottom)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 250px; }
.mock .chip-row { justify-content: flex-start; }
.mock .chip-row button { min-height: 36px; padding: 0 13px; font-size: 13px; background: rgba(255, 255, 255, .7); }
.mock .chip-row button[aria-pressed="true"] { background: rgba(224, 83, 143, .14); }
.big-pans { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; max-width: 460px; }
.big-pans i { aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); box-shadow: 0 2px 6px rgba(74, 53, 80, .1); transition: background .5s; transition-delay: calc(var(--i) * 18ms); }
.mock-name { font: 400 22px var(--display); margin: 0; color: var(--ink) !important; }
.mini-mirror { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1.12; margin: 0 auto; border-radius: 34px; overflow: hidden; background: #cfd0d4; }
.mini-mirror img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.mini-mirror .ring { opacity: 1; }
.mini-mirror[data-tone="neutral"] .ring { --tone: #ffe7b0; }
.mini-mirror[data-tone="cool"] .ring { --tone: #d6e6ff; }
.mini-mirror[data-tone="off"] .ring { opacity: 0; }
.tone-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); display: inline-block; margin-right: 7px; }
.cover-device { position: relative; width: 100%; max-width: 340px; aspect-ratio: 2194 / 1574; margin: 0 auto; filter: drop-shadow(0 20px 26px rgba(74, 53, 80, .2)); }
.cover-device .cover b { font-size: 44px; }
.cover-device .cover em { margin-top: 12px; padding: 7px 13px; font-size: 12px; }
.cover-device svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Faces */
.color-play-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.portrait-play { position: relative; margin: 0 10px; }
.portrait-play > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 44px; border: 8px solid var(--blush); box-shadow: 0 24px 50px rgba(122, 61, 90, .18); }
.portrait-label { position: absolute; bottom: 26px; left: 26px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; max-width: calc(100% - 52px); }
.color-copy h2 { margin-bottom: 18px; }
.color-copy > p:not(.eyebrow):not(.small) { color: var(--muted); font-size: 17px; }
.model-chooser { margin: 26px 0 18px; }
.model-heading { font-weight: 500; margin: 0 0 12px; }
.model-options { display: flex; flex-wrap: wrap; gap: 12px; }
.model-option { width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 2.4px solid #fff; position: relative; box-shadow: 0 2px 8px rgba(74, 53, 80, .12); }
.model-option img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.model-option[aria-pressed="true"]::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--accent); }
.model-option:disabled { cursor: default; }
.model-note { margin: 12px 0 0; }
.look-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 16px; }
.look-buttons button { display: flex; align-items: center; gap: 9px; min-height: 44px; border-radius: 999px; padding: 0 16px; font-size: 14px; font-weight: 500; color: rgba(74, 53, 80, .8); box-shadow: none; }
.look-buttons button[aria-pressed="true"] { background: rgba(224, 83, 143, .14); border-color: rgba(224, 83, 143, .35); color: var(--accent-deep); }
.look-buttons i { height: 12px; width: 12px; border-radius: 50%; display: block; }
.color-dot { background: #b9a3e3; }
.smokey-dot { background: #5f4659; }
.before-dot { background: #f7c9ae; }

/* Film */
.film-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.film-heading h2 { margin-bottom: 0; }
.film-heading > p { color: var(--muted); line-height: 1.7; margin: 0; }
.film-player { overflow: hidden; border-radius: 32px; border: 8px solid var(--blush); background: var(--pane-bottom); box-shadow: 0 24px 60px rgba(122, 61, 90, .16); }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.film-section > .small { margin-top: 16px; }
.film-note { margin: 6px 0 12px; }
.film-transcript { max-width: 850px; font-size: 14px; line-height: 1.7; }

/* Details, launch, FAQ */
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-list .card > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px; background: rgba(224, 83, 143, .12); color: var(--accent-deep); font-size: 18px; }
.launch-section { margin-top: 96px; }
.launch-card { border-radius: 44px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: radial-gradient(closest-side at 22% 40%, rgba(255, 255, 255, .75), transparent), linear-gradient(135deg, #fbdde9, #ece2ff); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow); }
.launch-card h2 { font-size: clamp(48px, 6vw, 80px); margin-bottom: 0; }
.launch-card h2 b { display: block; font: 400 .62em/1.1 var(--script); color: var(--accent-deep); margin-top: 10px; }
.launch-copy > p:first-child { font-size: 19px; line-height: 1.6; }
.launch-copy .button { margin-bottom: 6px; }
.launch-copy .small { margin-top: 18px; }
.beta-steps { padding-left: 22px; margin: 24px 0 0; line-height: 1.8; font-size: 15px; color: var(--muted); }
.beta-steps li { padding-left: 6px; margin: 3px 0; }
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding-bottom: 96px; }
.faq > h2 { font-size: clamp(30px, 3.2vw, 40px); }
.faq-list { display: grid; gap: 10px; align-content: start; }
details { border-radius: 22px; padding: 4px 22px; box-shadow: none; }
summary { font-size: 16px; font-weight: 500; cursor: pointer; min-height: 52px; display: list-item; align-content: center; }
summary::marker { color: var(--accent); }
details p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 16px; }
details a, .document a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(194, 60, 115, .45); }
.film-transcript { background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.film-transcript summary { min-height: 44px; font-size: 14px; }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); }
.footer-brand .brand-icon { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand .wordmark { font-size: 32px; }
.footer nav { display: flex; gap: 26px; font-size: 14px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer nav a:hover { color: var(--accent-deep); }
.footer small { width: 100%; font-size: 12px; color: var(--muted); }
.footer small a { text-decoration: underline; text-underline-offset: 3px; }

/* Support, privacy and creator-kit pages */
.document { max-width: 860px; padding-top: 40px; padding-bottom: 90px; }
.document h1 { font-size: clamp(40px, 5vw, 58px); max-width: 700px; }
.document h2 { font-size: 27px; font-weight: 400; line-height: 1.3; margin-top: 40px; margin-bottom: 14px; }
.document h3 { font-size: 20px; }
.document p, .document li { font-size: 16px; color: var(--muted); line-height: 1.8; }
.document .lead { font-size: 20px; }
.document .status { padding: 18px 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-stroke); box-shadow: var(--shadow); font-size: 14.5px; }
.document .button { color: #fff; text-decoration: none; }
.document .kit-links { display: flex; flex-wrap: wrap; gap: 10px; }
.document .kit-links a { display: inline-flex; align-items: center; background: var(--glass); border: 1px solid var(--glass-stroke); padding: 0 18px; min-height: 44px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--accent-deep); text-decoration: none; }
.document code { font-size: 13px; background: rgba(185, 163, 227, .22); padding: 2px 6px; border-radius: 6px; }
.document .small { font-size: 12.5px; }
.document img { border-radius: 22px; }
.look-buttons[hidden], [hidden] { display: none !important; }

@media (max-width: 980px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .play-steps, .detail-list { grid-template-columns: 1fr; }
  .play-steps .card { display: grid; grid-template-columns: 130px 1fr; column-gap: 20px; align-items: center; }
  .play-steps .step-number { grid-column: 2; }
  .play-steps .step-art { grid-row: 1 / span 3; margin: 0; height: 110px; }
  .play-steps h3, .play-steps p { grid-column: 2; }
  .mini-pans { gap: 7px; } .mini-pans i { width: 24px; height: 24px; border-width: 1.5px; } .mini-pans i::after { inset: -4px; }
  .feature-grid, .feature-grid .wide, .color-play-grid, .launch-card, .faq { grid-template-columns: 1fr; }
  .color-play-grid, .faq { gap: 36px; }
  .launch-card { padding: 40px 32px; gap: 28px; }
  .portrait-play { max-width: 460px; margin: 0 auto; width: 100%; }
  .film-heading { display: block; }
  .film-heading > p { margin-top: 14px; }
  .color-ribbon .ribbon-last { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header { min-height: 76px; }
  .brand .brand-icon { width: 36px; height: 36px; border-radius: 9px; }
  .wordmark { font-size: 32px; }
  .header nav > a:not(.nav-cta) { display: none; }
  .header nav .nav-cta { padding: 0 14px; font-size: 13px; white-space: nowrap; }
  .hero { padding-top: 20px; }
  h1 { font-size: clamp(46px, 13.5vw, 64px); }
  section.block { padding-top: 64px; }
  .launch-section { margin-top: 64px; }
  .chip-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row button { flex-shrink: 0; }
  .mock .chip-row { margin: 0 -18px; padding: 2px 18px 6px; max-width: none; }
  .demo-caption { font-size: 16.5px; min-height: 4.4em; }
  .color-ribbon { margin-top: 40px; }
  .color-ribbon span { font-size: 18px; gap: 14px; }
  .color-ribbon span:nth-child(4) i { display: none; }
  .card { padding: 20px; border-radius: 24px; }
  .play-steps .card { grid-template-columns: 96px 1fr; column-gap: 16px; }
  .play-steps .step-art { height: 96px; }
  .mini-pans { gap: 5px; } .mini-pans i { width: 18px; height: 18px; }
  .gesture-art svg { width: 78px; } .share-art svg { width: 40px; }
  .big-pans { gap: 7px; }
  .mock { padding: 18px; min-height: 0; }
  .launch-card { padding: 32px 22px; border-radius: 32px; }
  .faq { padding-bottom: 64px; }
  .film-player { border-radius: 22px; border-width: 5px; }
  .portrait-play > img { border-radius: 34px; border-width: 6px; }
  .document { padding-top: 24px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mini-pans i:nth-child(2)::after { opacity: 1; }
  .gesture-art path { stroke-dasharray: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .card, .header nav .nav-cta, .chip-row button, .look-buttons button, details, .d-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
