﻿/* ---------- Colours: dark by default, light when the device is set to light ---------- */
:root {
    --bg: #0d1112;
    --line: #27322f;
    --fg: #e8eceb;
    --muted: #94a19f;
    --accent: #ffb224;
    --accent-soft: rgba(255, 178, 36, 0.12);
    --font-display: "Figtree", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --gutter: clamp(16px, 4vw, 40px);
    color-scheme: dark;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f3f5f4;
        --line: #d3dbd8;
        --fg: #101517;
        --muted: #526260;
        --accent: #B45F00;
        --accent-soft: rgba(180, 95, 0, 0.1);
        color-scheme: light;
    }
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    padding-inline: var(--gutter); /* side gutter at every width */
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 1120px;
    margin-inline: auto;
}

a {
    color: inherit;
}

p {
    margin: 0;
    max-width: 65ch;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.25;
    letter-spacing: 0;
    text-wrap: balance;
    margin: 0;
}

h1 {
    font-size: 36px;
    font-weight: 400;
}

h2 {
    font-size: 26px;
    font-weight: 500;
}

h3 {
    font-size: 17px;
    font-weight: 500;
}

.label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Buttons ---------- */
.button {
    border: solid;
    border-width: 1px;
    border-color: #B45F00;
    background-color: #B45F00;
    color: white;
    font-family: Figtree, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 36px;
    font-size: 12px;
    padding: 0 24px 0 24px;
    flex-shrink: 0;
    min-width: 160px;
    text-decoration: none;
    box-sizing: border-box;
}

    .button.reverse {
        border-color: #B45F00;
        background-color: white;
        color: #B45F00;
    }

/* ---------- Header ---------- */
header.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.led {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent-soft), 0 0 14px var(--accent);
    animation: pulse 3.2s ease-in-out infinite;
    flex: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .led {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

nav.links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

    nav.links a {
        text-decoration: none;
        color: var(--muted);
    }

        nav.links a:hover {
            color: var(--fg);
        }

        nav.links a.button, nav.links a.button:hover {
            color: white;
        }

            nav.links a.button.reverse, nav.links a.button.reverse:hover {
                color: #B45F00;
            }

/* ---------- Page structure ---------- */
section {
    padding-block: clamp(48px, 8vw, 96px);
    border-top: 1px solid var(--line);
}

header.top + main > section:first-child {
    border-top: 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 72px);
}

    .split > * {
        min-width: 0;
    }

.stack {
    display: grid;
    gap: 18px;
}

footer {
    border-top: 1px solid var(--line);
    padding-block: 32px 48px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
}

/* ---------- Breakpoints ---------- */
/* 860px and below: two-column rows become one column */
@media (max-width: 860px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* 720px and below: header text links hide, the two buttons share one row */
@media (max-width: 720px) {
    nav.links a.opt {
        display: none;
    }

    nav.links {
        gap: 8px;
        width: 100%;
    }

        nav.links .button {
            flex: 1 1 0;
            min-width: 0;
            padding: 0 12px;
        }
}


.pageTitle{
    font-family:Figtree;
    font-size:36px;
    color:#B45F00;
    margin-top:32px;
}
.bodyText {
    font-family: Figtree;
    font-size: 14px;
    font-weight: 400;
    max-width: none;
}

    .bodyText.bold {
        font-weight: 500;
    }

    .bodyText.disabled {
        font-family: Figtree;
        font-size: 14px;
        color: rgb(230,230,230);
    }

.containerPageMessage {
    display: none;
    background-color: inherit;
    border: solid;
    border-width: 3px;
    margin-bottom: 12px;
    border-color: #FFA12F;
    padding: 5px 12px 5px 12px;
    border-radius: 6px;
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}


.containerInParentContainer {
    display: flex;
    justify-content: center;
    padding: 48px 20px 20px 20px;
    width: 100%;
}

.containerInBorder {
    position: relative;
    border: solid;
    border-color: #cccccc;
    border-radius: 8px;
    border-width: 1px;
    box-shadow: rgba(0,0,0,0.1) 0px 4px 12px;
    padding: 30px 30px 30px 30px;
    height: auto;
}

@media screen and (min-width: 0px) and (max-width: 720px) {
    .containerInBorder {
        width: 100%;
        max-width: 360px;
    }
}

@media screen and (min-width: 720px) and (max-width: 1130px) {
    .containerInBorder {
        width: 390px;
        max-width: auto;
    }
}

@media screen and (min-width: 1130px) {
    .containerInBorder {
        width: 420px;
        max-width: auto;
    }
}


.textBox {
    padding: 8px 5px 8px 5px;
    border: solid;
    border-color: #6e7174;
    border-width: 1px;
    border-radius: 3px;
    /*width: 100%;*/
    font-family: Figtree;
    font-size: 14px;
    color: #222222;
    -webkit-appearance: none;
    background-color: white;
    display: block;
    width: 100%;
}

.dropDown {
    padding: 8px 5px 8px 5px;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
    border-color: #222222;
    width: 100%;
    font-family: Figtree;
    font-size: 1.1em;
    color: inherit;
    outline: none;
    -webkit-appearance: none;
    background-color: white;
    position: relative;
    display: inline-block;
}