/* Buku's public pages: rounded lettering, record grooves, and imperfect edges. */
:root {
  --ink: #191e16;
  --paper: #f0e8ce;
  --lime: #c8e994;
  --pink: #ecafc1;
  --blue: #acbce6;
  --muted: #b4bca3;
  --groove-border: #5c6b49;
}
html { scroll-padding-top: 30px; }
body {
  background: var(--ink);
  color: var(--paper);
  background-image: radial-gradient(ellipse at 4% 12%, #48543420, transparent 55%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23grain)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
::selection { background: var(--pink); color: var(--ink); }
.site-nav, .page, .footer-inner { width: min(1360px, 90%); }
.site-nav, .site-header {
  position: relative;
  height: 88px;
  margin-top: 20px;
  padding: 0 26px;
  border: 1px solid #566344;
  border-radius: 52% 48% 48px 46px / 14px 16px 42px 44px;
  background: #252d20;
}
.site-header { margin-left: 5%; margin-right: 5%; }
.logo, .wordmark { color: var(--lime); transform: rotate(-5deg); }
.site-nav .logo { font-size: 48px; }
.nav-label { border: 0; padding-left: 8px; font-size: 9px; letter-spacing: 1.3px; color: #c4ccb6; }
.site-nav nav { gap: 8px; font-size: 13px; }
.site-nav nav a, .site-header nav a { padding: 12px 16px; border-radius: 50%; }
.site-nav nav a:hover, .site-nav nav a[aria-current=page], .site-header nav a:hover { color: var(--lime); background: #35422b; }
.nav-support { border-radius: 52% 48% 47% 53% / 46% 50% 50% 54% !important; border-color: #9aaf78 !important; margin-left: 12px; }
.eyebrow, .index, .micro { letter-spacing: 1.1px; }
.suite-hero { position: relative; grid-template-columns: 1fr 1fr; align-items: center; gap: 2%; padding: 24px 0 38px; min-height: 410px; }
.hero-wordmark { position: relative; padding-left: 3%; z-index: 1; }
.hero-wordmark > .eyebrow { display: inline-block; transform: rotate(-5deg); color: var(--pink); padding-left: 8px; }
.suite-hero h1 {
  font-size: clamp(140px, 19.5vw, 282px);
  line-height: 1.05;
  letter-spacing: -7px;
  margin: 12px 0 5px;
  color: var(--lime);
  transform: rotate(-7deg);
  transform-origin: 25% 50%;
  text-shadow: 2px 3px 0 var(--ink), 4px 6px 0 #738951, 6px 9px 0 var(--ink), 8px 12px 0 #738951;
}
.hero-side { position: relative; max-width: none; width: 100%; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 0 24px; isolation: isolate; }
.groove-art { position: absolute; z-index: -1; inset: -12% -8%; width: 116%; height: 124%; object-fit: contain; opacity: .85; pointer-events: none; }
.hero-labels { display: grid; justify-items: center; gap: 10px; width: 100%; }
.hero-labels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font: 400 clamp(25px, 2.5vw, 38px)/1.3 Rascal, Impact, sans-serif;
  color: var(--ink);
  background: var(--paper);
  padding: 11px 25px 13px;
  border: 2px solid var(--ink);
  border-radius: 42% 46% 39% 45% / 25% 32% 28% 35%;
  box-shadow: 3px 5px 0 var(--ink);
  transform: rotate(-8deg) translateX(-22px);
  transition: transform .2s, box-shadow .2s;
}
.hero-labels a:nth-child(2) { transform: rotate(6deg) translateX(28px); background: var(--pink); }
.hero-labels a:nth-child(3) { transform: rotate(-4deg) translateX(-2px); background: var(--blue); }
.hero-labels a span { font: 26px Arial, sans-serif; }
.hero-labels a:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 5px 8px 0 var(--ink); }
.hero-side .micro { padding: 8px 15px; background: var(--ink); border-radius: 50%; margin-top: 24px; color: var(--paper); transform: rotate(-3deg); }
.hero-side .micro::before { background: var(--pink); }
.section-bar { border: 0; background: url('/assets/groove-wave.svg') repeat-x center top; padding: 34px 5px 23px; }
.section-bar span:first-child { font: 400 29px Rascal, Impact, sans-serif; text-transform: none; letter-spacing: 0; }
.section-bar span:last-child { color: var(--pink); }
.product-grid { gap: 28px; align-items: start; padding-top: 8px; }
.product-card { border: 2px solid #7d9161; border-radius: 46px 75px 42px 48px / 45px 48px 57px 38px; background: #263021; box-shadow: 0 7px 0 #0e130b; transition: transform .2s, border-color .2s; }
.product-card.loops { border-color: #8b738e; border-radius: 74px 43px 65px 40px / 48px 55px 40px 58px; margin-top: 34px; background: #312a36; }
.product-card:hover { transform: translateY(-4px); border-color: var(--lime); }
.product-card.loops:hover { border-color: var(--pink); }
.product-image-link { height: 322px; padding: 54px 28px 13px; background: #435333; isolation: isolate; }
.product-card.loops .product-image-link { background: #66516c; }
.product-image-link::before, .product-image-link::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 210px; border: 17px solid #9eb5794d; border-radius: 50%; transform: rotate(-27deg); top: 13%; left: -30%; box-shadow: 0 0 0 10px #435333, 0 0 0 25px #9eb57930; }
.product-image-link::after { left: 70%; top: 23%; transform: rotate(40deg); }
.loops .product-image-link::before, .loops .product-image-link::after { border-color: #dcb7d565; box-shadow: 0 0 0 10px #66516c, 0 0 0 25px #dcb7d533; }
.product-image-link .preview-kicker { top: 23px; left: 30px; padding: 6px 12px; color: var(--ink); background: var(--lime); border-radius: 50%; transform: rotate(-7deg); font-size: 9px; font-weight: bold; }
.loops .preview-kicker { background: var(--pink); transform: rotate(7deg); }
.decks .product-image-link { padding: 55px 23px 19px; }
.decks .product-image-link img { border-radius: 9px; transform: rotate(-3deg); filter: drop-shadow(0 10px 0 #1d281d66); }
.decks .product-image-link:hover img { transform: rotate(-1deg) translateY(-3px); }
.loops .product-image-link img { margin-top: 11px; border-radius: 8px; box-shadow: 0 0 0 7px #322b36, 0 13px 0 7px #30213366; }
.product-content { padding: 31px 30px 32px; border: 0; background: #263021; border-radius: 48% 48% 0 0 / 16px 13px 0 0; margin-top: -17px; }
.loops .product-content { background: #312a36; }
.product-content h2 { color: var(--lime); font-size: clamp(40px, 4.5vw, 66px); transform: rotate(-3deg); transform-origin: left; margin: 24px 0 14px; }
.loops .product-content h2 { color: var(--pink); transform: rotate(2deg); }
.product-content p { color: #d0d8c3; }
.loops .product-content p { color: #d3c7d5; }
.product-topline .index { color: #c0cfa8; }
.loops .product-topline .index { color: #d0b7d2; }
.product-badge { border-radius: 50px; padding: 7px 10px; transform: rotate(3deg); background: #35442a; border-color: #718556; color: #e0edcc; font-size: 9px; }
.product-tags { gap: 9px; margin: 22px 0; }
.product-tags span { padding: 6px 10px; border: 1px solid #7b8a6766; border-radius: 50px; color: #c7d2b9; }
.product-tags span::before { content: '•'; color: var(--lime); }
.loops .product-tags span { color: #d5c6d6; border-color: #9c809666; }
.loops .product-tags span::before { color: var(--pink); }
.product-actions { gap: 18px; flex-wrap: wrap; }
.button {
  font: 400 19px/1.2 Rascal, Impact, sans-serif;
  border: 1.5px solid #94a47d;
  border-radius: 49% 45% 46% 44% / 40% 48% 45% 48%;
  min-height: 55px;
  padding: 13px 23px 15px;
  gap: 20px;
  box-shadow: 0 4px 0 #10160d;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.button.primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button.primary:hover { background: #ddf8b7; }
.button:hover { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 7px 0 #10160d; }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 #10160d; }
.loops .button.primary { background: var(--pink); border-color: var(--pink); }
.loops .button.primary:hover { background: #f9cbdb; }
.button:disabled { opacity: .7; box-shadow: none; transform: none; cursor: default; }
.plain-link, .text-link { text-decoration: underline; text-decoration-style: wavy; text-decoration-color: #8b9d70; text-underline-offset: 7px; border: 0; padding-bottom: 10px; }
.studio-row { border: 1px solid #798566; border-radius: 44% 37% 43% 32% / 15% 23% 16% 28%; background: #30382a; padding: 25px 35px; margin-top: 35px; gap: 24px; transform: rotate(-1deg); }
.studio-icon { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--blue); font: 65px/1 Arial, sans-serif; color: #38422b; transform: rotate(10deg); }
.studio-row h2 { color: var(--paper); }
.studio-row .index, .studio-row p { color: #c0c9b3; }
.studio-row>a { color: var(--paper); border: 0; text-decoration: underline wavy #91a179; text-underline-offset: 7px; }
.support-band { position: relative; isolation: isolate; border: 0; border-radius: 43% 40% 35% 38% / 10% 16% 13% 20%; background: var(--paper); color: var(--ink); margin: 70px 0 60px; padding: 42px 46px; gap: 35px; }
.support-band::before { content: '♥'; position: absolute; z-index: -1; left: 42%; top: 18%; color: #d2d6b3; font: 125px/1 Rascal, Impact, sans-serif; transform: rotate(-18deg); }
.support-band .eyebrow { color: #556244; }
.support-band h2 { font-size: 46px; transform: rotate(-3deg); transform-origin: left; }
.support-band p { color: #4c5940; }
.support-action small { color: #4d5d3f; }
.support-action .button { border-color: #405235; color: #27351e; }
.support-action .button.primary { background: #304728; color: var(--paper); }
.support-action .button:disabled { opacity: .85; }
.site-footer { border: 0; background: #11180f; border-radius: 50% 30% 0 0 / 22px 15px 0 0; }
.footer-inner { padding: 30px 5px; color: #bdc5ae; }
.footer-inner .logo { color: var(--lime); font-size: 44px; }
.footer-inner>a:not(.logo) { text-decoration: underline wavy #84976c; text-underline-offset: 6px; }
.product-hero { padding: 60px 0 75px; gap: 5%; }
.product-hero h1, .pending-page h1 { color: var(--lime); transform: rotate(-4deg); transform-origin: left; text-shadow: 2px 4px 0 #4c6037; }
.detail-art { border: 2px solid #869f63; border-radius: 55px 35px 48px 30px / 30px 45px 30px 48px; background: #3c4b2e; padding: 30px 22px 22px; margin: 0; box-shadow: 5px 8px 0 #0f160c; }
.detail-art img { border-radius: 8px; }
.detail-art figcaption { color: #d1ddbc; margin-left: 10px; }
.feature-strip, .guide-section { border: 0; background: url('/assets/groove-wave.svg') repeat-x left top; padding-top: 47px; }
.feature-strip { gap: 23px; }
.feature-strip article { padding: 24px; background: #283322; border-radius: 40px 55px 45px 30px / 30px 40px 25px 36px; }
.feature-strip article:nth-child(2) { background: #332e39; transform: rotate(1deg); }
.feature-strip article:nth-child(3) { background: #2b3539; transform: rotate(-1deg); }
.feature-strip h2 { color: var(--paper); }
.feature-strip p { color: #c6d0ba; }
.guide-section { gap: 55px; }
.guide-section h2 { color: var(--lime); transform: rotate(-3deg); transform-origin: left; }
.install-steps { display: grid; gap: 14px; }
.install-steps li { border: 0; padding: 22px; background: #273021; border-radius: 32px 18px 30px 22px; grid-template-columns: 35px 1fr; }
.install-steps li::before { display: grid; place-content: center; width: 35px; height: 35px; border-radius: 50%; background: var(--lime); color: var(--ink); padding: 0; font-size: 12px; transform: rotate(-10deg); }
.install-steps h3 { font: 400 25px/1.3 Rascal, Impact, sans-serif; }
.install-steps code { border-radius: 5px; background: #3a472f; }
.notes { border-radius: 30px 19px 32px 22px; border-style: dashed; color: #c0ccb3; }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.empty-slot { border: 0; border-radius: 44% 55% 46% 53% / 50% 40% 57% 44%; background: repeating-radial-gradient(ellipse at center, #1b2517 0 14px, #5a704540 15px 17px, #1b2517 18px 27px); box-shadow: 8px 9px 0 #0d140b; transform: rotate(8deg); }
.empty-slot span { color: var(--blue); }
.empty-slot small { background: #1b2517; padding: 10px; color: var(--paper); }

/* BukuLoops uses the same public-page language; the music app has its own UI. */
.site-header .wordmark { font-size: 43px; }
.site-header nav { gap: 2px; }
.hero h1 { color: var(--lime); transform: rotate(-5deg); text-shadow: 2px 4px 0 #4c6037; }
.machine { border: 2px solid #8c9a71; border-radius: 35px 48px 32px 28px; padding: 20px; background: #35432a; }
.machine img { border-radius: 12px; }
.machine-top, .machine-bottom { padding-left: 8px; padding-right: 8px; }
.sticker { border-radius: 43% 55% 47% 52% / 49% 43% 57% 48%; background: var(--pink); width: 100px; height: 92px; }
.ticker { background: var(--lime); border-radius: 50% 30% 50% 30% / 12px 13px 15px 12px; transform: rotate(-1.5deg); margin: 10px 0 20px; padding: 25px 3%; }
.ticker b { color: #536b36; }
.machine-section { background: #242d1e; border-radius: 50% 25% 50% 20% / 18px 28px 20px 26px; }
.section-heading h2 { color: var(--paper); transform: rotate(-3deg); transform-origin: left; }
.features article { border: 0; }
.features h3 { font: 400 31px/1.3 Rascal, Impact, sans-serif; }
.feature-art { border-radius: 42% 35% 40% 33% / 22% 28% 24% 30%; background: #3b492c; border: 1px solid #64774c; }
.feature-art.slice-art { background: #4e3c52; border-color: #8a6a8d; }
.feature-art.knobs-art { background: #34434c; border-color: #59727d; }
.how-section, .faq-section { border: 0; background: url('/assets/groove-wave.svg') repeat-x center bottom; }
.how-list { display: grid; gap: 12px; }
.how-list li, .how-list li:first-child { padding: 24px; background: #2b3523; border: 0; border-radius: 25px 35px 30px 20px; }
.how-list li>span { width: 34px; height: 34px; flex: none; text-align: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.how-list h3 { font: 400 26px/1.3 Rascal, Impact, sans-serif; }
.support-section { background: var(--paper); border-radius: 50% 25% 25% 50% / 25px 40px 25px 40px; margin: 25px auto; }
.support-stamp { border: 3px solid #60764c; border-radius: 45% 48% 50% 42%; padding: 35px; width: fit-content; justify-self: center; font-size: clamp(65px, 7vw, 105px); box-shadow: 0 0 0 7px var(--paper), 0 0 0 9px #60764c; }
.faq-list details { border: 1px solid #536242; border-radius: 24px 30px 26px 21px; padding: 0 22px; margin-bottom: 12px; background: #232c1c; }
.faq-list summary { font-size: 16px; }
.faq-list summary::after { right: 0; }
.faq-list details[open] { background: #2d3924; border-color: #93aa74; }
.closing>a { width: fit-content; gap: 50px; color: var(--lime); transform: rotate(-3deg); }
footer:not(.site-footer) { border: 0; background: #11180f; border-radius: 50% 30% 0 0 / 22px 15px 0 0; }

@media (min-width: 1700px) { .product-image-link { height: 345px; } }
@media (max-width: 1100px) {
  .site-nav nav { gap: 2px; }
  .site-nav nav a { padding: 12px; }
  .nav-label { display: none; }
  .suite-hero { min-height: 360px; }
  .hero-side { min-height: 320px; }
  .product-image-link { height: 275px; }
  .product-content { padding: 28px 24px; }
  .product-topline { flex-wrap: wrap; gap: 8px; }
  .product-content h2 { font-size: clamp(38px, 4.5vw, 60px); }
  .product-tags { gap: 7px; font-size: 8px; }
  .button { font-size: 17px; padding-left: 19px; padding-right: 19px; }
  .support-band { padding: 35px; }
  .site-header nav { font-size: 12px; }
  .site-header nav a { padding: 10px; }
}
@media (max-width: 760px) {
  .site-header { padding: 0 18px; height: 75px; }
  .site-header .wordmark { font-size: 38px; }
  .site-header .button { font-size: 17px; min-height: 43px; }
  .machine { padding: 16px; }
  .ticker { gap: 22px; padding: 20px 6%; }
  .features h3 { font-size: 29px; }
  .support-section { border-radius: 12% 9% 10% 14% / 2% 3% 2% 3%; }
  .how-list li, .how-list li:first-child { padding: 21px; gap: 18px; }
}
@media (max-width: 700px) {
  .site-nav, .page, .footer-inner { width: 91%; }
  .site-nav { height: auto; min-height: 80px; padding: 16px 19px; margin-top: 14px; gap: 12px; border-radius: 35px 30px 33px 24px; }
  .site-nav .logo { font-size: 38px; }
  .site-nav nav { gap: 3px; font-size: 10px; }
  .site-nav nav a { padding: 10px 5px; }
  .suite-hero { grid-template-columns: 1fr; gap: 0; padding: 28px 0 18px; }
  .hero-wordmark { padding-left: 4%; }
  .hero-wordmark>.eyebrow { font-size: 9px; }
  .suite-hero h1 { font-size: clamp(135px, 29vw, 210px); letter-spacing: -5px; margin: 8px 0 6px; }
  .hero-side { min-height: 260px; width: 94%; margin: 0 auto; padding: 20px 0 10px; }
  .groove-art { inset: -16% 0; width: 100%; height: 130%; opacity: .7; }
  .hero-labels { gap: 8px; }
  .hero-labels a { font-size: 27px; padding: 9px 23px 11px; }
  .hero-labels a span { font-size: 23px; }
  .hero-side .micro { margin-top: 19px; font-size: 8px; }
  .section-bar { padding-top: 31px; }
  .section-bar span:first-child { font-size: 25px; }
  .product-grid { gap: 26px; }
  .product-card, .product-card.loops { margin-top: 0; border-radius: 37px 57px 38px 33px / 36px 40px 44px 33px; }
  .product-image-link { height: 300px; }
  .product-topline { flex-wrap: nowrap; }
  .product-content { padding: 28px 24px; }
  .product-content h2 { font-size: clamp(42px, 10vw, 58px); margin-top: 21px; }
  .product-tags { font-size: 9px; }
  .button { font-size: 18px; min-height: 52px; }
  .studio-row { padding: 26px 23px; gap: 18px; border-radius: 34px 40px 30px 34px; }
  .studio-icon { width: 52px; height: 52px; font-size: 45px; }
  .studio-row>a { margin-left: 70px; }
  .support-band { margin: 50px 0 40px; padding: 30px 26px 35px; gap: 17px; border-radius: 38px 45px 35px 48px; }
  .support-band h2 { font-size: 40px; }
  .support-band::before { left: auto; right: 20px; top: 30px; font-size: 80px; }
  .footer-inner { gap: 20px; }
  .product-hero { padding: 40px 0 48px; }
  .product-hero h1 { font-size: clamp(47px, 12vw, 70px); }
  .detail-art { padding: 25px 17px 20px; margin: 8px; }
  .feature-strip { padding-top: 40px; gap: 15px; }
  .feature-strip article { padding: 25px; }
  .guide-section { gap: 16px; padding-top: 40px; }
  .install-steps li { padding: 22px 18px; gap: 13px; }
  .install-steps h3 { font-size: 23px; }
  .empty-slot { margin: 10px 5%; width: 90%; }
  .pending-page h1 { font-size: clamp(48px, 12vw, 72px); }
}
@media (max-width: 380px) {
  .site-nav { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .site-nav nav { font-size: 9px; }
  .site-nav nav a { padding-left: 3px; padding-right: 3px; }
  .site-nav .logo { font-size: 32px; }
  .product-image-link { height: 250px; }
  .product-content { padding-left: 20px; padding-right: 20px; }
  .product-topline { flex-wrap: wrap; }
  .product-actions { gap: 13px; }
  .product-content h2 { font-size: 39px; }
  .button { font-size: 17px; padding-left: 17px; padding-right: 17px; }
  .studio-row h2 { font-size: 28px; }
  .studio-row>a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .product-card:hover { transform: none; }
}
