@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* Reset */
html {
    box-sizing: border-box;
    font-size: 15px;
}

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

body, h1, h2, p, ol, ul {
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Basics */
:root {
    --primary-color: #E3E3E3;
    --background-color: #0A0A0A;
    --card-color: #191919;
    --border-color: #3E3E3E;
    --text-color: #E3E3E3;
    --muted-color: #888888;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
}

a {
    color: var(--text-color);
    text-underline-offset: 2px;
}

p {
    margin-bottom: 1rem;
}

main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.primary-button, .secondary-button, .document-button {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    text-align: center;
    text-decoration: none;
    color: var(--background-color);
}

.secondary-button {
    color: var(--text-color);
    border: 1px solid var(--text-color);
    background-color: var(--background-color);
}

/* Header */
.header {
    display: flex;
    padding: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    padding-top: 7px;
}

.header-navigation {
    display: flex;
    gap: 1rem;
}

.header-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
}

.header-link::hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    color: var(--muted-color);
    opacity: 0.5;
    padding: 2rem;
    text-align: center;
}

/* Error Page */
.error {
    padding-top: 10rem;
}

.error-title {
    font-size: 1.5rem;
}

.error-description {
    font-size: 1.2rem;
    color: var(--muted-color);
}

/* Home Page */
.hero {
    margin-top: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(220deg, #56a4e8, #A0E5B2);
    color: #0000 !important;
}

.hero-tagline {
    font-size: 1.5rem;
}

.feature {
    margin: 2rem 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background-image: linear-gradient(135deg, #141414 5.56%, #0a0a0a 5.56%, #0a0a0a 50%, #141414 50%, #141414 55.56%, #0a0a0a 55.56%, #0a0a0a 100%);
    background-size: 12.73px 12.73px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
}

.feature-icon {
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 5px #FFFFFF10;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
}

.feature-tagline {
    font-size: 1.2rem;
    color: var(--muted-color);
}

.feature-actions {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
}

.alert {
    display: flex;
    vertical-align: center;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.alert-icon {
    margin-right: 0.75rem;
}

.alert-content {
    margin: 0;
}

.alert-link {
    color: var(--text-color);
}

/* Pegboard Page */
.product {
    margin-top: 5rem;
}

.product-title {
    font-size: 1.5rem;
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--muted-color);
}

.download {
    display: flex;
    flex-direction: column;
    margin: 4rem 0;
    gap: 3rem;
}

@media (min-width: 768px) {
    .download {
        flex-direction: row;
    }
}

.download-platform {
    flex: 1;
    background-color: var(--card-color);
    padding: 1.5rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-color);
}

.download-icon {
    float: left;
    margin-right: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px #FFFFFF10;
}

.download-title {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.download-tagline {
    color: var(--muted-color);
}

/* Support Page */
.support {
    margin-top: 5rem;
}

.support-title {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Docs */
.documentation {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 1000px;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .documentation {
        flex-direction: row-reverse;
    }
}

.contents {
    width: 250px;
    flex-shrink: 0;
    margin-top: 4px;
    margin-bottom: 2rem;
}

.contents-category {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contents-list {
    border-left: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.contents-entry {
    list-style-type: none;
    padding: 0.1rem 0 0.1rem 1rem;
}

.contents-link {
    color: var(--muted-color);
    text-decoration: none;
}

.contents-link:hover {
    text-decoration: underline;
}

.document {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.document-section {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--muted-color);
}

.document-button {
    display: block;
    float: right;
    margin-top: 2rem;
}

.document h1, .document h2 {
    margin: 3rem 0 2rem 0;
}

.document h1 {
    margin-top: 0;
}

.document p, .document ul {
    opacity: 0.9;
    margin: 2rem 0;
    line-height: 1.6;
}

.document blockquote {
    background-color: var(--card-color);
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-style: italic;
    line-height: 1.6;
}

.document ul {
    margin-bottom: 2rem;
    list-style-type: circle;
    list-style-position: outside;
    padding-inline-start: 2rem;
}

.document li {
    margin-bottom: 0.5rem;
}
