/* SACRED DSP · "lab paper" (Nov 2026)
   Light paper, black ink, thin sacred-geometry linework. The plugins are the only dark, glowing things on the page.
   One colour per plugin: XL teal, Phase Echo violet, Phase Fracture magenta, BasePhase green. */

:root {
  --paper: #f2f2ef;
  --paper-2: #e7e8e4;
  --white: #ffffff;
  --ink: #121315;
  --ink-2: #2b2e33;
  --ink-3: #3a3e44;
  --muted: #565c64;
  --line: #cfd2d4;
  --line-2: #8e949b;
  --screen: #121315;
  --xl: #007a74;
  --echo: #6d4fd8;
  --frac: #c8167f;
  --base: #3f8a00;
  --display: 'Michroma', 'Eurostile', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--xl); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
code, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--xl); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

.xl-c { color: var(--xl); } .echo-c { color: var(--echo); } .frac-c { color: var(--frac); } .base-c { color: var(--base); }
a.xl-c:hover { text-decoration: underline; color: var(--xl); }

/* ---------- buttons: plain rectangles, no gradients ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 12px 22px;
  border: 1px solid var(--line-2); border-radius: 3px; background: transparent; color: var(--ink);
  font: 500 16px/1.2 var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn.solid { background: var(--xl); border-color: var(--xl); color: var(--white); font-weight: 600; }
.btn.solid:hover { background: #00635e; border-color: #00635e; color: var(--white); }
.btn.echo { border-color: var(--echo); color: var(--echo); font-weight: 600; }
.btn.echo:hover { background: var(--echo); color: var(--white); }
.btn.frac { border-color: var(--frac); color: var(--frac); font-weight: 600; }
.btn.frac:hover { background: var(--frac); color: var(--white); }
.btn.line { border-color: var(--xl); color: var(--xl); }
.btn.line:hover { background: var(--xl); color: var(--white); }
.btn.sm { min-height: 40px; padding: 9px 16px; font: 500 14px/1.2 var(--mono); letter-spacing: .03em; }
.btn.bare { border-color: transparent; padding-inline: 6px; }
.btn.bare:hover { color: var(--xl); }

/* ---------- nav ---------- */
.nav { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo img { height: 26px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font: 14px/1.4 var(--mono); letter-spacing: .03em; }
.nav ul a[aria-current] { color: var(--xl); }
@media (max-width: 860px) { .nav ul { order: 3; width: 100%; } .nav .wrap { padding-bottom: 14px; } }

/* ---------- hero: the instrument on its diagram ---------- */
.hero { overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.hero .lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 32ch; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-weight: 400; font-size: 34px; }
.price span { color: var(--muted); font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.spec { font: 13px/1.6 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.spec span + span::before { content: ' · '; }

.stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.stage .geo { position: absolute; width: 118%; max-width: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.stage .geo img { width: 100%; animation: turn 120s linear infinite; }
.stage figure { margin: 0; position: relative; z-index: 1; width: 100%; }
.shot { border: 1px solid var(--ink); border-radius: 8px; box-shadow: 0 40px 80px rgba(18, 19, 21, .30), 0 0 0 7px var(--paper); }
.stage .shot { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); }
.stage figcaption { margin-top: 18px; font: 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; text-align: right; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 64px; }
  .stage .shot { transform: none; }
}

/* the scope: an instrument screen on paper (live from the demo audio when there is one) */
.scope { background: var(--screen); border-radius: 4px; padding: 12px 14px; display: flex; align-items: center; gap: 14px; max-width: 470px; color: #a8afb8; }
.scope canvas { flex: 1 1 auto; min-width: 0; width: 100%; height: 44px; display: block; }
.scope .play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3ee6d6; background: transparent; color: #3ee6d6; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0; }
.scope.has-audio .play { display: inline-flex; }
.scope .play svg { width: 16px; height: 16px; }
.scope .play .i-pause, .scope.playing .play .i-play { display: none; }
.scope.playing .play .i-pause { display: block; }
.scope-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.scope-label { display: none; justify-content: space-between; font: 12px/1.4 var(--mono); }
.scope.has-audio .scope-label { display: flex; }

/* ---------- sections ---------- */
section { border-top: 1px solid var(--line); }
section.tint { background: var(--paper-2); }
.sec { padding-top: 96px; padding-bottom: 96px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); max-width: 58ch; }
@media (max-width: 600px) { .sec { padding-top: 64px; padding-bottom: 64px; } }

/* why: his own words */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.why blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; letter-spacing: .01em; }
.why .copy { display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); }
.why .sig { font: 14px/1.5 var(--mono); color: var(--muted); }
.why ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.why li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
.why li b { font: 500 13px/1.6 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); gap: 32px; } .why li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* products: each plugin an object, then what it does */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product .body { display: flex; flex-direction: column; gap: 16px; }
.kind { display: flex; align-items: center; gap: 14px; font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sigil { width: 40px; height: 40px; flex: none; }
.product .tagline { font-size: 21px; color: var(--ink); }
.product .body > p { color: var(--ink-3); }
.details { margin: 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { font: 500 12px/1.7 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.details dd { margin: 0; color: var(--ink-3); font-size: 16px; }
.free { color: var(--muted); font-size: 15px; }
.free b { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 4px; }
.tip { margin-top: 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.tip b { font: 500 13px/1.6 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.tip p { color: var(--ink-3); flex: 1 1 380px; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); gap: 28px; } .details div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.soon { display: inline-block; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px dashed var(--base); color: var(--base); padding: 6px 10px; border-radius: 3px; width: fit-content; }
.shot-cap { margin-top: 12px; font: 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

/* install: a spec sheet */
.sheet { border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.sheet-head { padding: 26px 30px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.sheet-head p { font: 13px/1.5 var(--mono); color: var(--muted); letter-spacing: .03em; max-width: 70ch; }
.table-box { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.sheet th { text-align: left; font: 500 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding: 16px 30px; }
.sheet td { padding: 15px 30px; border-top: 1px solid var(--line); vertical-align: top; }
.sheet td:first-child { white-space: nowrap; font-family: var(--mono); }
.sheet td.path { font-family: var(--mono); font-size: 14px; }
.sheet td:last-child { color: var(--ink-3); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 22px 30px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 14px/1.9 var(--mono); color: var(--xl); }
.steps h4 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.steps p { color: var(--ink-3); }
.steps p + p { margin-top: 6px; }
.path { font-family: var(--mono); font-size: .92em; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; overflow-wrap: anywhere; }
.cmd { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--screen); border-radius: 3px; padding: 10px 12px; }
.cmd code { flex: 1 1 360px; min-width: 0; color: #3ee6d6; font-size: 14px; overflow-x: auto; white-space: nowrap; padding: 6px 2px; }
.cmd button { border: 1px solid #4a515a; background: transparent; color: #eef0f2; padding: 9px 16px; min-height: 42px; border-radius: 3px; font: 13px/1 var(--mono); cursor: pointer; }
.cmd button:hover { border-color: #3ee6d6; color: #3ee6d6; }
@media (max-width: 600px) { .steps li { grid-template-columns: minmax(0, 1fr); padding: 20px; } .sheet-head { padding: 22px 20px; } }

/* FAQ: a ruled list */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 22px/1.4 var(--mono); color: var(--xl); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-3); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* XL page: the modules, one by one */
.mods { display: flex; flex-direction: column; }
.mod { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.mod:first-child { border-top: 0; padding-top: 8px; }
.mod.flip .pic { order: 2; }
.mod .pic img { border: 1px solid var(--ink); border-radius: 6px; box-shadow: 0 28px 56px rgba(18, 19, 21, .24); background: var(--screen); }
.mod .copy { display: flex; flex-direction: column; gap: 14px; }
.mod .label { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mod .copy > p { color: var(--ink-3); }
.mod ul { margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mod li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 16px; }
.mod li b { color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 14px; }
@media (max-width: 900px) { .mod { grid-template-columns: minmax(0, 1fr); gap: 24px; } .mod.flip .pic { order: 0; } }

.spec-list { margin: 56px 0 0; border-top: 1px solid var(--ink); }
.spec-list div { display: grid; grid-template-columns: 150px minmax(0, 260px) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-list dt { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--xl); }
.spec-list dd { margin: 0; }
.spec-list dd:first-of-type { font-weight: 600; }
.spec-list dd + dd { color: var(--ink-3); font-size: 16px; }
@media (max-width: 860px) { .spec-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.buy .copy { display: flex; flex-direction: column; gap: 18px; }
.buy .copy > p { color: var(--ink-3); }
.buy .embed { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 20px; min-height: 120px; }
@media (max-width: 900px) { .buy { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- footer: the tagline, once ---------- */
footer { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
footer .geo { position: absolute; width: 760px; right: -230px; top: -250px; pointer-events: none; }
footer .wrap { position: relative; padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 56px; }
.tagline-big { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); line-height: 1.25; max-width: 18ch; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font: 14px/1.6 var(--mono); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot small { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage .geo img { animation: none; }
}

/* Michroma has no proper euro sign: the € is drawn in the body font, the number stays in the display font */
.price b .cur { font-family: var(--sans); font-weight: 500; margin-right: .06em; }
