:root {
  
  --neutral-1: #101820;
  --neutral-2: #e2e5e9;
  --neutral-3: #757575;
  --blue-7: #f1f6fe;
  --blue-3: #003594;
  --accent-blue-4: #00a7e1;
  --accent-gold-4: #ffb81b;
  
  --header-bg: var(--neutral-1);
  --header-text: #ffffff;
  --header-text-muted: rgba(255, 255, 255, 0.8);
  
  --link: var(--blue-3);
  --link-hover: #004bbb;
  
  --accent-cyan: var(--accent-blue-4);
  
  --btn-yellow: var(--accent-gold-4);
  --btn-yellow-hover: #ffc947;
  --btn-yellow-text: var(--neutral-1);
  
  --btn-primary-start: var(--blue-3);
  --btn-primary-end: #004bbb;
  --btn-primary-hover-start: #004bbb;
  --btn-primary-hover-end: #0056cc;
  
  --gradient-band: linear-gradient(to bottom right, #1a237e 0%, #303f9f 50%, #42a5f5 100%);
  --bg-page: #ffffff;
  --bg-alt: var(--blue-7);
  --bg-card: #ffffff;
  --text: var(--neutral-1);
  --text-muted: var(--neutral-3);
  --border: #e2e5e9;
  --border-focus: var(--accent-cyan);
  --radius: 0.5rem; 
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Barlow", sans-serif;
}


[data-theme="dark"] {
  --bg-page: #1a1d23;
  --bg-alt: #252830;
  --bg-card: #252830;
  --neutral-2: #343a44;
  --text: #e6e8eb;
  --text-muted: #9ca3af;
  --border: #3d424a;
  --link: #00a7e1;
  --link-hover: #33b8eb;
  --link-visited: #00a7e1; 
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .site-main a:not(.btn):not(.btn-404):visited,
[data-theme="dark"] .footer-standalone a:not(.btn):visited {
  color: var(--link-visited);
}


[data-theme="dark"] .not-found a:not(.btn-404),
[data-theme="dark"] .not-found a:not(.btn-404):visited {
  color: #00a7e1;
}

[data-theme="dark"] .not-found a:not(.btn-404):hover {
  color: #33b8eb;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em; 
  background: var(--bg-page);
  color: var(--text);
  overflow-wrap: break-word;
}


.skip-links {
  position: absolute;
  top: -3rem;
  left: 0.75rem;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  transition: top 0.2s ease;
}


@media (max-width: 640px) {
  .skip-links {
    top: -8rem;
  }
}

.skip-links:focus-within {
  top: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .skip-links {
    transition: none;
  }
}

.skip-link {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--border-focus);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.skip-links .skip-link {
  position: static;
}

body > .skip-link {
  position: absolute;
  top: -3rem;
  left: 0.75rem;
}

body > .skip-link:focus {
  top: 0.75rem;
}

.skip-link:focus {
  outline: none;
}


.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--neutral-2);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.back-to-top-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}


.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ext-link::after {
  content: "";
  width: 0.75em;
  height: 0.75em;
  flex-shrink: 0;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}



.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0; 
}

.container-wide {
  max-width: 1200px;
}


.site-header .container-wide {
  max-width: 1440px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-header .container-wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .site-header .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-header .container-wide {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .site-header .container-wide {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1536px) {
  .site-header .container-wide {
    padding-left: 120px;
    padding-right: 120px;
  }
}


.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(16, 24, 32, 0.95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  min-height: 5rem;
  padding: 0;
  transition: transform 0.3s ease-out;
}

.site-header .container,
.site-header .container-wide {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 0.5rem;
}


.logo {
  display: block;
  flex-shrink: 0;
  height: 2.5rem;
  width: 132.894px;
  text-decoration: none;
}

.logo.logo-wasp {
  width: 2.5rem;
  height: 2.5rem;
  transition: opacity 0.2s ease;
}


.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}


.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--header-text);
  flex-shrink: 0;
}

.header-brand:hover {
  opacity: 0.9;
}

.header-brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: inherit;
}


.header-brand-name .vwad-wordmark {
  display: block;
  height: 2.5rem;
  width: auto;
}


.header-actions .owasp-wordmark {
  display: block;
  height: 2.5rem;
  width: auto;
  color: inherit;
}

@media (max-width: 450px) {
  .header-brand {
    gap: 0.4rem;
  }

  .logo.logo-wasp,
  .header-brand-name .vwad-wordmark,
  .header-actions .owasp-wordmark {
    height: 1.65rem;
  }

  .logo.logo-wasp {
    width: 1.65rem;
  }
}

@media (max-width: 380px) {
  .logo.logo-wasp,
  .header-brand-name .vwad-wordmark,
  .header-actions .owasp-wordmark {
    height: 1.32rem;
  }

  .logo.logo-wasp {
    width: 1.32rem;
  }
}

.logo:hover {
  opacity: 0.9;
}

.header-logo {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  color: var(--header-text);
}


@keyframes owaspWingFlap {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-12deg); }
  40%  { transform: rotate(9deg); }
  60%  { transform: rotate(-6deg); }
  100% { transform: rotate(0); }
}

.owasp-logo #wasp-wings {
  transform-origin: 52% 34%;
  transform-box: fill-box;
  will-change: transform;
}

