/* Chopsmith's site: Live's dark greys, the device's orange, its waveform greens */
:root {
	--bg: #161616;
	--panel: #1f1f1f;
	--line: #2e2e2e;
	--text: #ececec;
	--muted: #a3a3a3;
	--accent: #f4a259;      /* the device's lit buttons */
	--accent-ink: #1a1206;
	--green: #8fdc5c;       /* its waveform */
	--teal: #5fd3c6;
	--radius: 10px;
	--max: 1080px;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
main, .nav, footer { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { color: var(--text); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.crumbs { display: flex; align-items: center; gap: 10px; }
.studio { color: var(--muted); font-weight: 600; white-space: nowrap; }
.studio:hover { color: var(--text); text-decoration: none; }
.sep { color: #4a4a4a; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #3a2a18; }
.nav nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.nav nav a:not(.btn) { color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

.btn {
	display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 650;
	padding: 12px 20px; border-radius: 999px; border: 1px solid var(--accent); white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { padding: 7px 14px; font-size: .9rem; }

.hero { padding: 72px 0 40px; max-width: 760px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.lede { font-size: 1.2rem; color: #d4d4d4; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { color: var(--muted); font-size: .88rem; }

.shot { margin: 8px 0 88px; }
.shot img {
	display: block; width: 100%; height: auto; border-radius: var(--radius);
	border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(143, 220, 92, .25);
}

.features { padding-bottom: 72px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.grid article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid article p { color: #cfcfcf; margin: 0; font-size: .97rem; }
.grid article h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--green), var(--teal)); }
.more { color: var(--muted); margin-top: 22px; }

.demo { padding-bottom: 72px; }
.demo > div {
	background: linear-gradient(135deg, #22301b, #1d2a2a); border: 1px solid #33452a;
	border-radius: 16px; padding: clamp(24px, 5vw, 48px);
}
.demo p { max-width: 640px; }

.faq { padding-bottom: 72px; max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: #cfcfcf; margin: 10px 0 4px; }

footer { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 40px; }
footer p { margin: 0 0 8px; }

/* the licence and privacy pages */
.doc { max-width: 760px; padding: 48px 16px 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.1rem; margin-top: 2em; }
.doc .meta { color: var(--muted); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc code { font-size: .92em; color: var(--teal); }

@media (max-width: 820px) {
	.grid { grid-template-columns: 1fr; }
	.nav nav a:not(.btn) { display: none; }
	.hero { padding-top: 40px; }
}

/* the studio home page */
.studio-hero { padding: 88px 0 56px; max-width: 760px; }
.mark { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.mark:hover { text-decoration: none; }
.mark svg { width: 26px; height: 26px; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 88px; }
.product { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); }
.product:hover { text-decoration: none; border-color: #444; }
.product img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #111; border-bottom: 1px solid var(--line); }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product .tag { color: var(--green); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.product h3 { font-size: 1.35rem; margin: 0; }
.product p { color: #cfcfcf; margin: 0; }
.product .price { margin-top: auto; padding-top: 12px; color: var(--accent); font-weight: 650; }
.product.soon { border-style: dashed; justify-content: center; align-items: center; text-align: center; min-height: 240px; color: var(--muted); }
.product.soon:hover { border-color: var(--line); }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } .studio-hero { padding-top: 48px; } }

/* the guide */
.guide { max-width: 860px; }
.guide section { padding: 8px 0 40px; scroll-margin-top: 16px; }
.guide h2 { margin-top: 0.4em; }
.guide h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.guide ul, .guide ol { padding-left: 1.3em; }
.guide li { margin-bottom: .55em; color: #d6d6d6; }
.guide p { color: #d6d6d6; }
.guide code { font-size: .9em; color: var(--teal); }
.guide-head { padding: 48px 0 24px; }
.guide-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.toc a { color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; }
.toc a:hover { text-decoration: none; border-color: #555; }
.toc a.hot, .pin.hot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.callout {
	display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; align-items: center; margin: 8px 0 48px;
	background: linear-gradient(135deg, #2a1f12, #1f1a14); border: 1px solid #4a3620; border-radius: 16px; padding: clamp(20px, 4vw, 32px);
}
.callout h2 { font-size: 1.5rem; }
.callout p { color: #e2d6c8; }
.callout img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #4a3620; }
.steps li { margin-bottom: .9em; }
.steps li::marker { color: var(--accent); font-weight: 700; }
figure { margin: 16px 0 20px; }
.guide figure img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.pins { position: relative; }
.pin {
	position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%;
	display: grid; place-items: center; font-size: .8rem; font-weight: 700;
	background: #f2f2f2; color: #141414; box-shadow: 0 0 0 3px rgba(0, 0, 0, .55);
}
.legend li::marker { font-weight: 700; color: var(--text); }
.feature { border-top: 1px solid #4a3620; padding-top: 32px !important; }
kbd { font: 600 .82em/1 -apple-system, BlinkMacSystemFont, sans-serif; background: #2a2a2a; border: 1px solid #444; border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; color: var(--text); }
.faqlist dt { font-weight: 650; margin-top: 1.1em; }
.faqlist dd { margin: .3em 0 0; color: #cfcfcf; }
@media (max-width: 820px) {
	.callout { grid-template-columns: 1fr; }
	.pin { width: 20px; height: 20px; font-size: .7rem; }
}

/* the Editor spotlight on the product page */
.editor-spot {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: center; margin-bottom: 72px;
	background: linear-gradient(135deg, #2a1f12, #1f1a14); border: 1px solid #4a3620; border-radius: 16px; padding: clamp(22px, 4vw, 40px);
}
.editor-spot p { color: #e2d6c8; }
.editor-spot .eyebrow { color: var(--accent); }
.editor-spot img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #4a3620; }
@media (max-width: 820px) { .editor-spot { grid-template-columns: 1fr; } }
