* {
    box-sizing: border-box;
}

html {
    color-scheme: light dark;
}

body {
    margin: 0;
    background: #f7f7f7;
    color: #111;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
}

body > header,
body > main,
body > footer {
    width: calc(100% - 64px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

body > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 40px;
    padding: 28px 0 20px;
    border-bottom: 1px solid #111;
}

body > header h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body > header h1 a,
nav a {
    text-decoration: none;
}

nav {
    display: flex;
    gap: 32px;
    font-size: 20px;
    line-height: 1;
}

body > main {
    padding: 72px 0 112px;
}

main h1 {
    margin: 0 0 40px;
    font-size: clamp(46px, 6vw, 100px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 700;
}

main h2 {
    margin: 52px 0 20px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

main .brute2 {
    margin: 0;
    padding: 13px 0;
    /*border-top: 1px solid #111;
    border-bottom: 1px solid #111;*/
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 20px;
}

main p,
main ul,
main ol,
main section,
main article,
main figure,
main img,
main blockquote,
main pre {
    width: 100%;
    max-width: none;
}

main p {
    margin: 0 0 24px;
    font-size: 20px;
    line-height: 1.65;
}

main .first {
    font-size: 21px;
    line-height: 1.5;
    margin-bottom: 48px;
}

main > ul,
main section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

main > ul li {
    width: 100%;
    padding: 18px 0;
    border-top: 1px solid #111;
    font-size: 20px;
    line-height: 1.5;
}

main > ul li:last-child {
    border-bottom: 1px solid #111;
}

main section {
    margin: 0 0 64px;
}

main section h2 {
    margin: 0 0 20px;
}

main section li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    padding: 22px 0;
    border-top: 1px solid #111;
}

main section li:last-child {
    border-bottom: 1px solid #111;
}

main section time {
    font-size: 18px;
    line-height: 1.5;
}

main section li a {
    font-size: 22px;
    line-height: 1.5;
}

article {
    margin: 0;
    padding: 0;
}

article > header {
    width: 100%;
    max-width: none;
    margin: 0 0 56px;
    padding: 0 0 24px;
    border-bottom: 1px solid #111;
}

article > header h1 {
    width: 100%;
    margin: 0 0 20px;
    font-size: clamp(46px, 6vw, 100px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 700;
}

article > header time {
    font-size: 18px;
    line-height: 1.5;
}

article p,
article h2,
article ul,
article ol,
article blockquote,
article figure,
article img,
article pre {
    width: 100%;
    max-width: none;
}

article p {
    margin: 0 0 24px;
    font-size: 20px;
    line-height: 1.65;
}

article h2 {
    margin: 52px 0 20px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

article ul,
article ol {
    padding-left: 24px;
}

article li {
    margin-bottom: 8px;
    font-size: 20px;
}

article img {
    display: block;
    height: auto;
    margin: 48px 0;
    padding: 0;
    border: 0;
}

article figure {
    margin: 48px 0;
    padding: 0;
}

article figure img {
    margin: 0;
}

figcaption {
    width: 100%;
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.5;
}

blockquote {
    margin: 40px 0;
    padding: 0 0 0 24px;
    border-left: 2px solid currentColor;
    font-size: 20px;
    line-height: 1.5;
}

pre, code {
    overflow-x: auto;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 18px;
}


body > footer {
    padding: 20px 0 36px;
    border-top: 1px solid #111;
    font-size: 20px;
    line-height: 1.5;
}

footer p {
    margin: 0;
}


/* Contact Page */
.contact-form {
    max-width: 600px;
    padding: 3rem 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    color: #1a1a1a;
}

.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
    .form-group input {
        background-color: #1a1a1a;
        border-color: #3a3a3a;
        color: #e5e5e5;
    }

    .form-group textarea {
        background-color: #1a1a1a;
        border-color: #3a3a3a;
        color: #e5e5e5;
    }
}

.form-group input:focus {
    outline: none;
    border-color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
    .form-group input:focus {
        border-color: #e5e5e5;
    }
}

.submit-btn {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.05em;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

@media (prefers-color-scheme: dark) {
    .submit-btn {
        background-color: #e5e5e5;
        color: #0a0a0a;
    }
}

.submit-btn:hover {
    opacity: 0.85;
}

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

th, td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #f5f5f5;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #111;
        color: #eee;
    }

    body > header,
    body > footer,
    main > ul li,
    main section li,
    article > header {
        border-color: #eee;
    }
}

@media (max-width: 700px) {
    body > header,
    body > main,
    body > footer {
        width: calc(100% - 32px);
    }

    body > header {
        align-items: flex-start;
        gap: 24px;
    }

    nav {
        gap: 20px;
        font-size: 18px;
    }

    body > main {
        padding: 52px 0 76px;
    }

    main h1 {
        font-size: clamp(44px, 15vw, 72px);
        margin-bottom: 32px;
    }

    main h2,
    article h2,
    main section h2 {
        font-size: 21px;
    }

    main > p:first-of-type {
        font-size: 19px;
        margin-bottom: 40px;
    }

    main section li {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 18px;
        padding: 19px 0;
    }

    main section time {
        font-size: 18px;
    }

    main section li a {
        font-size: 20px;
    }

    article > header {
        margin-bottom: 44px;
    }

    article > header h1 {
        font-size: clamp(44px, 14vw, 68px);
    }

    article > header time,
    article p,
    figcaption {
        font-size: 18px;
    }

    article img,
    article figure {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    body > footer {
        font-size: 20px;
    }
}
