/* fortyvolts.com: the same "Halo" look as the plugin. White cards with hairline borders on a light
   ground, black ink, and one flowing aurora gradient for whatever is alive. Geist for text, Geist
   Mono for small details, Michroma for the name. */

@font-face { font-family: "Geist"; font-weight: 300; font-display: swap; src: url("fonts/Geist-Light.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url("fonts/Michroma-Regular.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #ececec;
  --hairline: #e4e4e4;
  --ink: #0a0a0a;
  --ink-2: #5c5c5c;   /* body text that steps back (readable on white) */
  --ink-3: #8a8a8a;   /* small labels */
  --line: #efefef;
  --fill: #f2f2f2;
  --violet: #7b61ff;
  --sky: #00b7ff;
  --mint: #00d9a0;
  --amber: #ffb547;
  --pink: #ff5c8a;
  --aurora: linear-gradient(90deg, var(--violet), var(--sky), var(--mint), var(--amber), var(--pink));
  --radius-card: 20px;
  --radius-tile: 18px;
  --shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.18);
  --wrap: 1120px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.name { font-family: "Michroma", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; }

/* Pill buttons, like the plugin's: white with a hairline, or solid black for the main one. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 "Geist", sans-serif; text-decoration: none; white-space: nowrap;
  background: var(--card); color: var(--ink); border: 1px solid var(--hairline);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.button:hover { background: #f6f6f6; border-color: #d6d6d6; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.button.primary:hover { background: #2a2a2a; }
.button.small { height: 36px; padding: 0 16px; font-size: 13px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* Header: the 40V FORTYVOLTS lockup | KITNAP, as in the plugin. */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 250, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.brand img { width: 132px; }
.brand .divider { width: 1px; height: 20px; background: #d4d4d4; }
.brand .name { font-size: 11px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top nav a:not(.button) { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.top nav a:not(.button):hover { color: var(--ink); }
@media (max-width: 760px) {
  .top nav a:not(.button) { display: none; }
  .brand img { width: 112px; }
  .brand .divider, .brand .name { display: none; }
}

/* Hero */
.hero { padding: 56px 0 24px; text-align: center; }
@media (min-width: 720px) { .hero { padding: 88px 0 32px; } }
.eyebrow { font-size: 11px; color: var(--ink-2); }
.hero h1 { font-size: clamp(40px, 8.2vw, 88px); line-height: 1.02; letter-spacing: -0.04em; margin: 18px auto 0; max-width: 13ch; text-wrap: balance; }
.hero .lead { margin: 22px auto 0; max-width: 34em; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.formats { margin-top: 18px; }

/* The song card with the flowing waveform, and the three pads under it. */
.stage { margin-top: 48px; text-align: left; }
.song { padding: 20px 20px 16px; }
@media (min-width: 720px) { .song { padding: 26px 28px 18px; } }
.song-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.song-head h3 { font-size: 16px; }
.song-head .count { text-align: right; }
.song-head .count b { display: block; font: 300 34px/1 "Geist", sans-serif; letter-spacing: -0.02em; }
.wave { display: block; width: 100%; height: 150px; margin-top: 10px; }
@media (min-width: 720px) { .wave { height: 190px; } }
.ruler { display: flex; justify-content: space-between; color: var(--ink-3); }

.pads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .pads { gap: 16px; margin-top: 18px; } }
.pad {
  position: relative; padding: 14px 14px 12px; border-radius: var(--radius-tile);
  background: var(--card); border: 1px solid var(--border); overflow: hidden;
}
@media (min-width: 720px) { .pad { padding: 18px 20px 16px; } }
.pad::before { /* the aurora glow while the pad plays */
  content: ""; position: absolute; inset: 0; background: var(--aurora); opacity: 0; transition: opacity 0.45s ease-out;
}
.pad.on::before { opacity: 0.14; transition: none; }
.pad > * { position: relative; }
.pad-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 500; }
@media (max-width: 480px) { .pad-head .mono { display: none; } }
.pad svg { display: block; width: 100%; height: 44px; margin: 14px 0 8px; }
@media (min-width: 720px) { .pad svg { height: 64px; margin: 22px 0 12px; } }
.pad svg path { fill: var(--fill); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pad.on svg path { fill: url(#aurora-fill); }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 104px 0; } }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.kicker { display: block; margin-bottom: 14px; }

.steps { display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px; }
.step .num { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--ink-3); }
.step h3 { font-size: 20px; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

.shot { padding: 10px; border-radius: 26px; }
.shot img { border-radius: 18px; border: 1px solid var(--border); }
.caption { margin-top: 14px; text-align: center; }

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; box-shadow: none; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.feature .mono { display: block; margin-top: 14px; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.note { font-family: "Geist Mono", monospace; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--ink-2); }

/* Price */
.buy { max-width: 520px; margin: 0 auto; padding: 36px 28px; text-align: center; position: relative; overflow: hidden; }
.buy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--aurora); }
.buy .name { font-size: 15px; }
.buy .price { font: 300 56px/1 "Geist", sans-serif; letter-spacing: -0.03em; margin-top: 22px; }
.buy .price.soon { font-size: 30px; line-height: 1.2; }
.buy .launch { margin-top: 12px; }
.buy ul { list-style: none; padding: 0; margin: 26px 0 30px; text-align: left; display: grid; gap: 10px; }
.buy li { display: flex; gap: 12px; font-size: 16px; }
.buy li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--aurora); -webkit-mask: radial-gradient(circle, #000 34%, transparent 36%); mask: radial-gradient(circle, #000 34%, transparent 36%); }
.buy .button { width: 100%; height: 50px; font-size: 16px; }
.buy .small-print { margin-top: 16px; }

/* FAQ */
.faq details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 "Geist", sans-serif; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq details p + p { margin-top: -10px; }

/* Footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer img { width: 120px; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; }
footer nav a { text-decoration: none; color: var(--ink-2); }
footer nav a:hover { color: var(--ink); }

/* Simple pages (thanks) */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.page .lead { margin-top: 16px; color: var(--ink-2); font-size: 19px; max-width: 34em; }
.howto { display: grid; gap: 14px; margin: 40px 0 0; padding: 0; max-width: 760px; counter-reset: step; }
.howto li { list-style: none; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; box-shadow: none; }
.howto li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: "Geist Mono", monospace; font-size: 12px; color: var(--ink-3); padding-top: 4px; grid-row: span 3; }
.howto h3 { font-size: 18px; }
.howto p { color: var(--ink-2); font-size: 16px; }
.howto .button { justify-self: start; margin-top: 10px; }

/* "Hear it": the demo track and its kit on playable pads. */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.demo-tabs[hidden] { display: none; }
.demo-tabs .button[aria-selected="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.demo-wave { display: block; width: 100%; height: 120px; margin-top: 14px; }
@media (min-width: 720px) { .demo-wave { height: 150px; } }
.demo-play { flex: none; }
.demo-play:disabled { opacity: 0.4; }
.demo-pad { padding: 0; }
.pad-hit {
  display: block; width: 100%; padding: 14px 14px 4px; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; position: relative;
}
@media (min-width: 720px) { .pad-hit { padding: 18px 20px 6px; } }
.pad-hit .pad-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 500; }
.pad-foot { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 14px 12px; }
@media (min-width: 720px) { .pad-foot { padding: 0 20px 16px; } }
.pad-step {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--card);
  color: var(--ink); font: 400 16px/1 "Geist", sans-serif; cursor: pointer;
}
.pad-step:disabled { opacity: 0.3; cursor: default; }
.pad-key { margin-left: auto; }
@media (max-width: 480px) { .pad-key { display: none; } .pad-hit .pad-head .mono { display: none; } }
.buy .try-line { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

.trial-notes { margin-top: 48px; }
