/* Reset */
a,body,div,footer,h1,h2,h3,header,html,img,p,span{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}
article,aside,footer,header,nav,section{display:block}
html,body{height:100%;min-height:100%}

/* ─── Design tokens ──────────────────────────────────────────── */
:root {
    --heading-font-size:        clamp(1.6rem, 2vw + 1rem, 2.6rem);
    --heading-colour:           #e8eaed;
    --text-font-size:           clamp(1rem, 1vw + .8rem, 1.25rem);
    --text-colour:              rgba(232, 234, 237, .65);
    --background-colour:        #232a31;
    --accent-colour:            #facc15;   /* Canary Hosting yellow */
    --accent-text-colour:       #18181b;

    --section-gap:              40px;   /* hero  ↕  content wrapper */
    --container-gap:            32px;   /* header  ↕  button */
    --content-gap:              10px;   /* h1  ↕  h2 */
}

/* ─── Base ───────────────────────────────────────────────────── */
body {
    font-family: "General Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--heading-colour);
    background-color: var(--background-colour);
    background-image: url(images/texture.webp);
    background-repeat: repeat;
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
}

/* ─── Hero image ─────────────────────────────────────────────── */
.hero {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    gap: var(--section-gap);
    width: 100%;
    max-width: 600px;
    padding: 48px 24px;
    box-sizing: border-box;
}

/* ─── Content section ────────────────────────────────────────── */
.content {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: var(--container-gap);
}

/* ─── Header ─────────────────────────────────────────────────── */
h1 {
    font-size: var(--heading-font-size);
    font-weight: 500;
    color: var(--heading-colour);
    margin-bottom: var(--content-gap);
    line-height: 1.25;
}
h1 strong {
    font-weight: 600;
    color: var(--accent-colour);
}
h2 {
    font-size: var(--text-font-size);
    font-weight: 400;
    color: var(--text-colour);
    line-height: 1.5;
}

/* ─── Call to action ─────────────────────────────────────────── */
.cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-text-colour);
    background-color: var(--accent-colour);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.cta:focus-visible {
    outline: 2px solid var(--heading-colour);
    outline-offset: 3px;
}