.owasp-logo:hover #wasp-wings {
  animation: 0.9s ease-in-out owaspWingFlap;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.header-actions a {
  color: var(--header-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.header-actions a:hover {
  color: var(--header-text);
}


.header-actions a.nav-create-account {
  color: var(--header-text);
  border: 2px solid var(--neutral-3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.header-actions a.nav-create-account:hover {
  border-color: rgba(0, 167, 225, 0.6);
  background: rgba(0, 167, 225, 0.1);
  color: var(--accent-cyan);
}

.header-actions a.nav-cta {
  color: var(--header-text);
  background: linear-gradient(to right, var(--btn-primary-start), var(--btn-primary-end));
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem; 
  font-size: 0.875rem;
  font-weight: 600;
}

.header-actions a.nav-cta:hover {
  background: linear-gradient(to right, var(--btn-primary-hover-start), var(--btn-primary-hover-end));
  color: var(--header-text);
  box-shadow: 0 10px 15px -3px rgba(0, 53, 148, 0.3), 0 4px 6px -4px rgba(0, 53, 148, 0.3);
}

.theme-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  margin: 0;
  border: none;
  background: none;
  color: var(--header-text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
}

.theme-toggle:hover {
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.theme-toggle-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.theme-toggle-icon {
  display: block;
  flex-shrink: 0;
}

.theme-toggle-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}


.header-suggest {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  color: var(--header-text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
}

.header-suggest:hover {
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.08);
}

.header-suggest:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.header-suggest-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.header-suggest .icon-plus {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.header-suggest-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

[data-theme="dark"] .project-header {
  
  background: linear-gradient(to bottom right, #1a237e 0%, #303f9f 50%, #42a5f5 100%);
}


.project-header {
  background: var(--gradient-band);
  padding: clamp(1rem, 2vw, 1.25rem) 0 clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0;
}

.project-header .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem 0;
}

.project-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  width: 100%;
}

.project-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600;
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: -0.03em;
  width: 100%;
  line-height: 1.3;
}

.project-header-top .project-title {
  width: auto;
}

.project-subtitle {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  text-align: right;
}


.project-header .project-tagline {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  max-width: 56ch;
}

.project-header-contributors {
  margin: 0.25rem 0 0;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
}

.project-header-contributors a,
.project-header-contributors a:link,
.project-header-contributors a:visited {
  color: #fff;
  text-decoration: underline;
}

.project-header-contributors a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section-desc {
  color: var(--text-muted);
  margin: 0 0 1rem;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(to right, var(--btn-primary-start), var(--btn-primary-end));
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--btn-primary-hover-start), var(--btn-primary-hover-end));
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 2px solid #757575;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--link);
}


.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff !important;
  color: #003594 !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #004bbb !important;
}

.btn-github .icon-github {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}


.btn-suggest {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff !important;
  color: #003594 !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-suggest:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #004bbb !important;
}

.btn-suggest .icon-plus {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}



.site-footer {
  background: var(--neutral-1);
  padding: 2rem 1rem 2rem;
  margin-top: 0;
}

.site-footer .footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 3rem 3rem 3rem;
  }

  .site-footer .footer-inner {
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .site-footer {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .site-footer .footer-inner {
    gap: 4rem;
  }
}

@media (min-width: 1536px) {
  .site-footer {
    padding-left: 120px;
    padding-right: 120px;
  }
}

.footer-standalone {
  padding: 1.5rem 1.5rem 1.25rem;
  width: 100%;
}

.footer-logo {
  display: block;
  text-decoration: none;
  margin-bottom: 0.75rem;
  width: 160px;
  height: 3rem;
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .footer-logo {
    width: 186px;
    height: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-logo {
    width: 213px;
    height: 4rem;
  }
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-tagline {
  margin: 0;
  max-width: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
  .footer-tagline {
    font-size: 14px;
    line-height: 20px;
  }
}

.footer-standalone .footer-tagline a {
  color: #00a7e1;
  text-decoration: none;
}

.footer-standalone .footer-tagline a:hover {
  text-decoration: underline;
}


.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}


.site-footer .btn-github--footer {
  font-size: 0.8em;
  padding: 0.4rem 0.8rem;
  gap: 0.4rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.site-footer .footer-buttons .btn-github--footer,
.site-footer .footer-buttons .btn-suggest--footer {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer .btn-github--footer .icon-github {
  width: 0.9rem;
  height: 0.9rem;
}

.site-footer .btn-suggest--footer {
  font-size: 0.8em;
  padding: 0.4rem 0.8rem;
  gap: 0.4rem;
}

.site-footer .btn-suggest--footer .icon-plus {
  width: 0.9rem;
  height: 0.9rem;
  stroke-width: 4;
}

.footer-back-to-top {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.footer-back-to-top-link {
  color: var(--link);
  text-decoration: underline;
}

.footer-back-to-top-link:hover {
  color: var(--link-hover);
}


.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
  }
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: -0.2px;
  line-height: 14px;
  color: #d7d7d7;
  margin: 0;
  order: 2;
}

@media (min-width: 640px) {
  .footer-legal {
    font-size: 11px;
    letter-spacing: -0.22px;
    line-height: 15px;
  }
}

@media (min-width: 1024px) {
  .footer-legal {
    font-size: 12px;
    letter-spacing: -0.24px;
    line-height: 16px;
    order: 1;
    flex: 1;
  }
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: -0.2px;
  line-height: 14px;
  color: #d7d7d7;
  margin: 0;
  order: 1;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .footer-copy {
    font-size: 11px;
    letter-spacing: -0.22px;
    line-height: 15px;
  }
}

@media (min-width: 1024px) {
  .footer-copy {
    font-size: 12px;
    letter-spacing: -0.24px;
    line-height: 16px;
    order: 2;
  }
}

.site-footer .btn {
  margin: 0;
}
