/* Basic reset and variables */
:root {
  --primary-dark: #1A1F24;
  --alt-dark: #12161A;
  --light-grey: #ECEDED;
  --mid-grey: #A0A6AD;
  --accent-green: #00F59E;
  --hover-blue: #3399FF;
  font-size: 16px;
}

/* Ensure padding does not cause overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  background-color: var(--primary-dark);
  color: var(--light-grey);
  line-height: 1.6;
}

/* Visually hidden until focused */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--accent-green);
  color: var(--primary-dark);
  z-index: 10000;
}

.accent {
  color: var(--accent-green);
}

a {
  color: var(--accent-green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--primary-dark);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-text {
  font-family: 'Unispace', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--light-grey);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-items {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  height: 5rem;
  width: auto;
  display: block;
}
.nav-link {
  font-weight: 500;
}
.icon-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent-green);
  display: block;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 0 1rem;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--alt-dark) 100%);
  position: relative;
}
.hero h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Unispace', monospace;
}
.hero h2 {
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--light-grey);
}
.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-dots .dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--light-grey);
}
.hero-dots .dot:first-child {
  background-color: var(--accent-green);
  position: relative;
  animation: drop-dot 0.5s ease-out 0.5s forwards;
}
@keyframes drop-dot {
  from { transform: translateY(0); }
  to { transform: translateY(1rem); }
}
.hero-logo {
  width: 8rem;
  margin-bottom: 1rem;
}
.btn-primary {
  background-color: var(--accent-green);
  color: var(--primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translate(-50%, 0);
  width: 2rem;
  height: 2rem;
  color: var(--light-grey);
  animation: bounce 1.5s infinite;
}

.scroll-indicator:hover {
  color: var(--accent-green);
}

.scroll-indicator svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 0.5rem); }
}

/* Services Section */
.services {
  background-color: var(--alt-dark);
  padding: 4rem 1rem;
  text-align: center;
}
.services h2 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--light-grey);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.service-col {
  color: var(--mid-grey);
  font-weight: 400;
  padding: 1rem;
}
.service-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-green);
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .scroll-indicator {
    bottom: 30%;
  }
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  text-align: center;
}
.contact h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-grey);
}
.contact-box {
  background-color: var(--alt-dark);
  border: 1px solid var(--primary-dark);
  display: inline-block;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.btn-contact {
  color: var(--primary-dark);
  background-color: var(--accent-green);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}
.btn-contact:hover {
  background-color: var(--hover-blue);
}

/* Footer */
footer {
  background-color: var(--alt-dark);
  text-align: center;
  padding: 1rem 0;
  color: var(--mid-grey);
  font-size: 0.9rem;
}

main {
  padding-top: 60px;
}


code, pre {
  font-family: "Space Mono", monospace;
}

/* Legal content layout */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.6;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 1rem;
}
