/*
 * v4.css — romka.cc v4: "romka's desktop".
 * A soft, painted desktop: Chillax + Geist Mono, a cream dotted canvas,
 * glossy pills, macOS-style chrome, and the signature yellow highlight.
 */

@font-face { font-family: 'Chillax'; src: url('/assets/fonts/chillax-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Chillax'; src: url('/assets/fonts/chillax-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Chillax'; src: url('/assets/fonts/chillax-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-400-700-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-400-700-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    /* paper + ink */
    --v4-cream: #f6f2ea;
    --v4-cream-2: #efe9dd;
    --v4-ink: #18262b;
    --v4-ink-2: #3c4b50;
    --v4-muted: #5f6d70;
    --v4-line: rgba(24, 38, 43, .12);
    /* signature yellow + small helpers */
    --v4-yellow: #ffc247;
    --v4-yellow-hi: #ffdc85;
    --v4-yellow-lo: #f0a516;
    --v4-sky: #6fb7ff;
    --v4-leaf: #3dbe7a;
    --v4-coral: #ff7a59;
    --v4-night: #0f1317;
    /* type */
    --v4-font: 'Chillax', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
    --v4-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    /* shape + depth */
    --v4-radius: 14px;
    --v4-shadow-card: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(24, 38, 43, .1), 0 14px 30px -12px rgba(24, 38, 43, .28);
    --v4-ease: cubic-bezier(.2, .9, .3, 1.2);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.v4 {
    margin: 0;
    min-height: 100vh;
    background-color: var(--v4-cream);
    background-image: radial-gradient(rgba(24, 38, 43, .13) 1px, transparent 1.2px);
    background-size: 22px 22px;
    color: var(--v4-ink);
    font-family: var(--v4-font);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

:where(.v4) a { color: inherit; }
.v4 :focus-visible { outline: 3px solid var(--v4-yellow); outline-offset: 3px; border-radius: 8px; }

.v4-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.v4-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--v4-ink);
    color: #fff;
    font: 600 .8rem var(--v4-font);
    transform: translateY(-160%);
    transition: transform .15s ease;
}
.v4-skip:focus { transform: none; }

/* ---------------- menu bar ---------------- */

.v4-menubar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 22px;
    height: 36px;
    padding: 0 14px;
    background: rgba(18, 34, 46, .22);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    color: #fff;
    font-size: .92rem;
    text-shadow: 0 1px 2px rgba(0, 20, 40, .25);
    transition: background .3s ease, color .3s ease;
}

.v4-menubar.is-solid {
    background: rgba(246, 242, 234, .86);
    color: var(--v4-ink);
    text-shadow: none;
    box-shadow: 0 1px 0 var(--v4-line);
}

.v4-app { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }

.v4-app-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--v4-yellow-hi), var(--v4-yellow-lo));
    color: var(--v4-ink);
    font: 600 .9rem/1 var(--v4-font);
    text-shadow: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 0 0 1px rgba(120, 70, 0, .25);
}

.v4-menus { display: flex; gap: 18px; }
.v4-menus a { text-decoration: none; opacity: .92; }
.v4-menus a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.v4-menubar-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.v4-icon-link { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.v4-icon-link svg { width: 17px; height: 17px; fill: currentColor; }
.v4-icon-link:hover { background: rgba(255, 255, 255, .18); }

.v4-pill {
    padding: 3px 13px 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--v4-yellow-hi), var(--v4-yellow));
    color: var(--v4-ink);
    font-weight: 600;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 0 0 1px rgba(120, 70, 0, .3);
}

/* ---------------- dynamic island ---------------- */

.v4-island {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 290px;
    height: 42px;
    padding: 0 14px 4px 10px;
    border-radius: 0 0 20px 20px;
    background: #050607;
    color: #fff;
    font-size: .9rem;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
    transition: min-width .4s var(--v4-ease);
}

.v4-island-face { width: 22px; height: 22px; border-radius: 50%; }

.v4-island-step {
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .14);
    font: 500 .72rem var(--v4-mono);
}

.v4-island-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.v4-island-ring { width: 18px; height: 18px; transform: rotate(-90deg); }
.v4-island-ring circle { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2.5; }
.v4-island-ring .v4-island-ring-fill { stroke: var(--v4-yellow); stroke-linecap: round; stroke-dasharray: 47.1; stroke-dashoffset: 47.1; transition: stroke-dashoffset .8s ease; }

/* ---------------- hero: the painted desktop ---------------- */

.v4-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 90px 24px 120px;
    overflow: hidden;
    isolation: isolate;
}

.v4-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #6aa9e6; }

