/* Shared effects for all five preview designs, lifted from the live site. */
:root { --ease: cubic-bezier(0.22, 1, 0.36, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }
@font-face { font-family: "Pixelify Sans"; src: url("../fonts/pixelify-sans-v3-latin-wght.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
.btn .ripple {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple 0.6s var(--ease);
    pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
/* ---------- Stamp It! demo (Stamp It's own look, Chop Red) ---------- */
.sd {
    --sd-bg: #fdf5f3;
    --sd-card: #fffdfc;
    --sd-border: #ddd3d1;
    --sd-text: #5b4046;
    --sd-text-2: #75585d;
    --sd-accent: #e8503f;
    --sd-accent-text: #a8302a;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    min-height: 430px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--sd-bg);
    color: var(--sd-text);
    font: 13px/1.4 var(--body);
    box-shadow: 0 30px 60px -30px rgba(80, 20, 30, 0.45), 0 0 0 1px rgba(184, 50, 94, 0.14);
    text-align: left;
}
.sd__side {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
    background: #fefaf8;
    box-shadow: 6px 0 30px rgba(170, 90, 110, 0.16);
    z-index: 1;
}
.sd__intro { color: var(--sd-text-2); font-size: 12.5px; }
.sd__card { padding: 12px; border-radius: 14px; background: var(--sd-card); border: 1px solid var(--sd-border); display: grid; gap: 8px; }
.sd__card--row { display: flex; gap: 6px; }
.sd__h { font-weight: 700; color: var(--sd-text); }
.sd__drop {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 14px 8px;
    border: 2px dashed rgba(232, 80, 63, 0.55);
    border-radius: 10px;
    background: #fff6f4;
    text-align: center;
    transition: background 0.3s;
    min-height: 92px;
}
.sd__drop small { color: var(--sd-text-2); }
.sd__drop-icon { width: 18px; height: 18px; border-radius: 4px; background: var(--sd-accent); mask: radial-gradient(circle at 70% 30%, #000 2px, transparent 3px), linear-gradient(#000, #000); }
.sd__drop-img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; opacity: 0; background: #fff6f4; }
.sd__drop.is-filled { background: #ffeeea; }
.sd__sub { font-size: 12px; color: var(--sd-text-2); }
.sd__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sd__chip { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--sd-border); background: #fff; display: grid; place-items: center; transition: border-color 0.2s, box-shadow 0.2s; }
.sd__chip img { width: 28px; height: 28px; object-fit: contain; }
.sd__chip.is-on { border-color: var(--sd-accent); box-shadow: 0 0 0 3px rgba(232, 80, 63, 0.2); }
.sd__seg { flex: 1; text-align: center; padding: 6px 4px; border-radius: 999px; border: 1px solid var(--sd-border); background: #fff; font-weight: 600; }
.sd__seg.is-on { background: linear-gradient(135deg, #c4392b, #a83266); color: #fff; border-color: transparent; }
.sd__dl {
    justify-self: start;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c4392b, #a83266);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(232, 80, 63, 0.26);
    transition: transform 0.15s, box-shadow 0.3s;
}
.sd__dl.is-press { transform: scale(0.94); }
.sd__dl.is-done { box-shadow: 0 0 0 4px rgba(116, 220, 180, 0.6), 0 4px 12px rgba(232, 80, 63, 0.26); }
.sd__dl.is-done::after { content: " ✓"; }
.sd__stage {
    position: relative;
    background:
        linear-gradient(rgba(232, 80, 63, 0.06) 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, rgba(232, 80, 63, 0.06) 1px, transparent 1px) 0 0 / 26px 26px,
        radial-gradient(90% 80% at 50% 30%, #fff 0%, #fbeeea 100%);
}
.sd__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sd__lockup { position: absolute; z-index: 1; top: 12px; left: 14px; display: flex; gap: 6px; align-items: center; }
.sd__lockup b { display: block; font: 800 16px/1 var(--body); letter-spacing: -0.03em; background: linear-gradient(115deg, #c4392b 0%, #b8325e 55%, #8a46a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sd__lockup small { display: block; font-size: 9.5px; letter-spacing: 0.06em; color: var(--sd-accent-text); }
.sd__mark { width: 22px; height: 22px; border-radius: 6px 6px 3px 3px; background: linear-gradient(135deg, #ff917c, #e8503f 55%, #c63a2c); transform: rotate(-6deg); box-shadow: 2px 2px 0 #6e1716; }
.sd__status {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--sd-border);
    font-weight: 600;
    white-space: nowrap;
}
.sd__cursor {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    pointer-events: none;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10-7 1.5L8.5 21z' fill='%231c1830' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
    transition: scale 0.1s;
}
.sd__cursor.is-press { scale: 0.8; }
@media (max-width: 720px) {
    .sd { grid-template-columns: 1fr; grid-template-rows: 300px auto; min-height: 0; }
    .sd__side { order: 2; grid-template-columns: 1fr 1fr; align-items: start; }
    .sd__intro, .sd__card--row { display: none; }
    .sd__stage { order: 1; }
    .sd__dl { align-self: end; }
}
/* ---------- living logo (logo.js): it prints itself ---------- */
.lg { position: relative; display: block; overflow: hidden; line-height: 0; }
.lg img { position: relative; z-index: 1; width: 100%; height: auto; }
.lg__scaf, .lg__lines, .lg__layer, .lg__shine, .lg__spark { position: absolute; pointer-events: none; }
.lg__lines, .lg__layer, .lg__shine, .lg__spark { z-index: 2; }
/* 24 visible layers while printing, fading once it is done */
.lg__lines { inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 4.1667%); opacity: 0; mix-blend-mode: soft-light; }
.lg__layer { left: 0; right: 0; bottom: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, #ffb347 20%, #fff7c2 50%, #ffb347 80%, transparent); box-shadow: 0 0 8px 1px rgba(255, 154, 60, 0.9); }
.lg__layer::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff7c2; box-shadow: 0 0 10px 3px #ff9a3c; }
.lg-auto img { animation: lgprint 1.9s steps(24, end) 0.15s both; }
.lg-auto .lg__layer { animation: lglayer 1.9s steps(24, end) 0.15s both; }
.lg-auto .lg__layer::after { animation: lgnozzle 0.16s linear 0.15s 12 alternate; }
.lg-auto .lg__lines { animation: lglines 3.4s ease 0.15s both; }
@keyframes lgprint { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lglayer { 0% { bottom: 0; opacity: 1; } 96% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
@keyframes lgnozzle { from { left: 4%; } to { left: calc(96% - 8px); } }
@keyframes lglines { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
/* On hover: build a support scaffold first, then print the logo over it with
   the filament feeding the nozzle, then knock the scaffold away. */
.lg__scaf {
    inset: 4% 6% 2%;
    opacity: 0;
    background:
        repeating-linear-gradient(90deg, rgba(122, 82, 190, 0.55) 0 1px, transparent 1px 11.1%),
        repeating-linear-gradient(0deg, rgba(122, 82, 190, 0.4) 0 1px, transparent 1px 7.14%),
        repeating-linear-gradient(45deg, rgba(201, 58, 134, 0.28) 0 1px, transparent 1px 10%),
        repeating-linear-gradient(-45deg, rgba(201, 58, 134, 0.28) 0 1px, transparent 1px 10%);
}
.lg__layer::before { content: ""; position: absolute; bottom: 4px; left: 3px; width: 2px; height: 400px; background: linear-gradient(to top, #ff9a3c, #ffb347 30%, rgba(255, 179, 71, 0)); }
.lg-build .lg__scaf { opacity: 1; animation: lgscafup 0.9s steps(14, end) both, lgscafoff 0.55s cubic-bezier(.5, 0, .9, .4) 3.45s both; }
.lg-build img { animation: lgprint 2.4s steps(28, end) 0.95s both; }
.lg-build .lg__layer { animation: lglayer 2.4s steps(28, end) 0.95s forwards; }
.lg-build .lg__layer::after,
.lg-build .lg__layer::before { animation: lgnozzle 0.18s linear 0.95s 13 alternate; }
.lg-build .lg__lines { animation: lglines 3.4s ease 0.95s both; }
@keyframes lgscafup { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lgscafoff { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(18%); } }
.lg__shine { inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.75) 50%, transparent 60%); transform: translateX(-70%); mix-blend-mode: soft-light; }
.lg-live .lg__shine { animation: lgshine 7s var(--ease) 3s infinite; }
@keyframes lgshine { 0%, 75% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
.lg__spark { left: 23%; top: 36%; width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%; border-radius: 50%; background: radial-gradient(circle, #fff7c2 0%, #ffb347 35%, rgba(245, 138, 44, 0) 70%); opacity: 0; }
.lg-live .lg__spark { animation: lgspark 2.8s ease-in-out 2.4s infinite; }
@keyframes lgspark {
    0% { left: 23%; top: 36%; opacity: 0; transform: scale(0.6); }
    12% { opacity: 1; transform: scale(1.2); }
    55% { left: 50%; top: 43%; opacity: 1; transform: scale(0.9); }
    70%, 100% { left: 50%; top: 43%; opacity: 0; transform: scale(0.4); }
}

/* ---------- Clicker Wonderland 2.0 video (click to load) ---------- */
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #fff; }
.vid .vid__poster, .vid video, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.vid__play { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; gap: 10px; align-items: center; min-height: 46px; padding: 10px 20px; border: 0; border-radius: 999px; background: linear-gradient(120deg, #c93a86, #8e4bd0); color: #fff; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(123, 79, 214, 0.75); transition: transform 0.3s var(--spring); }
.vid__play:hover { transform: translateX(-50%) translateY(-3px); }
.vid__icon { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- pixel headings (rc.js): the live site's type-in, blink, hop ---------- */
.rc { display: inline-block; white-space: pre; }
.rc-word { white-space: nowrap; }
.rc-grad { background: none !important; -webkit-text-fill-color: currentColor; }
.rc-grad .rc {
    background-image: var(--rc-img);
    background-size: var(--gw, 100%) var(--gh, 100%);
    background-position: calc(var(--gx, 0px) * -1) calc(var(--gy, 0px) * -1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.rc-wait .rc { visibility: hidden; }
@keyframes rc-on { from { visibility: hidden; } to { visibility: visible; } }
@keyframes rc-hop {
    0%, 6%, 100% { transform: translateY(0); }
    3% { transform: translateY(-0.1em); }
}
@keyframes rc-blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
.rc-go .rc {
    animation:
        rc-on 1ms steps(1, jump-start) calc(var(--i) * 55ms) both,
        rc-hop 3.2s steps(1) calc(var(--n) * 55ms + 1.4s + var(--i) * 60ms) infinite;
}
.rc-go::after {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.8em;
    margin-left: 0.08em;
    vertical-align: -0.02em;
    background: #8e4bd0;
    animation:
        rc-on 1ms steps(1, jump-start) calc(var(--n) * 55ms) both,
        rc-blink 0.5s steps(1) calc(var(--n) * 55ms) 8 both;
}
@media (prefers-reduced-motion: reduce) {
    .rc-wait .rc { visibility: visible; }
    .rc-go .rc, .rc-go::after { animation: none; }
    .rc-go::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* rolling photos and the gentle rise, used through data-roll and data-reveal */
[data-roll] { position: relative; }
[data-roll] img { transition: opacity 0.7s var(--ease); }
[data-roll] img:not(.is-on) { opacity: 0; }
[data-roll] img + img { position: absolute; inset: 0; width: 100%; height: 100%; }
.will-rise { transform: translateY(22px); transition: transform 0.8s var(--ease); }
.will-rise.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .will-rise { transform: none; } }

/* ============ Print Bed (owner pick, 2026-11-01) ============ */
/* Design 3, Print Bed: a maker's workshop on millimetre paper.
   Toolbar header, three-colour layer lines between areas, specimen cards. */
:root {
    color-scheme: light;
    --paper: #fdfcff;
    --card: #ffffff;
    --ink: #1c1830;
    --ink-2: #5d5774;
    --hair: rgba(60, 40, 120, 0.14);
    --grid: rgba(142, 75, 208, 0.075);
    --grid-fine: rgba(142, 75, 208, 0.035);
    --violet: #7b4fd6;
    --violet-dk: #4e2e98;
    --pink: #c93a86;
    --orange: #f08a3c;
    --plum: #231433;
    --wa: #1f9d55;
    --sweep: linear-gradient(100deg, #f58a2c 0%, #c93a86 45%, #8e4bd0 72%, #1aa19a 100%);
    --display: "Pixelify Sans", ui-monospace, Menlo, monospace;
    --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --page: 1180px;
    --gut-l: max(16px, env(safe-area-inset-left, 0px));
    --gut-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
    background-color: var(--paper);
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        linear-gradient(var(--grid-fine) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--page); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
@media (min-width: 1212px) { .wrap { padding-left: 0; padding-right: 0; } }

/* the layer line: a filament strand (owner pick 2026-11-02, options 5 + 6, wavy
   like 6): laid down as it comes into view, then a gentle ripple with its
   colours drifting */
.layer {
    position: relative;
    height: 12px;
    margin: -2px 10px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.14)),
        linear-gradient(90deg, #f58a2c, #c93a86, #8e4bd0, #1aa19a, #8e4bd0, #c93a86, #f58a2c);
    background-size: 100% 100%, 300% 100%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2712%27%20viewBox%3D%270%200%2080%2012%27%3E%3Cpath%20d%3D%27M-20%206%20Q0%203%2020%206%20T60%206%20T100%206%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") 0 0 / 80px 12px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2712%27%20viewBox%3D%270%200%2080%2012%27%3E%3Cpath%20d%3D%27M-20%206%20Q0%203%2020%206%20T60%206%20T100%206%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") 0 0 / 80px 12px repeat-x;
    filter: drop-shadow(0 2px 2px rgba(60, 20, 100, 0.28));
    animation: lnFlow 9s linear infinite, lnRip 5s linear infinite;
}
/* laid down left to right when it comes into view (printbed.js adds .is-laid) */
.js .layer { clip-path: inset(-6px 100% -6px 0); }
.js .layer.is-laid { animation: lnLay 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards, lnFlow 9s linear infinite, lnRip 5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
    .layer, .js .layer, .js .layer.is-laid { animation: none; clip-path: none; }
}
@keyframes lnFlow { to { background-position: 0 0, 300% 0; } }
@keyframes lnRip { to { -webkit-mask-position: 80px 0; mask-position: 80px 0; } }
@keyframes lnLay { to { clip-path: inset(-6px 0 -6px 0); } }

/* ---------- buttons ---------- */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 0;
    font: 700 15px/1.2 var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn--big { padding: 14px 24px; font-size: 16px; }
.btn--go { background: var(--violet); color: #fff; box-shadow: 0 3px 0 var(--violet-dk); }
.btn--go:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--violet-dk); }
.btn--line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 3px 0 var(--ink); }
.btn--line:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink), 0 5px 0 var(--ink); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 3px 0 #13703b; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #13703b; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn .ripple { background: rgba(255, 255, 255, 0.4); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- toolbar header ---------- */
.bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.bar__in {
    max-width: var(--page);
    margin-inline: auto;
    padding: 10px var(--gut-r) 10px var(--gut-l);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: padding 0.25s var(--ease);
}
@media (min-width: 1212px) { .bar__in { padding-left: 0; padding-right: 0; } }
.bar.is-scrolled .bar__in { padding-top: 6px; padding-bottom: 6px; }
.badge {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--hair), 0 3px 0 rgba(60, 40, 120, 0.12);
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}
.badge .lg { width: 66%; }
.bar.is-scrolled .badge { width: 48px; height: 48px; }
.bar__name { display: grid; text-decoration: none; font: 700 19px/1.05 var(--display); }
.bar__name small { font: 500 12px/1.3 var(--body); color: var(--ink-2); }
.tabs { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tabs a:not(.btn) {
    position: relative;
    padding: 9px 14px;
    border-radius: 9px;
    font-weight: 650;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-2);
    transition: background 0.2s, color 0.2s;
}
.tabs a:not(.btn):hover { background: #f1ecfb; color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.tabs a[aria-current="page"]:hover { background: var(--ink); color: #fff; }
.tabs__cta { display: none; }
.bar__cta { margin-left: 8px; }
.burger { display: none; }

@media (max-width: 900px) {
    .bar__name small { display: none; }
    .bar__cta { display: none; }
    .burger {
        margin-left: auto;
        display: grid;
        align-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 0 12px;
        border: 0;
        border-radius: 10px;
        background: var(--ink);
        cursor: pointer;
    }
    .burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
    .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .tabs {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px var(--gut-r) 18px var(--gut-l);
        background: #fff;
        box-shadow: 0 18px 30px -18px rgba(40, 20, 80, 0.4);
    }
    .tabs.is-open { display: flex; }
    .tabs a:not(.btn) { padding: 13px 14px; font-size: 17px; }
    .tabs__cta { display: inline-flex; margin-top: 8px; padding: 14px; }
}

/* ---------- shared bits ---------- */
.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 13px/1 var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet);
}
.label::before { content: ""; width: 10px; height: 10px; background: var(--orange); box-shadow: 10px 0 0 var(--pink), 20px 0 0 var(--violet); margin-right: 22px; }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 36em; }
.sweep { background: var(--sweep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec--tight { padding-top: clamp(32px, 4vw, 52px); }
.sechead { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.sechead--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sec h2, .sechead h2 { font: 700 clamp(30px, 4vw, 48px)/1.02 var(--display); }
.more { font-weight: 700; color: var(--violet); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.aside { margin-top: 28px; color: var(--ink-2); }
.aside a { color: var(--violet); font-weight: 700; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(52px, 7vw, 92px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font: 700 clamp(44px, 6vw, 84px)/0.98 var(--display); }
.hero h1 .sweep { display: inline; }
.bed { position: relative; padding: 26px; }
.bed__box {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.1), 0 30px 60px -36px rgba(60, 30, 110, 0.45);
}
.bed__box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font: 600 12.5px/1 var(--display);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pin::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #fff; }
.pin--tl { left: 0; top: 6px; } .pin--tl::after { right: -14px; top: 50%; margin-top: -4px; }
.pin--tr { right: 0; top: 6px; } .pin--tr::after { left: -14px; top: 50%; margin-top: -4px; }
.pin--bl { left: 0; bottom: 6px; } .pin--bl::after { right: -14px; top: 50%; margin-top: -4px; }
.pin--br { right: 0; bottom: 6px; } .pin--br::after { left: -14px; top: 50%; margin-top: -4px; }

/* ---------- category doors ---------- */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.door {
    display: grid;
    text-decoration: none;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.08);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--violet), 0 8px 0 rgba(123, 79, 214, 0.25); }
.door__img { display: block; aspect-ratio: 1; background: #fff; padding: 8%; }
.door__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.door:hover .door__img img { transform: scale(1.05); }
.door__label { display: grid; gap: 6px; padding: 14px 16px 16px; border-top: 1px dashed var(--hair); }
.door__label b { font-size: 15px; }
.door__label b::after { content: " →"; color: var(--violet); }

/* ---------- specimen cards ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.specs--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec {
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.08);
}
.spec[hidden] { display: none; }
/* depth: a checkerboard of cards, one lifted toward you, the next set back.
   #grid gets fixed column counts so the checkerboard holds at every width. */
#grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; padding: 14px 0 10px; }
@media (max-width: 1100px) { #grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; } }
@media (max-width: 540px)  { #grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.spec { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease); }
.spec.is-up {
    position: relative; z-index: 2;
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 0 0 1.5px #d9cdf3, 0 30px 46px -18px rgba(60, 40, 120, 0.5), 0 8px 16px -6px rgba(60, 40, 120, 0.18);
}
.spec.is-back {
    position: relative; z-index: 1;
    background: #efeaf8;
    transform: translateY(10px) scale(0.94);
    box-shadow: 0 0 0 1px #ddd5ee, 0 2px 3px rgba(60, 40, 120, 0.08);
}
.spec.is-back .spec__img { background: #f8f6fc; }
.spec.is-back .spec__label { border-top-color: #d9d0ec; }
@media (hover: hover) {
    .spec:hover { transform: translateY(-14px) scale(1); background: #fff; box-shadow: 0 0 0 1.5px #c9b8f0, 0 34px 50px -18px rgba(60, 40, 120, 0.55); z-index: 3; }
}
@media (prefers-reduced-motion: reduce) { .spec { transition: none; } }
.spec__img { aspect-ratio: 1; background: #fff; padding: 6%; }
.spec__img img { width: 100%; height: 100%; object-fit: contain; }
.spec__label { display: grid; align-content: start; gap: 4px; padding: 14px 16px 18px; border-top: 1px dashed var(--hair); }
.spec__label b { font-size: 16px; line-height: 1.3; margin-top: 4px; }
.spec__label span:last-child { color: var(--ink-2); font-size: 14.5px; }
.spec__tag {
    justify-self: start;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1ecfb;
    color: var(--violet-dk);
    font: 700 11.5px/1.1 var(--display);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.spec__tag--render { background: #fde8f2; color: #9d2364; }
.spec__tag--soon { background: #fff0e2; color: #a6510f; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
    padding: 9px 14px;
    border-radius: 9px;
    border: 0;
    background: #fff;
    color: var(--ink);
    font: 650 14px/1.2 var(--body);
    box-shadow: inset 0 0 0 1px var(--hair), 0 2px 0 rgba(60, 40, 120, 0.1);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--violet), 0 2px 0 rgba(123, 79, 214, 0.3); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: 0 2px 0 #000; }

/* ---------- page head (inner pages) ---------- */
.pagehead { padding-block: clamp(40px, 6vw, 76px) clamp(32px, 4vw, 52px); }
.pagehead .wrap { display: grid; gap: 16px; }
.pagehead h1 { font: 700 clamp(42px, 6vw, 76px)/1 var(--display); }

/* ---------- closing call ---------- */
.cta { background: var(--plum); color: #f7f2ff; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta__in > div:first-child { display: grid; gap: 10px; max-width: 38em; }
.cta h2 { color: #fff; }
.cta p { color: #cbbfdf; font-size: 17px; }
.cta .btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff, 0 3px 0 #000; }

/* ---------- how to order: the build plate ---------- */
.plate {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    counter-reset: none;
}
.plate::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 21px;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--violet) 0 10px, transparent 10px 18px);
    opacity: 0.45;
}
.step { position: relative; display: grid; align-content: start; gap: 12px; }
.step__n {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font: 800 20px/1 var(--body);
    box-shadow: 0 3px 0 var(--violet);
}
.step__vis { margin: 0; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.08); }
.step__vis img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.step__vis--printer { position: relative; }
.step__vis--printer canvas { display: block; width: 100%; aspect-ratio: 1; }
.step__vis figcaption { padding: 8px 12px; font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--hair); }
.step h3 { font: 700 19px/1.15 var(--display); }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------- builder: the control panel ---------- */
.panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel__controls {
    display: grid;
    gap: 22px;
    padding: 0 0 24px;
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.1);
}
.panel__top { display: flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--ink); color: #cbbfdf; font: 600 13px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.panel__top i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.panel__top i:nth-child(2) { background: var(--pink); }
.panel__top i:nth-child(3) { background: var(--violet); }
.panel__top span { margin-left: 8px; }
.grp { margin: 0; padding: 0 22px; border: 0; display: grid; gap: 10px; min-width: 0; }
.grp legend, .grp__lab { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15.5px; }
.grp__lab { margin-bottom: 0; }
.grp__lab small { font-weight: 500; color: var(--ink-2); }
.grp legend span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font: 800 13px/1 var(--body); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; }
.key {
    padding: 10px 14px;
    border-radius: 9px;
    border: 0;
    background: #f6f3fd;
    color: var(--ink);
    font: 650 14.5px/1.2 var(--body);
    box-shadow: inset 0 0 0 1px var(--hair), 0 3px 0 #d9d0ee;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.key:hover { background: #efe8fc; }
.key.is-on { background: var(--violet); color: #fff; box-shadow: 0 3px 0 var(--violet-dk); }
.key:active { transform: translateY(2px); box-shadow: 0 1px 0 #d9d0ee; }
.grp input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 0;
    background: #fff;
    font: 15px/1.4 var(--body);
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--hair);
}
.grp input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }

.chat { border-radius: 18px; overflow: hidden; background: #efe7dc; box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.1); position: sticky; top: 96px; }
.chat__top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--hair); }
.chat__top img { width: 40px; height: auto; }
.chat__top div { display: grid; line-height: 1.25; }
.chat__top span { font-size: 13px; color: var(--ink-2); }
.chat__body { padding: 22px 16px; min-height: 170px; display: flex; justify-content: flex-end; align-items: flex-start; }
.bubble { max-width: 92%; padding: 12px 14px; border-radius: 12px 2px 12px 12px; background: #d9fdd3; font-size: 15px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.chat__foot { display: grid; gap: 8px; padding: 0 16px 18px; }
.chat__foot small { color: #6b625a; font-size: 13px; }

.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.qa .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts li { display: grid; align-content: start; gap: 4px; padding: 14px 16px; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--hair); font-size: 14.5px; color: var(--ink-2); }
.facts b { font: 700 13px/1.1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-dk); }

/* ---------- questions ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: start; }
.qs { display: grid; gap: 10px; }
.q { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--hair); }
.q summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-weight: 700;
    cursor: pointer;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; font: 700 20px/1 var(--display); color: var(--violet); }
.q[open] summary::after { content: "–"; }
.q p { padding: 0 18px 18px; color: var(--ink-2); }
.q a { color: var(--violet); font-weight: 650; }

/* ---------- prices: spec sheets ---------- */
.sheets { display: grid; gap: 28px; }
.sheet { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--hair), 0 4px 0 rgba(60, 40, 120, 0.08); overflow: hidden; }
.sheet__scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; min-width: 560px; }
.sheet caption { caption-side: top; text-align: left; padding: 16px 20px; background: var(--ink); color: #fff; font: 700 20px/1.1 var(--display); }
.sheet th, .sheet td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px dashed var(--hair); font-size: 15px; }
.sheet thead th { border-top: 0; background: #f6f3fd; font: 700 12px/1.1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-dk); }
.sheet tbody th { font-weight: 700; width: 38%; }
.sheet tbody th small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13.5px; }
.sheet td { color: var(--ink-2); }
.sheet td.num { color: var(--ink); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; width: 18%; }
.sheet__note { padding: 14px 20px 18px; border-top: 1px dashed var(--hair); color: var(--ink-2); font-size: 15px; }
.ship { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ship > div { display: grid; gap: 8px; align-content: start; padding: 18px; background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); }
.ship p { color: var(--ink-2); }

/* ---------- apps ---------- */
.apps { display: grid; gap: 28px; }
.app {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(22px, 3vw, 36px);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 22px;
    box-shadow: 0 0 0 1px var(--hair), 0 5px 0 rgba(60, 40, 120, 0.08);
}
.app__copy { display: grid; gap: 16px; justify-items: start; }
.app__copy p { color: var(--ink-2); font-size: 16.5px; }
.app__lockup { width: min(100%, 360px); }
.app__demo { min-width: 0; min-height: 320px; }
.app__demo--video { display: grid; gap: 12px; justify-items: center; min-height: 0; }
.screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #f4f1fc; box-shadow: 0 0 0 1px var(--hair); }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.watch:hover { background: var(--violet); }
.watch .vid__icon { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
.links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.links a { color: var(--violet); font-weight: 650; }
.app--soon { grid-template-columns: minmax(0, 1fr) auto; padding-block: 24px; }
.app--soon h2 { font: 700 clamp(26px, 3vw, 34px)/1 var(--display); }
.soon {
    display: grid;
    place-items: center;
    width: 220px;
    height: 120px;
    border-radius: 14px;
    border: 2px dashed rgba(123, 79, 214, 0.35);
    background: repeating-linear-gradient(-45deg, rgba(240, 138, 60, 0.08) 0 10px, transparent 10px 20px);
    font: 700 14px/1 var(--display);
    color: var(--violet-dk);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- footer ---------- */
.foot { background: #fff; margin-top: 0; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding-block: 40px 24px; }
.foot__brand { display: flex; gap: 14px; align-items: center; }
.foot__brand img { width: 44px; }
.foot__brand p { color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.foot__brand b { color: var(--ink); font: 700 18px/1.2 var(--display); }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.foot__list a { color: var(--ink-2); text-decoration: none; }
.foot__list a:hover { color: var(--violet); text-decoration: underline; }
.foot__legal { padding-block: 16px 28px; border-top: 1px dashed var(--hair); font-size: 12.5px; color: var(--ink-2); }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
    .plate { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
    .plate::before { display: none; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero__in { grid-template-columns: minmax(0, 1fr); }
    .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panel { grid-template-columns: minmax(0, 1fr); }
    .chat { position: static; }
    .qa { grid-template-columns: minmax(0, 1fr); }
    .app { grid-template-columns: minmax(0, 1fr); }
    .ship { grid-template-columns: minmax(0, 1fr); }
    .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .specs--three {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-inline: calc(-1 * var(--gut-l)) calc(-1 * var(--gut-r));
        padding: 4px var(--gut-r) 12px var(--gut-l);
        scrollbar-width: none;
    }
    .specs--three::-webkit-scrollbar { display: none; }
    .specs--three .spec { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }
}
@media (max-width: 640px) {
    .plate { grid-template-columns: minmax(0, 1fr); }
    .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
    .step__n { grid-row: 1 / span 3; }
    .step__vis { grid-column: 2; }
    .step h3, .step p { grid-column: 2; }
    .step__vis img { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }
    .step__vis--printer canvas { aspect-ratio: 16 / 10; }
    .sechead--row { grid-template-columns: minmax(0, 1fr); }
    .bed { padding: 22px 0; }
    .pin { font-size: 11px; padding: 5px 8px; }
    .pin::after { display: none; }
    .pin--tl, .pin--bl { left: 8px; }
    .pin--tr, .pin--br { right: 8px; }
    .app--soon { grid-template-columns: minmax(0, 1fr); }
    .soon { width: 100%; height: 90px; }
    .foot__in { grid-template-columns: minmax(0, 1fr); }
    .app__demo { min-height: 300px; }
    .app__demo--video { min-height: 0; align-content: start; }
    .sheet table { min-width: 0; }
    .sheet thead { display: none; }
    .sheet tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 16px; border-top: 1px dashed var(--hair); }
    .sheet tbody th, .sheet tbody td { display: block; padding: 0; border: 0; width: auto; }
    .sheet tbody td:last-child { grid-column: 1 / -1; font-size: 14px; }
    .sheet caption { padding: 14px 16px; }
    .sheet__note { padding: 14px 16px 16px; }
}
@media (max-width: 420px) {
    .doors { gap: 12px; }
    .door__label { padding: 10px 12px 12px; }
    .door__label b { font-size: 14px; }
}

/* the Clicker Wonderland 2.0 video on /apps: the click-to-load facade
   fills its column (its children are absolutely placed, so it has no width
   of its own inside a centred grid) */
.app__demo--video { align-self: center; width: 100%; }
.app__demo--video .vid { width: 100%; box-shadow: 0 0 0 1px var(--hair); }
.app__demo--video .vid__play { border: 0; cursor: pointer; font: 700 15px/1 var(--body); }

/* ============ Design service page (/design, owner 2026-11-02) ============ */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature__copy { display: grid; gap: 14px; justify-items: start; }
.feature__copy h2 { font: 700 clamp(28px, 3.6vw, 44px)/1.05 var(--display); }
.feature__copy > p:not(.label) { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.feature__specs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 440px; }
.feature__specs li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); font-size: 15px; font-weight: 650; }
.feature__specs b { font: 700 11px/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.feature__img { margin: 0; display: grid; gap: 8px; }
.feature__img img { width: 100%; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -34px rgba(60, 20, 100, 0.6); }
.feature__img figcaption { font-size: 13.5px; color: var(--ink-2); text-align: center; }

.stages { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.stage { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.stage__rail { position: relative; display: flex; justify-content: center; }
.stage__rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(var(--hair) 0 8px, transparent 8px 14px); }
.stage:first-child .stage__rail::before { top: 22px; }
.stage:last-child .stage__rail::before { bottom: auto; height: 22px; }
.stage--done .stage__rail::before { background: linear-gradient(var(--orange), var(--pink), var(--violet)); }
.stage__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 2px var(--hair); font: 700 18px/1 var(--body); color: var(--ink-2); }
.stage--done .stage__n { background: var(--ink); color: #fff; box-shadow: none; }
.stage--now .stage__n { background: var(--violet); color: #fff; box-shadow: 0 0 0 5px rgba(123, 79, 214, 0.18); }
.stage__body { display: grid; gap: 8px; padding-bottom: 36px; min-width: 0; }
.stage__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stage--done .stage__st { background: #e5f6ec; color: #13703b; }
.stage--now .stage__st { background: #efe7ff; color: var(--violet-dk); }
.stage__body h3 { font: 700 clamp(20px, 2.4vw, 26px)/1.15 var(--display); }
.stage__body > p { color: var(--ink-2); max-width: 40em; }
.stage__imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; max-width: 760px; }
.stage__imgs img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.stage__wait { display: grid; place-items: center; max-width: 760px; height: 92px; margin-top: 6px; border-radius: 16px; border: 2px dashed rgba(123, 79, 214, 0.35); background: repeating-linear-gradient(135deg, rgba(240, 138, 60, 0.07) 0 12px, transparent 12px 24px); font: 700 12px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-dk); }
.stage--next .stage__wait { border-color: var(--hair); color: var(--ink-2); background: none; }

.pays { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: pay; }
.pays li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--hair), 0 3px 0 rgba(60, 40, 120, 0.1); }
.pays li + li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 16px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--violet)); }
.pays__n { justify-self: start; padding: 4px 9px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 12px/1.2 var(--body); }
.pays b { font: 700 19px/1.2 var(--display); }
.pays p { color: var(--ink-2); font-size: 15px; }

.owns { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: start; }
.owns__text { display: grid; gap: 12px; padding: 22px 24px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); border-left: 4px solid var(--violet); }
.owns__text p { color: var(--ink-2); }
.owns__text p:first-child { color: var(--ink); }

@media (max-width: 900px) {
    .feature, .owns { grid-template-columns: minmax(0, 1fr); }
    .feature__img { order: -1; }
    .pays { grid-template-columns: minmax(0, 1fr); }
    .pays li + li::before { left: 50%; top: -16px; width: 3px; height: 16px; margin-left: -1.5px; }
}
@media (max-width: 520px) {
    .stage { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
    .stage__n { width: 36px; height: 36px; font-size: 16px; }
    .stage__imgs { gap: 8px; }
}

/* home: the four apps (owner 2026-11-02) */
.appstrip { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.appcard { display: grid; gap: 14px; align-content: start; height: 100%; padding: 18px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--hair), 0 3px 0 rgba(60, 40, 120, 0.1); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.appcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--hair), 0 8px 0 rgba(60, 40, 120, 0.1); }
.appcard .spec__tag { justify-self: start; }
.appcard__live { background: #e5f6ec; color: #13703b; }
.appcard img { width: 100%; height: auto; }
.appcard__line { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.appcard--soon img { opacity: 0.8; filter: saturate(0.85); }
@media (max-width: 1060px) { .appstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .appstrip { grid-template-columns: minmax(0, 1fr); } }

/* ---------- section steps: same background everywhere; only the borders between sections
   carry a soft shadow, so the paper reads as stepping up and down at each divider.
   Even sections sit a step lower: the raised neighbours above and below cast shadow onto
   their top and bottom edges. Odd sections get a thin highlight on their raised lip. ---------- */
main > section { position: relative; }
main > section > * { position: relative; z-index: 1; }
main > section:nth-of-type(even):not(.cta)::before,
main > section:nth-of-type(even):not(.cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 28px;
    pointer-events: none;
    z-index: 0;
}
main > section:nth-of-type(even):not(.cta)::before { top: 0; background: linear-gradient(rgba(60, 40, 120, 0.16), rgba(60, 40, 120, 0)); }
main > section:nth-of-type(even):not(.cta)::after { bottom: 0; background: linear-gradient(rgba(60, 40, 120, 0), rgba(60, 40, 120, 0.1)); }
main > section:nth-of-type(odd):not(.cta) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.9); }
