/* Binary Thought — one stylesheet for every page. No frameworks, no web fonts:
   the system font stack means nothing is fetched from a third party. Colours
   come from the logo (wordmark #231f20, cube greens). */

:root {
    color-scheme: light;
    --ink: #231f20;
    --ink-muted: #55575b;
    --line: #dfe3d6;
    --bg: #ffffff;
    --bg-tint: #f4f7ec;
    --green-deep: #3e5d13;
    --green: #51721e;
    --green-bright: #9bbe32;
    --focus: #2d6cdf;
    --radius: 10px;
    --wrap: 68rem;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 1.0625rem/1.6 var(--font);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3rem); }
h2 { font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.skip {
    position: absolute; left: 8px; top: -100px;
    background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 8px; }

/* Header */
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 8px 24px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-deep); text-decoration: underline; }

/* Buttons */
.button {
    display: inline-block; padding: 12px 22px; border-radius: 999px;
    background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
    border: 2px solid var(--green); font-size: 1rem; line-height: 1.2; cursor: pointer;
    font-family: inherit;
}
.button:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.button.secondary { background: transparent; color: var(--green-deep); }
.button.secondary:hover { background: var(--bg-tint); color: var(--ink); }
.site-nav .button,
.site-nav .button[aria-current="page"],
.site-nav .button:hover { padding: 8px 16px; color: #fff; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: clamp(48px, 7vw, 88px) 0; }
section.tint { background: var(--bg-tint); }
.lead { font-size: 1.2rem; color: var(--ink-muted); max-width: 40rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--green-deep); margin-bottom: 0.5em; }

.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); background: linear-gradient(180deg, var(--bg-tint), var(--bg)); }
.hero .logo { width: min(320px, 80vw); margin-bottom: 32px; }
.hero h1 { max-width: 22ch; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.card {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card p:last-child { margin-bottom: 0; }

.feature {
    display: grid; gap: 32px; align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.feature h3 { font-size: 1.6rem; }
.status { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--green-deep); background: var(--bg-tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 1em; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.6em; position: relative; margin-bottom: 0.5em; }
.ticks li::before { content: ""; position: absolute; left: 0.2em; top: 0.55em; width: 0.6em; height: 0.35em; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.steps li { counter-increment: step; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* Six logos: three across on a wide screen, two on a phone, never a lone orphan */
.clients { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.clients li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 128px; display: grid; place-items: center; padding: 16px; }
.clients img { max-height: 84px; width: auto; object-fit: contain; }
@media (max-width: 720px) {
    .clients { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .clients li { height: 104px; padding: 12px; }
    .clients img { max-height: 68px; }
}

.contact { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
address { font-style: normal; }

/* Text pages: privacy, terms, product policies */
.page { padding: clamp(40px, 6vw, 72px) 0; }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose li { margin-bottom: 0.4em; }
.updated { color: var(--ink-muted); }

/* Enquiry form */
.form { max-width: 36rem; display: grid; gap: 18px; margin-bottom: 32px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: inherit; padding: 10px 12px;
    border: 1px solid #a9ae9f; border-radius: 8px; background: #fff;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-tint); }
.notice:empty { display: none; }
.notice.error { background: #fdf0ee; border-color: #e7b9b1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }
