/* SDS brand: shared by the customer and staff sites. Values taken from s-d-s.co.uk. */

@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url("/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }

:root {
  --navy: #142435;
  --navy-soft: #1f3247;
  --blue: #1e42da;
  --green: #0bda51;
  --green-ink: #00803a;
  --orange: #ff8243;
  --orange-deep: #e54d00;
  --mist: #f4f6fa;
  --footer: #e6ebf0;
  --line: #d3dae3;
  --muted: #55657a;
  --bad: #c62d35;
  --brand-gradient: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  --radius-box: 24px;
  --radius-input: 6px;
  --radius-btn: 30px;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--navy);
  font: 400 16px/1.6 Poppins, Arial, sans-serif;
}

h1, h2 { margin: 0; font-weight: 400; line-height: 1.25; }
a { color: var(--blue); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

/* ------------------------------------------------------------------ header */

.site-header { background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 85px; }
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { width: 200px; height: 54px; }
.site-header .tag { font-size: 14px; font-weight: 500; }

/* ------------------------------------------------------------------ footer */

.site-footer { margin-top: auto; background: var(--footer); font-size: 12px; font-weight: 500; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- buttons */

button { font-family: inherit; cursor: pointer; }

button.primary,
button.plain {
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

button.primary {
  padding: 13px 26px;
  border: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
}
button.primary:hover { background: var(--navy); }

button.plain {
  padding: 7px 16px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
}
button.plain:hover { background: var(--navy); color: #fff; }

button.plain.danger { border-color: var(--bad); color: var(--bad); }
button.plain.danger:hover { background: var(--bad); color: #fff; }

button:disabled { opacity: 0.5; cursor: default; }
button:focus-visible, input:focus-visible, .dropzone:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.error { color: var(--bad); font-weight: 600; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

@media (max-width: 560px) {
  .site-header .wrap { min-height: 68px; }
  .site-header .logo img { width: 150px; height: 41px; }
}