/* the painting: a touch larger than the hero so the pointer parallax never shows an edge */
.v4-painting img {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    object-fit: cover;
    object-position: 50% 62%;
    transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 6px), 0);
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

/* the portrait painting has its horizon lower; keep the path and the cottage in view */
@media (max-aspect-ratio: 4/5) {
    .v4-painting img { object-position: 50% 70%; }
}

/* painted cut-out clouds that drift across the sky, nearer ones faster */
.v4-cloud {
    position: absolute;
    left: 0;
    height: auto;
    pointer-events: none;
    opacity: .92;
    will-change: transform;
    /* pointer parallax on top of the drift animation: nearer clouds lean further */
    translate: calc(var(--px, 0) * var(--cloud-depth, 0) * 1px) calc(var(--py, 0) * var(--cloud-depth, 0) * .4px);
    transition: translate .8s cubic-bezier(.2, .8, .2, 1);
}
.v4-cloud--a { top: 9%; width: 44vw; --cloud-depth: 26; }
.v4-cloud--b { top: 30%; width: 34vw; opacity: .8; --cloud-depth: 16; }

/* soft hand-off from the painting to the paper below */
.v4-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(246, 242, 234, 0), var(--v4-cream) 92%);
    pointer-events: none;
}

/* without motion the clouds simply rest in the sky */
.v4-cloud--a { transform: translateX(-6vw); }
.v4-cloud--b { transform: translateX(64vw); }

@media (prefers-reduced-motion: no-preference) {
    .v4-cloud--a { animation: v4-cloud 140s linear infinite; animation-delay: -38s; }
    .v4-cloud--b { animation: v4-cloud 210s linear infinite; animation-delay: -150s; }
}

/* from just off the left edge to just off the right edge */
@keyframes v4-cloud {
    from { transform: translateX(-46vw); }
    to { transform: translateX(104vw); }
}

/* ---------------- desktop folders ---------------- */

.v4-folders { position: absolute; inset: 70px 18px 140px; pointer-events: none; }

.v4-folders-col {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.v4-folders-col--left { left: 0; }
.v4-folders-col--right { right: 0; top: 104px; }

.v4-folder {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 104px;
    gap: 8px;
    padding: 6px 4px;
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 22, 32, .6), 0 0 10px rgba(0, 22, 32, .35);
    transition: transform .25s var(--v4-ease);
}

.v4-folder:hover,
.v4-folder:focus-visible { transform: translateY(-3px); }
.v4-folder:focus-visible { outline: none; }

.v4-folder-icon {
    position: relative;
    display: block;
    width: 64px;
    height: 52px;
}

/* the frosted selection box, shown for the current folder and on hover */
.v4-folder-icon::before {
    content: '';
    position: absolute;
    inset: -9px -11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55) inset;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .15s ease;
}

.v4-folder.is-current .v4-folder-icon::before { opacity: 1; }
.v4-folder:hover .v4-folder-icon::before,
.v4-folder:focus-visible .v4-folder-icon::before { opacity: .75; }
.v4-folder:focus-visible .v4-folder-icon::before { box-shadow: 0 0 0 2.5px var(--v4-yellow) inset; }

/* the folder: one thick outline, a darker back with its tab, a light front flap */
.v4-folder-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 52'%3E%3Cpath d='M3 8.5Q3 5 6.5 5H21q2 0 3.3 1.4L27.5 10h30q3.5 0 3.5 3.5V45q0 3.5-3.5 3.5h-51Q3 48.5 3 45Z' fill='%23dfe8dc' stroke='%232b4a52' stroke-width='2.6' stroke-linejoin='round'/%3E%3Crect x='3' y='16' width='58' height='32.5' rx='3.5' fill='%23f4f7f0' stroke='%232b4a52' stroke-width='2.6'/%3E%3Cpath d='M8 21H56' stroke='%23cfd9cd' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 4px 5px rgba(0, 30, 40, .28));
}

.v4-folder-icon svg {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 63%;
    width: 19px;
    height: 19px;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: #2b4a52;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v4-folder-label { white-space: nowrap; }

.v4-folder.is-current .v4-folder-label {
    padding: 1px 9px 2px;
    border-radius: 6px;
    background: var(--v4-yellow);
    color: var(--v4-ink);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 22, 32, .25);
}

/* ---------------- notification ---------------- */

.v4-toast {
    position: absolute;
    top: 54px;
    right: 18px;
    z-index: 5;
    display: flex;
    gap: 12px;
    width: min(330px, calc(100vw - 36px));
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: var(--v4-shadow-card);
    color: var(--v4-ink);
    text-decoration: none;
    transform: translateX(calc(100% + 30px));
    transition: transform .55s var(--v4-ease);
}
.v4-toast.is-in { transform: none; }
.v4-toast[hidden] { display: none; }

