/* site */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.55;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background: #fbfbfb;
    margin: 0;
    color: #312931;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: system-ui, sans-serif;
    line-height: 1.25;
    margin: 0 0 0.875rem;
    font-weight: 700;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.53rem;
}

h3 {
    font-size: 1.14rem;
}

p {
    margin: 0 0 1.125rem;
}

a {
    color: #7f2e83;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.container {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 1.5rem;
}

.header {
    border-bottom: 1px solid #e3dce4;
    background: #fbfbfb;
}

.header-inner {
    justify-content: space-between;
    align-items: center;
    display: flex;
    gap: 1.5rem;
    min-height: 60px;
}

.logo {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    gap: 0.5rem;
    align-items: center;
    color: #312931;
    display: inline-flex;
}

.logo-icon {
    color: #7f2e83;
    width: 28px;
    height: 28px;
}

.nav-list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 1rem;
}

.nav-link {
    padding: 0.375rem 0.375rem;
    color: #766577;
    border-radius: 12px;
    text-decoration: none;
}

.nav-link:hover, .nav-link[aria-current] {
    color: #7f2e83;
    background: #f6eff6;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #e3dce4;
    border-radius: 12px;
    padding: 0.375rem 0.625rem;
    color: #312931;
    font: inherit;
    cursor: pointer;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.button--primary {
    color: #ffffff;
    background: #7f2e83;
}

.button--primary:hover {
    text-decoration: none;
    opacity: .9;
}

.button--secondary {
    background: transparent;
    color: #312931;
    border-color: #e3dce4;
}

.hero {
    padding: 3.5rem 0;
}

.hero-lead {
    font-size: 1.15rem;
    color: #766577;
    max-width: 36em;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-media img, .hero-media svg {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-kicker {
    letter-spacing: .08em;
    color: #7f2e83;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .8rem;
}

.hero-title {
    max-width: 16em;
    font-size: 2.34rem;
}

.hero-actions {
    flex-wrap: wrap;
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.section {
    padding: 6rem 0;
}

.section--alt {
    background: #f8f6f8;
}

.section-title {
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 40em;
    color: #766577;
}

.section-head {
    margin-bottom: 2.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card, .feature, .review, .post-card, .team-item {
    background: #f8f6f8;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: 1px solid #e3dce4;
}

.card-title, .feature-title {
    font-size: 1.15rem;
}

.card-text {
    color: #766577;
    margin: 0;
}

.icon {
    margin-bottom: 0.75rem;
    width: 2.25rem;
    color: #7f2e83;
    height: 1.75rem;
}

.card-icon {
    display: inline-flex;
    padding: 0.625rem;
    border-radius: 12px;
    background: #f6eff6;
    margin-bottom: 0.75rem;
}

.list {
    padding-left: 0;
    list-style: disc;
}

.list-item {
    border-bottom: 1px solid #e3dce4;
    padding: 0.625rem 0;
}

.stats {
    gap: 3rem;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.1rem;
    color: #7f2e83;
    font-weight: 700;
}

.stat-label {
    color: #766577;
}

.review-author {
    margin: 0;
    color: #766577;
    font-size: .9rem;
}

.review {
    margin: 0;
    font-style: italic;
}

.faq-item {
    border-bottom: 1px solid #e3dce4;
    padding: 0.875rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item p {
    margin: 0.625rem 0 0;
    color: #766577;
}

.post-meta {
    margin-bottom: 0.375rem;
    color: #766577;
    font-size: .875rem;
    display: block;
}

.post-title {
    font-size: 1.15rem;
}

.post-title a {
    text-decoration: none;
    color: #312931;
}

.read-more {
    font-weight: 600;
}

.post {
    max-width: 680px;
    margin: 0 auto;
    padding: 6rem 0;
}

.post-cover {
    margin: 0 0 1.5rem;
}

.post-cover img, .post-cover svg {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.content h2 {
    margin-top: 2rem;
    font-size: 1.4rem;
}

.content {
    max-width: 46em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    margin: 0;
}

.gallery-item img, .gallery-item svg {
    width: 100%;
    height: auto;
    display: block;
}

.page-head {
    padding: 4rem 0 0.5rem;
}

.page-lead {
    font-size: 1.1rem;
    color: #766577;
}

.breadcrumbs {
    font-size: .875rem;
    color: #766577;
    margin-bottom: 0.75rem;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.field {
    margin-bottom: 1rem;
}

.label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.375rem;
}

.input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e3dce4;
    border-radius: 10px;
    font: inherit;
    background: #fbfbfb;
    color: #312931;
}

.input:focus {
    outline: 2px solid #7f2e83;
    outline-offset: 1px;
    border-color: transparent;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e3dce4;
}

.price {
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.cta {
    background: #7f2e83;
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.cta .button--primary {
    background: #fff;
    color: #7f2e83;
    border-color: #fff;
}

.avatar {
    align-items: center;
    margin-bottom: 0.75rem;
    display: flex;
    border-radius: 50%;
    color: #7f2e83;
    justify-content: center;
    width: 56px;
    font-weight: 700;
    height: 56px;
    background: #f6eff6;
}

.small {
    font-size: .875rem;
    color: #766577;
}

.lead {
    font-size: 1.15rem;
}

.notfound {
    text-align: center;
    padding: 7.5rem 0;
}

.notfound-code {
    margin: 0 0 0.5rem;
    font-weight: 800;
    color: #7f2e83;
    line-height: 1;
    font-size: 4rem;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 0.5rem;
    top: 0.5rem;
    background: #fbfbfb;
    padding: 0.5rem;
}

.footer {
    margin-top: 0;
    color: #766577;
    padding: 3rem 0 1.25rem;
    font-size: .95rem;
    background: #f8f6f8;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    display: grid;
    gap: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #766577;
}

.footer-copy {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e3dce4;
    font-size: .85rem;
}

pre, code {
    font-size: 0.85rem;
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

.code {
    background: #f8f6f8;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.5;
    padding: 1rem;
}

p code, li code, td code {
    border-radius: 3px;
    background: #f8f6f8;
    padding: 0 .25em;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: .875rem;
}

.tag {
    text-decoration: none;
    color: #766577;
}

.post-nav {
    justify-content: space-between;
    border-top: 1px solid #e3dce4;
    gap: 1rem;
    margin: 2rem 0;
    padding-top: 1rem;
    display: flex;
}

.archive {
    list-style: none;
    padding: 0;
}

.archive li {
    padding: 0.375rem 0;
}

.archive time {
    font-variant-numeric: tabular-nums;
    color: #766577;
    min-width: 4.5em;
    display: inline-block;
}

.docs {
    padding-bottom: 3rem;
    gap: 2rem;
    grid-template-columns: 220px 1fr;
    display: grid;
    padding-top: 2rem;
}

.side-list {
    position: sticky;
    top: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-link {
    display: block;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    border-radius: 6px;
    color: #312931;
}

.side-link:hover {
    background: #f6eff6;
}

.table th {
    text-align: left;
    padding: 0.625rem 0.5rem;
    border-bottom: 2px solid #e3dce4;
}

.home-card {
    padding-bottom: 4rem;
    padding-top: 4rem;
    max-width: 600px;
}

.content img {
    border-radius: 12px;
}

.content li {
    margin-bottom: 0.25rem;
}

.footer {
    background: #f8f6f8;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.footer-copy {
    border-top: 0;
    margin-top: 0;
}

.badge-row {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 999px;
    background: #f6eff6;
    color: #7f2e83;
    border: 1px solid #e3dce4;
}

.hero .badge {
    background: #f6eff6;
    border-color: #e3dce4;
    color: #7f2e83;
}

.toolbar {
    display: flex;
    margin: 0.75rem 0 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f6f8;
    color: #312931;
    border: 1px solid #e3dce4;
    border-radius: 12px;
    padding: 6px 12px;
    font: inherit;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
}

.filter-btn.is-active {
    background: #7f2e83;
    color: #ffffff;
    border-color: #7f2e83;
}

.thumb-card {
    background: #f8f6f8;
    border: 1px solid #e3dce4;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.thumb-media {
    overflow: hidden;
    background: #f8f6f8;
    cursor: pointer;
}

.thumb-media img {
    aspect-ratio: 16 / 10;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.thumb-body {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.thumb-actions {
    flex-wrap: wrap;
    display: flex;
    margin-top: auto;
    gap: 0.375rem;
    padding-top: 0.25rem;
}

.btn-sm {
    padding: 5px 10px;
    line-height: 1.25;
    font-size: .82rem;
}

.copy-btn {
    background: #f8f6f8;
    color: #312931;
    border-color: #e3dce4;
}

.cmd-tabs {
    gap: 0.375rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.code-wrap {
    margin-top: 0.5rem;
}

.release-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery.list-view {
    grid-template-columns: 1fr;
}

.gallery.list-view .thumb-card {
    flex-direction: row;
    align-items: center;
}

.gallery.list-view .thumb-media {
    width: 160px;
    flex-shrink: 0;
}

.modal {
    background: rgba(0,0,0,.68);
    display: flex;
    padding: 1rem;
    z-index: 50;
    justify-content: center;
    align-items: center;
    inset: 0;
    position: fixed;
}

.modal[hidden] {
    display: none;
}

.modal-box {
    background: #fbfbfb;
    color: #312931;
    border: 1px solid #e3dce4;
    border-radius: 12px;
    padding: 1rem;
    max-width: 760px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-box img {
    height: auto;
    border-radius: 10px;
    width: 100%;
}

.modal-head, .modal-foot {
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    display: flex;
}

@media (max-width: 760px) {
    .docs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-inner, .contact {
        grid-template-columns: 1fr;
    }

    .grid--2 {
        grid-template-columns: 1fr;
    }

    .grid--3 {
        grid-template-columns: 1fr;
    }

    .grid--4 {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav {
        width: 100%;
        display: none;
    }

    .nav--open {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-list {
        flex-direction: column;
        padding-bottom: 0.75rem;
    }

    h1 {
        font-size: 1.69rem;
    }

    .hero-title {
        font-size: 1.84rem;
    }
}
