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

:root {
    --pine-fml: #232b18;
    --olive-fml: #556238;
    --lime-fml: #7a9e2e;
    --ink-fml: #1a2011;
    --paper-fml: #f4f6ee;
    --card-fml: #ffffff;
    --moss-fml: #5f6a4c;
    --edge-fml: #dde3d0;
    --body-fml: "Verdana", Geneva, "Segoe UI", sans-serif;
    --head-fml: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --bend-fml: 9px;
    --bend-lg-fml: 15px;
    --sink1-fml: 0 6px 16px rgba(26, 32, 17, .07);
    --sink2-fml: 0 14px 32px rgba(26, 32, 17, .12);
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--body-fml);
    background:
        linear-gradient(180deg, rgba(85, 98, 56, .1) 0%, rgba(244, 246, 238, 0) 46%),
        var(--paper-fml);
    color: var(--ink-fml);
    line-height: 1.72;
    font-size: 16px;
}

a {
    color: var(--olive-fml);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
a:hover { color: var(--lime-fml); }

/* ---------- head ---------- */
.head-fml {
    padding: 22px 20px 20px;
    background: rgba(35, 43, 24, .97);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--lime-fml);
}
.head-inner-fml {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.head-brand-fml {
    display: inline-block;
    font-family: var(--head-fml);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .24em;
    text-indent: .24em;
    color: #ffffff;
    text-decoration: none;
}
.head-brand-fml:hover { color: var(--lime-fml); }

/* ---------- doc header ---------- */
.doc-top-fml {
    max-width: 860px;
    margin: 0 auto;
    padding: 52px 22px 24px;
    text-align: center;
}
.doc-h1-fml {
    font-family: var(--head-fml);
    font-size: clamp(27px, 4.4vw, 42px);
    font-weight: 700;
    line-height: 1.24;
    color: var(--pine-fml);
}
.doc-sub-fml {
    display: block;
    margin: 14px auto 0;
    max-width: 620px;
    font-size: 16px;
    color: var(--moss-fml);
}
.doc-stamp-fml {
    display: inline-block;
    margin-top: 20px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(122, 158, 46, .13);
    border: 1px solid rgba(122, 158, 46, .45);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-fml);
}

/* ---------- bordered boxes with pill label ---------- */
.doc-body-fml {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 22px 70px;
    display: grid;
    gap: 18px;
}
.box-fml {
    background: var(--card-fml);
    border: 1px solid var(--edge-fml);
    border-radius: var(--bend-lg-fml);
    box-shadow: var(--sink1-fml);
    padding: 22px 24px 24px;
}
.box-label-fml {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    font-family: var(--body-fml);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--olive-fml);
}
.box-title-fml {
    font-family: var(--head-fml);
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--pine-fml);
    margin-bottom: 10px;
}
.box-body-fml p { margin-bottom: 12px; color: var(--moss-fml); }
.box-body-fml p:last-child { margin-bottom: 0; }
.box-body-fml strong { color: var(--ink-fml); }
.box-body-fml ul,
.box-body-fml ol {
    margin: 0 0 12px;
    padding-left: 0;
    list-style: none;
    color: var(--moss-fml);
}
.box-body-fml ol { counter-reset: fmlOrd; }
.box-body-fml li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}
.box-body-fml ul > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .6em;
    width: 9px;
    height: 9px;
    background: var(--lime-fml);
    border-radius: 2px;
}
.box-body-fml ol > li {
    counter-increment: fmlOrd;
    padding-left: 30px;
}
.box-body-fml ol > li::before {
    content: counter(fmlOrd);
    position: absolute;
    left: 0;
    top: -.05em;
    width: 21px;
    height: 21px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--olive-fml);
}

/* ---------- accents ---------- */
.flag-fml {
    margin: 14px 0 4px;
    padding: 16px 18px;
    border-left: 4px solid var(--lime-fml);
    border-radius: 0 var(--bend-fml) var(--bend-fml) 0;
    background: rgba(122, 158, 46, .09);
}
.flag-fml p { color: var(--ink-fml); margin: 0; font-size: 15px; }

.duo-fml {
    margin: 12px 0;
    display: grid;
    gap: 10px;
}
.duo-row-fml {
    display: grid;
    grid-template-columns: minmax(140px, 34%) 1fr;
    gap: 4px 16px;
    padding: 12px 14px;
    background: var(--paper-fml);
    border: 1px solid var(--edge-fml);
    border-radius: var(--bend-fml);
    font-size: 15px;
}
.duo-k-fml { font-weight: 700; color: var(--pine-fml); }
.duo-v-fml { color: var(--moss-fml); }
@media (max-width: 560px) {
    .duo-row-fml { grid-template-columns: 1fr; }
}

.board-fml {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 15px;
    background: var(--card-fml);
    border: 1px solid var(--edge-fml);
    border-radius: var(--bend-fml);
    overflow: hidden;
}
.board-fml th {
    background: var(--pine-fml);
    color: #ffffff;
    text-align: left;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}
.board-fml td {
    padding: 11px 14px;
    border-top: 1px solid var(--edge-fml);
    color: var(--moss-fml);
}
.board-fml tr:nth-child(even) td { background: rgba(85, 98, 56, .05); }

.tags-fml {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.tag-fml {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--edge-fml);
    background: var(--paper-fml);
    font-size: 13px;
    font-weight: 700;
    color: var(--pine-fml);
}

.coda-fml {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 22px 60px;
}
.coda-inner-fml {
    padding: 20px 22px;
    border: 1px dashed rgba(85, 98, 56, .45);
    border-radius: var(--bend-lg-fml);
    background: rgba(255, 255, 255, .7);
    font-size: 15px;
    color: var(--moss-fml);
    text-align: center;
}

@media (max-width: 620px) {
    .box-fml { padding: 20px 18px; }
    .doc-top-fml { padding-top: 40px; }
}

/* ---------- footer ---------- */
.foot-fml {
    margin-top: auto;
    flex-shrink: 0;
    background: var(--pine-fml);
    color: #c6cfb6;
    padding: 26px 20px 24px;
    text-align: center;
    border-top: 3px solid var(--lime-fml);
}
.foot-inner-fml {
    max-width: 900px;
    margin: 0 auto;
}
.foot-nav-fml {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 14px;
}
.foot-nav-fml a {
    color: #c6cfb6;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 158, 46, .5);
    padding-bottom: 2px;
}
.foot-nav-fml a:hover { color: var(--lime-fml); }
.foot-line-fml {
    font-size: 12px;
    color: #c6cfb6;
    margin-bottom: 10px;
}
.foot-legal-fml {
    font-size: 11px;
    line-height: 1.7;
    color: #9fac89;
    max-width: 760px;
    margin: 0 auto;
}
