/* The public site. Dark by default; [data-theme="light"] on <html> turns it light (see _Host). */

:root {
    --bg: #10110f;
    --panel: #191a17;
    --panel2: #20211e;
    --field: #11120f;
    --line: #343630;
    --text: #f4f3ed;
    --muted: #a4a69c;
    --soft: #c8c9c1;
    --accent: #d9ff4f;
    --accent-hover: #e8ff8d;
    --accent-ink: #d9ff4f;
    --on-accent: #111;
    --orange: #ff6b35;
    --header: rgba(16, 17, 15, .9);
    --hairline: #ffffff12;
    --shadow: 0 18px 50px #0007;
    --radius: 18px;
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #f5f4ef;
    --panel: #ffffff;
    --panel2: #efeee7;
    --field: #ffffff;
    --line: #dcdbd2;
    --text: #15160f;
    --muted: #686a60;
    --soft: #3d3f37;
    --accent: #d9ff4f;
    --accent-hover: #c8f02a;
    --accent-ink: #4f6100;
    --on-accent: #111;
    --header: rgba(245, 244, 239, .9);
    --hairline: #0000000f;
    --shadow: 0 18px 50px #0000001a;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background-color .25s, color .25s;
}
app { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1240px, calc(100% - 44px)); margin: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar and header */
.topbar {
    min-height: 38px; padding: 8px 12px;
    background: var(--accent); color: var(--on-accent);
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--header); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 23px; font-weight: 950; letter-spacing: -.07em; white-space: nowrap; }
.brand span { color: var(--accent-ink); }
.brand small { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin-left: 8px; }
/* The menu: a tall, condensed face in capitals; the link under the pointer turns into a lime
   block, the page you are on into a solid one. */
