@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/roboto-mono-700.woff2') format('woff2');
}

:root {
  --brand: #5bbad5;
  --brand-dark: #4a9ab3;
  --text: #2c3e50;
  --text-light: #6c757d;
  --border: #e9ecef;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--brand-dark);
  transition: color 0.2s;
}

a:hover {
  color: var(--brand);
}

/* External link indicator */
a[href^="http"]:not([href*="technicaldirector"])::after {
  content: " \2197";
  font-size: 0.7em;
  vertical-align: super;
}

header a::after {
  content: none !important;
}

/* Header */
header {
  text-align: center;
  border-bottom: 2px solid var(--brand);
}

header h1 {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0;
}

.company-number {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

header a.text-dark {
  transition: color 0.2s;
}

header a.text-dark:hover {
  color: var(--brand) !important;
}

/* Footer */
footer {
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ── Holding page (homepage) ── */

body.holding-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.holding-page main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 10vh;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.content-card li {
  padding: 0.3rem 0;
}

/* ── Terms pages ── */

.terms-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.terms-content h2 {
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.terms-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand);
  font-size: 1.25rem;
  font-weight: 600;
}

.terms-content ul {
  margin-bottom: 1rem;
}

.back-to-top {
  display: block;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ── Cookie consent banner ── */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--brand);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 1rem;
  display: none;
}

#cookie-banner.cookie-banner-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.4rem 1.2rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}

.cookie-btn-accept {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.cookie-btn-accept:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border);
}

.cookie-btn-decline:hover {
  border-color: var(--text-light);
  color: var(--text);
}

@media (max-width: 576px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
  }
}
