/* PadLock palette and owner-created artwork, shared with the desktop app. */
:root {
  color-scheme:dark;
  --bg:#10161b;
  --panel:#202a32;
  --text:#f1eee6;
  --muted:#b4bec5;
  --accent:#f4b45f;
  --signal:#68c6bc;
  --line:#34414a;
  --mono:ui-monospace,Consolas,monospace;   /* only inside the hero's product view, as in the app */
  /* One type scale and two radii for everything outside the hero. */
  --fs-xs:12px;   /* fine print, labels, meta */
  --fs-sm:14px;   /* supporting text, answers, cards, nav, buttons */
  --fs-md:16px;   /* section intros and main paragraphs */
  --fs-lg:20px;   /* card titles, h3 */
  --fs-h2:clamp(32px,3.4vw,44px);
  --radius:10px;     /* cards and panels */
  --radius-sm:6px;   /* buttons, inputs, pills, inner boxes */
  /* Vertical rhythm: every section gets the same space above and below, so two neighbours are always
     one full step apart (~128px desktop, ~64px phone). */
  --space-section:clamp(32px,5vw,64px);
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.65;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
}
img {
  max-width:100%;
  display:block;
}
button,a,summary {
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid var(--signal);
  outline-offset:5px;
}
a:hover {
  color:var(--accent);
}
.wrap {
  width:min(1180px,calc(100% - 64px));
  margin-inline:auto;
}
.preview-banner {
  text-align:center;
  padding:9px 20px;
  background:#242b2e;
  border-bottom:1px solid var(--line);
  font-size:var(--fs-xs);
  font-weight:600;
  color:var(--accent);
}
.preview-banner span {
  color:var(--muted);
  font-weight:400;
  margin-left:12px;
}
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding-block:27px;
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:19px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1.2;
}
.brand small {
  display:block;
  font:9px/1.6 var(--mono);
  letter-spacing:.18em;
  color:var(--muted);
  margin-top:4px;
}
.header nav {
  display:flex;
  gap:30px;
  font-size:var(--fs-sm);
  color:var(--muted);
}
.header-link span {
  margin-left:10px;
}
.hero {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  align-items:center;
  gap:48px;
  padding-block:75px 88px;
}

.dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--signal);
  border-radius:50%;
  margin-right:7px;
  box-shadow:0 0 14px #68c6bc45;
}
h1 {
  font-size:clamp(52px,5.3vw,76px);
  font-weight:680;
  line-height:1.04;
  letter-spacing:-.055em;
  margin:0 0 27px;
}
h1 em {
  color:var(--accent);
  font-style:normal;
}
.lead {
  max-width:470px;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}
.actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-block:30px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:13px 20px;
  border-radius:var(--radius-sm);
  font-size:var(--fs-sm);
  font-weight:600;
  min-height:46px;
}
.primary {
  background:var(--accent);
  color:#1b1d1e;
  border:1px solid var(--accent);
}
.primary:hover {
  background:#ffcf8a;
  color:#10161b;
}
.text-link {
  font-size:var(--fs-sm);
  border-bottom:1px solid var(--line);
  padding-bottom:4px;
}
.text-link span {
  margin-left:12px;
  color:var(--accent);
}
.hero-meta {
  font:9px/1.8 var(--mono);
  color:#a9b5be;
  letter-spacing:.07em;
}
.hero-meta span {
  margin:0 9px;
  color:#57646c;
}
/* Responsive representation of the real timeline and section editor. */
.instrument {
  position:relative;
  min-width:0;
  margin:0;
  border:1px solid #48525b;
  border-radius:9px;
  padding:0;
  overflow:hidden;
  background:linear-gradient(#29363eee,#1c252def),url(assets/metal-texture.jpg) center/cover;
  box-shadow:0 30px 70px #0006;
}
.app-title {
  display:flex;
  align-items:center;
  gap:8px;
  padding:15px 16px;
  border-bottom:1px solid #46535c;
  background:#29343c;
  font-size:13px;
  letter-spacing:.12em;
}
.app-title strong span {
  color:var(--accent);
}
.app-subtitle {
  font:7px var(--mono);
  color:var(--muted);
  letter-spacing:.1em;
}
.app-preview {
  margin-left:auto;
  font:7px var(--mono);
  color:var(--signal);
  white-space:nowrap;
}
.app-toolbar {
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px 14px;
}
.visual-tool {
  border:1px solid #627683;
  border-radius:5px;
  padding:5px 7px;
  font-size:8px;
  color:var(--text);
}
.export-tool {
  margin-left:auto;
}
.timeline-instruction {
  font-size:10px;
  margin:6px 14px 12px;
  color:var(--text);
}
.timeline-instruction span {
  display:block;
  font-size:9px;
  color:var(--muted);
}
.song-timeline {
  margin:0 12px 17px;
  border:1px solid #3d4d57;
  border-radius:7px;
  overflow:hidden;
  background:#10171d;
}
.timeline-ruler {
  display:flex;
  justify-content:space-between;
  padding:9px 6px 15px;
  font:7px var(--mono);
  color:#91b7cd;
}
.song-sections {
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr .8fr 1fr;
  gap:3px;
}
.song-sections button {
  position:relative;
  isolation:isolate;
  min-width:0;
  height:114px;
  padding:9px 5px;
  border:1px solid #425563;
  border-left:3px solid #7aa7cf;
  border-radius:5px;
  background:#192127;
  text-align:left;
  color:var(--text);
  cursor:pointer;
}
.song-sections button:nth-child(2) {
  border-left-color:var(--signal);
}
.song-sections button:nth-child(n+4) {
  border-left-color:#b286f0;
}
.song-sections button[aria-pressed=true] {
  border-color:var(--accent);
  box-shadow:inset 0 0 0 1px var(--accent);
  background:#3c3020;
}
.song-sections button:hover {
  background:#3c3020;
}
.song-sections button:focus-visible {
  outline-offset:-4px;
}
.song-sections strong {
  display:block;
  position:relative;
  z-index:1;
  font:600 9px var(--mono);
  overflow-wrap:anywhere;
}
.song-sections small {
  position:relative;
  z-index:1;
  display:block;
  font:7px/1.6 var(--mono);
  margin-top:6px;
  color:#ded5c5;
}
.section-wave {
  position:absolute;
  display:flex;
  align-items:flex-start;
  gap:1px;
  left:2px;
  right:2px;
  bottom:21px;
  height:57px;
  opacity:.5;
  z-index:-1;
}
.section-wave i {
  background:var(--accent);
  flex:1;
  min-width:0;
}
.song-sections button:nth-child(5) .section-wave {
  opacity:.18;
}
.timeline-lower {
  min-height:40px;
  padding:9px 8px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}
.part-editor {
  border-top:1px solid #b08040;
  border-radius:8px 8px 0 0;
  background:linear-gradient(#2e3941,#202a32);
}
.editor-title {
  display:flex;
  gap:12px;
  align-items:center;
  padding:13px 14px;
  border-bottom:1px solid #45515a;
  font:8px var(--mono);
  color:var(--muted);
}
.editor-title strong {
  color:var(--accent);
  letter-spacing:.1em;
}
.editor-close {
  margin-left:auto;
  font-size:16px;
}
.section-status {
  font:8px/1.7 var(--mono);
  margin:14px;
  color:#d7e5e2;
}
.recipe {
  margin:0 12px;
  padding:12px;
  border:1px solid #8b744a;
  border-radius:6px;
  background:linear-gradient(120deg,#3c3c33,#27343c);
}
.recipe-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font:10px var(--mono);
  margin-bottom:13px;
}
.recipe-heading .micro {
  font-size:6px;
}
.recipe-sentence {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  font-size:9px;
  color:var(--muted);
}
.recipe-sentence b {
  font-size:9px;
  font-weight:500;
  background:#111a20;
  border:1px solid #4a5b67;
  border-radius:4px;
  padding:7px 9px;
  color:var(--text);
}
.recipe-sentence b::after {
  content:' \2304';
  color:var(--accent);
  margin-left:10px;
}
.editor-options {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:12px;
}
.editor-options span {
  padding:6px 8px;
  border:1px solid #42525d;
  border-radius:4px;
  font-size:8px;
  color:var(--muted);
}
.demo-note {
  margin:12px 14px;
  font:9px/1.6 var(--mono);
  color:var(--signal);
  min-height:29px;
}
.drag-strip {
  margin:8px 12px;
  padding:7px;
  text-align:center;
  border:1px solid #806125;
  border-radius:5px;
  background:linear-gradient(#46300d,#30230f);
  color:#fbe2b3;
  font:600 8px var(--mono);
}
.instrument figcaption {
  font:8px/1.7 var(--mono);
  color:var(--muted);
  padding:8px 14px 12px;
}
.foundation-line {
  font-size:12px;
  color:var(--muted);
  max-width:360px;
}
.foundation-line strong {
  color:var(--accent);
  font-weight:600;
}
.principles {
  padding-block:var(--space-section);
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:80px;
}
.principles p {
  color:var(--muted);
  font-size:var(--fs-md);
}
.principle-list {
  list-style:none;
  margin:0;
  padding:0;
}
.principle-list li {
  padding:17px 0;
  border-bottom:1px solid var(--line);
}
.principle-list strong {
  font-size:var(--fs-md);
  font-weight:600;
}
.principle-list p {
  font-size:var(--fs-sm);
  margin:4px 0 0;
}
.feature-strip {
  border-block:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-block:21px;
  color:var(--muted);
  font-size:var(--fs-sm);
}
.section {
  padding-block:var(--space-section);
}
.section-heading {
  max-width:540px;
}
.section-heading>p {
  color:var(--muted);
  font-size:var(--fs-md);
}
h2 {
  font-size:var(--fs-h2);
  letter-spacing:-.04em;
  line-height:1.14;
  margin:0 0 22px;
  font-weight:600;
}
.workflow-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:50px;
}
.workflow-grid article {
  border-top:1px solid var(--line);
  padding-top:22px;
}
.step-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:var(--fs-xs);
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.step-top img {
  filter:brightness(0) saturate(100%) invert(77%) sepia(42%) saturate(654%) hue-rotate(339deg);
}
h3 {
  font-size:var(--fs-lg);
  font-weight:600;
  letter-spacing:-.02em;
  margin:24px 0 13px;
}
p {
  margin-top:0;
}
.workflow-grid p {
  color:var(--muted);
  font-size:var(--fs-sm);
}
.workflow-grid strong {
  color:var(--text);
  font-weight:500;
}
p.detail {
  font-size:var(--fs-xs);
  color:var(--muted);
  line-height:1.7;
}
.offline {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
  padding:44px;
  margin-block:var(--space-section);   /* a card between sections, not a padded section */
}
.offline h2 {
  margin-bottom:0;
}
.offline>div>p {
  color:var(--muted);
  font-size:var(--fs-md);
}
.offline strong {
  color:var(--text);
  font-weight:600;
}
.pricing {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center;
}
.price-card {
  padding:32px;
  border:1px solid #8d6d3d;
  border-radius:var(--radius);
  background:var(--panel);
}
.price-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.pill {
  font-size:var(--fs-xs);
  font-weight:600;
  color:var(--accent);
  border:1px solid #6c583a;
  border-radius:var(--radius-sm);
  padding:3px 9px;
}
/* A small heading for a card or group (sentence case, not a mono caps eyebrow). */
.label {
  font-size:var(--fs-xs);
  font-weight:600;
  color:var(--muted);
}
.price {
  font-size:clamp(52px,6vw,64px);
  letter-spacing:-.065em;
  line-height:1.2;
  margin-top:25px;
}
.price>span {
  font-size:var(--fs-md);
  letter-spacing:0;
  color:var(--muted);
  margin-left:10px;
}
.beta {
  font-size:var(--fs-sm);
  color:var(--muted);
  margin-top:15px;
}
.beta strong {
  color:var(--accent);
  font-weight:500;
}
.price-card ul {
  list-style:none;
  margin:24px 0;
  padding:23px 0;
  border-block:1px solid var(--line);
  font-size:var(--fs-sm);
}
.price-card li {
  margin-block:9px;
}
.price-card li::before {
  content:'\2713';
  color:var(--signal);
  margin-right:12px;
}
.price-card .button {
  width:100%;
  margin-bottom:18px;
}
.fine-print {
  font-size:var(--fs-xs);
  color:var(--muted);
  line-height:1.7;
  margin-bottom:10px;
}
.questions {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:80px;
}
.accordions {
  min-width:0;
}
details {
  border-bottom:1px solid var(--line);
  scroll-margin-top:25px;
}
details:first-child {
  border-top:1px solid var(--line);
}
summary {
  cursor:pointer;
  list-style:none;
  font-size:var(--fs-md);
  font-weight:500;
  padding:20px 30px 20px 0;
  position:relative;
}
summary::-webkit-details-marker {
  display:none;
}
summary::after {
  content:'+';
  position:absolute;
  right:3px;
  top:19px;
  color:var(--accent);
  font-size:21px;
}
details[open] summary::after {
  content:'\2212';
}
.answer {
  padding:0 25px 12px 0;
  color:var(--muted);
  font-size:var(--fs-sm);
}
.policy-note {
  border-left:2px solid var(--accent);
  padding-left:15px;
  font-size:var(--fs-xs);
}
.availability {
  padding:var(--space-section) 24px;
  text-align:center;
  border-top:1px solid var(--line);
  background:radial-gradient(ellipse at 50% 100%,#f4b45f09,transparent 65%);
}
.availability>img {
  margin:0 auto 25px;
  opacity:.8;
}

.availability>p {
  max-width:570px;
  margin:0 auto 18px;
  color:var(--muted);
  font-size:var(--fs-md);
}
footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:30px;
  padding-block:32px;
}
footer .brand {
  font-size:14px;
}
footer p {
  font-size:var(--fs-xs);
  color:var(--muted);
  margin:12px 0 0;
}
footer nav {
  display:flex;
  gap:22px;
  font-size:var(--fs-xs);
  align-items:center;
}
.footer-note {
  text-align:right;
}
.skip {
  position:absolute;
  top:-100px;
  left:20px;
  z-index:20;
  background:var(--accent);
  color:#111;
  padding:10px;
}
.skip:focus {
  top:10px;
}
@media(max-width:1000px) {
  .hero {
    gap:35px;
  }
  .pricing {
    gap:50px;
  }
  .questions {
    gap:45px;
  }
  .hero-meta span {
    margin:0 4px;
  }
  .offline {
    gap:35px;
  }
  .actions {
    gap:16px;
  }
}
@media(max-width:760px) {
  .wrap {
    width:calc(100% - 36px);
  }
  .header {
    flex-wrap:wrap;
    gap:20px;
    padding-block:22px;
  }
  .header nav {
    order:3;
    justify-content:center;
    width:100%;
    gap:30px;
    border-top:1px solid var(--line);
    padding-top:15px;
  }
  .hero {
    grid-template-columns:1fr;
    padding-block:38px 45px;
    gap:38px;
  }
  h1 {
    font-size:clamp(52px,10vw,72px);
  }
  .hero-copy {
    max-width:560px;
  }
  .feature-strip {
    flex-direction:column;
    gap:12px;
    padding-block:20px;
  }
  .workflow-grid {
    grid-template-columns:1fr;
    gap:22px;
    margin-top:30px;
  }
  .workflow-grid h3 {
    margin-top:16px;
  }
  .offline,.pricing,.questions {
    grid-template-columns:1fr;
    gap:25px;
  }
  .offline {
    padding:28px;
  }
  .price-card {
    padding:25px;
  }
  footer {
    flex-wrap:wrap;
  }
  footer nav {
    gap:20px;
  }
  .footer-note {
    text-align:left;
    width:100%;
    margin:0;
  }
  .preview-banner span {
    display:block;
    margin-left:0;
  }
  .actions {
    flex-wrap:wrap;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .meter i {
    transition:none;
  }
}
@media(max-width:1000px) {
  .hero {
    gap:30px;
  }
  .app-subtitle {
    display:none;
  }
  .recipe-heading .micro {
    display:none;
  }
  .principles {
    gap:35px;
  }
}
@media(max-width:760px) {
  .instrument {
    width:100%;
    max-width:620px;
    margin:auto;
  }
  .hero {
    grid-template-columns:1fr;
  }
  .principles {
    grid-template-columns:1fr;
    gap:20px;
  }
  .song-sections {
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .song-sections strong {
    font-size:8px;
  }
  .song-sections small {
    font-size:6px;
  }
  .app-toolbar {
    gap:6px;
  }
  .visual-tool {
    font-size:7px;
  }
  .song-sections button {
    height:105px;
    padding-inline:3px;
  }
  .app-subtitle {
    display:block;
  }
  .timeline-lower {
    min-height:45px;
  }
}
@media(max-width:380px) {
  .app-subtitle {
    display:none;
  }
  .app-toolbar {
    flex-wrap:wrap;
  }
  .export-tool {
    margin-left:0;
  }
  .song-sections small {
    line-height:1.8;
  }
}
.micro {
  font:600 9px/1.7 var(--mono);
  letter-spacing:.08em;
  color:var(--muted);
}
.song-sections button {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}

/* Direct offer access and a stronger product stage. */
html { scroll-padding-top:120px; scroll-padding-bottom:105px; }
body { padding-bottom:88px; }
.header { position:sticky; top:0; z-index:10; background:#10161bf5; border-bottom:1px solid #ffffff0b; padding-block:18px; }
.header-link { background:var(--accent); color:#171b1e; border:1px solid var(--accent); padding:9px 16px; border-radius:var(--radius-sm); font-size:var(--fs-sm); font-weight:600; }
.header-link:hover { color:#171b1e; background:#ffcf8a; }
.hero { position:relative; isolation:isolate; padding-block:55px 65px; gap:48px; }
.hero-stage::before { content:''; position:absolute; z-index:-2; pointer-events:none; inset:0; background:radial-gradient(ellipse at 75% 30%,#f4b45f2c,transparent 53%),radial-gradient(ellipse at 0 80%,#68c6bc16,transparent 50%); }
h1 { font-size:clamp(60px,6.4vw,92px); letter-spacing:-.065em; line-height:1; margin-bottom:26px; }
h1 em { display:inline; color:#ffc16c; background:linear-gradient(115deg,#ffe2a0 10%,#ffb449 65%,#ff8b43); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; text-shadow:none; }
.hero .lead { font-size:17px; line-height:1.75; max-width:390px; color:#c4cdd1; }
.hero .actions { gap:19px; margin-block:25px 18px; flex-wrap:wrap; }
.hero-offer { display:flex; flex-wrap:wrap; gap:7px 13px; align-items:baseline; margin-bottom:7px; font-size:11px; color:var(--muted); }
.hero-offer strong { font-size:16px; color:var(--text); }
.hero-disclosure { max-width:430px; color:var(--muted); font-size:10px; line-height:1.7; margin-bottom:18px; }
.foundation-line { position:relative; margin:28px 0 0; padding:0 0 0 34px; max-width:440px; font-size:var(--fs-sm); line-height:1.6; color:#c7d3d8; }
.product-kicker { padding:10px 14px; background:linear-gradient(90deg,#503a22,#243b3d); border-bottom:1px solid #927147; font:9px var(--mono); letter-spacing:.08em; color:#fbe0b9; }
.instrument { border-color:#766044; box-shadow:0 28px 80px #0008,0 0 65px #f4b45f0a; }
.pricing { padding-block:var(--space-section); }
.launch-options { display:grid; gap:10px; margin-bottom:18px; }
.launch-option { display:block; border:1px solid #63747e; border-radius:var(--radius-sm); padding:12px; transition:border-color .15s,background-color .15s; }
.launch-option:hover { color:inherit; border-color:var(--accent); background:#ffffff08; }
.launch-option:hover strong { color:var(--accent); }
.launch-option strong { display:flex; justify-content:space-between; gap:10px; font-size:var(--fs-sm); font-weight:600; }
.launch-option .arrow { font-size:var(--fs-xs); color:var(--accent); }
.launch-option>span { display:block; font-size:var(--fs-xs); color:var(--muted); margin-top:3px; }
.download { padding-block:var(--space-section); }
.download-buttons { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:22px; }
.download-buttons .button { flex-direction:column; align-items:flex-start; gap:4px; min-width:260px; padding:16px 22px; }
.download-buttons .button .state { font-size:var(--fs-xs); font-weight:400; opacity:.85; }
.download-buttons .button:not(.primary) { border:1px solid #63747e; background:#ffffff0d; color:var(--text); }
.download-buttons .button:not(.primary):hover { border-color:var(--accent); background:#ffffff1a; }
.button[aria-disabled="true"] { opacity:.45; cursor:not-allowed; pointer-events:none; filter:grayscale(.6); }
.download .fine-print { max-width:760px; }
@media(max-width:560px) { .download-buttons { flex-direction:column; } .download-buttons .button { min-width:0; width:100%; } }
.purchase-dock { position:fixed; z-index:11; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:12px max(24px,calc((100vw - 1180px)/2)); background:#182229fa; border-top:1px solid #4a5b65; box-shadow:0 -10px 35px #0004; }
.purchase-dock strong { display:block; font-size:var(--fs-sm); font-weight:600; }
.purchase-dock>div>span { display:block; font-size:var(--fs-xs); color:var(--muted); margin-top:2px; }
.purchase-dock .button { padding:10px 17px; min-height:44px; }
@media(max-width:760px) { html{scroll-padding-top:20px}.header{position:relative}.hero{padding-block:25px 40px;gap:28px}h1{font-size:clamp(56px,11vw,74px)}.hero .lead{font-size:16px}.hero .actions{gap:17px}.hero-disclosure{font-size:11px}.purchase-dock{padding:11px 18px}.purchase-dock .button{gap:10px} }
@media(prefers-reduced-transparency:reduce){.header,.purchase-dock{background:var(--bg)}}

.hero-copy { position:relative; }
.hero-kicker { margin:0 0 14px; font-size:var(--fs-sm); font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }

.hero-stage::after { content:''; position:absolute; pointer-events:none; z-index:-1; inset:20px 0 25px 40%; border:1px solid #f4b45f16; border-radius:50%; background:repeating-radial-gradient(ellipse at center,transparent 0 36px,#f4b45f08 37px 38px,transparent 39px 65px); }
.foundation-mark { position:absolute; left:0; top:1px; color:var(--signal); font-size:22px; }
.foundation-line strong { display:inline-block; margin-top:4px; color:var(--accent); font-size:var(--fs-lg); font-weight:700; letter-spacing:-.01em; text-wrap:balance; }
.hero .button.primary { min-height:52px; min-width:172px; background:linear-gradient(135deg,#ffce82,#f4ad4c); box-shadow:0 6px 26px #f4b45f20,inset 0 1px #fff5; }
.hero .button.primary:hover { background:#ffdc9d; box-shadow:0 7px 30px #f4b45f38; }
.hero .instrument { transform:perspective(1600px) rotateY(-3deg); border-top-color:#cca66c; box-shadow:0 35px 65px #0009,12px 0 50px #f4b45f0d; }
.product-kicker { padding-block:13px; }
@media(max-width:1000px){.hero{gap:30px}h1{font-size:clamp(56px,6.6vw,80px)}}
@media(max-width:760px){.hero{gap:34px;padding-block:24px 40px}h1{font-size:clamp(58px,12vw,80px);max-width:520px}.hero .instrument{transform:none}.hero-stage::after{inset:30% 0 20px 0;border-radius:30%}.hero .lead{font-size:17px}.hero-disclosure{max-width:390px}.foundation-line{margin-top:20px}}
@media(forced-colors:active){h1 em{-webkit-text-fill-color:CanvasText;background:none;color:CanvasText}}

@media(min-width:761px) and (max-width:900px){.hero{grid-template-columns:1fr}.hero-copy{max-width:560px}.hero .instrument{max-width:660px;margin:auto;transform:none}h1{max-width:520px}.hero-stage::after{inset:30% 0 25px}}

/* The backdrop spans the viewport; .hero.wrap retains the content grid. */
.hero-stage {
  position:relative;
  isolation:isolate;
  overflow:clip;
  width:100%;
  background:linear-gradient(115deg,#142028,#171d20 58%,#22211d);
  border-bottom:1px solid #f4b45f14;
}
.hero-stage::before {
  background:radial-gradient(ellipse at 78% 35%,#f4b45f30,transparent 60%),radial-gradient(ellipse at 5% 85%,#68c6bc1b,transparent 55%);
}
.hero-stage::after {
  inset:0 0 0 38%;
  border-radius:50%;
}
@media(max-width:900px) {
  .hero-stage::after { inset:30% -15% 0 10%; }
}

/* Quiet, looping audio/MIDI backdrop; foreground content stays crisp. */
.hero-stage::after { content:none; }
.hero-motion {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.38;
  mask-image:linear-gradient(90deg,#0009, #0003 27%,#0008 63%,#000);
}
.hero-motion svg { display:block; width:100%; height:100%; }
.motion-waves { animation:wave-travel 42s linear infinite; }
.motion-midi { animation:wave-travel 65s linear infinite; }
.wave-line { fill:none; stroke:#f4b45f; stroke-width:1.5; opacity:.55; }
.wave-line-1 { stroke:#68c6bc; opacity:.45; }
.wave-line-2 { stroke-width:1; opacity:.25; }
.midi-guide { stroke:#68c6bc; stroke-width:1; opacity:.12; fill:none; }
.midi-note { fill:#68c6bc; opacity:.5; }
.midi-note-accent { fill:#f4b45f; opacity:.75; }
.hero-stage[data-motion="paused"] .motion-waves,
.hero-stage[data-motion="paused"] .motion-midi { animation-play-state:paused; }
.motion-toggle {
  position:absolute;
  right:max(18px,calc((100% - 1180px)/2));
  bottom:13px;
  z-index:2;
  padding:6px 10px;
  min-height:32px;
  color:var(--muted);
  background:#111b22e8;
  border:1px solid #53616a;
  border-radius:4px;
  cursor:pointer;
  font:9px/1.5 var(--mono);
}
.motion-toggle:hover { border-color:var(--accent); color:var(--text); }
@keyframes wave-travel { to { transform:translateX(-1600px); } }
@media(max-width:760px) {
  .hero-motion { opacity:.24; }
  .hero-stage .hero { padding-bottom:58px; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-waves,.motion-midi { animation:none; }
  .motion-toggle { display:none; }
}
@media(forced-colors:active) { .hero-motion { display:none; } }

/* Full-width section bars with the same centered content alignment. */
.header.wrap,
.feature-strip.wrap,
.pricing.wrap,
.principles.wrap,
.availability.wrap,
footer.wrap {
  width:100%;
  padding-inline:max(32px,calc((100% - 1180px)/2));
}
@media(max-width:760px) {
  .header.wrap,
  .feature-strip.wrap,
  .pricing.wrap,
  .principles.wrap,
  .availability.wrap,
  footer.wrap {
    padding-inline:18px;
  }
}

footer nav { flex-wrap:wrap; }
a[href^="mailto:"] { overflow-wrap:anywhere; }
.answer a[href^="mailto:"], .availability a[href^="mailto:"] { text-decoration:underline; text-underline-offset:3px; }

/* What's new: the release list (site/updates.json; the app reads the same file). */
.updates {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:80px;
}
.release-list {
  display:grid;
  gap:18px;
  min-width:0;
}
.release {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
}
/* Each version is an accordion: the newest opens by default, older ones stay folded. */
.release summary {
  position:relative;
  display:block;
  padding:22px 56px 22px 24px;
  list-style:none;
  cursor:pointer;
  border-radius:var(--radius);
}
.release summary::-webkit-details-marker { display:none; }
.release summary::after {
  content:"";
  position:absolute;
  right:24px;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .15s ease;
}
.release details[open] > summary::after { content:""; transform:translateY(-30%) rotate(-135deg); }
/* Not the FAQ accordions' +/- marker and divider lines (generic details/summary rules above). */
.release details { border:0; }
.release summary { font-size:inherit; font-weight:inherit; }
.release summary:hover::after { border-color:var(--text); }
.release summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.release details[open] > summary { padding-bottom:8px; }
.release details > :not(summary) { margin-left:24px; margin-right:24px; }
.release details > :last-child { margin-bottom:22px; display:inline-block; }
.release-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:var(--fs-xs);
  line-height:1.4;
  font-variant-numeric:tabular-nums;
}
.release h3 {
  margin:10px 0 0;
}
.release ul {
  margin:0 0 14px;
  padding-left:18px;
  color:var(--muted);
  font-size:var(--fs-sm);
}
.release li {
  margin-bottom:6px;
}
@media (max-width:860px) {
  .updates {
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* Leave feedback (feedback.html). */
.feedback {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:80px;
}
.feedback-form {
  display:grid;
  gap:12px;
  min-width:0;
}
.feedback-form fieldset {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:0;
  padding:0;
  border:0;
}
.feedback-form legend,
.feedback-form label {
  color:var(--text);
  font-size:var(--fs-sm);
}
.feedback-form legend {
  margin-bottom:8px;
}
.feedback-form label span {
  color:var(--muted);
  font-size:var(--fs-xs);
}
.feedback-form textarea,
.feedback-form input[type=email],
.feedback-form input[type=text] {
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:var(--panel);
  color:var(--text);
  font:inherit;
}
.feedback-form textarea:focus,
.feedback-form input:focus {
  outline:2px solid var(--signal);
  outline-offset:1px;
}
.feedback-row {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:12px;
}
.feedback-form .button {
  justify-self:start;
  border:0;
  cursor:pointer;
}
.feedback-trap {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.feedback-error {
  min-height:1em;
  margin:0;
  color:#ffaaa4;
}
.feedback-thanks {
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-top:4px;
  padding:18px 20px;
  border:1px solid var(--signal);
  border-left-width:4px;
  border-radius:var(--radius);
  background:#68c6bc14;
  outline:none;
}
.feedback-thanks[hidden] { display:none; }
.feedback-check {
  flex:none;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--signal);
  color:var(--bg);
  font-size:var(--fs-md);
  font-weight:700;
}
.feedback-thanks h3 { margin:2px 0 4px; font-size:var(--fs-md); }
.feedback-thanks p { margin:0; color:var(--text); font-size:var(--fs-sm); }
.feedback-thanks p + p { margin-top:8px; }
@media (max-width:860px) {
  .feedback,
  .feedback-row {
    grid-template-columns:1fr;
    gap:24px;
  }
}

/* Legal (legal.html): the terms for exported MIDI, same text as the app's Legal view. */
.legal-page .section-heading {
  max-width:720px;
}
.legal-page h3 { margin-top:28px; }
.legal-caps { font-size:var(--fs-sm); line-height:1.6; letter-spacing:.01em; }
.legal-page ul {
  color:var(--muted);
  padding-left:18px;
}

/* Checkout (buy.html): the order result spans both pricing columns. */
.buy-page .price-card .button { width:100%; justify-content:center; margin:6px 0 16px; border:0; cursor:pointer; }
.buy-page .price-card .button:disabled { opacity:.6; cursor:wait; }
.order-result {
  grid-column:1 / -1;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
}
.order-result h3 { margin-top:0; }
.order-result [data-key-block] { display:grid; gap:12px; justify-items:start; }
.order-result [data-key-block][hidden] { display:none; }
.order-result [data-new-key][hidden] { display:none; }   /* .button sets display, which would beat the hidden attribute */
.license-key {
  display:block;
  max-width:100%;
  padding:12px 14px;
  border:1px solid #8d6d3d;
  border-radius:var(--radius-sm);
  background:var(--bg);
  font-family:var(--mono);
  font-size:var(--fs-sm);
  overflow-wrap:anywhere;
  user-select:all;
}
.order-result .button { border:0; cursor:pointer; }

/* Feedback: the Send button's spinner while a message is on its way. */
.feedback-form .button.is-sending { cursor:progress; opacity:1; }
.feedback-form .button.is-sending::before {
  content:"";
  width:14px;
  height:14px;
  margin-right:8px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:feedback-spin .7s linear infinite;
}
@keyframes feedback-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .feedback-form .button.is-sending::before { animation-duration:2s; } }

/* Tutorial videos under the hero (2026-11-20). Two to a row on wide screens, one on phones. */
.videos.wrap { border-top:1px solid var(--line); }
.video-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:32px;
}
.video-card {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
  overflow:hidden;
}
.video-frame { position:relative; aspect-ratio:16/9; background:#0b0f13; }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-copy { padding:18px 20px 20px; }
.video-copy h3 { font-size:var(--fs-lg); margin:6px 0 6px; }
.video-copy p { color:var(--muted); font-size:var(--fs-sm); margin:0; }
@media(max-width:760px) { .video-grid { grid-template-columns:1fr; gap:18px; margin-top:24px; } }
/* Pricing sits on a slightly lighter band with a line above and below, so Videos, Pricing and Download read as three sections. */
.pricing.wrap { border-block:1px solid var(--line); background:#161e24; }
