* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #141414;
    color: #c8c8c8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 10;
}

a,
a:visited {
    color: #2d6a4f;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    color: #2d6a4f;
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* ── Header ── */

header,
main > div:first-child {
    padding: 40px 0 24px;
    text-align: center;
}

/* ── Main content column ── */

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 560px;
    width: 90%;
    padding: 40px 0 64px;
    opacity: 0;
    animation: fadein 0.8s ease 0.2s forwards;
}

@keyframes fadein {
    to { opacity: 1; }
}

/* ── Typography ── */

.prompt-line {
    display: flex;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #888;
}

.prompt-path   { color: #2d6a4f; }
.prompt-symbol { color: #555; margin: 0 8px 0 2px; }

.section-title {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #666;
    text-transform: uppercase;
    margin-bottom: -16px;
}

.intro {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.note {
    font-size: 11px;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.04em;
    border-top: 1px solid #1e1e1e;
    padding-top: 24px;
    width: 100%;
}

/* ── Firewall IP table ── */

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

.ip-table tr {
    border-bottom: 1px solid #1e1e1e;
}

.ip-table tr:last-child {
    border-bottom: none;
}

.ip-table td {
    padding: 12px 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    vertical-align: middle;
}

.ip-region {
    color: #555;
    width: 110px;
}

.ip-address {
    color: #2d6a4f;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ip-city {
    color: #888;
    text-align: right;
    font-size: 11px;
}

/* ── Content pages (index, privacy, disclaimer etc.) ── */

.content h1 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.content h2 {
    font-size: 13px;
    font-weight: 700;
    color: #2d6a4f;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 8px;
}

.content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.content ul {
    list-style: none;
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.content ul li::before {
    content: '· ';
    color: #2d6a4f;
}

.content .divider {
    width: 100%;
    border: none;
    border-top: 1px solid #1e1e1e;
}

/* ── Footer ── */

footer {
    text-align: center;
    padding: 24px 0 32px;
    font-size: 11px;
    color: #444;
    letter-spacing: 0.12em;
    border-top: 1px solid #1a1a1a;
}

footer a,
footer a:visited {
    color: #555;
}

footer a:hover {
    color: #2d6a4f;
    text-decoration: none;
}

footer p {
    margin-top: 8px;
    color: #333;
}

/* ── Forms ── */

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

input[type=text],
input[type=email],
textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #c8c8c8;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.2s;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    border-color: #2d6a4f;
}

textarea {
    resize: none;
}

input[type=submit] {
    width: 100%;
    background: transparent;
    border: 1px solid #2d6a4f;
    color: #2d6a4f;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

input[type=submit]:hover {
    background: #2d6a4f;
    color: #141414;
}

.form-message {
    font-size: 13px;
    color: #2d6a4f;
    letter-spacing: 0.04em;
}

.form-message.error {
    color: #c0392b;
}