.v4-toast-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #15191d;
    color: #fff;
    overflow: hidden;
}
.v4-toast-icon svg { width: 22px; height: 22px; fill: currentColor; }
.v4-toast-icon img { width: 100%; height: 100%; object-fit: cover; }

.v4-toast-body { min-width: 0; flex: 1; }
.v4-toast-head { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--v4-muted); }
.v4-toast-head strong { color: var(--v4-ink); font-weight: 600; }
.v4-toast-title { margin: 1px 0 0; font-weight: 600; font-size: .92rem; }
.v4-toast-text { margin: 1px 0 0; font-size: .8rem; color: var(--v4-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- hero copy ---------------- */

.v4-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1000px; }

.v4-title {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: clamp(2.6rem, 7.2vw, 6.2rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    text-shadow: 0 2px 0 rgba(20, 60, 90, .12), 0 14px 40px rgba(20, 60, 90, .3);
}

.v4-title-line { display: block; text-wrap: balance; }

.v4-title-o {
    display: inline-block;
    width: .72em;
    height: .72em;
    margin: 0 .02em 0 .01em;
    vertical-align: -.04em;
    border-radius: 50%;
    filter: drop-shadow(0 6px 10px rgba(20, 60, 90, .3));
}

.v4-mark {
    display: inline-block;
    padding: 0 .18em .06em;
    border-radius: .16em;
    background: linear-gradient(180deg, var(--v4-yellow-hi), var(--v4-yellow) 55%, var(--v4-yellow-lo));
    color: var(--v4-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
    box-shadow: 0 0 0 .04em rgba(120, 70, 0, .18), 0 .12em .4em rgba(240, 165, 22, .45);
    transform: rotate(-1.2deg);
}

.v4-cursor {
    position: absolute;
    right: 3%;
    top: 46%;
    width: 34px;
    height: 34px;
    fill: #121212;
    stroke: #fff;
    stroke-width: 1.6;
    stroke-linejoin: round;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
    pointer-events: none;
}

.v4-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.v4-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px 16px;
    border-radius: 999px;
    font: 600 1.25rem/1 var(--v4-font);
    text-decoration: none;
    transition: transform .2s var(--v4-ease), box-shadow .2s ease;
}
.v4-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.v4-btn:hover { transform: translateY(-2px); }
.v4-btn:hover svg { transform: translateX(3px); }
.v4-btn:active { transform: translateY(1px); }

.v4-btn--glossy {
    position: relative;
    background: linear-gradient(180deg, #ffe39b 0%, var(--v4-yellow) 52%, var(--v4-yellow-lo) 100%);
    color: var(--v4-ink);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, .85) inset,
        0 -3px 0 rgba(160, 90, 0, .22) inset,
        0 0 0 1.5px rgba(150, 85, 0, .45),
        0 0 0 6px rgba(255, 194, 71, .25),
        0 14px 30px -10px rgba(220, 140, 0, .7);
}
.v4-btn--glossy::before {
    content: '';
    position: absolute;
    inset: 3px 14px auto;
    height: 42%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.v4-btn--glass {
    background: rgba(255, 255, 255, .62);
    color: var(--v4-ink);
    text-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1.5px rgba(255, 255, 255, .8), 0 10px 24px -12px rgba(0, 30, 50, .45);
}

.v4-sub {
    margin: 22px 0 10px;
    color: #fff;
    font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    font-weight: 600;
    text-wrap: balance;
    text-shadow: 0 1px 2px rgba(10, 30, 20, .55), 0 2px 18px rgba(10, 30, 20, .55);
}

.v4-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 0;
    padding: 5px 16px 6px;
    border-radius: 999px;
    background: rgba(16, 38, 30, .32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    list-style: none;
    color: #fff;
    font-size: 1.02rem;
    text-shadow: 0 1px 2px rgba(10, 30, 20, .5);
}
.v4-stack li + li::before { content: '·'; margin-right: 18px; opacity: .7; }

@media (prefers-reduced-motion: no-preference) {
    .v4-title-o { animation: v4-wobble 4s ease-in-out infinite; }
    .v4-hero-copy > * { animation: v4-rise .8s var(--v4-ease) both; }
    .v4-title { animation-delay: .05s; }
    .v4-cta { animation-delay: .2s; }
    .v4-sub { animation-delay: .32s; }
    .v4-stack { animation-delay: .4s; }
    .v4-trust { animation-delay: .48s; }
    .v4-folder { animation: v4-pop .6s var(--v4-ease) both; animation-delay: calc(.35s + var(--i, 0) * .06s); }
}

@keyframes v4-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg) translateY(-2px); } }
@keyframes v4-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes v4-pop { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }

/* ---------------- people who trust me ---------------- */

/* Holds its place until the faces arrive, so the hero never jumps. */
.v4-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(760px, calc(100vw - 48px));
    min-height: 50px;
    margin-top: 16px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(10, 30, 20, .6), 0 2px 14px rgba(10, 30, 20, .5);
    visibility: hidden;
}
.v4-trust.is-ready { visibility: visible; }

.v4-trust a { color: inherit; text-decoration: none; }
.v4-trust-label { flex: none; padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .5); font-size: 1.02rem; font-weight: 600; white-space: nowrap; }
.v4-trust-label:hover { text-decoration: underline; text-underline-offset: 3px; }

.v4-trust-viewport { min-width: 0; overflow: hidden; }
.v4-trust-track { display: flex; width: max-content; }
.v4-trust-list { display: flex; align-items: center; gap: 12px; margin: 0; padding: 5px 3px; list-style: none; }

.v4-trust-list a { display: block; border-radius: 50%; transition: transform .18s var(--v4-ease); }
.v4-trust-list a:hover { transform: translateY(-3px) scale(1.08); }
.v4-trust-face { display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(10, 30, 20, .35); }
.v4-trust-face--letter { display: grid; place-items: center; background: linear-gradient(180deg, #ffe39b, var(--v4-yellow)); color: #18262b; font-size: 1.05rem; font-weight: 600; text-shadow: none; }

/* only three faces at a time, like the reference strip */
.v4-trust.is-moving .v4-trust-viewport {
    max-width: calc(3 * 40px + 2 * 12px + 6px);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.v4-trust.is-moving .v4-trust-list { padding-right: 15px; }
.v4-trust.is-moving .v4-trust-track { animation: v4-trust-drift var(--trust-seconds, 30s) linear infinite; }
.v4-trust.is-moving .v4-trust-viewport:hover .v4-trust-track,
.v4-trust.is-moving .v4-trust-viewport:focus-within .v4-trust-track { animation-play-state: paused; }

@keyframes v4-trust-drift { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .v4-trust-viewport { overflow-x: auto; }
}

@media (max-width: 620px) {
    .v4-trust { flex-direction: column; gap: 6px; min-height: 80px; }
    .v4-trust-label { padding-right: 0; border-right: 0; }
    .v4-trust-viewport { max-width: 100%; }
}

/* ---------------- next chapter placeholder ---------------- */

.v4-next { padding: 90px 24px 140px; text-align: center; }
.v4-next h2 { margin: 18px 0 10px; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.05; }
.v4-next p { margin: 0; color: var(--v4-muted); font-size: 1.15rem; }
.v4-next .v4-mark { box-shadow: none; }

.v4-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 5px 13px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--v4-shadow-card);
    color: var(--v4-ink-2) !important;
    font: 500 .85rem var(--v4-mono) !important;
}
.v4-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v4-leaf); box-shadow: 0 0 0 3px rgba(61, 190, 122, .2); }

/* ---------------- tablet + phone ---------------- */

@media (max-width: 1100px) {
    .v4-menus { display: none; }
    .v4-cursor { display: none; }
}

@media (max-width: 860px) {
    .v4-hero { align-content: start; padding-top: 120px; padding-bottom: 60px; }
    .v4-folders { position: relative; inset: auto; order: 3; width: 100%; margin-top: 46px; pointer-events: auto; }
    .v4-folders-col { position: static; display: contents; }
    .v4-folders { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: 10px 6px; }
    .v4-hero { display: flex; flex-direction: column; align-items: center; }
    .v4-toast { top: 50px; right: 50%; transform: translate(50%, -160%); }
    .v4-toast.is-in { transform: translate(50%, 0); }
    .v4-hero-copy { margin-top: 70px; }
    .v4-island { min-width: 0; max-width: calc(100vw - 150px); }
    .v4-app-name { display: none; }
}

@media (max-width: 520px) {
    .v4-menubar { gap: 10px; padding: 0 10px; }
    .v4-icon-link { display: none; }
    /* phones: the island shrinks to the mascot and the progress ring */
    .v4-island { min-width: 0; padding: 0 12px 4px 10px; }
    .v4-island-step,
    .v4-island-text { display: none; }
    .v4-btn { padding: 13px 22px 14px; font-size: 1.1rem; }
    .v4-sub { margin-top: 26px; }
    .v4-folder { width: 92px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v4-painting img, .v4-toast, .v4-btn, .v4-folder { transition: none; }
}
.v4-anchor { display: block; height: 0; scroll-margin-top: 60px; }
