/*
Theme Name: OctoPress
Theme URI: https://forge.test
Author: ForgePress
Description: Vue-powered landing theme for the OctoPress beta site.
Version: 1.0.0
Text Domain: octopress
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
    --octopress-background: #ffffff;
    --octopress-foreground: #262626;
    --octopress-muted: #f5f6f7;
    --octopress-muted-foreground: #737373;
    --octopress-border: #e5e5e5;
    --octopress-primary: #2563a8;
    --octopress-primary-foreground: #ffffff;
    --octopress-ring: rgba(37, 99, 168, 0.28);
    --octopress-radius: 8px;
    --octopress-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --octopress-font-heading: "Fraunces", Georgia, serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--octopress-background);
    color: var(--octopress-foreground);
    font-family: var(--octopress-font-sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

.octopress-content-header {
    border-bottom: 1px solid var(--octopress-border);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-bar .octopress-content-header {
    top: 32px;
}

.octopress-content-header-inner {
    align-items: center;
    display: flex;
    height: 64px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 24px;
}

.octopress-content-brand {
    align-items: center;
    color: var(--octopress-foreground);
    display: inline-flex;
    font-size: 20px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
}

.octopress-content-brand-icon {
    display: block;
    flex: 0 0 auto;
    height: 24px;
    width: 24px;
}

.octopress-content-back {
    border: 1px solid var(--octopress-border);
    border-radius: 6px;
    color: var(--octopress-foreground);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 9px 12px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.octopress-content-back:hover,
.octopress-content-back:focus {
    border-color: var(--octopress-primary);
    box-shadow: 0 0 0 3px var(--octopress-ring);
    color: var(--octopress-primary);
    outline: none;
}

.octopress-content-main {
    margin: 0 auto;
    max-width: 896px;
    padding: 80px 24px 96px;
}

.octopress-content-kicker {
    color: var(--octopress-muted-foreground);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.octopress-content-article h1 {
    color: var(--octopress-foreground);
    font-family: var(--octopress-font-heading);
    font-size: clamp(42px, 7vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    margin: 0;
}

.octopress-content-meta {
    border-bottom: 1px solid var(--octopress-border);
    color: var(--octopress-muted-foreground);
    font-size: 14px;
    margin: 24px 0 44px;
    padding-bottom: 28px;
}

.octopress-content-body {
    color: var(--octopress-muted-foreground);
    font-size: 18px;
    max-width: 760px;
}

.octopress-content-body > :first-child {
    margin-top: 0;
}

.octopress-content-body > :last-child {
    margin-bottom: 0;
}

.octopress-content-body :where(h2, h3, h4, h5, h6) {
    color: var(--octopress-foreground);
    font-family: var(--octopress-font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 44px 0 14px;
}

.octopress-content-body h2 {
    font-size: clamp(28px, 4vw, 38px);
}

.octopress-content-body h3 {
    font-size: clamp(23px, 3vw, 30px);
}

.octopress-content-body :where(p, ul, ol, blockquote, pre, table, figure) {
    margin: 0 0 22px;
}

.octopress-content-body :where(ul, ol) {
    padding-left: 1.35em;
}

.octopress-content-body li + li {
    margin-top: 8px;
}

.octopress-content-body a {
    color: var(--octopress-primary);
    font-weight: 500;
    text-underline-offset: 3px;
}

.octopress-content-body a:hover,
.octopress-content-body a:focus {
    text-decoration-thickness: 2px;
}

.octopress-content-body img {
    border: 1px solid var(--octopress-border);
    border-radius: var(--octopress-radius);
    height: auto;
    max-width: 100%;
}

.octopress-content-body :where(.wp-block-image, figure) {
    color: var(--octopress-muted-foreground);
    font-size: 14px;
}

.octopress-content-body blockquote {
    border-left: 3px solid var(--octopress-primary);
    color: var(--octopress-foreground);
    font-family: var(--octopress-font-heading);
    font-size: 24px;
    line-height: 1.35;
    padding-left: 22px;
}

.octopress-content-body code {
    background: var(--octopress-muted);
    border: 1px solid var(--octopress-border);
    border-radius: 5px;
    color: var(--octopress-foreground);
    font-size: 0.9em;
    padding: 0.15em 0.35em;
}

.octopress-content-body pre {
    background: #171717;
    border-radius: var(--octopress-radius);
    color: #f5f5f5;
    overflow-x: auto;
    padding: 18px;
}

.octopress-content-body pre code {
    background: transparent;
    border: 0;
    color: inherit;
    padding: 0;
}

.octopress-content-body table {
    border-collapse: collapse;
    color: var(--octopress-foreground);
    width: 100%;
}

.octopress-content-body :where(th, td) {
    border: 1px solid var(--octopress-border);
    padding: 10px 12px;
    text-align: left;
}

.octopress-content-body th {
    background: var(--octopress-muted);
    font-weight: 600;
}

.octopress-content-body .wp-block-button__link,
.octopress-content-body button,
.octopress-content-body input[type="submit"] {
    background: var(--octopress-primary);
    border: 1px solid var(--octopress-primary);
    border-radius: 6px;
    color: var(--octopress-primary-foreground);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--octopress-font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 16px;
    text-decoration: none;
}

.octopress-content-body :where(input, textarea, select) {
    border: 1px solid var(--octopress-border);
    border-radius: 6px;
    color: var(--octopress-foreground);
    font: inherit;
    padding: 10px 12px;
}

.octopress-content-body :where(input, textarea, select):focus {
    border-color: var(--octopress-primary);
    box-shadow: 0 0 0 3px var(--octopress-ring);
    outline: none;
}

.octopress-content-footer {
    border-top: 1px solid var(--octopress-border);
    color: var(--octopress-muted-foreground);
    font-size: 14px;
    margin: 64px auto 0;
    max-width: 896px;
    padding: 28px 24px;
}

@media (max-width: 782px) {
    .admin-bar .octopress-content-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .octopress-content-header-inner {
        height: 58px;
        padding: 0 18px;
    }

    .octopress-content-back {
        font-size: 13px;
        padding: 8px 10px;
    }

    .octopress-content-main {
        padding: 54px 20px 72px;
    }

    .octopress-content-body {
        font-size: 16px;
    }
}
