/* ==========================================================================
   XBRTags Netherlands - Shared Stylesheet
   Design tokens extracted from the live site (Roboto, navy + red brand)
   ========================================================================== */

:root {
  /* Brand colors */
  --color-navy-900: #001442;   /* topbar background */
  --color-navy-950: #001442;   /* footer background */
  --color-navy-800: #001442;   /* active language pill */
  --color-red-600:  #e20209;    /* primary accent / CTA */
  --color-red-700:  #e20209;    /* CTA hover */
  --color-red-500:  #e20209;    /* active nav link / hover link */
  --color-red-400:  #df7d8d;    /* footer link hover */

  --color-text-body:       oklch(25% 0.02 260);
  --color-text-nav:        oklch(30% 0.03 260);
  --color-text-topbar:     oklch(85% 0.02 260);
  --color-text-footer:     oklch(80% 0.02 260);
  --color-text-footer-mut: oklch(72% 0.02 260);
  --color-text-footer-sub: oklch(65% 0.02 260);

  --color-border-header: oklch(90% 0.01 260);
  --color-border-footer: oklch(100% 0 0 / 0.13);
  --color-white: #ffffff;

  --font-base: 'Roboto', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --container-max: 1400px;
  --radius-sm: 7px;
  --radius-md: 8px;
  --radius-lg: 11px;

  --transition-fast: 0.18s ease;

  
    --paper: #f6f5f2;
    --line: oklch(88% 0.01 260);

}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text-body);
  background: var(--color-white);
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: var(--font-base); margin: 0; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--font-base);
}

/* --- Top info bar --- */
.site-header__topbar {
  background: var(--color-navy-900);
  color: var(--color-text-topbar);
}

.site-header__topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.site-header__topbar-left,
.site-header__topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-header__topbar-right { gap: 20px; }

.site-header__topbar-link {
  color: var(--color-text-topbar);
  transition: color var(--transition-fast);
}

.site-header__topbar-link:hover { color: var(--color-red-500); }

/* --- Main header row --- */
.site-header__main {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-header);
}

.site-header__main-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 40px;
  gap: 18px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo img {
  height: 45px;
  width: auto;
}

/* --- Nav --- */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-nav);
}

.site-header__nav-link {
  color: var(--color-text-nav);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-header__nav-link:hover,
.site-header__nav-link.is-active {
  color: var(--color-red-500);
}

/* --- Actions (lang switch + CTA) --- */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--color-border-header);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
}

.lang-toggle__btn {
  padding: 6px 11px;
  background: var(--color-white);
  color: oklch(35% 0.03 260);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-toggle__btn.is-active {
  background: var(--color-navy-800);
  color: var(--color-white);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.btn--primary {
  background: var(--color-red-600);
  color: var(--color-white);
}

.btn--primary:hover { background: var(--color-red-700); }

/* --- Mobile nav toggle (hamburger) --- */
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.site-header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text-nav);
  border-radius: 2px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--color-navy-950);
  color: var(--color-text-footer);
  font-family: var(--font-base);
  padding: 60px 40px 0;
  border-top: 3px solid var(--color-red-600);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-border-footer);
}

.site-footer__brand-logo {
  margin-bottom: 16px;
  background: var(--color-white);
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-md);
}

.site-footer__brand-logo img { height: 56px; width: auto; }

.site-footer__blurb {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: var(--color-text-footer-mut);
}

.site-footer__heading {
  color: var(--color-white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}

.site-footer__link {
  color: var(--color-text-footer);
  transition: color var(--transition-fast);
}

.site-footer__link:hover { color: var(--color-red-400); }

.site-footer__contact-item {
  color: var(--color-text-footer);
}

.site-footer__address {
  margin-top: 6px;
  line-height: 1.6;
  display: block;
}

.site-footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-footer-sub);
}