.navlinks { display: flex; gap: 4px; color: var(--text); font-family: Anton, Impact, "Arial Narrow", sans-serif; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.navlinks a { position: relative; padding: 7px 11px 6px; line-height: 1; border: 2px solid transparent; transition: background .12s, color .12s, transform .12s, box-shadow .12s; }
.navlinks a:hover { background: var(--accent); color: #111; border-color: #111; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--text); }
.navlinks a.active { background: var(--text); color: var(--bg); }
.navlinks a.active:hover { background: var(--accent); color: #111; }
.navright { display: flex; align-items: center; gap: 10px; }
.iconbtn {
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
    background: transparent; color: var(--text); display: grid; place-items: center; font-size: 16px; line-height: 1;
    transition: border-color .2s, color .2s;
}
.iconbtn:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.lang a { padding: 9px 11px; color: var(--muted); }
.lang a.on { background: var(--panel2); color: var(--text); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* Buttons and small type */
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.btn {
    border: 1px solid transparent; border-radius: 999px; padding: 13px 19px;
    font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; transition: .2s;
    background: none; color: var(--text);
}
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn.primary:disabled { opacity: .6; transform: none; cursor: wait; }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn.on-image { border-color: #ffffff55; color: #fff; background: #ffffff0a; }
.btn.on-image:hover { background: #ffffff19; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 28px 0 60px; }
.hero-card {
    min-height: 500px; border-radius: 26px; overflow: hidden; position: relative; display: flex; align-items: flex-end;
    background: #0a0b09; color: #f4f3ed; isolation: isolate;
}

/* The slideshow behind the hero's text (HeroSlider, zara.hero) */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; }
.hero-slide.on, .hero-slide.in, .hero-slide.out { visibility: visible; }
.hero-slide.on { z-index: 1; }
.hero-slide.out { z-index: 1; animation: hero-glitch .42s steps(2, jump-none) both; }
.hero-slide.in { z-index: 2; }
.hero-cut {
    position: absolute; inset: 0; background: var(--img) right 30% / cover no-repeat;
    /* A pixel over the next cut each way, so no seam shows between them. */
    clip-path: inset(calc(var(--top) - 1px) 0 calc(var(--bottom) - 1px) 0);
}
.hero-slide.in .hero-cut { animation: hero-cut .62s cubic-bezier(.75, 0, .15, 1) both; animation-delay: calc(var(--i) * 55ms); }
.hero-flash { position: absolute; inset: 0; z-index: 3; background: #d9ff4f; mix-blend-mode: difference; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero-slides.cutting .hero-flash { animation: hero-flash .5s cubic-bezier(.7, 0, .3, 1) both; }
.hero-shade {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(9, 12, 11, .88), rgba(9, 12, 11, .25) 70%), linear-gradient(0deg, rgba(9, 12, 11, .75), transparent 65%);
}
.hero-card > .hero-tag, .hero-card > .hero-content, .hero-card > .hero-counter { z-index: 2; }
.hero-counter {
    position: absolute; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 8px;
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .18em; color: #c8c9c1;
}
.hero-counter b { color: #d9ff4f; font-size: 18px; letter-spacing: 0; }
.hero-progress { width: 90px; height: 2px; background: #ffffff33; position: relative; overflow: hidden; margin-left: 6px; }
.hero-progress span { position: absolute; inset: 0; background: #d9ff4f; transform: scaleX(0); transform-origin: left; }
.hero-progress.run span { animation: hero-progress var(--hero-seconds, 6s) linear both; }

@keyframes hero-cut { from { transform: translateX(calc(var(--dir) * 105%)); } to { transform: none; } }
@keyframes hero-flash { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes hero-glitch {
    0% { transform: none; filter: none; }
    25% { transform: translate(-14px, 3px); filter: contrast(1.8) saturate(0) brightness(1.2); }
    50% { transform: translate(10px, -4px); filter: contrast(2) hue-rotate(90deg); }
    75% { transform: translate(-6px, 0) skewX(-4deg); filter: contrast(1.6) saturate(0); }
    100% { transform: none; filter: none; }
}
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
    .hero-slide.in .hero-cut, .hero-slide.out, .hero-slides.cutting .hero-flash { animation: none; }
}
.hero-content { padding: clamp(28px, 6vw, 70px); max-width: 720px; position: relative; }
.hero .eyebrow { color: #d9ff4f; }
.hero h1 { font-size: clamp(42px, 7vw, 86px); line-height: .91; letter-spacing: -.075em; margin: 20px 0 18px; font-weight: 900; }
.hero h1 em { font-style: normal; color: #d9ff4f; }
.hero p { color: #d0d1c9; max-width: 460px; line-height: 1.65; font-size: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-tag {
    position: absolute; right: 28px; top: 28px; border: 1px solid #ffffff60; background: #10110f75;
    backdrop-filter: blur(8px); padding: 10px 13px; border-radius: 999px; font-size: 10px; letter-spacing: .12em; font-weight: 800;
}

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-bottom: 62px; }
.benefit { padding: 21px 16px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.benefit:last-child { border: 0; }
.benefit .ico { font-size: 20px; color: var(--accent-ink); }
.benefit strong { display: block; font-size: 12px; }
.benefit small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }

/* Section heads and plain pages */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head h2, .page-head h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.06em; margin: 8px 0 0; line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font-size: 12px; max-width: 360px; }
.page { padding: 34px 0 90px; }
.page-head { margin-bottom: 30px; }
.page-head p { color: var(--muted); font-size: 14px; max-width: 620px; line-height: 1.6; margin: 12px 0 0; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-ink); }

.prose-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.prose { font-size: 15px; line-height: 1.8; color: var(--soft); }
.prose p { margin: 0 0 18px; }
.prose h2 { color: var(--text); font-size: 22px; letter-spacing: -.04em; margin: 34px 0 12px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.side-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-card .body { padding: 20px; }
.side-card h3 { margin: 8px 0; font-size: 17px; letter-spacing: -.03em; }
.side-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Builder (the order form on the home page) */
.builder { padding: 0 0 82px; scroll-margin-top: 90px; }
.builder-shell { display: grid; grid-template-columns: .86fr 1.14fr; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.builder-visual {
    padding: 22px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    position: relative; overflow: hidden; color: #f4f3ed;
    /* Always the dark workbench, in either theme: the board is the show. */
    background:
        linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 26px 26px,
        linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 26px 26px,
        radial-gradient(ellipse at 50% 30%, #2c3324 0, #121410 55%, #0a0b09 100%);
}
.builder-sticky { position: sticky; top: 100px; width: 100%; }

/* The live board preview */
.bp { position: relative; display: flex; flex-direction: column; gap: 14px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.bp-watermark {
    position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-90deg);
    font-family: Inter, sans-serif; font-weight: 950; font-size: 190px; letter-spacing: -.08em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px #d9ff4f22; pointer-events: none; user-select: none; white-space: nowrap;
}
.bp-corner { position: absolute; width: 18px; height: 18px; border: 2px solid #d9ff4f; opacity: .8; }
.bp-corner.tl { left: -6px; top: -6px; border-right: 0; border-bottom: 0; }
.bp-corner.tr { right: -6px; top: -6px; border-left: 0; border-bottom: 0; }
.bp-corner.bl { left: -6px; bottom: -6px; border-right: 0; border-top: 0; }
.bp-corner.br { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.bp-top { display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.bp-live { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #d9ff4f; display: flex; align-items: center; gap: 8px; }
.bp-live i { width: 8px; height: 8px; border-radius: 50%; background: #d9ff4f; box-shadow: 0 0 0 0 #d9ff4f; animation: bp-pulse 1.6s infinite; }
.bp-tabs { display: flex; border: 1px solid #ffffff2a; border-radius: 999px; overflow: hidden; }
.bp-tabs button { background: none; border: 0; color: #a4a69c; font: inherit; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 13px; }
.bp-tabs button.on { background: #d9ff4f; color: #111; font-weight: 800; }

.bp-stage { height: 420px; display: grid; place-items: center; perspective: 1100px; z-index: 1; }
.bp-board { position: relative; height: 100%; aspect-ratio: 160 / 520; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1); animation: bp-float 5s ease-in-out infinite; }
.bp-board.flipped { transform: rotateY(180deg); }
.bp-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 0 22px #d9ff4f33) drop-shadow(18px 26px 30px #000c); overflow: visible; }
.bp-back { transform: rotateY(180deg); }
.bp-outline, .bp-face path { transition: d .5s cubic-bezier(.2, .8, .2, 1), stroke .35s; }
.bp-mark { font-family: Inter, sans-serif; font-weight: 950; letter-spacing: .06em; }
.bp-mark.small { font-weight: 800; letter-spacing: .5em; }
.bp-shine { animation: bp-shine 3.5s ease-in-out infinite; }

.bp-side { z-index: 1; border-top: 1px solid #ffffff1c; padding-top: 12px; display: grid; gap: 8px; }
.bp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; }
.bp-row small, .bp-hud dt { color: #8d8f86; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.bp-row b { color: #f4f3ed; font-size: 12px; }
.bp-profile { width: 100%; height: 70px; overflow: visible; }
.bp-ground { stroke: #ffffff30; stroke-dasharray: 4 6; }
.bp-profile-line { fill: none; stroke: #d9ff4f; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px #d9ff4f88); transition: d .6s cubic-bezier(.2, .8, .2, 1); }
.bp-damper { fill: none; stroke: #ff6b35; stroke-width: 2; stroke-dasharray: 10 6; transition: d .6s cubic-bezier(.2, .8, .2, 1); }
.bp-contact { fill: #0a0b09; stroke: #d9ff4f; stroke-width: 2; }
.bp-flex { transform-origin: 260px 62px; transform-box: view-box; }
.bp-profile.soft .bp-flex { animation: bp-flex 1.4s ease-in-out infinite; --amp: 1.9; }
.bp-profile.medium .bp-flex { animation: bp-flex 1.1s ease-in-out infinite; --amp: 1.45; }
.bp-profile.hard .bp-flex { animation: bp-flex .8s ease-in-out infinite; --amp: 1.12; }
.bp-meter { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.bp-meter i { height: 10px; border-radius: 2px; background: #ffffff14; transition: background .3s, box-shadow .3s; }
.bp-meter i.on { background: #d9ff4f; box-shadow: 0 0 8px #d9ff4f88; }
.bp-meter i.on:nth-child(n+7) { background: #ff6b35; box-shadow: 0 0 8px #ff6b3588; }

.bp-hud { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #ffffff1c; border: 1px solid #ffffff1c; border-radius: 10px; overflow: hidden; z-index: 1; }
.bp-hud div { background: #0f110d; padding: 9px 11px; min-width: 0; }
.bp-hud dd { margin: 4px 0 0; font-size: 12px; color: #f4f3ed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bp-price { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; border-top: 1px solid #ffffff1c; padding-top: 14px; z-index: 1; }
.bp-price small { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #8d8f86; }
.bp-price strong { grid-column: 2; grid-row: 1 / 3; font-family: Inter, sans-serif; font-size: 40px; font-weight: 950; letter-spacing: -.06em; color: #d9ff4f; text-shadow: 0 0 24px #d9ff4f55; }
.bp-price span { font-size: 11px; color: #a4a69c; }

@keyframes bp-pulse { 0% { box-shadow: 0 0 0 0 #d9ff4f99; } 70% { box-shadow: 0 0 0 10px #d9ff4f00; } 100% { box-shadow: 0 0 0 0 #d9ff4f00; } }
@keyframes bp-float { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -10px; rotate: -3deg; } }
@keyframes bp-flex { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(var(--amp)); } }
@keyframes bp-shine { 0%, 100% { transform: rotate(14deg) translateX(-40px); } 50% { transform: rotate(14deg) translateX(260px); } }
@media (prefers-reduced-motion: reduce) {
    .bp-board, .bp-flex, .bp-shine, .bp-live i { animation: none !important; }
}
.builder-form { padding: 30px clamp(20px, 3vw, 42px); }
.form-step { display: flex; gap: 13px; align-items: flex-start; margin: 0 0 18px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.form-step > span { font-size: 10px; font-weight: 900; color: var(--accent-ink); border: 1px solid var(--accent-ink); border-radius: 50%; width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; opacity: .9; }
.form-step h3 { margin: 0; font-size: 15px; }
.form-step p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 27px; }
.form-grid label, .field { font-size: 11px; color: var(--soft); display: flex; flex-direction: column; gap: 7px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
    width: 100%; background: var(--field); color: var(--text); border: 1px solid var(--line); border-radius: 9px;
    padding: 12px; font-size: 13px; outline: none; min-width: 0;
}
.form-grid input:focus, .form-grid select:focus { border-color: var(--accent-ink); }
.form-grid input.invalid, .form-grid select.invalid { border-color: var(--orange); }
.validation-message { color: var(--orange); font-size: 11px; }
.segmented { display: flex; gap: 8px; }
.segmented label { flex: 1; flex-direction: row; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 11px; cursor: pointer; font-size: 12px; }
.segmented label:has(input:checked) { border-color: var(--accent-ink); color: var(--accent-ink); }
.form-grid .segmented input { accent-color: var(--accent); width: auto; padding: 0; }
/* Our designs to pick from, and the visitor's own picture */
.design-pick { display: grid; gap: 10px; }
.design-pick-title { font-size: 11px; color: var(--soft); }
.design-grid { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.design-tile {
    position: relative; flex: 0 0 auto; width: 62px; height: 176px; padding: 0; overflow: hidden; scroll-snap-align: start;
    border: 2px solid var(--line); border-radius: 31px / 22px; background: #111; transition: border-color .2s, transform .2s;
}
.design-tile:hover { transform: translateY(-3px); }
.design-tile.on { border-color: var(--accent-ink); box-shadow: 0 0 0 3px #d9ff4f40; }
.design-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.design-tile img.landscape { inset: auto; left: 50%; top: 50%; width: 176px; max-width: none; height: 62px; transform: translate(-50%, -50%) rotate(90deg); }
.design-tile.none { display: grid; place-items: center; padding: 8px; background: var(--panel2); color: var(--muted); font-size: 10px; line-height: 1.3; font-weight: 700; text-align: center; }
.upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upload-btn { cursor: pointer; }
.upload-btn input { display: none; }
.upload-btn.busy { opacity: .6; cursor: wait; }
.upload-name { font-size: 12px; color: var(--soft); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-remove { padding: 9px 13px; }
.builder-options { border: 1px solid var(--line); border-radius: 12px; margin: -5px 0 25px; overflow: hidden; }
.option-row { display: flex; align-items: center; gap: 11px; padding: 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.option-row:last-child { border: 0; }
.option-row input { accent-color: var(--accent); width: 16px; height: 16px; }
.option-row span { flex: 1; }
.option-row b { display: block; font-size: 12px; }
.option-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.option-row strong { font-size: 12px; color: var(--accent-ink); }
.option-extra { padding: 0 14px 14px 41px; display: grid; gap: 7px; }
.option-extra label { font-size: 11px; color: var(--soft); padding-top: 10px; }
.option-extra-input { display: flex; align-items: center; gap: 10px; }
.option-extra-input input { flex: 1; min-width: 0; background: var(--field); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; outline: none; }
.option-extra-input input:focus { border-color: var(--accent-ink); }
.option-extra-input small { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); }
.builder-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.builder-submit { width: 100%; }
.captcha { display: flex; align-items: center; gap: 10px; }
.captcha b { white-space: nowrap; font-size: 14px; }

/* Catalog */
.shop { padding-bottom: 90px; }
.results-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.result-count { color: var(--muted); font-size: 12px; }
.results-tools { display: flex; gap: 12px; align-items: center; }
.sort { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-size: 12px; outline: none; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; }
.chip:hover { color: var(--text); }
.chip.active { border-color: var(--accent-ink); color: var(--accent-ink); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.products.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product { background: var(--panel); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; min-width: 0; transition: transform .22s, border-color .22s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-4px); border-color: var(--line); }
.product-image { aspect-ratio: 4 / 3; position: relative; background: var(--panel2); overflow: hidden; display: block; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.product:hover .product-image img { transform: scale(1.045); }
.label { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--on-accent); padding: 6px 8px; border-radius: 5px; font-size: 9px; letter-spacing: .1em; font-weight: 900; text-transform: uppercase; }
.product-info { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.category { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-size: 16px; margin: 7px 0 6px; letter-spacing: -.03em; }
.meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.price { font-weight: 900; font-size: 18px; letter-spacing: -.04em; }
.price.ask { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.go { width: 35px; height: 35px; border: 1px solid var(--line); color: var(--accent-ink); border-radius: 50%; font-size: 16px; display: grid; place-items: center; transition: .2s; }
.product:hover .go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }

/* Product page */
.detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.gallery-main { display: block; background: var(--panel2); border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--panel2); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--panel2); aspect-ratio: 1; }
.thumbs button.on { border-color: var(--accent-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-info { position: sticky; top: 100px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); }
.detail-info h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.06em; line-height: 1; margin: 12px 0; }
.detail-desc { font-size: 14px; line-height: 1.7; color: var(--muted); white-space: pre-line; }
.detail-price { font-size: 30px; font-weight: 900; margin: 22px 0; letter-spacing: -.04em; }
.detail-price small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 20px 0 24px; }
.spec { padding: 12px; background: var(--panel2); border-radius: 10px; min-width: 0; }
.spec small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.spec strong { display: block; margin-top: 6px; font-size: 13px; overflow-wrap: anywhere; }
.detail-actions { display: grid; gap: 10px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; margin-top: 50px; }
.videos video, .videos iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 560px; border: 0; border-radius: 16px; background: #000; }

/* Feature band, partners, contact */
.feature { margin-bottom: 90px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 330px; }
.feature-img { background: url('/img/workshop.webp') center / cover; min-height: 300px; }
.feature-copy { padding: clamp(26px, 5vw, 55px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: .98; letter-spacing: -.07em; margin: 16px 0; }
.feature-copy p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 420px; }
.partners { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 90px; }
.partner { height: 70px; padding: 12px 18px; background: #000; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); }
.partner img { max-height: 46px; width: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--accent-ink); transform: translateY(-3px); }
.contact-card small { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 16px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.team { display: grid; grid-template-columns: 280px 1fr; gap: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.team img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.team .body { padding: 30px 30px 30px 0; }
.team h2 { margin: 10px 0 6px; font-size: 28px; letter-spacing: -.05em; }

/* Plain tables (the pages that have one) */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
main > h1, main > .table-responsive { width: min(1240px, calc(100% - 44px)); margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 12px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.footer-inner strong { color: var(--text); font-size: 18px; letter-spacing: -.06em; }
.footer-inner strong span { color: var(--accent-ink); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-admin { opacity: .7; }
.footer-admin:hover { opacity: 1; color: var(--accent-ink); }

/* Blazor's own bits */
#blazor-error-ui { background: #ffe9a8; color: #111; bottom: 0; box-shadow: 0 -1px 2px #0003; display: none; left: 0; padding: .6rem 1.25rem .7rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.spinner-overlay { position: fixed; inset: 0; background: #0008; z-index: 60; display: grid; place-items: center; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #ffffff33; border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Smaller screens */
@media (max-width: 1000px) {
    .products, .products.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .navlinks { gap: 0; font-size: 15px; }
    .detail { grid-template-columns: 1fr; }
    .detail-info { position: static; }
    .prose-layout { grid-template-columns: 1fr; }
    .side-card { position: static; }
}
@media (max-width: 860px) {
    .navlinks { display: none; }
    .menu-btn { display: grid; }
    .mobile-menu.open { display: flex; flex-direction: column; padding: 8px 0 18px; border-top: 1px solid var(--hairline); }
    .mobile-menu { counter-reset: menu; }
    .mobile-menu a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0 8px; border-bottom: 1px solid var(--hairline); font-family: Anton, Impact, "Arial Narrow", sans-serif; font-size: 34px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
    .mobile-menu a::before { counter-increment: menu; content: counter(menu, decimal-leading-zero); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
    .mobile-menu a.active, .mobile-menu a:active { color: var(--accent-ink); }
    .builder-shell { grid-template-columns: 1fr; }
    .bp-stage { height: 360px; }
    .builder-sticky { position: static; }
    .builder-form { padding: 25px; }
    .builder { padding-bottom: 60px; }
    .team { grid-template-columns: 1fr; }
    .team .body { padding: 0 24px 26px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 28px); }
    .topbar { font-size: 9px; letter-spacing: .08em; }
    .nav { height: 64px; gap: 10px; }
    .brand { font-size: 21px; }
    .brand small { display: none; }
    .hero { padding-top: 14px; padding-bottom: 35px; }
    .hero-card { min-height: 520px; }
    .hero-cut { background-position: 70% center; }
    .hero-counter { left: 25px; top: 18px; right: auto; bottom: auto; }
    .hero-progress { width: 50px; }
    .hero-content { padding: 25px; }
    .hero-tag { top: 14px; right: 14px; font-size: 8px; }
    .benefits { grid-template-columns: 1fr 1fr; margin-bottom: 45px; }
    .benefit { padding: 15px 10px; border-bottom: 1px solid var(--line); }
    .benefit:nth-child(2) { border-right: 0; }
    .benefit:nth-child(3), .benefit:nth-child(4) { border-bottom: 0; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .products, .products.four { gap: 10px; }
    .product-info { padding: 11px; }
    .product h3 { font-size: 14px; }
    .price { font-size: 15px; }
    .meta { flex-direction: column; gap: 3px; }
    .feature { grid-template-columns: 1fr; margin-bottom: 55px; }
    .feature-img { min-height: 220px; }
    .footer-inner { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr 1fr; }
    .lang a { padding: 8px 9px; }
}
@media (max-width: 480px) {
    .builder-visual { padding: 18px; }
    .bp-stage { height: 300px; }
    .bp-watermark { font-size: 130px; }
    .form-grid { gap: 10px; grid-template-columns: 1fr; }
    .builder-form { padding: 20px 15px; }
    .hero h1 { font-size: 43px; }
    .iconbtn { width: 36px; height: 36px; }
}
