:root{
    --bg: #0b0c10;
    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.045);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.65);
    --line: rgba(255,255,255,.10);
    --shadow: 0 20px 60px rgba(0,0,0,.45);

    --r: 18px;
    --pad: 18px;
    --max: 760px;
}

@media (prefers-color-scheme: light){
    :root{
        --bg: #f6f6f4;
        --card: rgba(0,0,0,.04);
        --card2: rgba(0,0,0,.03);
        --text: rgba(0,0,0,.88);
        --muted: rgba(0,0,0,.62);
        --line: rgba(0,0,0,.10);
        --shadow: 0 14px 40px rgba(0,0,0,.10);
    }
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background:
            radial-gradient(1100px 600px at 20% -10%, rgba(255,255,255,.08), transparent 60%),
            radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.06), transparent 55%),
            var(--bg);
    line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.wrap{
    width: min(var(--max), calc(100% - 32px));
    margin: 28px auto 40px;
    display: grid;
    gap: 14px;
}

.card{
    background: linear-gradient(180deg, var(--card), var(--card2));
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: var(--pad);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.header{
    display: flex;
    gap: 14px;
    align-items: center;
}

.avatar{
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: .04em;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
}

.headings h1{
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.tagline{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

h2{
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.links{
    display: grid;
    gap: 10px;
}

.btn{
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;

    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    transition: transform .08s ease, background .12s ease, border-color .12s ease;
    text-decoration: none;
    position: relative;
}

.btn:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.18);
    text-decoration: none;
}
.btn:active{
    transform: translateY(0px);
}

.icon{
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
}

.meta{
    grid-column: 2 / 3;
    color: var(--muted);
    font-size: 12px;
    margin-top: -2px;
}

.subtle{
    background: transparent;
}

.note{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 13px;
}

.two-col{
    display: grid;
    gap: 14px;
}

@media (min-width: 720px){
    .two-col{
        grid-template-columns: 1fr 1fr;
    }
}

.list{
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}
.list li{ margin: 8px 0; }
.small{ color: var(--muted); margin: 0; font-size: 14px; }

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    padding: 6px 2px;
}

.tiny{
    font: inherit;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
}
.tiny:hover{
    color: var(--text);
    border-color: rgba(255,255,255,.22);
}