.site-footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Demo page content (hero / sections) - for the design preview
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 76px 40px 90px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-950));
  color: var(--color-white);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red-400);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 760px;
  margin-bottom: 18px;
}

.page-hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  color: oklch(88% 0.02 260);
  margin-bottom: 30px;
}

.section {
  padding: 72px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section__heading {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--color-text-body);
}

.section__lead {
  font-size: 16px;
  color: oklch(45% 0.02 260);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--color-border-header);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  box-shadow: 0 12px 28px oklch(20% 0.05 260 / 0.12);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: oklch(96% 0.02 27);
  color: var(--color-red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card__text { font-size: 14px; line-height: 1.6; color: oklch(45% 0.02 260); }

.placeholder-page {
  padding: 90px 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.placeholder-page__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red-600);
  margin-bottom: 12px;
}

.placeholder-page__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.placeholder-page__text {
  font-size: 16px;
  line-height: 1.7;
  color: oklch(45% 0.02 260);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .site-header__main-inner {
    grid-template-columns: auto auto;
    padding: 14px 20px;
  }

  .site-header__burger { display: flex; }

  .site-header__nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-header);
    margin-top: 14px;
  }

  .site-header__nav.is-open { display: flex; }

  .site-header__nav-link { padding: 8px 0; width: 100%; }

  .site-header__topbar-inner { padding: 8px 20px; justify-content: center;}
.site-header__topbar-right{
  justify-content: center;
  gap: 10px;
}
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .container { padding: 0 24px; }

  .page-hero { padding: 52px 24px 60px; }
  .page-hero__title { max-width: 100%; }
  .page-hero__subtitle { max-width: 100%; }

  .section { padding: 52px 24px; }
  .section__lead { max-width: 100%; }

  .placeholder-page { padding: 60px 24px; }

  .card { padding: 22px 18px; }

  .site-footer { padding: 44px 24px 0; }
}

@media (max-width: 560px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer { padding: 36px 20px 0; }
  .site-footer__bottom { padding: 20px 0 26px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .container { padding: 0 20px; }
  .section { padding: 40px 20px; }
  .page-hero { padding: 44px 20px 48px; }
  .placeholder-page { padding: 48px 20px; }
  .card-grid { gap: 14px; }
  .card { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .site-header__nav-link { transition: none; }
}

/* ==========================================================================
   Scope Checker - homepage widget ("Am I in scope?")
   Steps and results are toggled via the [hidden] attribute in site.js.
   ========================================================================== */
[hidden] { display: none !important; }

.scope-step { margin-top: 26px; }

.scope-step__label {
  font-size: 12.5px;
  color: oklch(50% 0.02 260);
  margin-bottom: 10px;
}

.scope-step__q {
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 14px;
}

.scope-step__answers {
  display: flex;
  gap: 12px;
}

.scope-step__answers--wrap {
  flex-wrap: wrap;
}

.scope-answer {
  display: inline-block;
  border: 1.5px solid oklch(30% 0.11 258);
  color: oklch(30% 0.11 258);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .18s ease;
}
.scope-answer:hover { background: oklch(96% 0.02 258); }

.scope-answer--no {
  border-color: oklch(85% 0.01 260);
  color: oklch(45% 0.02 260);
}
.scope-answer--no:hover { background: oklch(96% 0.01 260); }

.scope-results {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid oklch(90% 0.01 260);
}

.scope-results__title {
  font-weight: 800;
  font-size: 16.5px;
  margin-bottom: 14px;
}

.scope-results__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-result-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: oklch(97% 0.01 258);
  border-radius: 9px;
  padding: 12px 14px;
}

.scope-result-item__check {
  color: #e20209;
  font-weight: 800;
}

.scope-result-item__text {
  font-size: 14px;
  color: oklch(30% 0.02 260);
}

.scope-results__actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: baseline;
}

.scope-results__cta { margin-top: 0; }

.scope-reset {
  color: oklch(45% 0.02 260);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 10px;
  text-decoration: none;
}
