:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6faf8;
  color: #17211d;
  --ink: #17211d;
  --muted: #5b6a63;
  --panel: #ffffff;
  --line: #dce5e1;
  --accent: #087f68;
  --accent-dark: #075f50;
  --soft: #eaf5f1;
  --surface: #f6faf8;
  --surface-2: #edf5f1;
  --shadow: rgba(23, 33, 29, 0.1);
  --hero-glow: rgba(8, 127, 104, 0.12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  background: #0f1714;
  color: #edf7f3;
  --ink: #edf7f3;
  --muted: #9eb0aa;
  --panel: #15211d;
  --line: #2d3d37;
  --accent: #57d6b5;
  --accent-dark: #8ee8c7;
  --soft: #18332b;
  --surface: #0f1714;
  --surface-2: #111d19;
  --shadow: rgba(0, 0, 0, 0.28);
  --hero-glow: rgba(87, 214, 181, 0.14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 8%, var(--hero-glow), transparent 26rem),
    var(--surface);
}
a { color: var(--accent); font-weight: 700; }
.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
}
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
nav a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover {
  background: var(--soft);
  color: var(--accent);
}
.header-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
}
.theme-toggle,
.language-menu summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle {
  width: 44px;
  padding: 0;
  font: inherit;
  font-size: 18px;
}
.language-menu {
  position: relative;
}
.language-menu summary {
  width: 58px;
  gap: 4px;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.flag {
  font-size: 22px;
  line-height: 1;
}
.chevron {
  color: var(--muted);
  font-size: 12px;
}
.language-list {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: var(--panel);
  box-shadow: 0 18px 40px var(--shadow);
}
.language-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  text-decoration: none;
}
.language-list a:hover,
.language-list a[aria-current="true"] {
  background: var(--soft);
  color: var(--accent);
}
main { max-width: 1180px; margin: 0 auto; padding: 18px; }
.hero {
  padding: 58px 0 34px;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr);
  gap: 34px;
  align-items: center;
}
.hero-copy {
  max-width: 880px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(34px, 7vw, 68px); line-height: 1; letter-spacing: 0; }
h2 { margin: 0 0 10px; font-size: 22px; }
p { color: var(--muted); line-height: 1.65; }
.hero p:not(.eyebrow) { max-width: 760px; font-size: 18px; }
.hero-actions, .tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.studio-hero {
  position: relative;
  min-height: 370px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--panel), var(--surface-2));
  box-shadow: 0 22px 60px var(--shadow);
}
.studio-hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(8, 127, 104, 0.12) 58% 100%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(8, 127, 104, 0.08) 46px 48px);
}
.desk-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 34px var(--shadow);
}
.screen-card {
  inset: 44px 42px 126px;
  padding: 16px;
}
.screen-top {
  height: 9px;
  width: 86px;
  border-radius: 999px;
  background: var(--soft);
}
.wave-lines {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 82px;
  margin-top: 24px;
}
.wave-lines span {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: var(--accent);
}
.wave-lines span:nth-child(1) { height: 32px; opacity: .45; }
.wave-lines span:nth-child(2) { height: 62px; opacity: .8; }
.wave-lines span:nth-child(3) { height: 44px; opacity: .55; }
.wave-lines span:nth-child(4) { height: 76px; opacity: .95; }
.wave-lines span:nth-child(5) { height: 38px; opacity: .5; }
.code-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.code-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--soft);
}
.code-lines span:nth-child(2) { width: 78%; }
.code-lines span:nth-child(3) { width: 52%; }
.midi-card {
  right: 44px;
  bottom: 42px;
  width: min(68%, 330px);
  height: 74px;
  padding: 14px;
}
.mini-keyboard {
  height: 38px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #fff 0 24px, #dce5e1 24px 26px),
    #fff;
}
.round-control {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
}
.note-card {
  left: 44px;
  bottom: 54px;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 14px;
}
.note-card strong {
  font-size: 28px;
}
.note-card span {
  color: var(--muted);
  font-weight: 700;
}
.grid { display: grid; gap: 14px; margin: 20px 0; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 14px;
  margin: 8px 0 20px;
}
.card, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}
.showcase-band > div,
.roadmap,
.project-overview article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}
.card p, .panel p { margin-bottom: 0; }
.roadmap { margin: 20px 0; }
.roadmap ol { margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.7; }
.article-body {
  display: grid;
  gap: 16px;
}
.article-body ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.faq-list dt {
  color: var(--ink);
  font-weight: 800;
}
.faq-list dd {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.65;
}
.trust-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.project-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin: 10px 0 18px;
}
.project-overview ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.status {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.ad-note { background: #fbfdfc; }
:root[data-theme="dark"] .ad-note { background: #13201c; }
.ad-slot {
  margin: 34px 0 6px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface-2);
  text-align: center;
}
.ad-slot span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ad-slot p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}
footer {
  max-width: 1180px;
  margin: 30px auto 0;
  border-top: 1px solid var(--line);
  padding: 18px;
}
footer p { margin: 6px 0; font-size: 14px; }
@media (max-width: 840px) {
  .site-header { grid-template-columns: 1fr; }
  .header-controls { justify-self: start; }
  .language-list { right: auto; left: 0; }
  .hero-split, .grid.three, .grid.two, .showcase-band, .project-overview, .trust-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .studio-hero { min-height: 320px; }
}
