/* Standalone port of PageChew's official right-hand hero canvas. */
@font-face {
    font-family: "DM Sans PageChew";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("fonts/dm-sans-latin-variable.woff2") format("woff2");
}

:root {
    color-scheme: dark;
    --bg: #0a0a09;
    --line: rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .2);
    --fg: #f3f2ec;
    --mute: #8f8f86;
    --acid: #dfff2f;
    --mono: "DM Sans PageChew", ui-monospace, SFMono-Regular, Menlo, "PingFang SC", monospace;
}

* { box-sizing: border-box; }

html,
body,
.hero-visual {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: "DM Sans PageChew", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hero-visual {
    position: relative;
    background: radial-gradient(120% 90% at 70% 40%, #171715 0%, var(--bg) 62%);
}

.distill-stage,
.distill-canvas {
    position: absolute;
    inset: 0;
}

.distill-canvas { width: 100%; height: 100%; }

.distill-readout {
    position: absolute;
    bottom: 28px;
    left: 28px;
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 10, 9, .66);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.distill-readout strong {
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.distill-readout span {
    color: var(--mute);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.distill-readout .distill-step { color: var(--acid); }

.distill-phases {
    position: absolute;
    right: 28px;
    bottom: 34px;
    display: flex;
    gap: 6px;
}

.distill-phases i {
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--line-strong);
    transition: background .3s, width .3s;
}

.distill-phases i.on { width: 40px; background: var(--acid); }

@media (max-width: 560px) {
    .distill-readout { bottom: 18px; left: 18px; }
    .distill-phases { right: 18px; bottom: 24px; }
    .distill-phases i { width: 12px; }
    .distill-phases i.on { width: 24px; }
}
