:root {
  --bg-dark: #0b0c10;
  --bg-darker: #050608;
  --neon-blue: #66fcf1;
  --neon-blue-dark: #45a29e;
  --text-white: #ffffff;
  --text-gray: #c5c6c7;
  --radius-lg: 16px;
  --hard-shadow: 6px 6px 0px var(--neon-blue-dark);
  --font-stack: system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--text-gray);
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.container {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Required Grid Classes */
.md\:grid-cols-2 {
  display: grid;
  gap: 2rem;
}

.md\:grid-cols3 {
  display: grid;
  gap: 2rem;
}

.md\:grid-cols4 {
  display: grid;
  gap: 2rem;
}

.lg\:grid-cols-3 {
  display: grid;
  gap: 2rem;
}

.lg\:grid-cols-4 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--neon-blue);
}

h1,
h2,
h3,
h4,
.text-white {
  color: var(--text-white);
}

.text-neon {
  color: var(--neon-blue);
}

/* Buttons */
.btn-cta {
  display: inline-block;
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--hard-shadow);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: 2px 2px 0px var(--neon-blue-dark);
  transform: translate(4px, 4px);
}

/* Filled variant for use on light backgrounds */
.btn-cta--filled {
  display: inline-block;
  background: var(--neon-blue);
  color: var(--bg-dark);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 2px 2px 0px var(--neon-blue-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn-cta--filled:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0px var(--neon-blue-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(102, 252, 241, 0.2);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.logo-link svg {
  height: 32px;
  width: auto;
  color: var(--neon-blue);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Manual active link marker (set per-page in HTML, no script) */
.nav-list a.activ_link {
  color: var(--neon-blue);
  font-weight: 700;
}

.nav-list a.activ_link::after {
  width: 100%;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

.burger-menu svg {
  width: 28px;
  height: 28px;
}

/* Mobile Modal */
.mobile-modal {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 2000;
  display: none;
  overflow: hidden;
}

.mobile-modal.active {
  display: block;
}

/* Mobile modal inner panel */
.mobile-modal .modal-content {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  color: var(--text-white);
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 2rem;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 0;
  min-height: 100vh;
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 0.5rem;
}

.close-menu svg {
  width: 32px;
  height: 32px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.5rem;
}

.mobile-nav-list a,
.mobile-nav a {
  color: var(--text-white);
}

.mobile-nav-list a.activ_link {
  color: var(--neon-blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--neon-blue);
  text-underline-offset: 6px;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .burger-menu {
    display: block;
  }
}

/* Footer */
.site-footer {
  background: var(--bg-darker);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(102, 252, 241, 0.2);
  margin-top: 4rem;
}

.footer-grid {
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--neon-blue);
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
}

.footer-heading {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--neon-blue);
}

.contact-list,
.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--neon-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a {
  color: var(--text-gray);
  line-height: 1.4;
}

.contact-list a:hover {
  color: var(--neon-blue);
  text-decoration: underline;
}

.legal-list a {
  color: var(--text-gray);
}

.legal-list a:hover {
  color: var(--neon-blue);
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  background: var(--bg-dark);
  border: 1px solid rgba(102, 252, 241, 0.3);
  padding: 0.75rem 1rem;
  color: var(--text-white);
  border-radius: var(--radius-lg);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: var(--neon-blue);
}

/* Contact form controls on light cards */
.contact-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(102, 252, 241, 0.3);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-family: inherit;
  outline: none;
}

.contact-input::placeholder {
  color: rgba(197, 198, 199, 0.85);
}

.contact-input:focus {
  border-color: var(--neon-blue);
}

.btn-submit {
  width: 100%;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Form resets */
input,
select,
textarea {
  box-sizing: border-box;
}

/* Image rules */
img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* Aspect ratio utility classes used in HTML */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-1-1 {
  aspect-ratio: 1 / 1;
}

/* footer extras */
.footer__extras {
  margin-top: 16px;
}

.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.footer-social__icon {
  display: block;
}

.footer__poemWrap {
  max-width: 520px;
}

.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto
}

.brand-logo * {
  vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-light-grey);
  border-radius: 4px;
  margin-bottom: 0;
  margin-right: 8px;
}

.flex-wrap {
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
  }
}

.gap-12 {
  gap: 2rem;
}
