:root {
  --bg: #0e0e0f;
  --bg-2: #131315;
  --panel: #1b1b1d;
  --panel-2: #222225;
  --raise: #2a2a2e;
  --line: rgba(255, 255, 255, 0.065);
  --line-2: rgba(255, 255, 255, 0.11);
  --text: #ececec;
  --muted: #8b8b90;
  --faint: #5a5a5f;
  --ink: #ececec;
  --on-ink: #0e0e0f;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --lift: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.4);
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255, 255, 255, 0.18); }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.35); outline-offset: 2px; border-radius: 6px; }
b { font-weight: 600; color: var(--text); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------- top ---------- */
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -0.014em; }
.mark { width: 22px; height: 22px; color: var(--ink); flex: none; }
.brand.small .mark { width: 18px; height: 18px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a:not(.pill) { padding: 0 10px; height: 32px; display: inline-flex; align-items: center; color: var(--muted); border-radius: 8px; transition: color .15s; }
nav a:not(.pill):hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 13px;
  border-radius: 8px; background: var(--panel); color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background-color .15s, transform .1s;
}
.pill:hover { background: var(--panel-2); }
.pill:active { transform: scale(0.97); }
.pill.ink { background: var(--ink); color: var(--on-ink); }
.pill.ink:hover { background: #ffffff; }
.cta { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.aside { color: var(--muted); font-size: 13px; }
.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.win {
  width: 100%; max-width: var(--wrap); height: min(720px, 82vh); min-height: 560px;
  display: flex; flex-direction: column; background: var(--bg); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.25), 0 24px 64px rgba(0, 0, 0, 0.45);
  font-size: 13px;
}
.tb { flex: none; height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.tb-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--raise); }
.title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: background-color .15s, color .15s; }
.icon:hover { background: var(--panel); color: var(--text); }
.icon svg { width: 16px; height: 16px; }
#play .i-play { display: none; }
.paused #play .i-play { display: block; }
.paused #play .i-pause { display: none; }

.seg { display: flex; gap: 2px; padding: 2px; background: var(--bg-2); border-radius: 9px; }
.seg button { height: 28px; padding: 0 10px; border-radius: 7px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; transition: color .15s, background-color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { background: var(--raise); color: var(--text); }

.menu-wrap { position: relative; }
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 248px; padding: 5px;
  background: rgba(27, 27, 29, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 11px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.5);
  transform-origin: top right; animation: pop .14s cubic-bezier(.2, .8, .2, 1);
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(-2px); } }
.menu button { width: 100%; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: 7px; text-align: left; }
.menu button:hover, .menu button:focus-visible { background: rgba(255, 255, 255, 0.06); outline: 0; }
.menu em { font-style: normal; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.body { flex: 1; min-height: 0; display: grid; grid-template-columns: 196px 1fr 268px; }
.side { border-right: 1px solid var(--line); padding: 14px 8px; overflow-y: auto; }
.side-h { font-size: 12px; color: var(--faint); padding: 0 8px 8px; }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side li button { width: 100%; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 8px; border-radius: 7px; color: var(--muted); text-align: left; transition: background-color .12s, color .12s; }
.side li button:hover { background: var(--bg-2); color: var(--text); }
.side li button[aria-current="true"] { background: var(--panel); color: var(--text); }
.sw { width: 14px; height: 14px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); }
.side li .edited { margin-left: auto; font-size: 11.5px; color: var(--faint); }

.view { position: relative; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 24px 24px 44px; background: var(--bg); }
.frame { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1); }
.frame canvas { display: block; width: 100%; height: 100%; }
.hint { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: 12px; color: var(--faint); }

.handles { position: absolute; inset: 0; pointer-events: none; }
.handle {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: auto; cursor: grab;
  box-shadow: 0 0 0 1.5px #fff, 0 1px 6px rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity .2s, transform .12s; touch-action: none;
}
.frame:hover .handle, .handle.drag { opacity: 1; }
.handle:hover { transform: scale(1.15); }
.handle.drag { cursor: grabbing; transform: scale(1.2); }

/* inspector */
.insp { border-left: 1px solid var(--line); overflow-y: auto; padding: 14px 12px 18px; }
.rows { display: grid; gap: 4px; }
.row {
  position: relative; height: 28px; border-radius: 7px; background: var(--bg-2); overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px; cursor: ew-resize; user-select: none; touch-action: pan-y;
  transition: background-color .12s;
}
.row:hover { background: #161618; }
.row .f { position: absolute; left: 0; top: 0; bottom: 0; background: var(--panel); pointer-events: none; }
.row:hover .f, .row.drag .f { background: var(--panel-2); }
.row span, .row output { position: relative; }
.row span { color: var(--muted); }
.row output { font-variant-numeric: tabular-nums; color: var(--text); }
.row.off output { color: var(--faint); }
.row:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.3); outline-offset: 0; }

