:root {
    color-scheme: light;
    --bg: #fbf9ff;
    --surface: rgba(255, 255, 255, .78);
    --surface-solid: #ffffff;
    --ink: #181420;
    --soft-ink: #3a3446;
    --muted: #766e83;
    --faint: #9b92a9;
    --line: rgba(113, 73, 151, .14);
    --line-strong: rgba(113, 73, 151, .28);
    --violet: #6937a7;
    --violet-deep: #4b1884;
    --lavender: #efe7fb;
    --lavender-2: #f7f1ff;
    --green: #19795f;
    --amber: #9b6a10;
    --max: 1160px;
    --radius: 8px;
    --shadow: 0 22px 70px rgba(66, 36, 105, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.56 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 10%, rgba(163, 124, 227, .24), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(224, 204, 255, .42), transparent 31%),
        radial-gradient(circle at 62% 80%, rgba(188, 159, 231, .24), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #fbf8ff 48%, #f8f3ff 100%);
    content: "";
}

.background-wash {
    position: fixed;
    inset: -20%;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 31%, rgba(245, 237, 255, .75) 39%, transparent 48%),
        linear-gradient(65deg, transparent 0 45%, rgba(221, 201, 251, .58) 51%, transparent 61%);
    opacity: .7;
    filter: blur(18px);
    animation: lavender-flow 18s ease-in-out infinite alternate;
}

@keyframes lavender-flow {
    from {
        transform: translate3d(-1.8%, -1%, 0) scale(1);
    }
    to {
        transform: translate3d(1.8%, 1%, 0) scale(1.04);
    }
}

a {
    color: var(--violet-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--violet);
}

.sprite {
    display: none;
}

.icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    width: min(var(--max), calc(100% - 36px));
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin: 14px auto 0;
    padding: 12px clamp(18px, 2.4vw, 28px);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 249, 255, .82);
    backdrop-filter: blur(18px);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-link img {
    display: block;
    width: min(178px, 42vw);
    height: auto;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.site-header nav::-webkit-scrollbar {
    display: none;
}

.site-header nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a:hover {
    color: var(--violet-deep);
}

main,
.site-footer {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
}

.hero {
    display: grid;
    max-width: 860px;
    padding: clamp(52px, 9vw, 92px) 0 clamp(36px, 6vw, 62px);
}

.hero-kicker {
    margin-bottom: 14px;
    color: var(--violet-deep);
    font-size: .82rem;
    font-weight: 760;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 15px;
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 760;
    line-height: 1.18;
}

h3 {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 740;
}

.hero p {
    max-width: 760px;
    margin-bottom: 20px;
    color: var(--soft-ink);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: .9rem;
}

.hero-meta span {
    position: relative;
    padding-left: 14px;
}

.hero-meta span::before {
    position: absolute;
    top: .72em;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--violet);
    content: "";
}

.section-block {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(34px, 6vw, 58px) 0;
    border-top: 1px solid var(--line);
}

.section-head {
    position: sticky;
    top: 92px;
    align-self: start;
}

.section-head > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--violet-deep);
    font-size: .78rem;
    font-weight: 780;
    text-transform: uppercase;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
}

.answer-list {
    display: grid;
    min-width: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
}

.two-col .answer-row:nth-child(2) {
    border-top: 0;
}

.answer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-width: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.answer-main {
    min-width: 0;
}

dt,
th {
    color: var(--muted);
    font-size: .74rem;
    font-weight: 760;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

dd {
    margin: 5px 0 0;
    color: var(--ink);
    font-weight: 540;
    overflow-wrap: anywhere;
}

.answer-note {
    margin: 7px 0 0;
    color: var(--faint);
    font-size: .86rem;
}

.answer-tools {
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 8px;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .58);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 720;
    white-space: nowrap;
}

.status-ok {
    border-color: rgba(25, 121, 95, .23);
    color: var(--green);
}

.status-warn {
    border-color: rgba(155, 106, 16, .27);
    color: var(--amber);
}

.status-muted {
    color: var(--faint);
}

.copy-btn {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .78);
    color: var(--violet-deep);
    outline: none;
    transform: translateY(-1px);
}

.copy-btn.is-copied {
    color: var(--green);
}

.split {
    display: grid;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.table-panel,
.media-grid,
.subsection {
    grid-column: 2;
}

.table-panel {
    margin-top: 30px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

td,
th {
    padding: 13px 12px 13px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

td {
    color: var(--soft-ink);
}

td:last-child,
th:last-child {
    width: 1%;
    padding-right: 0;
    text-align: right;
}

.roadmap-list {
    display: grid;
    gap: 0;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.roadmap-item:last-child {
    border-bottom: 1px solid var(--line);
}

.roadmap-date span {
    display: block;
    color: var(--violet-deep);
    font-size: .76rem;
    font-weight: 780;
    text-transform: uppercase;
}

.roadmap-date strong {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .9rem;
}

.roadmap-item p {
    margin-bottom: 0;
    color: var(--soft-ink);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 30px;
}

.media-panel {
    position: relative;
    min-width: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
}

.media-panel h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-panel .copy-btn {
    position: absolute;
    top: 12px;
    right: 0;
}

.embed-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .62);
    box-shadow: var(--shadow);
}

.embed-wrap.spotify {
    aspect-ratio: 16 / 5.4;
}

.embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.subsection {
    margin-top: 28px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 46px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    flex: 0 0 auto;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    max-width: min(330px, calc(100vw - 36px));
    padding: 10px 13px;
    background: rgba(24, 20, 32, .94);
    color: #fff;
    box-shadow: var(--shadow);
    font-size: .88rem;
    font-weight: 680;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1060px) {
    .section-block,
    .split {
        grid-template-columns: 1fr;
    }

    .section-head,
    .table-panel,
    .media-grid,
    .subsection,
    .split {
        grid-column: 1;
    }

    .section-head {
        position: static;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 14px;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-header nav {
        width: 100%;
    }

    .hero {
        padding-top: 42px;
    }

    h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .two-col,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .two-col .answer-row:nth-child(2) {
        border-top: 1px solid var(--line);
    }

    .answer-row,
    .roadmap-item {
        grid-template-columns: 1fr;
    }

    .answer-tools {
        justify-content: space-between;
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
