/* =========================
   BODY
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
    /* background */
    header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("office.png") center/cover no-repeat;
        transform: scale(1.05);
        z-index: 0;
    }

    /* beige overlay */
    header::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(245, 240, 230, 0.88);
        z-index: 1;
    }

    /* keep content above background */
    header > * {
        position: relative;
        z-index: 2;
    }

/* =========================
   LOGO AREA
========================= */

.logo {
    width: 250px;
    height: 70px;
    background-image: url("logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* =========================
   NAVIGATION
========================= */
nav a {
    color: #1f2937;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

    nav a:hover {
        text-decoration: underline;
    }

/* =========================
   MAIN CONTENT
========================= */

/* container */

.container {
    width: min(900px, 100%);
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

/* content card */
.card {
    background: white;
    padding: 25px;
    border: 1px solid #e5e7eb;
    width: 100%;
    box-sizing: border-box;
}

/* headings */
h1 {
    margin-top: 0;
    font-size: 22px;
}

h2 {
    margin-top: 0;
    font-size: 18px;
}

/* =========================
   DOWNLOAD BOXES
========================= */
.download-box {
    display: block;
    padding: 14px 16px;
    margin-top: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
}

    .download-box:hover {
        background: #f9fafb;
    }

/* =========================
   MAILTO
========================= */
.mailto-link {
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid #cbd5e1;
    font-size: 14px;
}

    .mailto-link:hover {
        border-bottom: 1px solid #1f2937;
    }

/* =========================
   FOOTER
========================= */
.footer {
    padding: 20px 30px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    width: min(900px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.footer-links a {
    color: #1f2937;
    text-decoration: none;
    margin-left: 15px;
    font-size: 13px;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

/* =========================
   HISTORY
========================= */

.history-list {
    margin-top: 20px;
}

.history-row {
    display: flex;
    gap: 30px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.history-date {
    min-width: 70px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.5;
    vertical-align: middle;
}

.history-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
}

/* =========================
   MISC
========================= */

ul {
    list-style-type: square;
}