
:root{
  --ink:#07142b;
  --ink-2:#10213f;
  --muted:#5f7193;
  --line:#e7edf7;
  --surface:#ffffff;
  --wash:#f8fbff;
  --blue:#72c9ff;
  --violet:#9b8cff;
  --pink:#f184df;
  --shadow:0 18px 55px rgba(26,54,103,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 54% 12%, rgba(158,137,255,.12), transparent 29rem),
    radial-gradient(circle at 72% 42%, rgba(240,130,220,.08), transparent 24rem),
    #fff;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,a{transition:.2s ease}
img,video{max-width:100%}
.shell{width:min(1450px,calc(100% - 48px));margin:0 auto}
.site-header{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.brand img{width:218px;height:auto;display:block;object-fit:contain}
.nav{display:flex;align-items:center;gap:34px;font-size:17px}
.nav-link{color:#0c244e}
.nav-link:hover{opacity:.62}
.github-btn,.primary-btn{
  display:inline-flex;
  min-height:56px;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:14px;
  padding:0 27px;
  background:linear-gradient(135deg,#12294e,#07162f);
  color:#fff;
  font-weight:700;
  box-shadow:0 10px 26px rgba(11,31,65,.14);
}
.github-btn:hover,.primary-btn:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(11,31,65,.18)}
.github-icon{width:21px;height:21px;display:inline-grid;place-items:center}
.hero{
  display:grid;
  grid-template-columns:minmax(0,.83fr) minmax(560px,1.38fr);
  gap:58px;
  align-items:center;
  padding:42px 0 54px;
}
.eyebrow{
  color:#536b97;
  text-transform:uppercase;
  letter-spacing:.23em;
  font-size:14px;
  font-weight:600;
  margin:0 0 28px;
}
.hero h1{
  margin:0;
  font-size:clamp(62px,6.45vw,108px);
  line-height:.96;
  letter-spacing:-.065em;
  font-weight:850;
}
.hero h1 .love{
  color:transparent;
  background:linear-gradient(95deg,#61c8ff 0%,#8e9cff 48%,#f27dd5 78%,#ff76b5 100%);
  background-clip:text;-webkit-background-clip:text;
}
.hero-copy{
  margin:28px 0 34px;
  color:#62759a;
  max-width:590px;
  font-size:21px;
  line-height:1.48;
}
.hero-actions{display:flex;gap:15px;flex-wrap:wrap}
.secondary-btn{
  display:inline-flex;
  min-height:56px;
  align-items:center;
  justify-content:center;
  border:1px solid #d9e3f2;
  padding:0 24px;
  border-radius:14px;
  font-weight:700;
  color:#17305b;
  background:rgba(255,255,255,.85)
}
.secondary-btn:hover{background:#f7faff}
.demo-wrap{
  position:relative;
}
.demo-wrap:before{
  content:"";
  position:absolute;
  inset:-48px -26px;
  background:
    radial-gradient(circle at 30% 30%,rgba(118,199,255,.19),transparent 37%),
    radial-gradient(circle at 68% 72%,rgba(245,126,213,.15),transparent 35%),
    radial-gradient(circle at 60% 25%,rgba(154,137,255,.18),transparent 42%);
  filter:blur(4px);
  z-index:-1;
}
.demo-card{
  border:1px solid #e3eaf5;
  border-radius:29px;
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
  padding:18px;
}
.demo-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:2px 8px 14px;
}
.demo-mini-brand{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:850;letter-spacing:-.04em}
.mini-dot{
  width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,#78d3ff,#b49cf8 54%,#ff85da);
  padding:6px;display:grid;place-items:center
}
.mini-dot:after{content:"";display:block;width:100%;height:100%;border-radius:50%;background:#10193a}
.instrument-tabs{display:flex;gap:7px;flex-wrap:wrap}
.instrument-tab{
  border:0;border-radius:18px;padding:9px 15px;background:#f5f7fb;color:#395070;font-weight:650;font-size:13px
}
.instrument-tab.active{
  background:linear-gradient(135deg,#7ccfff,#9997ff 55%,#e483e4);
  color:#fff;box-shadow:0 5px 14px rgba(105,145,255,.25)
}
.video-frame{
  border-radius:16px;
  overflow:hidden;
  background:#0b1424;
  aspect-ratio:16/9;
}
.video-frame video{width:100%;height:100%;display:block;object-fit:cover;background:#0b1424}
.video-meta{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:15px 7px 3px;color:#667899;font-size:13px
}
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:0 0 28px;
}
.step{
  border:1px solid #e3eaf5;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  padding:25px 28px;
  display:flex;
  gap:20px;
  align-items:flex-start;
  min-height:132px;
}
.step-num{
  width:44px;height:44px;flex:0 0 44px;border-radius:50%;
  display:grid;place-items:center;font-weight:800;
  background:linear-gradient(135deg,#e8f8ff,#f4e8ff);color:#6672e8
}
.step:nth-child(3) .step-num{color:#eb529d;background:linear-gradient(135deg,#f0ecff,#ffe7f3)}
.step h3{font-size:19px;margin:3px 0 7px}
.step p{margin:0;color:#68799a;line-height:1.4}
.support{
  border-top:1px solid #edf1f7;
  padding:22px 0 30px;
  display:flex;
  align-items:center;
  gap:28px;
}
.support-title{
  color:#60759f;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.09em;
  white-space:nowrap
}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{
  padding:11px 19px;
  background:#f6f8fc;
  border-radius:15px;
  color:#496185;
  font-size:14px
}
.footer{
  border-top:1px solid #f1f3f8;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px 0 34px;
  color:#66799b;font-size:13px
}
.footer-links{display:flex;gap:28px;flex-wrap:wrap}
.footer a:hover{color:#0c244e}

/* internal pages */
.page-main{max-width:950px;margin:0 auto;padding:35px 0 80px}
.page-main h1{font-size:56px;letter-spacing:-.045em;margin:22px 0 18px}
.page-main h2{margin:42px 0 12px;font-size:25px}
.page-main p,.page-main li{color:#526889;line-height:1.7;font-size:17px}
.page-main .lead{font-size:21px;color:#506586}
.page-main code{background:#f4f7fb;border:1px solid #e7ecf3;padding:.15em .4em;border-radius:6px}
.page-main pre{
  overflow:auto;background:#0d1728;color:#d9e6f8;border-radius:17px;padding:22px;
  box-shadow:0 10px 30px rgba(10,25,50,.08);line-height:1.6
}
.page-main pre code{background:none;border:0;padding:0;color:inherit}
.example-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.example-card{border:1px solid #e5ebf5;background:#fff;border-radius:20px;padding:24px}
.example-card h3{margin:0 0 10px}
.small-note{font-size:14px!important;color:#71819d!important}
@media (max-width:1050px){
  .site-header{min-height:120px}
  .hero{grid-template-columns:1fr;padding-top:20px}
  .hero-copy{max-width:760px}
  .demo-wrap{max-width:880px}
}
@media (max-width:720px){
  .shell{width:min(100% - 28px,1450px)}
  .site-header{padding:22px 0;align-items:flex-start}
  .brand img{width:170px}
  .nav{gap:12px;flex-direction:column;align-items:flex-end}
  .nav-link{font-size:14px}
  .github-btn{min-height:46px;padding:0 16px;font-size:14px}
  .hero{gap:34px;padding:25px 0 38px}
  .hero h1{font-size:58px}
  .hero-copy{font-size:18px}
  .demo-card{padding:10px;border-radius:20px}
  .demo-head{align-items:flex-start;flex-direction:column}
  .instrument-tabs{overflow:auto;width:100%;flex-wrap:nowrap;padding-bottom:4px}
  .instrument-tab{white-space:nowrap}
  .steps{grid-template-columns:1fr}
  .support{align-items:flex-start;flex-direction:column}
  .footer{align-items:flex-start;flex-direction:column}
  .example-grid{grid-template-columns:1fr}
  .page-main h1{font-size:44px}
}


/* Sticky, compacting header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  transition:min-height .22s ease, padding .22s ease, background .22s ease,
             box-shadow .22s ease, backdrop-filter .22s ease;
}
.site-header::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:100vw;
  height:100%;
  transform:translateX(-50%);
  background:rgba(255,255,255,.76);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  border-bottom:1px solid transparent;
  z-index:-1;
  transition:background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.site-header .brand img,
.site-header .github-btn,
.site-header .nav-link{
  transition:all .22s ease;
}
body.header-compact .site-header{
  min-height:84px;
}
body.header-compact .site-header::before{
  background:rgba(255,255,255,.90);
  border-bottom-color:#e9eef6;
  box-shadow:0 8px 26px rgba(20,46,89,.06);
}
body.header-compact .site-header .brand img{
  width:172px;
  height:auto;
}
body.header-compact .site-header .github-btn{
  min-height:46px;
  padding-left:20px;
  padding-right:20px;
}
.legal-callout{
  border:1px solid #dfe7f3;
  border-radius:18px;
  padding:20px 22px;
  background:#f8fbff;
  color:#4d6487;
  margin:22px 0;
}
.legal-callout strong{color:#172d52}
.notice-list{display:grid;gap:14px;margin-top:20px}
.notice-item{
  border:1px solid #e3eaf5;
  background:#fff;
  border-radius:18px;
  padding:20px 22px;
}
.notice-item h3{margin:0 0 7px;font-size:19px}
.notice-item p{margin:5px 0!important;font-size:15px!important}


/* Instrument identity */
.inst-icon{
  display:inline-grid;
  place-items:center;
  width:1.3em;
  height:1.3em;
  margin-right:.35em;
  font-size:1.05em;
  line-height:1;
  opacity:.92;
}
.instrument-tab{
  display:inline-flex;
  align-items:center;
}
.instrument-tab.active{
  background:linear-gradient(135deg,#72c9ff 0%,#9b8cff 52%,#f184df 100%);
}
.support-marquee{
  overflow:hidden;
  gap:24px;
}
.support-marquee .support-title{
  flex:0 0 auto;
  position:relative;
  z-index:2;
  background:#fff;
  padding-right:2px;
}
.marquee{
  min-width:0;
  overflow:hidden;
  position:relative;
  flex:1;
  mask-image:linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image:linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.marquee-track{
  display:flex;
  width:max-content;
  gap:10px;
  align-items:center;
  animation:tono-marquee 38s linear infinite;
}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes tono-marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion:reduce){
  .marquee{overflow-x:auto;mask-image:none;-webkit-mask-image:none}
  .marquee-track{animation:none}
}
.chip{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  border:1px solid rgba(115,145,205,.12);
  background:linear-gradient(180deg,#fbfdff,#f5f8fd);
}
.chip small{
  margin-left:.45em;
  font-size:.72em;
  color:#8a96ad;
}
.tone-ae .inst-icon{color:#7a9cff}
.tone-brisa .inst-icon{color:#64bfe8}
.tone-yds .inst-icon{color:#8c86f5}
.tone-guitar .inst-icon{color:#d06bbb}
.tone-bass .inst-icon{color:#9e79e8}
.tone-flute .inst-icon{color:#59bcd0}
.tone-recorder .inst-icon{color:#68a9e8}
.tone-ukulele .inst-icon{color:#ef8bb7}
.tone-piano .inst-icon{color:#6e7b99}
.tone-violin .inst-icon{color:#b87fd7}
.soon{opacity:.78}
