:root {
    --dark-teal-rgb: 37, 74, 75;
    --brand-orange-rgb: 162, 101, 56;
    --brand-blue-rgb: 53, 134, 145;
    --mid-sepia-rgb: 133, 131, 108;

    --bg-color: #ffffff;
    --dark-teal: rgb(var(--dark-teal-rgb));
    --brand-orange: rgb(var(--brand-orange-rgb));
    --brand-blue: rgb(var(--brand-blue-rgb));
    --mid-sepia: rgb(var(--mid-sepia-rgb));

    --text-main: #1a1a1a;
    --text-dim: #666666;
    --border-color: rgba(var(--brand-blue-rgb), 0.2);
    --bg-light: #fdfdfc;

    --font-header: 'Source Sans 3', sans-serif;
    --font-code: 'Source Code Pro', monospace;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-header);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 125%;
}

.container {
    width: 90%;
    max-width: 1000px;
    text-align: center;
    padding: 60px 0 20px 0;
    position: relative;
    z-index: 2;
}

.header-wrapper, .footer-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-wrapper picture, .footer-wrapper picture { display: contents; }

.footer-wrapper { margin-top: auto; }

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.footer-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -1px;
}

h1 {
    font-size: clamp(1.2rem, 5.5vw, 3.2rem);
    margin: 0 0 15px 0;
    text-transform: lowercase;
    letter-spacing: -0.04em;
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.brand-bold { font-weight: 900; }
.brand-regular {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85em;
}

.c-orange { color: var(--brand-orange); }
.c-blue { color: var(--brand-blue); }

.slogan {
    font-family: var(--font-code);
    color: var(--brand-orange);
    font-size: clamp(1.3rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    letter-spacing: 2px;
    display: inline-block;
}

.highlight {
    color: var(--brand-blue);
    font-weight: 700;
    background: rgba(var(--brand-blue-rgb), 0.05);
    padding: 0 4px;
}

.execution-warning {
    background: rgba(var(--brand-orange-rgb), 0.05);
    border: 1px solid rgba(var(--brand-orange-rgb), 0.2);
    padding: 25px;
    margin-top: 50px;
    border-radius: 4px;
}
.execution-warning b {
    color: var(--brand-orange);
    font-family: var(--font-code);
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.execution-warning p { margin-bottom: 20px; }


@keyframes blink-opacity { 50% { opacity: 0; } }
.blink { animation: blink-opacity 1s linear infinite; }
.log-cursor::after { content: '█'; animation: blink-opacity 1s infinite; margin-left: 5px; }

.log-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 60px auto;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}
.log-header {
    background: var(--brand-blue);
    padding: 8px 15px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: space-between;
}
.log-container {
    width: 100%;
    max-width: 760px;
    height: 240px;
    max-height: 240px;
    padding: 20px;
    text-align: left;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--brand-blue);
    font-family: var(--font-code);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.log-line { margin-bottom: 8px; line-height: 1.4; }

.proxy-card {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: left;
    margin-bottom: 40px;
}
.proxy-header {
    background: var(--brand-blue);
    padding: 12px 20px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}
.proxy-body { padding: 40px; }

.system-btn {
    display: inline-block;
    background: var(--dark-teal);
    color: #fff;
    font-family: var(--font-code);
    padding: 18px 32px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 4px;
}
.system-btn:hover {
    background: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--brand-blue-rgb), 0.3);
}

.node-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.node-item {
    margin-bottom: 15px;
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
    transition: border-color 0.2s;
}
.node-item:hover { border-left-color: var(--brand-orange); }
.node-link {
    font-family: var(--font-code);
    font-size: 1rem;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
.node-link:hover { color: var(--brand-orange); }

.book-section {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.book-cover-wrapper {
    max-width: 500px;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}
.book-status-tag {
    font-family: var(--font-code);
    color: var(--mid-sepia);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}
.book-cover-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.book-cover-wrapper:hover img { transform: scale(1.03); }

.book-description { text-align: left; width: 100%; }
.book-title-main {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--dark-teal);
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.terminal-header-inline {
    font-family: var(--font-code);
    color: var(--brand-orange);
    font-weight: 700;
    display: block;
    margin: 40px 0 15px 0;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.list-protocol { list-style: none; padding: 0; margin: 20px 0; }
.list-protocol li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.list-protocol li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 900;
}

.social-section { margin: 60px 0; text-align: center; }
.social-label {
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.social-label-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-label-link:hover { color: var(--brand-blue); }
.social-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.social-icon-link {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #eee;
    transition: all 0.3s ease; background: #fff;
}
.social-icon-link svg { width: 20px; height: 20px; fill: var(--mid-sepia); transition: fill 0.3s ease; }
.social-icon-link:hover { border-color: var(--brand-blue); transform: translateY(-3px); }
.social-icon-link:hover svg { fill: var(--brand-blue); }

.footer-content {
    background-color: var(--dark-teal);
    width: 100%;
    padding: 0px 0 80px 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    font-family: var(--font-code);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.architect-sig {
    margin-top: 10px;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.65);
}
.architect-sig a, .architect-sig a:visited {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}
.architect-sig a:hover { color: var(--brand-orange); }
@media (max-width: 600px) {
    h1 { font-size: clamp(1.1rem, 5.5vw, 1.8rem); }
    .brand-regular { font-size: 0.85em; }
}

/* Matomo opt-out widget on privacy.php: give the bare injected <div> some
   breathing room from the policy text above it. */
.matomo-opt-out-box {
    margin-top: 40px;
    max-width: 600px;
}

