@font-face {
    font-family: "Blur Bold";
    src: url("blur-bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --bg:        #1F1F1F;
    --fg:        #E8E8E8;
    --dim:       #6A6A6A;
    --divider:   #EDEDED;
    --track:     #3A3A3A;
    --pad:       clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.005em;
}

a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--dim); }
a:hover { border-bottom-color: var(--fg); }

.blur { font-family: "Blur Bold", "Helvetica Neue", sans-serif; font-weight: 700; }

/* ─── top strip ─────────────────────────────────────────────── */
.strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px var(--pad);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
}
.strip span.mark { color: var(--fg); }

/* ─── hero ──────────────────────────────────────────────────── */
header {
    padding: 40px var(--pad) 28px;
    border-top: 1px solid var(--divider);
}

.wordmark {
    display: flex;
    align-items: baseline;
    font-family: "Blur Bold", sans-serif;
    line-height: 0.9;
    font-size: clamp(72px, 14vw, 190px);
    letter-spacing: -0.01em;
}
.wordmark .y {
    margin-left: -0.18em;   /* hand-kerned LY like the plugin */
}
.wordmark .aofn {
    margin-left: 0.28em;
    font-size: clamp(10px, 1vw, 14px);
    letter-spacing: 0.3em;
    color: var(--dim);
    transform: translateY(-0.35em);
}

.lede {
    margin-top: 26px;
    max-width: 46ch;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.35;
    color: var(--fg);
    font-weight: 300;
}
.lede em {
    font-style: italic;
    color: var(--dim);
}

hr.hair {
    border: 0;
    border-top: 1px solid var(--divider);
    margin: 40px var(--pad);
}

/* ─── editorial grid ────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 var(--pad);
}
@media (min-width: 860px) {
    .grid { grid-template-columns: 1.4fr 1fr; gap: 64px 64px; }
    .col-mock { align-self: center; }
}

.col h2 {
    font-family: "Blur Bold", sans-serif;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--dim);
    margin: 0 0 18px;
    border-top: 1px solid var(--divider);
    padding-top: 14px;
}
.col h2 .num {
    color: var(--fg);
    margin-right: 12px;
}

.col p {
    margin: 0 0 1em;
    max-width: 62ch;
}

.pullquote {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: var(--fg);
    margin: 24px 0 32px;
    max-width: 22ch;
}

/* ─── specs list ────────────────────────────────────────────── */
dl.specs {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 22px;
    font-size: 13px;
}
dl.specs dt {
    font-family: "Blur Bold", sans-serif;
    text-transform: uppercase;
    color: var(--fg);
    font-size: 11px;
    align-self: baseline;
    padding-top: 2px;
}
dl.specs dd {
    margin: 0;
    border-bottom: 1px dotted rgba(237,237,237,0.15);
    padding-bottom: 8px;
}

/* ─── wave shapes strip ─────────────────────────────────────── */
.shapes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 40px var(--pad) 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}
.shape {
    padding: 28px 12px 22px;
    text-align: center;
    border-right: 1px solid rgba(237,237,237,0.15);
}
.shape:last-child { border-right: 0; }
.shape svg {
    width: 68%;
    max-width: 120px;
    height: auto;
    stroke: var(--fg);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.shape .label {
    display: block;
    margin-top: 14px;
    font-family: "Blur Bold", sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.28em;
    color: var(--dim);
}

/* ─── download block ────────────────────────────────────────── */
.download {
    padding: 72px var(--pad) 32px;
}
.download h3 {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}
.download p.sub {
    margin: 0 0 32px;
    max-width: 42ch;
}

form,
form#gumroad-follow-form-embed {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 640px;
    border-top: 1px solid var(--divider);
    padding-top: 18px;
}
input[type="email"],
input#gumroad-follow-form-embed-input {
    flex: 1 1 260px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--divider);
    border-radius: 0;
    color: var(--fg);
    font-family: inherit;
    font-size: 15px;
    padding: 8px 2px;
    outline: none;
    letter-spacing: 0.02em;
}
input[type="email"]:focus,
input#gumroad-follow-form-embed-input:focus {
    border-bottom-color: var(--fg);
}
input::placeholder { color: var(--dim); }

