@font-face { font-family: Inter; font-weight: 500; src: url(assets/fonts/Inter-Medium.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Inter; font-weight: 600; src: url(assets/fonts/Inter-SemiBold.ttf) format("truetype"); font-display: swap; }

/* Colours from the plugin editor (Source/PluginEditor.cpp) */
:root {
  --bg: #14161a; --panel: #1c1f25; --cell: #232730; --border: #2f343e; --ctl: #3a4150;
  --text: #e8e6df; --soft: #cfd3da; --dim: #9aa0ab;
  --kick: #ff7a59; --snare: #ffc247; --tom: #8bd450; --hat: #4fd1c5; --cym: #6aa8ff; --free: #c792ea;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip;
  margin: 0; background: var(--bg); color: var(--soft);
  font: 500 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--text); }
h1, h2, h3 { color: var(--text); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 28px; letter-spacing: -.01em; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* Top bar */
.top { border-bottom: 1px solid var(--border); background: rgba(20,22,26,.92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--dim); }
.top nav a { color: var(--dim); text-decoration: none; margin-left: 24px; font-size: 14px; }
.top nav a:hover { color: var(--text); }
.menu-btn { display: none; width: 40px; height: 40px; margin-right: -8px; align-items: center; justify-content: center; background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--text); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .2s, background .2s; }
.menu-btn span { position: relative; top: -1.7px; } /* centre on the logo's lettering, which sits above the middle of its screen */
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; } /* same height as the logo's lettering */
.top.open .menu-btn span { background: transparent; }
.top.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.top.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

/* Wordmark: HEXA bright, DRUM dim, six pads under it */
.wordmark { display: inline-block; }
.wordmark .name { font-size: clamp(48px, 9vw, 96px); font-weight: 600; letter-spacing: .04em; line-height: 1; color: var(--dim); }
.wordmark .name b { color: var(--text); font-weight: 600; }
.pads { display: flex; gap: 8px; margin-top: 14px; }
.pads i { flex: 1; height: 12px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.35); }
.pads i:nth-child(1) { background: var(--kick); } .pads i:nth-child(2) { background: var(--snare); }
.pads i:nth-child(3) { background: var(--tom); }  .pads i:nth-child(4) { background: var(--hat); }
.pads i:nth-child(5) { background: var(--cym); }  .pads i:nth-child(6) { background: var(--free); }