.swatches { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 2px; }
.swatch { position: relative; width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); cursor: pointer; overflow: hidden; }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
.swatch.ground { margin-left: auto; }
.swatch.dim { background: transparent !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.swatch.dim::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; pointer-events: none;
  background: linear-gradient(var(--faint), var(--faint)) center / 10px 1.5px no-repeat, linear-gradient(var(--faint), var(--faint)) center / 1.5px 10px no-repeat; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #08080a; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
.tile canvas, .card canvas { display: block; width: 100%; height: 100%; }

.sizes {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 220px; padding: 4px; border-radius: 10px; font-size: 12.5px;
  background: rgba(14, 14, 15, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--lift);
}
.sizes div { display: flex; justify-content: space-between; height: 28px; align-items: center; padding: 0 8px; border-radius: 7px; color: var(--faint); }
.sizes div.on { background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.sizes b { font-weight: 500; font-variant-numeric: tabular-nums; color: inherit; }
.sizes .on b { color: var(--text); }

/* ---------- looks ---------- */
.looks { padding-top: 120px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin-top: 36px; }
.card { text-align: left; display: block; width: 100%; }
.card .tile { aspect-ratio: 4 / 3; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.card:hover .tile { transform: translateY(-2px); }
.card .tile::after {
  content: 'Open in studio'; position: absolute; right: 10px; bottom: 10px; height: 26px; padding: 0 10px; border-radius: 7px;
  display: flex; align-items: center; font-size: 12px; font-weight: 500; color: var(--on-ink); background: var(--ink);
  opacity: 0; transform: translateY(3px); transition: opacity .18s, transform .18s;
}
.card:hover .tile::after, .card:focus-visible .tile::after { opacity: 1; transform: none; }

/* ---------- code ---------- */
.code { padding-top: 140px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
pre {
  margin: 0; padding: 16px 18px 20px; height: 420px; overflow: auto; font-family: var(--mono); font-size: 12px; line-height: 19px;
  color: #a9a9ae; letter-spacing: 0; white-space: pre; tab-size: 2;
}
pre .k { color: var(--text); }
pre .c { color: var(--faint); }

/* ---------- pricing ---------- */
.pricing { padding-top: 140px; }

.foot { display: flex; justify-content: space-between; align-items: center; padding-top: 140px; padding-bottom: 48px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  height: 34px; padding: 0 14px; border-radius: 9px; display: flex; align-items: center; font-size: 13px;
  background: rgba(27, 27, 29, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 10px 28px rgba(0, 0, 0, 0.5);
  transition: opacity .18s, transform .18s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
  .body { grid-template-columns: 1fr 248px; }
  .side { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .code { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .top nav a:not(.pill) { display: none; }
  .win { height: auto; min-height: 0; }
  .tb { grid-template-columns: 1fr auto; padding: 0 8px 0 12px; }
  .tb .seg, .dots, #undo { display: none; }
  .body { display: flex; flex-direction: column; }
  .view { height: 300px; flex: none; padding: 16px 16px 36px; }
  .hint { bottom: 10px; }
  .insp { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .grid { gap: 22px 12px; }
  .looks, .code, .pricing { padding-top: 96px; }
  pre { height: 320px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 96px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0s !important; animation-duration: 0s !important; } }

/* ---------- v2: inspector sections, choices, switches, chips ---------- */
.sec + .sec { margin-top: 16px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 2px 4px; font-size: 12px; color: var(--faint); }
.sec.on .sec-h { color: var(--muted); }
.switch { position: relative; width: 26px; height: 16px; border-radius: 8px; background: var(--raise); transition: background-color .15s; flex: none; }
.switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8b8b90; transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .15s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(10px); background: var(--bg); }
.row.choice { cursor: pointer; }
.row.choice output { display: flex; align-items: center; gap: 6px; }
.row.choice output::after { content: ''; width: 6px; height: 6px; border-right: 1.3px solid var(--muted); border-bottom: 1.3px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.row.btn { cursor: pointer; justify-content: center; }
.row.btn span { color: var(--text); }
.row[hidden], .sec [hidden] { display: none; }
.pop {
  position: fixed; z-index: 60; min-width: 160px; padding: 5px; background: rgba(27, 27, 29, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 10px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.5); animation: pop .14s cubic-bezier(.2, .8, .2, 1);
}
.pop button { width: 100%; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.pop button:hover, .pop button:focus-visible { background: rgba(255, 255, 255, 0.06); color: var(--text); outline: 0; }
.pop button[aria-checked="true"] { color: var(--text); }
.pop button[aria-checked="true"]::after { content: ''; width: 9px; height: 5px; border-left: 1.4px solid var(--text); border-bottom: 1.4px solid var(--text); transform: translateY(-2px) rotate(-45deg); }
.side .grp-name { font-size: 12px; color: var(--faint); padding: 14px 8px 6px; }
.side .grp-name:first-child { padding-top: 0; }
.grid { margin-top: 20px; }
.card[hidden] { display: none; }
.kinds {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 10px;
  background: rgba(14, 14, 15, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--lift);
}
.kinds span { height: 26px; padding: 0 9px; display: flex; align-items: center; border-radius: 7px; font-size: 12px; color: var(--faint); transition: background-color .2s, color .2s; white-space: nowrap; }
.kinds span.on { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.win.drop .frame { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); }

/* ---------- v3: landing that sells ---------- */
.pill.big { height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.pill.glass { background: rgba(14, 14, 15, 0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14); }
.pill.glass:hover { background: rgba(14, 14, 15, 0.75); }

.use { padding-top: 140px; }
.use figure { margin: 0; }
.use figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 22px; max-width: 46ch; }
.bw { border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.4); }
 .ph canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.site { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 32px; color: #fff; }
.ph { position: relative; aspect-ratio: 9 / 19.5; border-radius: 40px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 6px #1a1a1c, 0 0 0 7px rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45); margin: 7px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ticks li { position: relative; padding-left: 24px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 5px; border-left: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }

.faq { padding-top: 140px; }
.qs { margin-top: 28px; max-width: 860px; border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; height: 56px; font-size: 15px; font-weight: 500; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ''; width: 7px; height: 7px; border-right: 1.4px solid var(--muted); border-bottom: 1.4px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s; margin-right: 4px; }
.qs details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.qs p { margin: -4px 0 20px; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 23px; }

.final { padding-top: 140px; }
.final h2 { margin: 0; max-width: 620px; font-size: 52px; line-height: 54px; font-weight: 600; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.final .cta { margin-top: 28px; gap: 10px; }
@media (max-width: 760px) {
  .use, .faq, .final { padding-top: 96px; }
  .site { padding: 14px 16px; }
  .final h2 { font-size: 34px; line-height: 36px; }
}
@media (max-width: 1000px) {
  .body { grid-template-rows: auto minmax(0, 1fr); }
  .side { position: relative; display: block; grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side ul { display: flex; gap: 2px; width: max-content; }
  .side .grp-name { display: none; }
  .side li button { height: 30px; white-space: nowrap; padding: 0 10px 0 8px; }
  .side li .edited { display: none; }
}
@media (max-width: 760px) {
  .insp { max-height: 420px; overflow-y: auto; }
}

/* ---------- v4: the hero is a live Wetpaint background you can tweak ---------- */
.hero { position: relative; margin: 0 16px; height: clamp(640px, calc(100vh - 88px), 920px); border-radius: 20px; overflow: hidden; isolation: isolate; background: #160810; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(8, 6, 8, 0.18); }
.hero h1 { margin: 0; font-size: 76px; line-height: 76px; font-weight: 600; letter-spacing: -0.042em; color: #fff; text-wrap: balance; }
.hero .sub { margin: 24px 0 0; max-width: 540px; font-size: 18px; line-height: 27px; color: rgba(255, 255, 255, 0.8); text-wrap: pretty; }
.hero .cta { margin-top: 32px; gap: 10px; }

.tweak { flex: none; width: 272px; padding: 6px; border-radius: 14px; font-size: 13px;
  background: rgba(14, 14, 15, 0.72); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 18px 48px rgba(0, 0, 0, 0.4); }
.tweak-h { display: flex; justify-content: space-between; align-items: center; height: 32px; padding: 0 8px; }
.tweak-h span { color: var(--muted); font-size: 12px; }
.tweak-h b { font-weight: 500; }
.tweak-rows { display: grid; gap: 3px; margin-top: 2px; }
.tweak .row { background: rgba(255, 255, 255, 0.045); }
.tweak .row:hover { background: rgba(255, 255, 255, 0.07); }
.tweak .row .f { background: rgba(255, 255, 255, 0.09); }
.tweak .row:hover .f, .tweak .row.drag .f { background: rgba(255, 255, 255, 0.13); }
.tweak-open { width: 100%; height: 32px; margin-top: 6px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-weight: 500; transition: background-color .15s, transform .1s; }
.tweak-open:hover { background: #fff; }
.tweak-open:active { transform: scale(0.98); }

@media (max-width: 1000px) {
  .hero h1 { font-size: 58px; line-height: 58px; }
}
@media (max-width: 760px) {
  .hero { margin: 0 8px; height: auto; min-height: 640px; border-radius: 16px; }
  .hero h1 { font-size: 42px; line-height: 43px; }
  .hero .sub { font-size: 16px; line-height: 24px; }
  .tweak { width: auto; }
  .tweak-rows .row:nth-child(n+3) { display: none; }
}
.plan-name { font-size: 14px; font-weight: 500; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.price b { font-size: 56px; line-height: 56px; font-weight: 600; letter-spacing: -0.04em; color: #fff; }
.price span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .price b { font-size: 46px; line-height: 46px; }
}

/* ---------- studio as its own page ---------- */
body.app { height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg); }
.win.full { max-width: none; width: 100%; height: 100vh; height: 100dvh; min-height: 0; border-radius: 0; box-shadow: none; }
.home { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); transition: background-color .15s; }
.home:hover { background: var(--panel); }
.home .mark { width: 20px; height: 20px; }
.tb-left { gap: 10px; }
@media (max-width: 760px) {
  body.app { height: auto; overflow: auto; }
  .win.full { height: auto; min-height: 100dvh; }
}

/* ---------- squircle corners everywhere (continuous curvature where the browser supports it) ---------- */
@supports (corner-shape: squircle) {
  *, *::before, *::after { corner-shape: squircle; }
  .dots i, .handle, .switch::after { corner-shape: round; }
  /* squircles read tighter than round corners, so the main surfaces get a little more radius */
  .hero { border-radius: 32px; }
  .tile, .fc .tile, .bw { border-radius: 20px; }
  .win:not(.full) { border-radius: 18px; }
  .pill { border-radius: 11px; }
  .pill.big { border-radius: 13px; }
  .tweak { border-radius: 20px; }
  .row { border-radius: 9px; }
  .menu, .pop { border-radius: 14px; }
  .ph { border-radius: 52px; }
}

/* ---------- type scale: small and exact, like a well made Mac app. 12 / 13 / 14 / 17 / 22 / 48 ---------- */
nav a:not(.pill) { font-size: 13px; }
.pill.big { height: 36px; padding: 0 15px; font-size: 13px; }
.hero h1 { font-size: 48px; line-height: 52px; letter-spacing: -0.032em; max-width: 560px; }
.hero .sub { margin-top: 18px; font-size: 17px; line-height: 25px; max-width: 480px; }
.hero .cta { margin-top: 26px; }
 .use figcaption, .qs p { font-size: 14px; line-height: 21px; }
.qs summary { height: 52px; font-size: 14px; }
.plan-name { font-size: 13px; }
.price b { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; }
.price span { font-size: 13px; }
.final h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.03em; max-width: 460px; }
@media (max-width: 1000px) { .hero h1 { font-size: 44px; line-height: 48px; } }
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; line-height: 40px; }
  .hero .sub { font-size: 15px; line-height: 22px; }
  .final h2 { font-size: 28px; line-height: 32px; }
  .price b { font-size: 36px; line-height: 40px; }
}

/* ---------- floating glass bar with the nav ---------- */
html { scroll-padding-top: 84px; }
.bar { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 40; width: min(720px, calc(100% - 32px)); height: 48px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 7px 0 14px; border-radius: 16px;
  background: rgba(18, 18, 20, 0.5); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 10px 30px rgba(0, 0, 0, 0.28); }
.bar nav a:not(.pill) { color: rgba(255, 255, 255, 0.72); height: 30px; padding: 0 10px; }
.bar nav a:not(.pill):hover { color: #fff; }
.bar .pill { height: 34px; padding: 0 14px; border-radius: 11px; }
.hero { margin-top: 16px; height: clamp(640px, calc(100vh - 32px), 940px); }
@media (max-width: 760px) {
  .bar { top: 8px; width: calc(100% - 16px); }
  .bar nav a:not(.pill) { display: none; }
  .hero { margin-top: 8px; }
}

/* nav: a plain header at the top, the floating glass bar only once you scroll past the hero */
.bar { opacity: 0; pointer-events: none; transform: translate(-50%, -10px); transition: opacity .22s ease, transform .32s cubic-bezier(.2, .8, .2, 1); }
.bar.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.top .pill { height: 32px; }
.hero { margin-top: 0; height: clamp(640px, calc(100vh - 88px), 920px); }
@media (max-width: 760px) {
  .top nav a:not(.pill) { display: none; }
  .hero { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
/* system font (SF on Apple devices): it carries its own optical tracking, so headings need only a little */
.hero h1 { letter-spacing: -0.022em; font-weight: 600; }
.final h2 { letter-spacing: -0.02em; }
.price b { letter-spacing: -0.02em; }

/* section titles: a real headline with a quiet line under it */
.sec-title h2 { margin: 0; font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.018em; color: var(--text); text-wrap: balance; }
.sec-title p { margin: 12px 0 0; max-width: 520px; font-size: 17px; line-height: 25px; color: var(--muted); text-wrap: pretty; }
.code .sec-title p { max-width: 420px; }
@media (max-width: 760px) {
  .sec-title h2 { font-size: 26px; line-height: 30px; }
  .sec-title p { font-size: 15px; line-height: 22px; }
}

/* nav: smaller type, more air between items, rounder bar */
.top nav, .bar nav { gap: 6px; }
.top nav a:not(.pill), .bar nav a:not(.pill) { font-size: 12.5px; padding: 0 12px; }
.top .pill, .bar .pill { font-size: 12.5px; height: 32px; padding: 0 14px; border-radius: 12px; }
.bar { height: 52px; border-radius: 24px; padding: 0 10px 0 16px; width: min(740px, calc(100% - 32px)); }
.bar .pill { border-radius: 16px; }
.brand { font-size: 13.5px; }

/* FAQ sits in the middle */
.faq .sec-title { text-align: center; }
.faq .sec-title p { margin-left: auto; margin-right: auto; }
.faq .qs { margin-left: auto; margin-right: auto; max-width: 720px; }

/* wordmark, no icon */
.brand { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.home { width: auto; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--text); }

/* wordmark logo: white on transparent */
.logo { display: block; height: 19px; width: auto; aspect-ratio: 3760 / 1012; color: #fff; }
.bar .logo { height: 18px; }
.brand.small .logo { height: 16px; }
.home .logo { height: 15px; }
.home { padding: 0 8px; height: 30px; }
@media (max-width: 760px) { .logo { height: 17px; } }
.top .logo { height: 22px; }
.bar .logo { height: 20px; }

/* wordmark: just the name, set in the system font */
.wordmark { font-size: 16px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.bar .wordmark { font-size: 15.5px; }
.brand.small .wordmark { font-size: 14px; }
.home .wordmark { font-size: 14px; }

/* the floating bar: same glass, almost no edge */
.bar { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.05), 0 8px 28px rgba(0, 0, 0, 0.16); background: rgba(18, 18, 20, 0.46); }

/* ---------- the bold ending: the name as a window onto live paint ---------- */
.final { padding-top: 160px; padding-bottom: 40px; }
@media (max-width: 760px) {
  .final { padding-top: 96px; }
}
.final { padding-top: 140px; padding-bottom: 0; }

/* small header button in an inspector section */
.sec-h .mini { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 7px; font-size: 12px; color: var(--muted); background: var(--bg-2); transition: background-color .15s, color .15s; }
.sec-h .mini:hover { color: var(--text); background: var(--panel); }
.sec-h .mini:active { transform: scale(0.97); }
.sec-h .mini svg { width: 13px; height: 13px; }

/* homepage gallery: six bigger tiles */
#lookGrid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; margin-top: 40px; }
.looks .more { display: flex; margin-top: 36px; }
@media (max-width: 1000px) { #lookGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { #lookGrid { gap: 24px 12px; } }

/* ---------- small touches: a "new" badge, a look at the real studio, tags on looks ---------- */
.hero .badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin-bottom: 18px; border-radius: 9px; font-size: 12.5px; color: rgba(255, 255, 255, 0.85);
  background: rgba(14, 14, 15, 0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); }
.studio-frame { display: block; width: 100%; max-width: var(--wrap); height: min(720px, 82vh); min-height: 560px; border: 0; border-radius: 12px; background: var(--bg);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.25), 0 24px 64px rgba(0, 0, 0, 0.45); }
body.embed .home { display: none; }
/* the homepage preview is for trying looks; sharing and exporting live in the full studio */
body.embed #share, body.embed .menu-wrap { display: none; }
@media (max-width: 760px) {
  .studio-frame { height: 640px; min-height: 0; }
}

/* ---------- typography: one system face, set with care ---------- */
body { font-optical-sizing: auto; text-rendering: optimizeLegibility; }
h1, h2, .price b { font-feature-settings: 'kern'; }
.hero h1 { font-size: 58px; line-height: 58px; font-weight: 650; letter-spacing: -0.038em; max-width: 640px; }
.hero h1 .dim { color: rgba(255, 255, 255, 0.52); }
.hero .sub { font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, 0.74); letter-spacing: -0.008em; max-width: 470px; }
.sec-title h2 { font-size: 38px; line-height: 40px; font-weight: 650; letter-spacing: -0.034em; }
.sec-title h2 .dim, .final h2 .dim { color: var(--faint); }
.sec-title p { font-size: 16px; line-height: 24px; margin-top: 14px; letter-spacing: -0.006em; }
.price b { font-size: 64px; line-height: 60px; font-weight: 300; letter-spacing: -0.05em; font-variant-numeric: tabular-nums lining-nums; }
.price span { letter-spacing: 0; }
.plan-name { font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em; }
.qs summary { font-weight: 500; letter-spacing: -0.01em; }
 .row output, .tweak-h b { font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .hero h1 { font-size: 50px; line-height: 50px; } }
@media (max-width: 760px) {
  .hero h1 { font-size: 40px; line-height: 41px; }
  .sec-title h2 { font-size: 30px; line-height: 32px; }
  .price b { font-size: 54px; line-height: 52px; }
}

/* ---------- type, final: one colour, one weight for headlines, quiet and exact ---------- */
.hero h1 .dim, .sec-title h2 .dim, .final h2 .dim { color: inherit; }
.hero h1 { font-size: 52px; line-height: 54px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.hero .sub { font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, 0.72); }
.sec-title h2 { font-size: 34px; line-height: 38px; font-weight: 600; letter-spacing: -0.026em; color: var(--text); }
.sec-title p { font-size: 16px; line-height: 24px; color: var(--muted); }
.price b { font-size: 48px; line-height: 50px; font-weight: 600; letter-spacing: -0.03em; }
@media (max-width: 1000px) { .hero h1 { font-size: 46px; line-height: 48px; } }
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; line-height: 39px; }
  .sec-title h2 { font-size: 28px; line-height: 32px; }
  .price b { font-size: 42px; line-height: 44px; }
}

/* ---------- inspector, v2: calmer rows, a real handle on every slider, clear sections ---------- */
.insp { padding: 12px 12px 20px; }
.insp .sec + .sec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.sec-h { height: 26px; padding: 0 2px 6px; }
.sec-h > span { font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.sec.on .sec-h > span { color: var(--muted); }
.rows { gap: 3px; }

.row { height: 30px; border-radius: 8px; padding: 0 10px; background: rgba(255, 255, 255, 0.035); transition: background-color .15s; }
.row:hover { background: rgba(255, 255, 255, 0.055); }
.row .f { background: rgba(255, 255, 255, 0.075); transition: background-color .15s; }
.row:hover .f, .row.drag .f { background: rgba(255, 255, 255, 0.1); }
.row:not(.choice):not(.btn) .f::after { content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 1px;
  background: rgba(255, 255, 255, 0.5); transition: top .16s cubic-bezier(.2, .8, .2, 1), bottom .16s cubic-bezier(.2, .8, .2, 1), background-color .16s; }
.row:hover .f::after { top: 6px; bottom: 6px; background: rgba(255, 255, 255, 0.85); }
.row.drag .f::after { top: 4px; bottom: 4px; background: #fff; }
.row.off .f::after { opacity: 0; }
.row span { font-size: 12.5px; }
.row output { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.82); transition: color .15s; }
.row.drag output, .row:hover output { color: #fff; }
.row.drag { cursor: ew-resize; }
.row.choice { background: rgba(255, 255, 255, 0.035); }
.row.choice:hover { background: rgba(255, 255, 255, 0.07); }

.swatches { gap: 6px; height: 30px; }
.swatch { width: 26px; height: 26px; border-radius: 8px; }
.switch { width: 28px; height: 17px; }
.switch::after { width: 13px; height: 13px; }
.switch[aria-checked="true"]::after { transform: translateX(11px); }

/* the same handle on the homepage panel */
.tweak .row { background: rgba(255, 255, 255, 0.05); }
.tweak .row .f { background: rgba(255, 255, 255, 0.1); }
.side .grp-name { font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); padding: 16px 8px 7px; }
.side .grp-name:first-child { padding-top: 2px; }
.side li button { height: 30px; font-size: 13px; }
.side li button[aria-current="true"] { background: rgba(255, 255, 255, 0.07); color: #fff; }
.sw { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- studio, v3: the picture fills the window, the tools float over it ---------- */
@media (min-width: 1001px) {
  .win.full { position: relative; background: #0a0a0b; --glass: rgba(24, 24, 26, 0.78); --gap: 12px; --side-w: 212px; --insp-w: 288px; --top: 68px; }
  .win.full .float, .win.full .tb-left, .win.full .seg, .win.full .tb-right, .win.full .side, .win.full .insp {
    background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.42);
  }

  /* toolbar: three small floating bars */
  .win.full .tb { position: absolute; z-index: 5; top: var(--gap); left: var(--gap); right: var(--gap); height: 44px; padding: 0; border: 0; gap: 12px; pointer-events: none; }
  .win.full .tb > * { pointer-events: auto; }
  .win.full .tb-left { justify-self: start; height: 44px; padding: 0 16px 0 14px; border-radius: 14px; gap: 12px; }
  .win.full .tb-left .home { width: auto; height: 28px; padding: 0 4px; }
  .win.full .tb-left .home:hover { background: none; opacity: .8; }
  .win.full .tb-left .title { color: var(--muted); padding-left: 12px; box-shadow: inset 1px 0 0 var(--line-2); line-height: 18px; }
  body.embed .win.full .tb-left .title { padding-left: 0; box-shadow: none; color: var(--text); }
  .win.full .seg { height: 44px; padding: 5px; gap: 2px; border-radius: 14px; }
  .win.full .seg button { height: 34px; padding: 0 12px; border-radius: 9px; }
  .win.full .seg button[aria-checked="true"] { background: rgba(255, 255, 255, 0.1); }
  .win.full .tb-right { justify-self: end; height: 44px; padding: 6px; gap: 4px; border-radius: 14px; }
  .win.full .tb-right .icon { width: 32px; height: 32px; border-radius: 9px; }
  .win.full .tb-right .icon:hover { background: rgba(255, 255, 255, 0.07); }
  .win.full .tb-right .pill { height: 32px; border-radius: 9px; padding: 0 13px; }
  .win.full .tb-right .pill:not(.ink) { background: rgba(255, 255, 255, 0.07); }
  .win.full .tb-right .pill:not(.ink):hover { background: rgba(255, 255, 255, 0.11); }
  .win.full .menu { top: calc(100% + 12px); right: -6px; border-radius: 14px; padding: 6px; background: rgba(30, 30, 32, 0.97); }
  .win.full .menu button { border-radius: 8px; }

  /* the picture gets the whole window */
  .win.full .body { position: absolute; inset: 0; display: block; }
  .win.full .view { position: absolute; inset: 0; background: none;
    padding: calc(var(--top) + 20px) calc(var(--insp-w) + var(--gap) + 32px) 56px calc(var(--side-w) + var(--gap) + 32px); }
  .win.full .frame { border-radius: 10px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 24px 64px rgba(0, 0, 0, 0.5); }
  .win.full .hint { left: calc(var(--side-w) + var(--gap)); right: calc(var(--insp-w) + var(--gap)); bottom: 22px; }

  /* looks, left */
  .win.full .side { position: absolute; z-index: 4; left: var(--gap); top: var(--top); width: var(--side-w); max-height: calc(100% - var(--top) - var(--gap));
    padding: 8px 6px; border: 0; border-radius: 16px; overflow-y: auto; scrollbar-width: none; }
  .win.full .side::-webkit-scrollbar { display: none; }
  .win.full .side-h { display: none; }
  .win.full .side .grp-name { padding: 10px 10px 6px; }
  .win.full .side .grp-name:first-child { padding-top: 6px; }
  .win.full .side li button { height: 30px; padding: 0 10px; border-radius: 9px; }
  .win.full .side li button:hover { background: rgba(255, 255, 255, 0.05); }
  .win.full .side li button[aria-current="true"] { background: rgba(255, 255, 255, 0.09); }

  /* inspector, right */
  .win.full .insp { position: absolute; z-index: 4; right: var(--gap); top: var(--top); bottom: var(--gap); width: var(--insp-w);
    padding: 12px 10px 16px; border: 0; border-radius: 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.12) transparent; }
  .win.full .insp .sec + .sec { border-top-color: rgba(255, 255, 255, 0.06); }
  .win.full .row { background: rgba(255, 255, 255, 0.04); border-radius: 9px; }
  .win.full .row:hover { background: rgba(255, 255, 255, 0.06); }
  .win.full .row .f { background: rgba(255, 255, 255, 0.08); }
  .win.full .row:hover .f, .win.full .row.drag .f { background: rgba(255, 255, 255, 0.11); }
  .win.full .sec-h .mini { background: rgba(255, 255, 255, 0.06); }
  .win.full .sec-h .mini:hover { background: rgba(255, 255, 255, 0.1); }

  .win.full.drop .frame { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 24px 64px rgba(0, 0, 0, 0.5); }
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .win.full { --side-w: 184px; --insp-w: 268px; }
  .win.full .seg button { padding: 0 9px; }
}
@supports (corner-shape: squircle) {
  @media (min-width: 1001px) {
    .win.full .tb-left, .win.full .seg, .win.full .tb-right { border-radius: 16px; }
    .win.full .side, .win.full .insp, .win.full .menu { border-radius: 20px; }
    .win.full .frame { border-radius: 12px; }
  }
}

/* ---------- studio, v4: only two panels, one each side; the toolbar lives at the top of them ---------- */
@media (min-width: 1001px) {
  .win.full { --head: 52px; }
  /* the two cards */
  .win.full .body::before, .win.full .body::after { content: ''; position: absolute; z-index: 1; top: var(--gap); bottom: var(--gap); border-radius: 16px; pointer-events: none;
    background: #18181a; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.42); }
  .win.full .body::before { left: var(--gap); width: var(--side-w); }
  .win.full .body::after { right: var(--gap); width: var(--insp-w); }
  .win.full .view { z-index: 0; padding-top: 40px; }

  /* nothing floats on its own any more */
  .win.full .tb-left, .win.full .seg, .win.full .tb-right, .win.full .side, .win.full .insp { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .win.full .tb { inset: 0 0 auto 0; height: 0; }

  /* left card: wordmark and look name, then the looks */
  .win.full .tb-left { position: absolute; top: var(--gap); left: var(--gap); width: var(--side-w); height: var(--head); padding: 0 16px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06); }
  .win.full .side { top: calc(var(--gap) + var(--head)); bottom: var(--gap); max-height: none; padding: 6px 6px 10px; }

  /* right card: actions, format, then the inspector */
  .win.full .tb-right { position: absolute; top: var(--gap); right: var(--gap); width: var(--insp-w); height: var(--head); padding: 0 10px; justify-content: flex-end; }
  .win.full .seg { position: absolute; top: calc(var(--gap) + var(--head)); right: calc(var(--gap) + 10px); width: calc(var(--insp-w) - 20px); height: 36px; padding: 3px;
    border-radius: 10px; background: rgba(255, 255, 255, 0.045); }
  .win.full .seg button { flex: 1; height: 30px; padding: 0; border-radius: 8px; }
  .win.full .insp { top: calc(var(--gap) + var(--head) + 48px); bottom: var(--gap); padding: 10px 10px 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  .win.full .menu { top: calc(100% - 4px); right: 4px; }
}
@supports (corner-shape: squircle) {
  @media (min-width: 1001px) {
    .win.full .body::before, .win.full .body::after { border-radius: 20px; }
    .win.full .tb-left, .win.full .tb-right, .win.full .side, .win.full .insp { border-radius: 0; }
    .win.full .seg { border-radius: 12px; }
  }
}

/* ---------- looks: a gallery wall, each painting in its own format, running past the edge of the page ---------- */
.looks { --h: 520px; padding-top: 140px; }
.looks-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.piece { flex: none; width: calc(var(--h) * var(--ar)); scroll-snap-align: start; color: inherit; -webkit-user-drag: none; }
.piece .fmt { position: absolute; left: 14px; top: 14px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 7px;
  font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.85); background: rgba(14, 14, 15, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.piece .spec { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1000px) { .looks { --h: 420px; } }
@media (max-width: 760px) {
  .looks { --h: 340px; padding-top: 96px; }
  .piece { width: min(calc(var(--h) * var(--ar)), 82vw); }
}
@supports (corner-shape: squircle) { .piece .fmt { border-radius: 9px; } }

/* =====================================================================
   v6: old page. A black hero with live looks scattered in depth,
   eyebrow + title + action section heads, two-column FAQ, a footer on a look.
   ===================================================================== */
body { background: #060607; }
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 64px; }
.links { display: flex; gap: 2px; }
.links a, .bar .links a { height: 30px; padding: 0 9px; display: inline-flex; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.62); border-radius: 8px; transition: color .15s; }
.links a:hover { color: #fff; }
.top .pill { height: 32px; font-size: 13px; }
.sc { position: absolute; display: block; color: #fff;
  translate: calc(var(--mx) * var(--px) * 1px) calc(var(--my) * var(--px) * 1px);
  animation: drift 9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); }
.sc.d1 { --px: -14; z-index: 2; }
.sc.d2 { --px: -6; z-index: 1; filter: blur(7px); opacity: .45; }
@keyframes drift { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-head .pill { flex: none; }

/* embed: the code floating over the look it draws */
section.embed { padding-top: 140px; }

/* FAQ: title on the left, answers on the right */
.faq2 { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding-top: 140px; }
.faq2 .qs { margin-top: 0; max-width: none; }
.faq2 .sec-title h2 { font-size: 34px; line-height: 38px; }

/* last word */
.last { padding-top: 160px; padding-bottom: 140px; text-align: center; }
.last h2 { margin: 0 auto; max-width: 620px; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.028em; color: #fff; text-wrap: balance; }
.last p { margin: 14px 0 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.last .cta { justify-content: center; margin-top: 24px; gap: 8px; }
.foot2-cols { display: flex; gap: 72px; }
.foot2-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot2-cols b { font-weight: 500; color: rgba(255, 255, 255, 0.5); margin-bottom: 4px; font-size: 12.5px; }
.foot2-cols a { color: rgba(255, 255, 255, 0.82); }
.foot2-cols a:hover { color: #fff; }
.foot2-base { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 56px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 1000px) {
  .faq2 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  section.embed { padding-top: 96px; }
  .faq2 { padding-top: 96px; }
  .last { padding-top: 112px; padding-bottom: 96px; }
  .last h2 { font-size: 30px; line-height: 34px; }
  .foot2-cols { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) { .sc { animation: none; translate: none; } }
.pill.soft { background: rgba(0, 0, 0, 0.06); color: #111; }
.pill.soft:hover { background: rgba(0, 0, 0, 0.1); }

/* =====================================================================
   v8: the whole page is painted. Every section is a band on its own live look,
   dimmed like the footer, with quiet white type straight on the paint. No cards.
   ===================================================================== */
.band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0a0a0c; }
.band > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 6, 7, 0.5); pointer-events: none; }
.band-in { position: relative; padding-top: 120px; padding-bottom: 120px; }
.band .sec-title h2, .band h2 { color: #fff; }
.band .sec-title p, .band p { color: rgba(255, 255, 255, 0.72); }
.band h2 { margin: 0; font-size: 34px; line-height: 38px; font-weight: 600; letter-spacing: -0.026em; text-wrap: balance; }

/* studio band: the backdrop follows the embedded studio */
.studio4 .backdrop { z-index: -2; }
.studio4 .studio-frame { margin-top: 40px; max-width: none; }
.names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(200px, auto)); gap: 0 48px; }
.names a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; height: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 17px; font-weight: 500; letter-spacing: -0.012em; color: rgba(255, 255, 255, 0.55); transition: color .15s; }
.names a i { font-style: normal; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, 0.4); }
.names a:hover, .names a.on { color: #fff; }
.names a.on i { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 760px) {
  .band-in { padding-top: 88px; padding-bottom: 88px; }
  .band h2 { font-size: 28px; line-height: 32px; }
  .names { grid-template-columns: 1fr; }
  .studio4 .studio-frame { height: 640px; }
}

/* =====================================================================
   v9: boxed. Every painted thing is a box inside the page width; only the
   editor runs edge to edge. One radius family, one rhythm.
   ===================================================================== */
.top { position: relative; top: auto; left: auto; right: auto; height: 72px; }
.hero { margin-top: 0; }
.studio4 { margin-top: 140px; }

.pricing { padding-top: 140px; }

/* footer: a painted box */
.foot9 { margin-top: 140px; padding-bottom: 16px; }
.foot9-box { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; padding: 56px 48px 24px; color: #fff; background: #0a120c; }
.foot9-box > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.foot9-box::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 6, 7, 0.5); }
.foot9-top { display: flex; justify-content: space-between; gap: 48px; }
.foot9 h2 { margin: 0; max-width: 460px; font-size: 34px; line-height: 38px; font-weight: 600; letter-spacing: -0.026em; color: #fff; }
.foot9 .cta { margin-top: 22px; gap: 8px; }
.foot9 .foot2-base { margin-top: 96px; align-items: center; }
.foot9 .foot2-base .wordmark { font-size: 15px; }

@supports (corner-shape: squircle) {
   .foot9-box { border-radius: 28px; }
}
@media (max-width: 1000px) {
  .foot9-top { flex-direction: column; }
}
@media (max-width: 760px) {
  .studio4, .foot9 { margin-top: 96px; }
   .foot9 h2 { font-size: 28px; line-height: 32px; }
  .pricing { padding-top: 96px; }
  .foot9-box { padding: 36px 24px 20px; }
  .foot9 .foot2-base { margin-top: 56px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- hero v10: five looks side by side, one open, carrying the sliders ---------- */
.hero5-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 40px; padding-bottom: 36px; }
.hero5-copy { max-width: 640px; }
.hero5 .badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin-bottom: 18px; border-radius: 9px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8);
  background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.hero5 h1 { margin: 0; font-size: 52px; line-height: 54px; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.hero5-side { width: 340px; flex: none; }
.hero5-side p { margin: 0; font-size: 15px; line-height: 22px; color: var(--muted); text-wrap: pretty; }
.hero5-side .cta { margin-top: 18px; gap: 8px; }
.panels { display: flex; gap: 8px; margin: 0 16px; height: clamp(480px, calc(100svh - 318px), 680px); }
.hp { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 16px; background: #0c0c0e; cursor: pointer;
  transition: flex-grow .7s cubic-bezier(.2, .8, .2, 1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.hp.on { flex-grow: 4.6; cursor: default; }
.hp > canvas { position: absolute; top: 0; left: 50%; width: var(--open, 800px); height: 100%; translate: -50% 0; display: block; z-index: -1; }
.hp::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 6, 7, 0.22); transition: background-color .5s; pointer-events: none; }
.hp.on::after, .hp:hover::after { background: rgba(6, 6, 7, 0); }
.hp-cap { position: absolute; left: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; line-height: 16px; white-space: nowrap; color: #fff; text-align: left; }
.hp-cap b { font-weight: 500; }
.hp-cap i { font-style: normal; color: rgba(255, 255, 255, 0.6); }
.hp.on .hp-cap { left: 24px; bottom: 22px; font-size: 13px; }
.hp .tweak { position: absolute; right: 16px; bottom: 16px; cursor: auto; animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
.hero5 > .tweak { display: none; }
.hp:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 2px; }
@supports (corner-shape: squircle) { .hp { border-radius: 24px; } }
@media (max-width: 1000px) { .hero5 h1 { font-size: 44px; line-height: 47px; } .hero5-side { width: 280px; } }
@media (max-width: 760px) {
  .hero5-head { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 24px; padding-bottom: 24px; }
  .hero5 h1 { font-size: 36px; line-height: 39px; }
  .hero5-side { width: auto; }
  .panels { margin: 0 8px; height: 380px; gap: 6px; }
  .hp.on { flex-grow: 6; }
  .hp:not(.on) .hp-cap { display: none; }
  .hero5 > .tweak { display: block; width: auto; margin: 10px 8px 0; position: relative; }
}
@media (prefers-reduced-motion: reduce) { .hp { transition: none; } }

/* ---------- hero v11: the looks first, the words underneath; nav and words on the panels' edges ---------- */
.top { max-width: none; margin: 0; padding: 0 40px; height: 64px; }
.top nav { gap: 2px; }
.top nav a:not(.pill) { font-size: 13px; color: rgba(255, 255, 255, 0.62); padding: 0 10px; }
.top nav a:not(.pill):hover { color: #fff; }
.top nav .pill { margin-left: 10px; }
.panels { height: clamp(440px, calc(100svh - 280px), 720px); }
.hero5-head { padding: 28px 40px 0; align-items: flex-start; }
.hero5 .badge { display: none; }
.hero5 h1 { font-size: 48px; line-height: 50px; max-width: 600px; }
.hero5-side { width: 360px; padding-top: 4px; }
@media (max-width: 1000px) { .hero5 h1 { font-size: 40px; line-height: 43px; } }
@media (max-width: 760px) {
  .top { padding: 0 20px; }
  .top nav a:not(.pill) { display: none; }
  .panels { height: 400px; }
  .hero5-head { padding: 22px 20px 0; }
  .hero5 h1 { font-size: 34px; line-height: 37px; }
}

/* ---------- looks: justified rows instead of a carousel ---------- */
.looks-head { align-items: flex-end; }
@media (max-width: 760px) {
  .looks-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ---------- footer, bigger: a tall painted box, the words at the top, the links at the foot ---------- */
.foot9-box { min-height: min(720px, calc(100svh - 32px)); display: flex; flex-direction: column; justify-content: space-between; padding: 72px 64px 28px; }
.foot9 h2 { max-width: 560px; font-size: 44px; line-height: 47px; letter-spacing: -0.03em; }
.foot9 .cta { margin-top: 28px; }
.foot9-top { align-items: flex-start; }
.foot9 .foot2-base { margin-top: 0; }
.foot9-box::after { background: rgba(6, 6, 7, 0.42); }
@media (max-width: 760px) {
  .foot9-box { min-height: 600px; padding: 40px 24px 20px; }
  .foot9 h2 { font-size: 32px; line-height: 35px; }
  .foot9 .foot2-base { margin-top: 48px; }
}
/* the footer box matches the hero panels: the same 16px inset, so the page opens and closes on the same frame */
.foot9.wrap { max-width: none; padding-left: 16px; padding-right: 16px; }
.foot9-box { padding-left: 24px; padding-right: 24px; }
.foot9-top, .foot9 .foot2-base { padding-left: 16px; padding-right: 16px; }
@media (max-width: 760px) { .foot9.wrap { padding-left: 8px; padding-right: 8px; } .foot9-top, .foot9 .foot2-base { padding-left: 0; padding-right: 0; } }
.code10-code { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.code10-bar { flex: none; display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 18px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.code10-bar span:last-child { font-variant-numeric: tabular-nums; color: var(--faint); }
@supports (corner-shape: squircle) {  .code10-code { border-radius: 28px; } }
@media (max-width: 1000px) { .code10-code { height: 420px; } }

/* ---------- nav, three parts: the name, the sections in the middle, the one action ---------- */
.top3 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.top3 .links { display: flex; gap: 4px; }
.top3 .links a { height: 32px; padding: 0 12px; font-size: 13px; color: rgba(255, 255, 255, 0.6); border-radius: 9px; transition: color .15s, background-color .15s; }
.top3 .links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.top3 > .pill { justify-self: end; height: 32px; font-size: 13px; }
.bar .links { display: flex; gap: 2px; }
.bar .links a { height: 30px; padding: 0 10px; display: inline-flex; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.66); border-radius: 8px; }
.bar .links a:hover { color: #fff; }
@media (max-width: 760px) { .top3 { grid-template-columns: 1fr auto; } .top3 .links, .bar .links { display: none; } }

/* ---------- floating bar, compact: as small as its contents ---------- */
.bar { width: auto; height: 42px; gap: 14px; padding: 0 5px 0 14px; border-radius: 14px; }
.bar .wordmark { font-size: 14px; }
.bar .links { gap: 0; }
.bar .links a { height: 28px; padding: 0 8px; font-size: 12.5px; }
.bar > .pill { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
@supports (corner-shape: squircle) { .bar { border-radius: 18px; } .bar > .pill { border-radius: 12px; } }
@media (max-width: 760px) { .bar { width: auto; left: 50%; } }

/* code: snippet or self-contained */
.code10-bar { padding: 0 14px 0 6px; }
.code10-seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.code10-seg button { height: 28px; padding: 0 11px; border-radius: 8px; font-size: 12.5px; color: var(--muted); transition: background-color .15s, color .15s; }
.code10-seg button:hover { color: var(--text); }
.code10-seg button[aria-checked="true"] { background: rgba(255, 255, 255, 0.09); color: var(--text); }

/* footer: no rule above the last line */
.foot9 .foot2-base { border-top: 0; padding-top: 0; }
.code10-code.snip pre { display: flex; flex-direction: column; justify-content: center; padding-top: 0; padding-bottom: 24px; font-size: 13px; line-height: 23px; }
.menu-sep { height: 1px; margin: 5px 8px; background: var(--line); }

/* ---------- materials: one box, paint under glass, a divider to drag ---------- */
.cmp-sec { padding-top: 120px; }
.cmp { position: relative; margin-top: 40px; height: min(460px, 56vh); min-height: 360px; border-radius: 20px; overflow: hidden; isolation: isolate; background: #0c0c0e;
  cursor: ew-resize; touch-action: pan-y; user-select: none; }
.cmp > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmp-top { clip-path: inset(0 0 0 var(--x)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.85); pointer-events: none; }
.cmp-handle { position: absolute; top: 50%; left: var(--x); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center;
  color: #111; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform .15s; cursor: ew-resize; }
.cmp-handle svg { width: 16px; height: 16px; }
.cmp.drag .cmp-handle, .cmp-handle:hover { transform: scale(1.08); }
.cmp-tag { position: absolute; top: 18px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 12.5px; color: #fff;
  background: rgba(14, 14, 15, 0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: none; }
.cmp-tag.l { left: 18px; }
.cmp-tag.r { right: 18px; }
@supports (corner-shape: squircle) { .cmp { border-radius: 28px; } .cmp-handle { corner-shape: round; } }
.pricing { padding-top: 160px; }
.faq2 { padding-top: 120px; }
@media (max-width: 760px) {
  .cmp-sec, .pricing, .faq2 { padding-top: 96px; }
  .cmp { height: 340px; margin-top: 28px; }
}

.emb { padding-top: 120px; }
.emb-box { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; height: 580px; }
.emb-stage { display: flex; flex-direction: column; min-width: 0; padding: 12px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.emb-room { position: relative; flex: 1; min-height: 0; border-radius: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='1' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E"); }
.emb-site { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; isolation: isolate; border-radius: 12px; color: #fff; background: #0c0c0e; container-type: inline-size;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.35); }
.emb-site > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
/* the example page is a stand-in for the visitor's own site, so its words say so */
.es-nav { display: flex; align-items: center; gap: 20px; height: 52px; padding: 0 18px; font-size: 13px; font-weight: 500; }
.es-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.es-mark { flex: none; width: 16px; height: 16px; border-radius: 5px; background: currentColor; }
.es-links { display: flex; gap: 18px; margin-left: auto; opacity: .7; }
.es-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: #111; background: #fff; }
.es-hero { position: absolute; left: 24px; right: 24px; bottom: 26px; }
.es-h { margin: 0; max-width: 380px; font-size: 30px; line-height: 33px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.es-p { margin: 10px 0 18px; font-size: 14px; line-height: 20px; opacity: .75; }
.emb-site.pale { color: #111; }
.emb-site.pale .es-btn { color: #fff; background: #111; }
@container (max-width: 460px) { .es-links { display: none; } .es-nav > .es-btn { margin-left: auto; } .es-h { max-width: 250px; font-size: 22px; line-height: 25px; } .es-p { font-size: 13px; } .es-hero { left: 18px; bottom: 18px; } }
.emb-grip { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; cursor: nwse-resize; touch-action: none;
  background: rgba(14, 14, 15, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); transition: transform .15s; }
.emb-grip svg { width: 12px; height: 12px; }
.emb-grip:hover, .emb-site.drag .emb-grip { transform: scale(1.1); }
.emb-site.drag { cursor: nwse-resize; }
.emb-under { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px 0; }
.emb-pick { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.emb-pick button { height: 28px; padding: 0 11px; border-radius: 8px; font-size: 12.5px; color: var(--muted); transition: background-color .15s, color .15s; }
.emb-pick button:hover { color: var(--text); }
.emb-pick button[aria-checked="true"] { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.emb-dim { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.emb-hint { color: var(--faint); }
.emb-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.emb-side .code10-code { flex: 1; min-height: 0; }
.emb pre { flex: 1; height: auto; min-height: 0; padding: 14px 18px 18px 0; counter-reset: ln; font-size: 11.5px; line-height: 19px; }
.emb pre .ln { display: block; counter-increment: ln; padding-left: 52px; position: relative; }
.emb pre .ln::before { content: counter(ln); position: absolute; left: 0; width: 36px; text-align: right; color: var(--faint); opacity: .7; }
.emb-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.emb-facts div { padding: 13px 18px; }
.emb-facts div:nth-child(even) { box-shadow: inset 1px 0 0 var(--line); }
.emb-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
.emb-facts dt { font-size: 12px; color: var(--faint); }
.emb-facts dd { margin: 2px 0 0; font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; }
@supports (corner-shape: squircle) {
   .emb-stage { border-radius: 28px; } .emb-facts { border-radius: 22px; }
  .emb-room, .emb-site { border-radius: 18px; } .emb-grip { border-radius: 11px; }
}
@media (max-width: 1000px) {
  .emb-box { grid-template-columns: 1fr; height: auto; }
  .emb-room { height: 420px; flex: none; }
  .emb-side .code10-code { height: 360px; flex: none; }
}
@media (max-width: 760px) { .emb { padding-top: 96px; }
  .emb-room { height: 360px; }
  .emb-dim { display: none; }
  .emb .code10-code.snip pre { font-size: 12px; line-height: 21px; overflow-x: auto; }
}

/* ================= shapes in the studio ================= */
.shape-add { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 2px 0 4px; }
.shape-add button { display: flex; flex-direction: column; align-items: center; gap: 5px; height: 54px; padding-top: 10px; border-radius: 8px; font-size: 11.5px; color: var(--muted); background: rgba(255, 255, 255, 0.035); transition: background-color .15s, color .15s; }
.shape-add button:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.shape-add svg { width: 16px; height: 16px; fill: currentColor; }
.shape-h { position: absolute; pointer-events: auto; cursor: grab; touch-action: none; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0); transition: box-shadow .15s; }
.frame:hover .shape-h { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
.shape-h.sel, .frame:hover .shape-h.sel { box-shadow: 0 0 0 1.5px #fff, 0 1px 8px rgba(0, 0, 0, 0.45); }
.shape-h.drag { cursor: grabbing; }
.shape-x { position: absolute; right: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; display: none; place-items: center; font-size: 13px; line-height: 1; color: #111; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.shape-h.sel .shape-x { display: grid; }
@supports (corner-shape: squircle) { .shape-add button { border-radius: 10px; } .shape-x { corner-shape: round; } }

/* ================= Paintbox: the mark is an o laid down in one dry stroke of ochre ================= */
.brandmark { display: inline-flex; align-items: center; gap: 7px; }
.brandmark .mark { width: 20px; height: 20px; flex: none; color: #d2902f; }
.bar .brandmark .mark, .home .brandmark .mark { width: 18px; height: 18px; }
.foot9 .brandmark .mark { width: 19px; height: 19px; }

/* ================= shapes on the homepage: drag a shape, the paint rebuilds ================= */
.shp { padding-top: 160px; }
.shp-box { position: relative; margin-top: 40px; height: min(560px, 66vh); min-height: 400px; border-radius: 20px; overflow: hidden; isolation: isolate; background: #08080a; }
.shp-box > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.shp-handles { position: absolute; inset: 0; }
.shp-h { position: absolute; border-radius: 8px; cursor: grab; touch-action: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45); transition: box-shadow .15s; }
.shp-h:hover, .shp-h.drag { box-shadow: 0 0 0 1.5px #fff, 0 1px 10px rgba(0, 0, 0, 0.4); }
.shp-h.drag { cursor: grabbing; }
.shp-seg { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 2px; padding: 3px; border-radius: 11px;
  background: rgba(14, 14, 15, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.shp-seg button { height: 28px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); transition: background-color .15s, color .15s; }
.shp-seg button:hover { color: #fff; }
.shp-seg button[aria-checked="true"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.shp-hint { position: absolute; right: 16px; bottom: 16px; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 11px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8);
  background: rgba(14, 14, 15, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); transition: opacity .3s; pointer-events: none; }
.shp-box.used .shp-hint { opacity: 0; }
@supports (corner-shape: squircle) { .shp-box { border-radius: 28px; } .shp-seg, .shp-hint { border-radius: 14px; } .shp-h { border-radius: 10px; } }
@media (max-width: 760px) { .shp { padding-top: 96px; } .shp-box { height: 420px; min-height: 0; } }

/* the wordmark: a clean display grotesk, semibold and tight, the way today's best apps set theirs */
.brandmark .wordmark { font-family: 'Inter', system-ui, sans-serif; font-optical-sizing: auto; font-variation-settings: "opsz" 32; font-weight: 600; font-size: 17px; letter-spacing: -0.028em; line-height: 1; color: #fff; }
.bar .brandmark .wordmark, .home .brandmark .wordmark { font-size: 15.5px; }
.foot9 .brandmark .wordmark { font-size: 16.5px; }
.brandmark { gap: 7px; }

/* the mark is now an app tile: ochre, one cream brush stroke */
.brandmark .mark { width: 22px; height: 22px; }
.bar .brandmark .mark, .home .brandmark .mark { width: 20px; height: 20px; }
.brandmark { gap: 8px; }

/* the studio band fades into the page at its top and bottom edge */
.studio4 { background: transparent; }
.studio4 .backdrop, .studio4::after {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}

/* the selected shape's own controls */
.shape-edit { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.se-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.se-kind { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); }
.se-kind button { width: 30px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--muted); }
.se-kind button:hover { color: var(--text); }
.se-kind button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.se-kind svg { width: 14px; height: 14px; fill: currentColor; }
.se-col { display: flex; gap: 5px; }
.se-col button { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.se-col button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--bg-2), 0 0 0 3px #fff; }
@supports (corner-shape: squircle) { .se-kind { border-radius: 11px; } .se-kind button { border-radius: 9px; } .se-col button { border-radius: 8px; } }

/* the living mark: no tile, just the stroke; the wordmark a little more open */
.brandmark .mark { width: 24px; height: 24px; overflow: visible; }
.bar .brandmark .mark, .home .brandmark .mark { width: 22px; height: 22px; }
.brandmark .wordmark { letter-spacing: -0.008em; }
.brandmark { gap: 7px; }

/* a larger logo */
.brandmark .mark { width: 30px; height: 30px; }
.brandmark .wordmark { font-size: 21px; }
.bar .brandmark .mark, .home .brandmark .mark { width: 26px; height: 26px; }
.bar .brandmark .wordmark, .home .brandmark .wordmark { font-size: 18.5px; }
.foot9 .brandmark .mark { width: 28px; height: 28px; }
.foot9 .brandmark .wordmark { font-size: 20px; }
.brandmark { gap: 8px; }

/* the top header leaves "Start painting" to the hero; the floating bar keeps it once the hero is gone */
.top > .pill.ink { visibility: hidden; }

/* the header: nav on the left, the logo in the middle */
.top3 .links { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -12px; }
.top3 .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.top3 > .pill { grid-column: 3; grid-row: 1; }
@media (max-width: 760px) { .top3 { grid-template-columns: 1fr auto 1fr; } .top3 .brand { grid-column: 2; } }

/* the header split around the logo: product on the left, pricing, help and the studio on the right */
.top3 .links-r { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; margin-right: -12px; }
.top > .pill.ink { display: none; }
@media (max-width: 760px) { .top3 .links-r { display: none; } }

/* ================= legal pages: one quiet column in a box ================= */
.legal-page { background: var(--bg); }
.legal-top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.legal-nav { display: flex; gap: 2px; margin-right: -12px; }
.legal-nav a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px; font-size: 13px; color: rgba(255, 255, 255, 0.6); transition: color .15s, background-color .15s; }
.legal-nav a:hover { color: #fff; }
.legal-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.legal { padding-top: 24px; padding-bottom: 96px; }
.legal-box { max-width: 760px; margin: 0 auto; padding: 48px 56px 56px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.legal h1 { margin: 0; font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -0.024em; }
.legal .upd { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); }
.legal section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 8px; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.legal section p, .legal li { font-size: 14.5px; line-height: 23px; color: rgba(255, 255, 255, 0.74); }
.legal section p { margin: 0 0 10px; }
.legal ul { margin: 0; padding-left: 18px; }
.legal li { margin: 2px 0; }
.legal a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: #fff; }
.legal-foot { display: flex; justify-content: space-between; padding-bottom: 40px; font-size: 12.5px; color: var(--faint); }
.legal-foot a:hover { color: #fff; }
@supports (corner-shape: squircle) { .legal-box { border-radius: 28px; } }
@media (max-width: 760px) {
  .legal-top { height: auto; padding-top: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal-nav { margin-left: -12px; margin-right: 0; }
  .legal-box { padding: 28px 22px 32px; }
  .legal h1 { font-size: 26px; line-height: 30px; }
}

/* the shortcuts card in the studio */
.keys { position: absolute; left: 50%; top: 50%; z-index: 40; width: 340px; transform: translate(-50%, -50%); padding: 14px 16px 12px; border-radius: 16px;
  background: rgba(27, 27, 29, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 16px 40px rgba(0, 0, 0, 0.5); }
.keys-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.keys-h b { font-size: 13px; font-weight: 600; }
.keys-r { display: flex; justify-content: space-between; align-items: center; height: 28px; font-size: 12.5px; color: var(--muted); }
.keys kbd { font: 500 11.5px var(--sans); color: var(--text); padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.keys p { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 18px; color: var(--faint); }
@supports (corner-shape: squircle) { .keys { border-radius: 22px; } .keys kbd { border-radius: 8px; } }
/* in the studio the logo shares its corner with the look name, so it stays compact */
.home .brandmark .mark { width: 20px; height: 20px; }
.home .brandmark .wordmark { font-size: 15px; }
.home .brandmark { gap: 6px; }
.menu button:disabled { opacity: .45; cursor: default; pointer-events: none; }
/* buying: the locked export menu and the card that sells and activates it */
.menu.locked button[data-ex] em::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 8px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--lock) center / contain no-repeat; mask: var(--lock) center / contain no-repeat; }
.menu.locked { --lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 5V3.8a2.5 2.5 0 0 1 5 0V5' fill='none' stroke='black' stroke-width='1.3'/%3E%3Crect x='2' y='5' width='8' height='6' rx='1.6'/%3E%3C/svg%3E"); }
.menu.locked { width: 290px; }
.menu button span, .menu button em { white-space: nowrap; }
/* resize grips on the selected shape: corners size both ways, edges one way */
.shape-r { position: absolute; display: none; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 2.5px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.4); touch-action: none; }
.shape-r::after { content: ''; position: absolute; inset: -7px; }
.shape-h.sel .shape-r { display: block; }
.shape-r[data-d="nw"] { left: 0; top: 0; cursor: nwse-resize; } .shape-r[data-d="n"] { left: 50%; top: 0; cursor: ns-resize; }
.shape-r[data-d="ne"] { left: 100%; top: 0; cursor: nesw-resize; } .shape-r[data-d="e"] { left: 100%; top: 50%; cursor: ew-resize; }
.shape-r[data-d="se"] { left: 100%; top: 100%; cursor: nwse-resize; } .shape-r[data-d="s"] { left: 50%; top: 100%; cursor: ns-resize; }
.shape-r[data-d="sw"] { left: 0; top: 100%; cursor: nesw-resize; } .shape-r[data-d="w"] { left: 0; top: 50%; cursor: ew-resize; }
.shape-h.sel .shape-x { right: -9px; top: -24px; }
/* pricing: one offer, the studio free and one payment to take things out of it */
.one-plan { display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 40px; border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1); }
.op-side { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 340px; padding: 28px; }
.op-side canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.op-side .plan-name { color: rgba(255, 255, 255, 0.85); }
.op-side .price span { color: rgba(255, 255, 255, 0.8); }
.op-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.op-list { padding: 28px 32px; }
.op-h { display: block; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.op-list .ticks { margin: 12px 0 0; }
.op-list .ticks + .op-h { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@supports (corner-shape: squircle) { .one-plan { border-radius: 24px; } }
@media (max-width: 800px) { .one-plan { grid-template-columns: 1fr; } .op-side { min-height: 280px; padding: 22px; } .op-list { padding: 22px; } }
.sec-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-title.center p { margin-left: auto; margin-right: auto; }
/* studio labels: plain sentence case like a Mac app, no shouty tracked capitals */
.sec-h > span, .side .grp-name { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.sec-h > span { color: var(--muted); }
.sec.on .sec-h > span { color: var(--text); }
.side .grp-name { color: var(--faint); padding: 14px 8px 6px; }
.side .grp-name:first-child { padding-top: 2px; }
/* adding a shape: one quiet row of small buttons, not a grid of tiles */
.shape-add { display: flex; gap: 2px; padding: 0 0 2px; }
.shape-add button { flex: 1; flex-direction: row; justify-content: center; gap: 6px; height: 28px; padding: 0 6px; border-radius: 7px; font-size: 12px; background: none; }
.shape-add button:hover { background: rgba(255, 255, 255, 0.06); }
.shape-add svg { width: 13px; height: 13px; opacity: .8; }
@supports (corner-shape: squircle) { .shape-add button { border-radius: 9px; } }

/* the unlock card: the look you are on, painted live, then what one payment gives you */
.pro-scrim { position: absolute; inset: 0; z-index: 40; background: rgba(6, 6, 7, 0.55); animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; } }
.pro-card { position: absolute; left: 50%; top: 50%; z-index: 41; width: 400px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: auto; transform: translate(-50%, -50%);
  border-radius: 18px; background: #18181a; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 24px 64px rgba(0, 0, 0, 0.55); animation: rise .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)) scale(.98); } }
.pro-card [hidden] { display: none !important; }
.pro-art { position: relative; isolation: isolate; height: 150px; }
.pro-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.pro-x { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff;
  background: rgba(14, 14, 15, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.pro-x:hover { background: rgba(14, 14, 15, 0.7); }
.pro-x svg { width: 14px; height: 14px; }
.pro-body { padding: 18px 20px 18px; }
.pro-title { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.012em; color: var(--text); }
.pro-card .pro-lead { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.pro-gets { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; font-size: 13px; color: var(--text); }
.pro-gets li { display: flex; align-items: center; gap: 10px; }
.pro-gets svg { flex: none; width: 16px; height: 16px; color: var(--muted); }
.pro-card .pro-buy { display: flex; justify-content: center; width: 100%; height: 38px; margin-top: 18px; border-radius: 11px; font-size: 13.5px; font-weight: 500; }
.pro-card .pro-fine { margin: 9px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
.pro-have { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.pro-link { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.pro-link:hover { color: var(--text); text-decoration-color: currentColor; }
.pro-key { display: flex; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pro-key input { flex: 1; min-width: 0; height: 34px; padding: 0 11px; border: 0; border-radius: 9px; font: 12.5px var(--sans); color: var(--text); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); outline: 0; }
.pro-key input:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.pro-key .pill { height: 34px; border-radius: 9px; }
.pro-card .pro-msg { margin: 10px 0 0; font-size: 12.5px; line-height: 18px; color: var(--text); text-align: center; }
.pro-card .pro-msg:empty { display: none; }
.pro-done .pro-link { margin-top: 14px; }
@supports (corner-shape: squircle) { .pro-card { border-radius: 26px; } .pro-x, .pro-key input, .pro-key .pill { border-radius: 11px; } .pro-card .pro-buy { border-radius: 13px; } }
/* look list: a small picture of each look instead of a colour square */
.side .sw.thumb { width: 30px; height: 20px; border-radius: 5px; box-shadow: none; outline: 0.5px solid rgba(255, 255, 255, 0.16); outline-offset: -0.5px; }
@supports (corner-shape: squircle) { .side .sw.thumb { border-radius: 7px; } }

/* ---------- studio panels, calmer: air between sections instead of rules, quiet rows, a cleaner card edge ---------- */
@media (min-width: 1001px) {
  .win.full .body::before, .win.full .body::after { background: #161618;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 1px 1px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.45); }
  .win.full .tb-left { box-shadow: none; }
  .win.full .insp { box-shadow: none; padding: 8px 12px 20px; }
  .win.full .insp .sec + .sec { margin-top: 22px; padding-top: 0; border-top: 0; }
  .win.full .sec-h { height: 28px; padding: 0 2px 6px; }
  .win.full .sec-h > span { font-size: 12.5px; }
  .win.full .rows { gap: 2px; }
  /* a row is a quiet strip; its fill says how much, a value of Off has no strip at all */
  .win.full .row { height: 30px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; }
  .win.full .row:hover { background: rgba(255, 255, 255, 0.055); }
  .win.full .row .f { background: rgba(255, 255, 255, 0.065); }
  .win.full .row:hover .f, .win.full .row.drag .f { background: rgba(255, 255, 255, 0.1); }
  .win.full .row.off { background: none; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
  .win.full .row.off:hover { background: rgba(255, 255, 255, 0.04); }
  .win.full .row.off span { color: var(--faint); }
  .win.full .row.choice { background: none; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
  .win.full .row.choice:hover { background: rgba(255, 255, 255, 0.04); }
  .win.full .swatches { gap: 6px; padding: 0; }
  .win.full .swatch { width: 28px; height: 28px; border-radius: 9px; }
  .win.full .seg { background: rgba(255, 255, 255, 0.04); }
  .win.full .side { padding: 4px 6px 10px; }
  .win.full .side li button { height: 32px; gap: 11px; }
  .win.full .side li button[aria-current="true"] { background: rgba(255, 255, 255, 0.08); }
}
@supports (corner-shape: squircle) {
  @media (min-width: 1001px) {
    .win.full .body::before, .win.full .body::after { border-radius: 24px; }
    .win.full .row { border-radius: 10px; }
    .win.full .swatch { border-radius: 11px; }
  }
}
/* colour picker */
.swatch { border: 0; padding: 0; }
.swatch[aria-expanded="true"] { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px rgba(255, 255, 255, 0.85); }
.cp { position: fixed; z-index: 70; width: 264px; padding: 12px; border-radius: 16px; background: #1c1c1f;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.55); animation: pop .14s cubic-bezier(.2, .8, .2, 1); }
.cp[hidden] { display: none; }
.cp-sv { position: relative; height: 150px; border-radius: 10px; overflow: hidden; cursor: crosshair; touch-action: none; }
.cp-sv canvas, .cp-hue canvas { display: block; width: 100%; height: 100%; }
.cp-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.5); pointer-events: none; }
.cp-hue { position: relative; height: 12px; margin-top: 12px; border-radius: 6px; cursor: pointer; touch-action: none; }
.cp-hue canvas { border-radius: 6px; }
.cp-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.5); pointer-events: none; }
.cp-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.cp-now { flex: none; width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); }
.cp-hex { flex: 1; min-width: 0; height: 30px; padding: 0 10px; border: 0; border-radius: 9px; font: 500 12.5px var(--sans); letter-spacing: 0.02em; color: var(--text);
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); outline: 0; text-transform: uppercase; }
.cp-hex:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cp-off { flex: none; height: 30px; padding: 0 10px; border-radius: 9px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.cp-off:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.cp-off[hidden] { display: none; }
.cp-h { margin: 14px 0 8px; font-size: 12px; color: var(--faint); }
.cp-pal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.cp-pal button { aspect-ratio: 1; border-radius: 5px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); transition: transform .12s; }
.cp-pal button:hover { transform: scale(1.15); }
.cp-pal button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #1c1c1f, 0 0 0 2.5px #fff; }
@supports (corner-shape: squircle) { .cp { border-radius: 22px; } .cp-sv { border-radius: 13px; } .cp-now, .cp-hex, .cp-off { border-radius: 11px; } .cp-pal button { border-radius: 6px; } }

/* ---------- inspector head: tools left, Share and Export right, formats as one quiet line ---------- */
@media (min-width: 1001px) {
  .win.full .tb-right { justify-content: flex-start; gap: 2px; padding: 0 12px 0 8px; }
  .win.full .tb-right .icon { width: 30px; height: 30px; border-radius: 9px; color: var(--faint); }
  .win.full .tb-right .icon:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
  .win.full .tb-right .icon svg { width: 15px; height: 15px; }
  .win.full .tb-right #share { margin-left: auto; }
  .win.full .tb-right .pill { height: 30px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 500; }
  .win.full .tb-right .pill:not(.ink) { background: none; color: var(--muted); }
  .win.full .tb-right .pill:not(.ink):hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
  .win.full .tb-right .menu-wrap { margin-left: 2px; }
  .win.full .seg { top: calc(var(--gap) + var(--head) - 2px); left: auto; right: calc(var(--gap) + 12px); width: calc(var(--insp-w) - 24px); height: 30px; padding: 0; gap: 0;
    background: none; border-radius: 0; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07); }
  .win.full .seg button { position: relative; height: 30px; border-radius: 0; font-size: 12.5px; color: var(--faint); background: none; }
  .win.full .seg button:hover { color: var(--text); background: none; }
  .win.full .seg button[aria-checked="true"] { color: var(--text); background: none; }
  .win.full .seg button[aria-checked="true"]::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 22px; height: 1.5px; margin-left: -11px; border-radius: 1px; background: var(--text); }
  .win.full .insp { top: calc(var(--gap) + var(--head) + 36px); }
}
@supports (corner-shape: squircle) { @media (min-width: 1001px) { .win.full .tb-right .icon, .win.full .tb-right .pill { border-radius: 11px; } .win.full .seg { border-radius: 0; } } }
/* homepage reveals: a short rise with a touch of focus pull, once */
.rv-on .rv { opacity: 0; transform: translateY(16px); filter: blur(4px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), filter .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv-on .rv.in { opacity: 1; transform: none; filter: none; }
.rv-on .studio-frame.rv, .rv-on .cmp.rv, .rv-on .shp-box.rv, .rv-on .emb-box.rv, .rv-on .one-plan.rv, .rv-on .foot9-box.rv { filter: none; transform: translateY(24px) scale(.985); }
.rv-on .studio-frame.rv.in, .rv-on .cmp.rv.in, .rv-on .shp-box.rv.in, .rv-on .emb-box.rv.in, .rv-on .one-plan.rv.in, .rv-on .foot9-box.rv.in { transform: none; }
/* the studio inside the homepage: the frame's corner is the panels' corner plus the gap between them, so the curves nest */
.studio-frame { border-radius: 28px; }
body.embed .win.full .body::before, body.embed .win.full .body::after { border-radius: 16px; }
@supports (corner-shape: squircle) {
  .studio-frame { border-radius: 36px; }
  @media (min-width: 1001px) { body.embed .win.full .body::before, body.embed .win.full .body::after { border-radius: 24px; } }
}
/* floating bar: the two link groups read as one row, links a little closer */
.bar { gap: 12px; }
.bar .links a { padding: 0 7px; }
.bar .links-r { margin-left: -12px; }
.bar > .pill { margin-left: 4px; }
/* reveals, calmer: a short rise, barely any blur, big blocks only fade and lift a little */
.rv-on .rv { transform: translateY(8px); filter: blur(1.5px);
  transition: opacity .6s ease-out var(--d, 0ms), transform .7s cubic-bezier(.25, .8, .25, 1) var(--d, 0ms), filter .5s ease-out var(--d, 0ms); }
.rv-on .studio-frame.rv, .rv-on .cmp.rv, .rv-on .shp-box.rv, .rv-on .emb-box.rv, .rv-on .one-plan.rv, .rv-on .foot9-box.rv { transform: translateY(12px); filter: none; }
/* first load: the header settles in, the hero looks arrive left to right, then the words */
@keyframes topIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes hpIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } }
.rv-on #top { animation: topIn .6s ease-out both; }
.rv-on .hp { animation: hpIn .8s cubic-bezier(.25, .8, .25, 1) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
.rv-on .tweak.first { animation: fadeIn .6s ease-out .55s both; }
/* moving to another tile: the controls are simply there (landing.js gives them a short settle) */
.hp .tweak:not(.first) { animation: none; }
.rv-on .hero5 .rv { transition-delay: calc(var(--d, 0ms) + 280ms); }
/* legal pages: painted light all around, the text on a quiet card */
.legal-paint { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.legal-page { background: #0b0b0c; isolation: isolate; }
.legal-page::before { content: ''; position: fixed; inset: 0; z-index: -1; background: rgba(8, 8, 9, 0.28); pointer-events: none; }
.legal-box { background: rgba(20, 20, 22, 0.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 24px 64px rgba(0, 0, 0, 0.35); }
.legal-nav a[aria-current="page"] { background: rgba(14, 14, 15, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal-foot { color: rgba(255, 255, 255, 0.7); }
.legal-page .legal-nav a { color: rgba(255, 255, 255, 0.82); }

/* ---------- studio without the left panel: a small card with the logo and the look, the looks in a popover ---------- */
.look-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 0; border-radius: 9px; color: inherit; }
.look-btn svg { width: 12px; height: 12px; color: var(--faint); transition: transform .15s; }
.look-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (min-width: 1001px) {
  .win.full .body::before { display: none; }
  .win.full .tb-left { width: auto; height: 48px; padding: 0 8px 0 16px; border-radius: 16px; background: #161618;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 1px 1px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.45); }
  .win.full .tb-left .title { padding-left: 12px; }
  .win.full .look-btn { padding-right: 6px; }
  .win.full .look-btn:hover { background: rgba(255, 255, 255, 0.05); }
  .win.full .look-btn:hover .title { color: var(--text); }
  .win.full .side { display: none; }
  .win.full .side.open { display: block; z-index: 30; top: calc(var(--gap) + 56px); bottom: auto; width: 264px; max-height: calc(100% - var(--gap) * 2 - 56px);
    padding: 6px; border-radius: 16px; background: #1c1c1f; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.55); animation: pop .14s cubic-bezier(.2, .8, .2, 1); }
  .win.full .view { padding-left: calc(var(--gap) + 32px); padding-top: calc(var(--gap) + 48px + 24px); }
  .win.full .hint { left: var(--gap); }
}
@supports (corner-shape: squircle) { @media (min-width: 1001px) { .win.full .tb-left { border-radius: 20px; } .win.full .side.open { border-radius: 22px; } .look-btn { border-radius: 11px; } } }
#materials .looks-head { justify-content: center; }

/* ---------- studio: the logo and the look picker open the right panel; nothing floats on the left ---------- */
@media (min-width: 1001px) {
  .win.full { --r1: 50px; --r2: 44px; }
  .win.full .tb-left { left: auto; right: var(--gap); top: var(--gap); width: var(--insp-w); height: var(--r1); z-index: 6;
    padding: 0 10px 0 16px; justify-content: space-between; background: none; box-shadow: none; border-radius: 0; }
  .win.full .tb-left .look-btn { min-width: 0; max-width: 168px; height: 32px; padding: 0 9px 0 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
  .win.full .tb-left .look-btn:hover { background: rgba(255, 255, 255, 0.08); }
  .win.full .tb-left .look-btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }
  .win.full .tb-left .title { padding-left: 0; box-shadow: none; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.embed .win.full .tb-left { justify-content: flex-start; }
  .win.full .tb-right { top: calc(var(--gap) + var(--r1)); height: var(--r2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  .win.full .seg { top: calc(var(--gap) + var(--r1) + var(--r2) - 2px); }
  .win.full .insp { top: calc(var(--gap) + var(--r1) + var(--r2) + 36px); }
  .win.full .side.open { left: auto; right: calc(var(--gap) + 10px); top: calc(var(--gap) + var(--r1) - 4px); width: calc(var(--insp-w) - 20px); }
  .win.full .view { padding-top: 40px; }
}
@supports (corner-shape: squircle) { @media (min-width: 1001px) { .win.full .tb-left { border-radius: 0; } .win.full .tb-left .look-btn { border-radius: 12px; } } }
/* inside the homepage the looks stay in a panel on the left: a visitor sees at once what there is to try */
@media (min-width: 1001px) {
  body.embed .win.full .body::before { display: block; }
  body.embed .win.full .side, body.embed .win.full .side.open { display: block; position: absolute; z-index: 4; left: var(--gap); right: auto; top: var(--gap); bottom: var(--gap);
    width: var(--side-w); max-height: none; padding: 8px 6px 10px; background: none; box-shadow: none; border-radius: 0; animation: none; }
  body.embed .win.full .tb-left { display: none; }
  body.embed .win.full .tb-right { top: var(--gap); box-shadow: none; }
  body.embed .win.full .seg { top: calc(var(--gap) + var(--r2) - 2px); }
  body.embed .win.full .insp { top: calc(var(--gap) + var(--r2) + 36px); }
  body.embed .win.full .view { padding-left: calc(var(--side-w) + var(--gap) + 32px); }
  body.embed .win.full .hint { left: calc(var(--side-w) + var(--gap)); }
}

/* ---------- right panel head: logo and tools on top, then the look picker across the whole panel, with a picture of the look ---------- */
.lb-thumb, .lb-group { display: none; }
.menu.locked button.free em::before { display: none; }
.photo-row { margin-bottom: 4px; }
.use-photo .up-ico { width: 30px; height: 20px; display: grid; place-items: center; flex: none; border-radius: 5px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.use-photo .up-ico svg { width: 14px; height: 14px; }
@media (min-width: 1001px) {
  .win.full { --r1: 50px; --r2: 56px; }
  .win.full .tb-left { display: grid; grid-template-rows: var(--r1) var(--r2); align-items: center; justify-content: stretch; height: calc(var(--r1) + var(--r2)); padding: 0 10px; }
  .win.full .tb-left .home { justify-self: start; padding-left: 6px; }
  .win.full .tb-left .look-btn { width: 100%; max-width: none; height: 48px; padding: 0 12px 0 8px; gap: 11px; justify-content: flex-start; text-align: left; }
  .win.full .lb-thumb { display: block; flex: none; width: 46px; height: 32px; border-radius: 8px; outline: 0.5px solid rgba(255, 255, 255, 0.16); outline-offset: -0.5px; }
  .win.full .lb-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; line-height: 17px; }
  .win.full .lb-text .title { font-size: 13.5px; font-weight: 500; }
  .win.full .lb-group { display: block; font-size: 11.5px; color: var(--faint); }
  .win.full .tb-left .look-btn > svg { flex: none; margin-left: auto; }
  .win.full .tb-right { top: var(--gap); right: var(--gap); left: auto; width: auto; height: var(--r1); padding: 0 10px; z-index: 7; background: none; box-shadow: none; }
  .win.full .tb-right #photoBtn, .win.full .tb-right #share { display: none; }
  .win.full .tb-right .menu-wrap { margin-left: 4px; }
  .win.full .seg { top: calc(var(--gap) + var(--r1) + var(--r2) + 4px); }
  .win.full .insp { top: calc(var(--gap) + var(--r1) + var(--r2) + 42px); }
  .win.full .side.open { top: calc(var(--gap) + var(--r1) + var(--r2) - 2px); }
  body.embed .win.full .tb-right { top: var(--gap); height: var(--r1); }
  body.embed .win.full .seg { top: calc(var(--gap) + var(--r1) - 2px); }
  body.embed .win.full .insp { top: calc(var(--gap) + var(--r1) + 36px); }
}
@supports (corner-shape: squircle) { @media (min-width: 1001px) { .win.full .lb-thumb { border-radius: 10px; } .win.full .tb-left .look-btn { border-radius: 14px; } } }
@media (min-width: 1001px) { .win.full .side.open { top: calc(var(--gap) + var(--r1) + var(--r2) + 4px); } }
/* more air between the look picker and the formats under it */
@media (min-width: 1001px) {
  .win.full .seg { top: calc(var(--gap) + var(--r1) + var(--r2) + 26px); }
  .win.full .insp { top: calc(var(--gap) + var(--r1) + var(--r2) + 64px); }
  body.embed .win.full .seg { top: calc(var(--gap) + var(--r1) - 2px); }
  body.embed .win.full .insp { top: calc(var(--gap) + var(--r1) + 36px); }
}
body.embed .photo-row { display: none; }

/* ---------- variations ---------- */
.view { position: relative; }
.var-btn { position: absolute; z-index: 5; left: 50%; top: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 11px; border-radius: 10px;
  font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(28, 28, 31, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); transition: background-color .15s; }
.var-btn:hover, .var-btn[aria-expanded="true"] { background: rgba(44, 44, 48, 0.9); }
.var-btn svg { width: 13px; height: 13px; fill: currentColor; opacity: .85; }
.var-panel { position: absolute; z-index: 6; inset: 52px 24px 24px; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 18px; overflow: auto;
  background: rgba(16, 16, 18, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 24px 64px rgba(0, 0, 0, 0.5); animation: pop .16s cubic-bezier(.2, .8, .2, 1); }
.var-panel[hidden] { display: none; }
.var-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.var-head b { font-size: 14px; font-weight: 600; }
.var-act { display: flex; gap: 6px; }
.var-act button { height: 30px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.var-act button:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.var-act .var-again { color: #111; background: #f2f2f2; }
.var-act .var-again:hover { color: #111; background: #fff; }
.var-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.var-card { display: flex; flex-direction: column; gap: 7px; padding: 0; text-align: left; }
.var-card canvas { display: block; width: 100%; aspect-ratio: var(--ar, 16 / 9); max-height: 34vh; border-radius: 10px; outline: 0.5px solid rgba(255, 255, 255, 0.12); outline-offset: -0.5px; transition: outline-color .15s, transform .15s; }
.var-card:hover canvas { outline: 1.5px solid #fff; transform: scale(1.01); }
.var-card span { font-size: 12px; color: var(--muted); }
.var-card:hover span { color: var(--text); }
@media (min-width: 1001px) {
  /* centred over the canvas: the studio has only the right panel, the homepage embed has both */
  .win.full .var-btn { left: calc((100% - var(--insp-w) - var(--gap)) / 2); top: 12px; }
  body.embed .win.full .var-btn { left: calc(var(--side-w) + var(--gap) + (100% - var(--side-w) - var(--insp-w) - var(--gap) * 2) / 2); }
  .win.full .var-panel { left: calc(var(--gap) + 24px); right: calc(var(--insp-w) + var(--gap) + 24px); top: 56px; bottom: 24px; }
  body.embed .win.full .var-panel { left: calc(var(--side-w) + var(--gap) + 24px); }
}
@supports (corner-shape: squircle) { .var-btn { border-radius: 12px; } .var-panel { border-radius: 26px; } .var-card canvas { border-radius: 13px; } }
@media (max-width: 1000px) { .var-panel { inset: 48px 8px 8px; } .var-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* first visit: one light pulses until you touch something */
.handle.coach::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85); animation: coach 1.6s ease-out infinite; pointer-events: none; }
@keyframes coach { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .handle.coach::after { animation: none; opacity: .6; } }
.var-panel { bottom: auto !important; max-height: calc(100% - 80px); }

/* ================= look pages: the look full screen, what it is, and a way into the studio ================= */
.lk-page { background: #0b0b0c; }
.lk-hero { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.lk-paint { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.lk-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.lk-top-static { position: static; padding: 18px 24px; }
.lk-top nav { display: flex; align-items: center; gap: 4px; }
.lk-top nav a:not(.pill) { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.lk-top nav a:not(.pill):hover { color: #fff; }
.lk-top .brandmark .mark { width: 26px; height: 26px; }
.lk-top .brandmark .wordmark { font-size: 18px; color: #fff; }
.lk-info { position: absolute; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px)); padding: 22px 24px; border-radius: 20px; color: #fff;
  background: rgba(14, 14, 15, 0.52); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 24px 64px rgba(0, 0, 0, 0.3); }
.lk-kind { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.lk-info h1 { margin: 6px 0 0; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; }
.lk-info p { margin: 8px 0 0; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.82); }
.lk-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lk-facts { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.lk-facts dt { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.lk-facts dd { margin: 2px 0 0; font-size: 13px; color: #fff; }
.lk-more { padding-top: 72px; padding-bottom: 24px; }
.lk-more h2, .lk-group h2 { margin: 0 0 16px; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.012em; }
.lk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lk-card { display: flex; flex-direction: column; gap: 8px; color: var(--text); }
.lk-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; outline: 0.5px solid rgba(255, 255, 255, 0.1); outline-offset: -0.5px; transition: transform .2s; }
.lk-card:hover img { transform: scale(1.012); }
.lk-cap { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.lk-cap b { font-weight: 500; }
.lk-cap span { color: var(--faint); }
.lk-note { margin-top: -4px; font-size: 13px; line-height: 19px; color: var(--muted); }
.lk-head { padding: 48px 0 32px; max-width: 640px; }
.lk-head h1 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; }
.lk-head p { margin: 12px 0 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.lk-group { margin-bottom: 48px; }
.lk-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 12.5px; color: var(--faint); }
.lk-foot nav { display: flex; gap: 16px; }
.lk-foot a:hover { color: #fff; }
@supports (corner-shape: squircle) { .lk-info { border-radius: 28px; } .lk-card img { border-radius: 20px; } }
@media (max-width: 760px) {
  .lk-grid { grid-template-columns: 1fr 1fr; }
  .lk-info { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
  .lk-info h1 { font-size: 32px; line-height: 36px; }
  .lk-facts { grid-template-columns: 1fr 1fr; }
  .lk-top { padding: 14px 16px; } .lk-top nav a:not(.pill) { display: none; }
}

/* ---------- phone header: logo on the left, a menu on the right ---------- */
.menu-btn { display: none; }
.mnav[hidden] { display: none; }
@media (max-width: 760px) {
  .hero5-side { width: auto; }
  .top3 { grid-template-columns: 1fr auto; padding-left: 20px; padding-right: 12px; }
  .top3 .brand { grid-column: 1; justify-self: start; }
  .menu-btn { grid-column: 2; grid-row: 1; justify-self: end; display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 12px; }
  .menu-btn span { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: #fff; transition: transform .2s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .bar { left: 12px; right: 12px; width: auto; transform: none; justify-content: space-between; }
  .bar.on { transform: none; }
  .bar > .pill { display: none; }
  .bar .menu-btn { display: grid; width: 34px; height: 34px; }
  .mnav { position: fixed; z-index: 60; left: 12px; right: 12px; top: 64px; display: flex; flex-direction: column; padding: 8px; border-radius: 22px;
    background: rgba(20, 20, 22, 0.94); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 24px 64px rgba(0, 0, 0, 0.5); animation: pop .16s cubic-bezier(.2, .8, .2, 1); }
  .mnav a:not(.pill) { display: flex; align-items: center; height: 48px; padding: 0 14px; border-radius: 12px; font-size: 17px; font-weight: 500; color: #fff; }
  .mnav a:not(.pill):active { background: rgba(255, 255, 255, 0.06); }
  .mnav .pill { justify-content: center; margin: 8px 6px 6px; height: 46px; border-radius: 14px; font-size: 15px; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .mnav { border-radius: 28px; } .menu-btn { border-radius: 14px; } } }
@media (max-width: 760px) { .mnav { align-items: stretch; text-align: left; } .mnav a:not(.pill) { justify-content: flex-start; } .mnav .pill { align-self: stretch; display: flex; } }
.sec-title p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; } .sec-title p a:hover { text-decoration-color: currentColor; }
@media (max-width: 1000px) { .var-panel { position: fixed; top: 60px !important; left: 8px; right: 8px; bottom: 8px !important; max-height: none; z-index: 80; } .var-card canvas { max-height: none; } }
@media (max-width: 1000px) { .var-panel { bottom: auto !important; max-height: calc(100% - 68px); } }

/* drawn shapes (t: 'draw', made outside the studio for now): their editor rows */
.se-kind[hidden], .shape-edit .row[hidden] { display: none !important; }

/* homepage: a little more air around the top bar; the panels give back the same 32px so the headline stays above the fold */
.top3 { height: 96px; }
@media (min-width: 761px) { .hero5 .panels { height: clamp(440px, calc(100svh - 312px), 720px); } }
@media (max-width: 760px) { .top3 { height: 80px; } .mnav { top: 76px; } }

/* compact bar: more room after the logo and before the button */
@media (min-width: 761px) {
  .bar { padding-left: 16px; }
  .bar .brand { margin-right: 14px; }
  .bar > .pill { margin-left: 16px; }
}

/* read by screen readers and search engines, not shown */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* touch screens: every control is at least 40px to the finger. Buttons grow a little; small text links and
   the logo get a larger invisible hit area, so the layout does not move */
@media (pointer: coarse) {
  .pill { min-height: 40px; }
  .shp-seg button, .emb-pick button, .code10-seg button, .emb-grip { min-height: 36px; }
  .tweak-open { min-height: 40px; }
  .menu-btn { min-width: 40px; min-height: 40px; }
  .foot2-cols div { gap: 0; }
  .foot2-cols a { display: flex; align-items: center; min-height: 40px; }
  .brand, .lk-page nav a:not(.pill) { position: relative; }
  .brand::after, .lk-page nav a:not(.pill)::after { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 40px; margin-top: -20px; }
}

/* ---------- phone hero: the looks in a row at full width, swiped with a finger; they move on by themselves until touched ---------- */
.hp-dots { display: none; }
@media (max-width: 760px) {
  .hero5 .panels { display: flex; gap: 8px; margin: 0 12px; height: min(480px, 62svh); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; }
  .hero5 .panels::-webkit-scrollbar { display: none; }
  .hero5 .hp, .hero5 .hp.on { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .hero5 .hp::after { background: rgba(6, 6, 7, 0) !important; }
  .hero5 .hp .hp-cap { display: flex !important; left: 20px; bottom: 18px; font-size: 13px; }
  .rv-on .hero5 .hp { animation: none; }
  .rv-on .hero5 .panels { animation: hpIn .8s cubic-bezier(.25, .8, .25, 1) .06s both; }
  .hp-dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
  .hp-dots button { width: 28px; height: 28px; display: grid; place-items: center; }
  .hp-dots button::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); transition: width .3s, background-color .3s; }
  .hp-dots button[aria-current="true"]::before { width: 18px; background: #fff; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .hero5 .panels { border-radius: 24px; } } }

/* ---------- phone menu: the whole screen painted with the hero's look, large links in the middle ---------- */
@media (max-width: 760px) {
  html.mnav-open { overflow: hidden; }
  .mnav { position: fixed; inset: 0; z-index: 200; top: 0; left: 0; right: 0; display: flex; flex-direction: column; gap: 0; isolation: isolate;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 0 !important; box-shadow: none; background: #0b0b0c;
    animation: mnavIn .28s cubic-bezier(.2, .8, .2, 1); }
  .mnav-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; opacity: 0; transition: opacity 1.4s ease; }
  .mnav-art.on { opacity: 1; }
  .mnav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 9, 0.38); }
  .mnav-top { flex: none; display: flex; align-items: center; justify-content: space-between; height: 80px; }
  .mnav-top .menu-btn { display: grid; }
  .mnav-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 40px; }
  .mnav-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .mnav .mnav-links a { justify-content: center; height: 58px; padding: 0 16px; border-radius: 12px; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: #fff;
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25); animation: mnavItem .42s cubic-bezier(.2, .8, .2, 1) both; }
  .mnav .mnav-links a:nth-child(2) { animation-delay: 30ms; } .mnav .mnav-links a:nth-child(3) { animation-delay: 60ms; }
  .mnav .mnav-links a:nth-child(4) { animation-delay: 90ms; } .mnav .mnav-links a:nth-child(5) { animation-delay: 120ms; }
  .mnav .mnav-links a:active { background: none; opacity: .6; }
  .mnav .pill.big { flex: none; display: flex; justify-content: center; align-self: stretch; height: 52px; margin: 0; border-radius: 16px; font-size: 16px; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .mnav { border-radius: 0 !important; } .mnav .pill.big { border-radius: 20px; } } }
@keyframes mnavIn { from { opacity: 0; } }
@keyframes mnavItem { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .mnav, .mnav .mnav-links a { animation: none !important; } }

/* ---------- phones: one 16px gutter on every side, everywhere ---------- */
@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top { padding: 0 16px; }
  .top3 .menu-btn, .mnav-top .menu-btn { margin-right: -8px; }
  .mnav-top { margin: 0; }
  .hero5-head { padding-left: 16px; padding-right: 16px; }
  .hero5 .panels { margin: 0 16px; }
  .hero5 > .tweak { margin: 10px 16px 0; }
  .foot9.wrap { padding-left: 16px; padding-right: 16px; }
  .foot9-box { padding-left: 16px; padding-right: 16px; }
  .foot9 .foot2-base { flex-direction: row; justify-content: space-between; align-items: center; }
  .bar { left: 16px; right: 16px; }
}
/* phones: no slider box under the hero, the looks speak for themselves */
@media (max-width: 760px) { .hero5 > .tweak, .hero5 .tweak { display: none !important; } }
/* phones: the floating bar is taller and reads as glass over the paint */
@media (max-width: 760px) {
  .bar { top: 10px; height: 56px; padding: 0 8px 0 16px; border-radius: 20px;
    background: rgba(22, 22, 24, 0.34); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.3); }
  .bar .menu-btn { width: 40px; height: 40px; margin-right: 0; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .bar { border-radius: 26px; } } }

/* ---------- phones: the studio as a wallpaper maker, in three tabs ---------- */
body.wall-on .win { display: none; }
.wall { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; gap: 12px; background: #0b0b0c; color: #fff;
  padding: calc(10px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.wall-top { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.wall-btn, .wall-btn-space { flex: none; width: 44px; height: 44px; }
.wall-btn { display: grid; place-items: center; border-radius: 22px; color: #fff;
  background: rgba(20, 20, 22, 0.34); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.wall-btn svg { width: 18px; height: 18px; }
.wall-name { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3); }
.wall-name b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.wall-name span { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
/* the picture: framed at the format's shape, or behind everything for this phone */
.wall-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.wall-paint { display: block; border-radius: 18px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.4); }
.wall.full .wall-paint { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; z-index: 0; }
.wall-sheet { position: relative; z-index: 2; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 8px 12px 12px; border-radius: 28px;
  background: rgba(16, 16, 18, 0.5); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.3); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.wall:not(.full) .wall-sheet { background: #161618; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* tabs: three equal, easy to hit */
.wall-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); }
.wall-tabs button { height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 14px; font-size: 11.5px; line-height: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.62); }
.wall-tabs button svg { width: 22px; height: 22px; display: block; }
.wall-tabs button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.16); }
.wall-panel { display: flex; flex-direction: column; gap: 12px; min-height: 124px; }
.wall-panel[hidden] { display: none; }
/* Adjust: chips for the setting, then one tall slider */
.wall-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
.wall-chips::-webkit-scrollbar { display: none; }
.wall-chips button { flex: none; height: 44px; padding: 0 16px; border-radius: 22px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.wall-chips button[aria-checked="true"] { color: #111; background: #fff; box-shadow: none; }
.wall-row { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 22px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.08); font-size: 17px; font-weight: 500; touch-action: none; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.wall-row .f { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, 0.18); pointer-events: none; }
.wall-row.drag .f { background: rgba(255, 255, 255, 0.26); }
.wall-row span, .wall-row output { position: relative; }
.wall-row output { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.85); }
.wall-row:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 0; }
/* Colour */
.wall-swatches { display: flex; gap: 10px; justify-content: center; padding: 6px 0 2px; }
.wall-sw { position: relative; flex: none; width: 48px; height: 48px; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); cursor: pointer; }
.wall-sw:last-child { margin-left: 6px; }
.wall-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wall-two .pill.big { display: flex; gap: 8px; height: 52px; border-radius: 18px; font-size: 15px; }
.wall-two svg { width: 16px; height: 16px; }
/* Format: four cards with the shape drawn small */
.wall-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wall-formats button { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  height: 58px; padding: 0 14px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: #fff; }
.wall-formats button[aria-checked="true"] { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px #fff; }
.wall-formats i { grid-row: 1 / 3; justify-self: center; max-width: 26px; max-height: 26px; width: 26px; border-radius: 4px; border: 1.5px solid currentColor; }
.wall-formats button[data-f="phone"] i, .wall-formats button[data-f="story"] i { width: auto; height: 26px; }
.wall-formats b { font-size: 15px; font-weight: 500; align-self: end; }
.wall-formats span { font-size: 12px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; align-self: start; }
.wall-save.pill.big { display: flex; height: 54px; border-radius: 18px; font-size: 16px; }
.wall-fine { margin: -4px 0 0; text-align: center; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.6); }
.wall.clean .wall-top { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.wall.clean .wall-sheet { opacity: 0; transform: translateY(16px); pointer-events: none; }
@supports (corner-shape: squircle) { .wall-sheet { border-radius: 38px; } .wall-row { border-radius: 26px; } .wall-tabs { border-radius: 24px; } .wall-tabs button { border-radius: 18px; }
  .wall-formats button, .wall-two .pill.big, .wall-save.pill.big { border-radius: 24px; } .wall-paint { border-radius: 26px; } .wall.full .wall-paint { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .wall-top, .wall-sheet { transition: none; } }
/* the unlock card sits over the wallpaper maker as a sheet from the bottom */
body.wall-on .pro-scrim { position: fixed; z-index: 400; }
body.wall-on .pro-card { position: fixed; z-index: 401; left: 16px; right: 16px; top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; max-width: none; transform: none; max-height: calc(100svh - 32px); }

/* phones: the studio is made for a computer, so the homepage leaves out the band that embeds it */
@media (max-width: 760px) { #studio.studio4 { display: none; } }
/* phones: the floating bar is a narrow pill in the middle, just the logo and the menu */
@media (max-width: 760px) {
  .bar { left: 50%; right: auto; width: auto; gap: 28px; justify-content: center; transform: translate(-50%, -10px); }
  .bar.on { transform: translate(-50%, 0); }
}
body.wall-on .pro-card { animation: sheetUp .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheetUp { from { opacity: 0; transform: translateY(24px); } }
/* phones: one rhythm for every section, titles on the left like the rest of the page */
@media (max-width: 760px) {
  .cmp-sec, .shp, .emb, .pricing, .faq2 { padding-top: 72px; }
  .foot9 { margin-top: 72px; }
  .cmp-sec .sec-title.center, .pricing .sec-title.center { text-align: left; align-items: flex-start; margin-left: 0; margin-right: 0; }
  .cmp-sec .sec-title.center p, .pricing .sec-title.center p { margin-left: 0; margin-right: 0; }
  .cmp-sec .cmp { margin-top: 20px; height: auto; aspect-ratio: 4 / 5; }
  /* the studio band is not on phones, so nothing points to it */
  .hero5-side .cta a[href="#studio"] { display: none; }
}
/* phones: no example page inside the phone; the section is the words and the code itself */
@media (max-width: 760px) {
  #code .emb-stage { display: none; }
  #code .emb-box { margin-top: 20px; }
  #code .emb-side .code10-code { height: auto; }
  #code .code10-code.snip pre { padding-top: 18px; padding-bottom: 20px; justify-content: flex-start; }
}
/* the menu button: two short brush strokes, each with its own wobble, a loaded thick start and a dry tail; they cross into an X when the menu is open */
@media (max-width: 760px) {
  .menu-btn { gap: 2px; }
  .menu-btn span { width: 24px; height: 10px; border-radius: 0; background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1.20 4.93 L1.97 4.81 L2.74 4.52 L3.51 4.32 L4.29 4.29 L5.06 3.92 L5.83 3.72 L6.60 3.66 L7.37 3.25 L8.14 3.03 L8.91 2.64 L9.69 2.39 L10.46 2.01 L11.23 1.93 L12.00 1.85 L12.77 1.72 L13.54 1.80 L14.31 1.88 L15.09 1.91 L15.86 2.31 L16.63 2.55 L17.40 2.79 L18.17 3.04 L18.94 3.56 L19.71 3.90 L20.49 4.37 L21.26 4.77 L22.03 5.05 L22.80 5.39 L22.80 6.50 L22.03 6.41 L21.26 6.38 L20.49 6.26 L19.71 6.12 L18.94 6.17 L18.17 5.82 L17.40 5.76 L16.63 5.73 L15.86 5.71 L15.09 5.52 L14.31 5.66 L13.54 5.70 L12.77 5.69 L12.00 5.83 L11.23 5.85 L10.46 5.82 L9.69 6.05 L8.91 6.14 L8.14 6.37 L7.37 6.44 L6.60 6.75 L5.83 6.76 L5.06 6.97 L4.29 7.23 L3.51 7.09 L2.74 7.12 L1.97 7.23 L1.20 7.13Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1.20 4.93 L1.97 4.81 L2.74 4.52 L3.51 4.32 L4.29 4.29 L5.06 3.92 L5.83 3.72 L6.60 3.66 L7.37 3.25 L8.14 3.03 L8.91 2.64 L9.69 2.39 L10.46 2.01 L11.23 1.93 L12.00 1.85 L12.77 1.72 L13.54 1.80 L14.31 1.88 L15.09 1.91 L15.86 2.31 L16.63 2.55 L17.40 2.79 L18.17 3.04 L18.94 3.56 L19.71 3.90 L20.49 4.37 L21.26 4.77 L22.03 5.05 L22.80 5.39 L22.80 6.50 L22.03 6.41 L21.26 6.38 L20.49 6.26 L19.71 6.12 L18.94 6.17 L18.17 5.82 L17.40 5.76 L16.63 5.73 L15.86 5.71 L15.09 5.52 L14.31 5.66 L13.54 5.70 L12.77 5.69 L12.00 5.83 L11.23 5.85 L10.46 5.82 L9.69 6.05 L8.91 6.14 L8.14 6.37 L7.37 6.44 L6.60 6.75 L5.83 6.76 L5.06 6.97 L4.29 7.23 L3.51 7.09 L2.74 7.12 L1.97 7.23 L1.20 7.13Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
  .menu-btn span:last-child {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1.20 4.36 L1.97 3.93 L2.74 3.48 L3.51 2.89 L4.29 2.47 L5.06 2.08 L5.83 1.89 L6.60 1.56 L7.37 1.54 L8.14 1.52 L8.91 1.82 L9.69 2.00 L10.46 2.14 L11.23 2.72 L12.00 3.11 L12.77 3.43 L13.54 3.80 L14.31 4.03 L15.09 4.26 L15.86 4.58 L16.63 4.56 L17.40 4.59 L18.17 4.51 L18.94 4.30 L19.71 4.34 L20.49 4.25 L21.26 4.25 L22.03 4.08 L22.80 4.04 L22.80 5.47 L22.03 5.87 L21.26 6.36 L20.49 6.64 L19.71 6.96 L18.94 7.12 L18.17 7.23 L17.40 7.24 L16.63 7.18 L15.86 7.23 L15.09 7.00 L14.31 6.91 L13.54 6.88 L12.77 6.73 L12.00 6.63 L11.23 6.47 L10.46 6.08 L9.69 6.09 L8.91 5.99 L8.14 5.72 L7.37 5.70 L6.60 5.63 L5.83 5.81 L5.06 5.83 L4.29 5.81 L3.51 5.75 L2.74 5.91 L1.97 6.00 L1.20 6.12Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1.20 4.36 L1.97 3.93 L2.74 3.48 L3.51 2.89 L4.29 2.47 L5.06 2.08 L5.83 1.89 L6.60 1.56 L7.37 1.54 L8.14 1.52 L8.91 1.82 L9.69 2.00 L10.46 2.14 L11.23 2.72 L12.00 3.11 L12.77 3.43 L13.54 3.80 L14.31 4.03 L15.09 4.26 L15.86 4.58 L16.63 4.56 L17.40 4.59 L18.17 4.51 L18.94 4.30 L19.71 4.34 L20.49 4.25 L21.26 4.25 L22.03 4.08 L22.80 4.04 L22.80 5.47 L22.03 5.87 L21.26 6.36 L20.49 6.64 L19.71 6.96 L18.94 7.12 L18.17 7.23 L17.40 7.24 L16.63 7.18 L15.86 7.23 L15.09 7.00 L14.31 6.91 L13.54 6.88 L12.77 6.73 L12.00 6.63 L11.23 6.47 L10.46 6.08 L9.69 6.09 L8.91 5.99 L8.14 5.72 L7.37 5.70 L6.60 5.63 L5.83 5.81 L5.06 5.83 L4.29 5.81 L3.51 5.75 L2.74 5.91 L1.97 6.00 L1.20 6.12Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(42deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-46deg); }
}
/* phones: the colour palette inside the Colour tab, solid chips sized for a finger */
.wall-sw { border: 0; padding: 0; }
.wall-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #161618, 0 0 0 4px #fff; }
.wall-pick { display: flex; flex-direction: column; gap: 10px; }
.wall-pick[hidden], .wall-two[hidden] { display: none; }
/* six and a half columns show, so the cut-off one says there is more to the side */
.wall-pick-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: calc((100% - 36px) / 6.45); gap: 6px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0 -12px; padding: 0 12px; scroll-padding: 0 12px; overscroll-behavior-x: contain; }
.wall-pick-grid::-webkit-scrollbar { display: none; }
.wall-pick-grid button { width: 100%; height: auto; aspect-ratio: 1; scroll-snap-align: start; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.wall-pick-grid button[aria-checked="true"] { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px rgba(0, 0, 0, 0.35); }
.wall-pick .pill.big { display: flex; height: 48px; border-radius: 16px; font-size: 15px; }
@supports (corner-shape: squircle) { .wall-pick-grid button { border-radius: 18px; } .wall-pick .pill.big { border-radius: 20px; } }
.wall.picking .wall-save, .wall.picking .wall-fine { display: none; }
/* the picked colour's fine-tuning: three slimmer rows, still a full width to drag along */
.wall-tune { display: flex; flex-direction: column; gap: 6px; }
.wall-row.slim { height: 50px; padding: 0 18px; border-radius: 16px; font-size: 15px; }
@supports (corner-shape: squircle) { .wall-row.slim { border-radius: 20px; } }
/* phones: the open menu's logo and close button sit exactly where the header's logo and menu button are
   (the menu's link styles must not pad the logo) */
@media (max-width: 760px) { .mnav .mnav-top .brand { padding: 0; height: auto; border-radius: 0; } }
/* phones: the looks page shows one look per row at the full width, so each painting reads */
@media (max-width: 760px) {
  .lk-grid { grid-template-columns: 1fr; gap: 28px; }
  .lk-card { gap: 10px; }
  .lk-card img { border-radius: 18px; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .lk-card img { border-radius: 26px; } } }

/* ---------- phone menu v2: the painting all round, the links on one frosted card like a phone's own lists ---------- */
@media (max-width: 760px) {
  .mnav::before { background: rgba(8, 8, 9, 0.3); }
  .mnav-body { align-items: center; justify-content: stretch; padding: 0 0 20px; }
  .mnav-links { width: 100%; align-items: stretch; gap: 0; padding: 6px; border-radius: 26px;
    background: rgba(14, 14, 16, 0.42); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 24px 60px rgba(0, 0, 0, 0.3); }
  .mnav .mnav-links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; padding: 0 18px;
    border-radius: 20px; font-family: 'Inter', var(--sans); font-optical-sizing: auto; font-size: 20px; line-height: 1; font-weight: 500; letter-spacing: -0.022em;
    color: #fff; text-shadow: none; -webkit-tap-highlight-color: transparent; transition: background-color .16s ease, transform .16s ease; }
  .mnav .mnav-links a + a::before { content: ''; position: absolute; left: 18px; right: 18px; top: 0; height: 0.5px; background: rgba(255, 255, 255, 0.14); transition: opacity .16s; }
  .mnav .mnav-links a small { font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
  /* a tap answers at once: the row lights up and gives a little, the hairlines around it step back */
  .mnav .mnav-links a:active, .mnav .mnav-links a.press { background: rgba(255, 255, 255, 0.14); transform: scale(0.985); opacity: 1; }
  .mnav .mnav-links a:active::before, .mnav .mnav-links a.press::before, .mnav .mnav-links a:active + a::before, .mnav .mnav-links a.press + a::before { opacity: 0; }
  .mnav .pill.big { -webkit-tap-highlight-color: transparent; transition: transform .16s ease, background-color .16s ease; }
  .mnav .pill.big:active { transform: scale(0.98); }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .mnav-links { border-radius: 34px; } .mnav .mnav-links a { border-radius: 26px; } } }

/* ---------- phone hero: two rows of looks drifting past each other ---------- */
.hero-drift { display: none; }
@media (max-width: 760px) {
  .hero5 .panels, .hero5 .hp-dots { display: none !important; }
  .hero-drift { display: flex; flex-direction: column; gap: 8px; }
  .hd-row { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .hd-row::-webkit-scrollbar { display: none; }
  .hd-track { display: flex; gap: 8px; width: max-content; padding: 0 4px; }
  .hd-card { position: relative; flex: none; width: 148px; height: 196px; overflow: hidden; isolation: isolate; border-radius: 18px; background: #0c0c0e;
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); -webkit-tap-highlight-color: transparent; transition: transform .16s ease; }
  .hd-card:active { transform: scale(0.97); }
  .hd-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
  .hd-card span { position: absolute; left: 12px; bottom: 10px; font-size: 12.5px; font-weight: 500; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
  .hd-row:nth-child(2) .hd-card { width: 172px; height: 150px; }
  .rv-on .hero-drift { animation: hpIn .8s cubic-bezier(.25, .8, .25, 1) .06s both; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .hd-card { border-radius: 26px; } } }

/* ---------- phone studio: editing a colour stays compact, so the picture keeps most of the screen ---------- */
.wall-pick-head { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 4px 0 8px; }
.wall-pick-head[hidden] { display: none; }
.wall-pick-head b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.wall-done { height: 40px; padding: 0 18px; border-radius: 20px; font-size: 15px; font-weight: 600; color: #111; background: #fff; -webkit-tap-highlight-color: transparent; }
.wall-done:active { transform: scale(0.97); }
.wall.picking .wall-tabs { display: none; }
.wall.picking .wall-panel { min-height: 0; gap: 10px; }
.wall.picking .wall-swatches { padding: 0; gap: 8px; }
.wall.picking .wall-sw { width: 40px; height: 40px; }
/* one row of colours that scrolls sideways: pale, middle and deep of each hue side by side */
.wall.picking .wall-pick-grid { grid-template-rows: 44px; grid-auto-columns: 44px; gap: 6px; }
.wall.picking .wall-pick-grid button { width: 44px; height: 44px; aspect-ratio: auto; border-radius: 12px; }
.wall-tune-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); }
.wall-tune-seg button { height: 36px; border-radius: 11px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.65); -webkit-tap-highlight-color: transparent; }
.wall-tune-seg button[aria-checked="true"] { color: #fff; background: rgba(255, 255, 255, 0.16); }
.wall-tune .wall-row[hidden] { display: none; }
.wall.picking .wall-row.slim { height: 54px; }
@supports (corner-shape: squircle) { .wall.picking .wall-pick-grid button { border-radius: 16px; } .wall-tune-seg { border-radius: 18px; } .wall-tune-seg button { border-radius: 14px; } }

/* phones: the footer card runs edge to edge, its words on the same 16px line as the rest of the page */
@media (max-width: 760px) {
  .foot9.wrap { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .foot9-box { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .foot9-box { border-radius: 28px 28px 0 0; padding-left: 16px; padding-right: 16px; }
  .foot2-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@supports (corner-shape: squircle) { @media (max-width: 760px) { .foot9-box { border-radius: 40px 40px 0 0; } } }
/* phones: the header's logo and menu button sit a little further in from the edges (24px), the open menu's head matches */
@media (max-width: 760px) {
  .top { padding: 0 24px; }
  .mnav-top { margin: 0 8px; }
}

/* ---------- phone studio: the Move tab, dots for lights and rings for shapes over the picture ---------- */
.wall-tabs { grid-template-columns: repeat(4, 1fr); }
.wall-stage { position: relative; }
.wall-handles { position: absolute; display: none; touch-action: none; }
.wall.moving .wall-handles { display: block; }
.wh { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; touch-action: none; -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease; }
/* the finger needs more than the dot: an invisible ring around it widens the target to 48px */
.wh::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; }
.wh.dot { box-shadow: 0 0 0 2.5px #fff, 0 2px 10px rgba(0, 0, 0, 0.45); }
.wh.ring { background: transparent; box-shadow: inset 0 0 0 2.5px #fff, 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.35); }
.wh.on { transform: scale(1.25); }
.wall-hint { margin: 2px 4px 0; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.72); }
.wall-panel[data-panel="move"] .pill.big { display: flex; height: 50px; border-radius: 16px; font-size: 15px; }
@supports (corner-shape: squircle) { .wall-panel[data-panel="move"] .pill.big { border-radius: 20px; } }
.wall-save:disabled { opacity: .6; }
.wh, .wh::after, .wall-sw, .wall-swatches i { corner-shape: round; }
/* phones: the looks pages' footer, links on one line and the copyright under them */
@media (max-width: 760px) {
  .lk-foot { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 40px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-top: 0.5px solid var(--line-2, rgba(255, 255, 255, 0.1)); margin-top: 40px; }
  .lk-foot nav { order: -1; gap: 24px; }
  .lk-foot nav a { padding: 0; height: auto; font-size: 14px; color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
  .lk-foot > span { white-space: nowrap; }
}
/* looks pages: the floating bar is the header's copy; on phones it keeps the studio button and drops the text link */
.lk-bar { gap: 20px; }
.lk-bar nav { display: flex; align-items: center; gap: 4px; }
.lk-bar .brandmark .mark { width: 20px; height: 20px; }
.lk-bar .brandmark .wordmark { font-size: 15.5px; }
.lk-bar .pill { height: 34px; font-size: 13px; border-radius: 11px; }
@media (max-width: 760px) { .lk-bar nav a:not(.pill) { display: none; } .lk-bar { padding: 0 8px 0 16px; } }
/* studio: Cmd . hides the panel; the picture takes the whole window and a quiet hint says how to bring it back */
@media (min-width: 1001px) {
  .win.full.bare { --insp-w: 0px; --side-w: 0px; }
  .win.full.bare .body::before, .win.full.bare .body::after,
  .win.full.bare .tb-left, .win.full.bare .tb-right, .win.full.bare .seg, .win.full.bare .insp, .win.full.bare .side, .win.full.bare .menu { display: none; }
  .win.full.bare .hint { font-size: 0; }
  .win.full.bare .hint::after { content: 'Press ⌘ . to bring the panel back'; font-size: 12.5px; }
}