button,
button#gumroad-follow-form-embed-button {
    background: var(--fg);
    color: var(--bg);
    border: 0;
    font-family: "Blur Bold", sans-serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
button:hover,
button#gumroad-follow-form-embed-button:hover { transform: translateY(-1px); background: var(--fg); color: var(--bg); }
button:active,
button#gumroad-follow-form-embed-button:active { transform: translateY(0); }

.fineprint {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-top: 20px;
    max-width: 60ch;
}

/* Optional status line — used when script.js takes over the form submit. */
.status {
    margin: 14px 0 0;
    min-height: 1.4em;
    font-family: "Blur Bold", sans-serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--dim);
    max-width: 640px;
}
.status.is-ok  { color: var(--fg); }
.status.is-err { color: #e46b6b; }

/* ─── contact ───────────────────────────────────────────────── */
.contact {
    padding: 72px var(--pad) 80px;
    border-top: 1px solid var(--divider);
}
.contact h4 {
    font-family: "Blur Bold", sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--dim);
    margin: 0 0 24px;
}
.contact p {
    margin: 0;
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--fg);
    max-width: none;
}
.contact a {
    border-bottom: none;
    transition: opacity 0.15s ease;
}
.contact a:hover {
    border-bottom: none;
    opacity: 0.5;
}

/* ─── footer ────────────────────────────────────────────────── */
footer {
    margin-top: 96px;
    border-top: 1px solid var(--divider);
    padding: 18px var(--pad) 40px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--dim);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
footer .cite {
    max-width: 44ch;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 11px;
    line-height: 1.5;
}

/* ─── plugin mock ───────────────────────────────────────────── */
.plugin-mock {
    width: 100%;
    user-select: none;
}
.pm-chrome {
    background: #181818;
    border: 1px solid rgba(237,237,237,0.12);
    border-radius: 3px;
    padding: 20px 20px 16px;
}
.pm-head {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}
.pm-name {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(13px, 2vw, 20px);
    color: var(--fg);
    letter-spacing: -0.01em;
    line-height: 1;
}
.pm-ky { margin-left: -0.14em; }
.pm-sub {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(5px, 0.6vw, 7px);
    letter-spacing: 0.3em;
    color: var(--dim);
    transform: translateY(-0.35em);
    display: inline-block;
}
.pm-hr {
    height: 1px;
    background: var(--divider);
    margin-bottom: 16px;
}
.pm-row {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}
.pm-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pm-knob {
    width: 100%;
    max-width: 72px;
    display: block;
}
.pm-track {
    fill: none;
    stroke: var(--track);
    stroke-width: 2;
    stroke-linecap: round;
    /* 270° of 2π×20 circumference (125.664): 94.248 visible, 31.416 gap */
    stroke-dasharray: 94.248 31.416;
    transform: rotate(135deg);
    transform-origin: 50% 50%;
}
.pm-prog {
    fill: none;
    stroke: var(--fg);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 0 125.664;
    transform: rotate(135deg);
    transform-origin: 50% 50%;
}
.pm-dot { fill: var(--fg); }
.pm-wave {
    width: 100%;
    max-width: 72px;
    display: block;
}
.pm-wi {
    fill: none;
    stroke: var(--dim);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pm-wi-on { stroke: var(--fg); }
.pm-mode {
    width: 100%;
    max-width: 72px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(8px, 1.1vw, 12px);
    letter-spacing: 0.1em;
}
.pm-mode-on { color: var(--fg); }
.pm-dim     { color: var(--dim); }
.pm-label {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(6px, 0.8vw, 9px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 6px;
    white-space: nowrap;
}
.pm-label-pair {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}
.pm-foot {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}
.pm-bypass {
    font-family: "Blur Bold", sans-serif;
    font-size: clamp(6px, 0.8vw, 9px);
    letter-spacing: 0.25em;
    color: var(--fg);
    border: 1px solid var(--divider);
    border-radius: 999px;
    padding: 7px 22px;
}
