/* Shark4Sale: the same dark family look as the plugins (near-black with a blue tint, hairline outlines,
   rounded cards, pill chips). Each plugin keeps its own accent through --c. */

:root
{
    --bg: #0b1016;
    --surface: #121a23;
    --surface-2: #1b2531;
    --line: #263241;
    --text: #f1f5f9;
    --soft: #c3cdda;
    --muted: #8e9bad;
    --accent: #4c9bff;
    --accent-light: #9dc9ff;
    --on-accent: #041a33;
    --teal: #2ec4b6;
    --violet: #9d6bff;

    --radius: 20px;
    --radius-sm: 14px;
    --max: 1120px;
    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html
{
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body
{
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-light); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

@media (min-width: 720px)
{
    .wrap { width: min(var(--max), 100% - 64px); }
}

.skip
{
    position: absolute;
    left: 16px;
    top: -60px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    z-index: 20;
}
.skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ---------- header ---------- */

.site-header
{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(11 16 22 / 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}

.brand
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.16em;
    white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }

.nav { display: flex; gap: 2px; }

.nav a
{
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

@media (max-width: 520px)
{
    .brand { font-size: 13px; letter-spacing: 0.12em; gap: 8px; }
    .brand svg { width: 26px; height: 26px; }
    .nav a { padding: 8px 8px; font-size: 13px; }
}

@media (max-width: 370px)
{
    .nav .optional { display: none; }
}

/* ---------- type ---------- */

h1, h2, h3
{
    font-family: var(--font-display);
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(40px, 7.4vw, 78px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0; }

.eyebrow
{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
}

.lede
{
    font-size: clamp(17px, 2vw, 20px);
    color: var(--soft);
    max-width: 38em;
    margin-top: 22px;
    text-wrap: pretty;
}

.fin-gradient
{
    background: linear-gradient(90deg, var(--accent), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- buttons and chips ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--on-accent); }

.pill
{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.4;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.pill.soon
{
    color: var(--c, var(--accent));
    border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, transparent);
    background: color-mix(in srgb, var(--c, var(--accent)) 12%, transparent);
}

/* prices: next to the "Coming soon" pill */
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.price { margin: 0; color: var(--text); font-size: 15px; font-weight: 800; letter-spacing: 0.01em; line-height: 1.2; }
.price small { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.price.free { color: var(--c, var(--accent)); }
.hero .price { font-size: 20px; }

/* FAQ page: questions as small headings under each topic */
.faq h3 { margin: 28px 0 6px; color: var(--text); font-size: 17px; letter-spacing: 0; }
.faq h2 + h3 { margin-top: 16px; }
.faq h3 + p { margin-top: 0; }

/* pricing page */
.price-list
{
    display: grid;
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}
.price-list > *
{
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: inherit;
    text-decoration: none;
}
.price-list > * + * { border-top: 1px solid var(--line); }
.price-list > a:hover { background: var(--surface-2); }
.price-list img { width: 44px; height: 44px; }
.price-list strong { display: block; color: var(--text); }
.price-list .what { color: var(--muted); font-size: 15px; }
.price-list .price { font-size: 18px; }
.price-list .bundle { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }

/* buy and download pages: the price list with a button on each row */
.buy-list > * { grid-template-columns: 44px 1fr auto auto; }
.buy-list .btn { min-height: 40px; padding: 0 18px; }
button.btn { font-family: inherit; cursor: pointer; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.buy-status { min-height: 1.5em; margin-top: 16px; color: var(--muted); }

@media (max-width: 560px)
{
    .buy-list > * { grid-template-columns: 44px 1fr auto; }
    .buy-list .btn { grid-column: 2 / -1; justify-self: start; }
}

/* per-plugin accents */
.c-grid    { --c: #4c9bff; }
.c-glue    { --c: #2ec4b6; }
.c-tune    { --c: #9d6bff; }
.c-reverse { --c: #34d3e6; }
.c-apex    { --c: #e3b450; }   /* ApexShark's gold (its logo's apex), so it doesn't share GlueShark's teal */
.c-atmo    { --c: #86b6c4; }
.c-groove  { --c: #7a86ff; }   /* GrooveShark's blend: half way between its kick blue and snare purple */

/* ---------- sections ---------- */

section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 36px; max-width: 46em; }
.section-head .lede { margin-top: 14px; font-size: 18px; }

/* ---------- hero ---------- */

.hero
{
    position: relative;
    padding: clamp(56px, 9vw, 104px) 0 clamp(56px, 7vw, 88px);
    isolation: isolate;
}

.hero::before
{
    content: "";
    position: absolute;
    inset: -64px 0 0;
    z-index: -1;
    background:
        radial-gradient(48rem 26rem at 78% 20%, rgb(76 155 255 / 0.16), transparent 70%),
        radial-gradient(34rem 22rem at 96% 70%, rgb(157 107 255 / 0.12), transparent 70%),
        radial-gradient(30rem 20rem at 55% 95%, rgb(46 196 182 / 0.08), transparent 70%);
    pointer-events: none;
}

.hero .status { margin-bottom: 26px; }

.hero-grid { display: grid; gap: 48px; }

/* The plugin icons: a row under the text on small screens, a staggered cluster beside it on wide ones. */
.fleet { display: flex; flex-wrap: wrap; gap: 10px; }
.fleet a { display: block; border-radius: 12px; transition: translate 0.2s; }
.fleet a:hover { translate: 0 -4px; }
.fleet img { width: 46px; height: 46px; }

@media (min-width: 1000px)
{
    .hero-grid { grid-template-columns: 1fr auto; align-items: center; }

    .fleet
    {
        display: grid;
        grid-template-columns: repeat(3, 104px);
        gap: 22px;
        padding: 0 8px 40px 0;
        transform: rotate(-6deg);
    }

    .fleet a { border-radius: 26px; }
    .fleet img { width: 104px; height: 104px; filter: drop-shadow(0 20px 30px rgb(0 0 0 / 0.55)); }
    .fleet > :nth-child(3n + 2) { transform: translateY(40px); }
    /* A seventh icon goes under the middle column, which sits lower. */
    .fleet > :nth-child(7):last-child { grid-column: 2; transform: translateY(40px); }
}

/* ---------- featured plugin ---------- */

.feature
{
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px)
{
    .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
}

.feature-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.feature-title img { width: 64px; height: 64px; }
.feature p.lede { margin-top: 0; font-size: 18px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }

.ticks li
{
    position: relative;
    padding-left: 28px;
    color: var(--soft);
}

.ticks li::before
{
    content: "";
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--c, var(--accent));
    border-bottom: 2px solid var(--c, var(--accent));
    transform: rotate(-45deg);
}

.shot
{
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.02);
}

.shot-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- plugin cards ---------- */

.cards
{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.card
{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
}

.card-top { display: flex; align-items: center; gap: 14px; }
.card-top img { width: 56px; height: 56px; flex: none; }
.card-top div { display: grid; gap: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; color: var(--c); }

a.card:hover
{
    color: inherit;
    border-color: color-mix(in srgb, var(--c) 60%, transparent);
    background: color-mix(in srgb, var(--c) 4%, var(--surface));
    transform: translateY(-2px);
}

/* ---------- small feature grid ---------- */

.grid-3
{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.tile
{
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }

.tile .icon
{
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent);
    color: var(--c, var(--accent));
}
.tile .icon svg { width: 22px; height: 22px; }

/* ---------- steps ---------- */

.steps
{
    display: grid;
    gap: 16px;
    counter-reset: step;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li
{
    counter-increment: step;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}

.steps li::before
{
    content: counter(step);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--c, var(--accent));
    color: var(--on-accent);
    font-weight: 800;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- modes table ---------- */

.modes
{
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.modes > div
{
    display: grid;
    gap: 4px 24px;
    padding: 18px 24px;
}
.modes > div + div { border-top: 1px solid var(--line); }
.modes dt { font-weight: 700; }
.modes dd { margin: 0; color: var(--muted); font-size: 15px; }

@media (min-width: 640px)
{
    .modes > div { grid-template-columns: 160px 1fr; align-items: baseline; }
}

/* ---------- specs ---------- */

.specs
{
    display: grid;
    gap: 0 32px;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.specs > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; color: var(--text); }

/* ---------- about ---------- */

.about
{
    display: grid;
    gap: 40px;
}

@media (min-width: 900px)
{
    .about { grid-template-columns: 5fr 7fr; gap: 56px; }
}

.about .lede { margin-top: 18px; }

/* ---------- call to action / contact ---------- */

.cta
{
    position: relative;
    padding: 48px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        radial-gradient(40rem 18rem at 100% 0%, rgb(76 155 255 / 0.14), transparent 70%),
        radial-gradient(30rem 16rem at 0% 100%, rgb(46 196 182 / 0.08), transparent 70%),
        var(--surface);
    overflow: hidden;
}

@media (max-width: 600px)
{
    .cta { padding: 32px 24px; }
}

.cta .lede { margin-top: 14px; }

.mail
{
    display: inline-block;
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    overflow-wrap: anywhere;
}
.mail:hover { color: var(--accent-light); }

/* ---------- prose (privacy etc.) ---------- */

.prose { max-width: 44em; padding: 72px 0 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--soft); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }
.prose .updated { color: var(--muted); margin-top: 14px; }

/* ---------- 404 ---------- */

.lost { padding: 140px 0 160px; text-align: center; }
.lost svg { width: 96px; margin: 0 auto 28px; }
.lost .lede { margin-inline: auto; }
.lost .actions { justify-content: center; }

/* ---------- footer ---------- */

.site-footer
{
    border-top: 1px solid var(--line);
    padding: 40px 0 48px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer .wrap
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { font-size: 13px; color: var(--soft); }
.site-footer .brand svg { width: 22px; height: 22px; }

/* Eight tiles: four across on wide screens, two on tablets. */
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------- music and social links (logos only; each lights up in its own colour on hover) ---------- */

.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.social a
{
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--soft);
    transition: color .15s, border-color .15s, background-color .15s;
}

.social svg { width: 20px; height: 20px; fill: currentColor; }
.social .cut { fill: var(--surface); transition: fill .15s; }
.social .cut-s { fill: none; stroke: var(--surface); stroke-linecap: round; transition: stroke .15s; }

.social a:hover
{
    color: var(--brand);
    border-color: color-mix(in srgb, var(--brand) 45%, transparent);
    background: var(--surface-2);
}
.social a:hover .cut { fill: var(--surface-2); }
.social a:hover .cut-s { stroke: var(--surface-2); }

.s-spotify    { --brand: #1ed760; }
.s-apple      { --brand: #fa2d48; }
.s-instagram  { --brand: #f0447f; }
.s-soundcloud { --brand: #ff5500; }
.s-youtube    { --brand: #ff3040; }
.s-bandcamp   { --brand: #1da0c3; }

.hero .social { margin-top: 26px; }
.site-footer .social a { width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.site-footer .social a:hover { color: var(--brand); }
.site-footer .social svg { width: 18px; height: 18px; }

/* ---------- the plugin line-up on the home page: one short "about" per plugin, alternating sides ---------- */

.lineup { display: grid; gap: 96px; }
.lineup .feature-title { margin-bottom: 18px; }
.lineup .feature-title img { width: 60px; height: 60px; flex: none; }
.lineup .feature-title div { display: grid; gap: 8px; }
.lineup h3 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 750; letter-spacing: -0.02em; }
.lineup .actions { margin-top: 28px; }

@media (min-width: 900px)
{
    .lineup .feature:nth-child(even) { grid-template-columns: 7fr 5fr; }
    .lineup .feature:nth-child(even) > :first-child { order: 2; }
}

/* Buttons and screenshot links take the plugin's own colour. */
.feature .btn.primary, .c-page .btn.primary { background: var(--c); border-color: var(--c); color: var(--on-accent); }
.feature .btn.primary:hover, .c-page .btn.primary:hover
{
    background: color-mix(in srgb, var(--c) 72%, #fff);
    border-color: color-mix(in srgb, var(--c) 72%, #fff);
}

.shot-link { display: block; border-radius: var(--radius); }
.shot-link .shot { transition: transform 0.2s, border-color 0.2s; }
.shot-link:hover .shot { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }

/* ---------- "more from the family" strip at the bottom of each plugin page ---------- */

.family
{
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.family a
{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.family a:hover
{
    color: inherit;
    border-color: color-mix(in srgb, var(--c) 60%, transparent);
    background: color-mix(in srgb, var(--c) 4%, var(--surface));
}

.family img { width: 44px; height: 44px; flex: none; }
.family span { display: grid; gap: 2px; }
.family strong { font-size: 16px; }
.family small { font-size: 14px; color: var(--muted); }

.lineup .feature { scroll-margin-top: 96px; }
