/* SVQ to MIDI — the promotional page.
   Light "platinum", like the app icon and the About window's artwork, with
   the sequencer's charcoal for the main buttons and its LCD green on them. */

:root {
    --bg: #e6e7e9;
    --panel: #f6f6f7;
    --panel-line: #cdd0d4;
    --text: #1c1d20;
    --muted: #55585f;
    --charcoal: #2c2e33;
    --lcd: #c4e27a;
    --link: #1f56c4;
    --radius: 12px;
    --page: 1060px;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    background: linear-gradient(#f4f4f5, var(--bg) 640px);
    color: var(--text);
    font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { color: #3b74e6; }

h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 32px; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 8px; }

code {
    font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace;
    background: #dfe1e4;
    padding: 1px 5px;
    border-radius: 4px;
}

.nw { white-space: nowrap; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The opening: the About artwork in a window-like frame, then the pitch. */
.hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 20px 24px;
    text-align: center;
}
.hero-art img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--panel-line);
    box-shadow: 0 10px 30px rgba(30, 32, 38, 0.18);
}
.tagline {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 36px 0 14px;
}
.lead {
    color: var(--muted);
    font-size: 19px;
    margin: 0 auto;
    max-width: 680px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 14px;
}
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: var(--charcoal);
    background: #fbfbfc;
    border: 1px solid #b9bcc2;
}
.button:hover { color: var(--charcoal); border-color: var(--charcoal); }
.button.primary {
    color: var(--lcd);
    background: var(--charcoal);
    border-color: var(--charcoal);
}
.button.primary:hover { color: #dcf3a0; background: #3a3d43; }

.fineprint {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

main {
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 20px;
}

/* Screenshots: the app's dark windows, full width. */
.shot { margin: 48px 0; }
.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(30, 32, 38, 0.25);
}
.shot figcaption {
    color: var(--muted);
    font-size: 15px;
    max-width: 760px;
    margin: 16px auto 0;
    text-align: center;
}
.shot figcaption strong { color: var(--text); }

.features { margin: 64px 0; }
.features h2 { text-align: center; margin-bottom: 28px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-grid article {
    background: var(--panel);
    border: 1px solid var(--panel-line);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.feature-grid p { margin: 0; color: var(--muted); font-size: 16px; }

/* The call for testers, in the sequencer's charcoal. */
.beta {
    margin: 64px 0;
    padding: 36px 40px;
    border-radius: 16px;
    background: var(--charcoal);
    color: #e7e8ea;
    text-align: center;
}
.beta h2 { color: var(--lcd); }
.beta p { max-width: 720px; margin: 0 auto 12px; }
.beta a { color: #9cc2ff; }
.beta code { background: #43464d; color: #e7e8ea; }
.beta .fineprint { color: #a9acb3; }
.beta .button { color: var(--charcoal); background: #f2f2f3; border-color: #f2f2f3; }
.beta .button:hover { background: #fff; }
.beta .button.primary { color: var(--charcoal); background: var(--lcd); border-color: var(--lcd); }
.beta .button.primary:hover { background: #d6ee98; }

.requirements { margin: 48px auto; max-width: 720px; }
.requirements h2 { font-size: 24px; }
.requirements ul { margin: 0; padding-left: 22px; color: var(--muted); }

.links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 48px 0 64px;
}
.link-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--panel-line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
}
.link-card:hover { border-color: var(--charcoal); color: var(--text); }
.link-card span { color: var(--muted); font-size: 14px; }

footer {
    border-top: 1px solid var(--panel-line);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    padding: 24px 20px 40px;
}
footer p { max-width: 760px; margin: 0 auto 8px; }

@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hero { padding-top: 32px; }
    .tagline { font-size: 24px; }
    .lead { font-size: 17px; }
    h2 { font-size: 26px; }
    .feature-grid, .links { grid-template-columns: 1fr; }
    .beta { padding: 28px 20px; }
    .shot { margin: 36px 0; }
}