/* Hero */
.hero { padding: 80px 0 56px; text-align: center; }
.hero .lead { font-size: 20px; color: var(--soft); max-width: 640px; margin: 28px auto 32px; }
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--ctl); color: var(--text); background: var(--panel); }
.btn:hover { border-color: var(--dim); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: #fff; }
.shot { margin: 56px auto 0; max-width: 1080px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.shot img { display: block; width: 100%; height: auto; }

/* Sections */
section { scroll-margin-top: 60px; }
section { padding: 72px 0; border-top: 1px solid var(--border); }
.intro { max-width: 680px; margin-bottom: 36px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 20px 22px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 2px; flex: none; }

.engines { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.engines div { background: var(--panel); padding: 18px 22px; }
.engines h3 { margin-bottom: 4px; }
.engines p { margin: 0; color: var(--dim); font-size: 15px; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 32px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
ul.ticks li { padding-left: 22px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--ctl); }

/* Specs + buy */
.split { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
dl.specs { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
dl.specs dt { color: var(--dim); }
dl.specs dd { margin: 0; color: var(--text); }
.price { font-size: 40px; font-weight: 600; color: var(--text); margin: 8px 0 4px; }
.note { font-size: 14px; color: var(--dim); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; font-size: 13px; color: var(--dim); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer p { margin: 0 0 .4em; }
footer a { color: var(--soft); }

@media (max-width: 640px) {
  /* Menu collapses behind a button and drops down as a panel */
  .menu-btn { display: flex; }
  /* Logo centred, menu button on the right, an equal empty column on the left */
  .top .wrap { display: grid; grid-template-columns: 40px 1fr 40px; }
  .brand { grid-column: 2; justify-self: center; }
  .menu-btn { grid-column: 3; justify-self: end; }
  .top nav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column;
    background: rgba(20,22,26,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
    padding: 6px 18px 14px; box-shadow: 0 24px 40px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .top.open nav { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
  .top nav a { margin: 0; padding: 14px 2px; font-size: 17px; color: var(--soft); border-bottom: 1px solid var(--border); }
  .top nav a:last-child { border-bottom: 0; }
  .hero .lead { font-size: 18px; }
  h2 { font-size: 24px; }
  .wrap { padding: 0 18px; }
  .feature { padding: 18px; gap: 18px; }
  .card .feature-name { font-size: 30px; }
  .price { font-size: 34px; }
  dl.specs { grid-template-columns: 1fr; gap: 2px; }
  dl.specs dd { margin-bottom: 10px; }
  .buttons .btn { flex: 1 1 auto; text-align: center; }
  .hero { padding-top: 56px; }
  section { padding: 56px 0; }
}

/* Product cards */
.product { display: flex; flex-direction: column; }
.product .tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.product h3 { font-size: 20px; letter-spacing: .02em; }
.product p { flex: 1; }
.product .fmt { flex: none; margin-top: 14px; font-size: 13px; color: var(--soft); }
.grid.products { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .grid.products { grid-template-columns: 1fr; } }

/* Company home */
.brand img { display: block; height: 34px; width: auto; }
.hero.home { padding-top: 64px; }
.cassette { display: block; width: min(440px, 88vw); height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: center; text-decoration: none; color: inherit; padding: 28px; margin-bottom: 16px; transition: border-color .15s; }
.feature:hover { border-color: var(--ctl); }
.feature img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--border); }
.feature .tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.card .feature-name { display: block; font-size: 36px; letter-spacing: .04em; color: var(--dim); margin: 10px 0 0; }
.feature-name b { color: var(--text); font-weight: 600; }
.feature-text p { margin: 16px 0; }
.pads.small { gap: 4px; margin-top: 8px; width: 98px; }
.pads.small i { height: 6px; border-radius: 1.5px; }
.more { font-weight: 600; color: var(--text); font-size: 15px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* Second featured product: screenshot on the left */
.feature.reverse { grid-template-columns: 1.35fr 1fr; }
.feature.reverse .feature-text { order: 2; }
.feature-logo { width: 100%; max-width: 340px; height: auto; border: 0 !important; border-radius: 0 !important; margin-top: 12px; }
.feature .fmt { font-size: 13px; color: var(--soft); margin: 0; }
.grid.products { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .feature.reverse { grid-template-columns: 1fr; } .feature.reverse .feature-text { order: 0; } .grid.products { grid-template-columns: 1fr; } }
.feature-logo.chip { max-width: 264px; border-radius: 4px !important; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 14px rgba(0,0,0,.35); }
.grid.products { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid.products { grid-template-columns: 1fr; } }
.feature .tag, .feature-logo { display: block; }

/* Android app */
.app-intro { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; max-width: 820px; }
.app-icon { width: 112px; height: 112px; border-radius: 24px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.app-intro p { margin: 8px 0 20px; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.phones img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.app-ticks { margin-bottom: 16px; }
.custom-cta { justify-content: flex-start; margin-top: 28px; }
@media (max-width: 640px) { .app-intro { flex-direction: column; } .phones { grid-template-columns: 1fr 1fr; } .phones img:last-child { display: none; } }
.coming h2.feature-name { display: block; font-size: 40px; letter-spacing: .04em; color: var(--dim); margin: 10px 0 0; }
.coming h2.feature-name b { color: var(--text); font-weight: 600; }
.coming .pads.small { width: 112px; }
.soon { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--snare); border: 1px solid rgba(255,194,71,.4); border-radius: 4px; padding: 3px 8px; }
ul.ticks.hexaloop-ticks { margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }

/* Page headings: the logo / wordmark is the h1, without heading spacing */
h1.hero-logo, h1.wordmark { margin: 0; font-size: inherit; line-height: inherit; }
.wordmark .name { display: block; }
.feature-text .soon, .app-intro .soon { margin-bottom: 10px; }
.hero-soon { margin: 0 0 18px; }
.buttons-left { justify-content: flex-start; }
.btn.disabled { color: var(--dim); border-style: dashed; cursor: default; }
.btn.disabled:hover { border-color: var(--ctl); }
.notfound { min-height: 55vh; padding-top: 96px; }
.notfound h1 { font-size: clamp(32px, 6vw, 48px); }
