:root {
  --bg: #0d1117;
  --accent: #00b4d8;
  --accent-dark: #0096b7;
  --fg: #e2e8f0;
  --fg-dim: #c9d1d9;
  --grey: #8b949e;
  --rule: #21262d;
  --paper: #161b22;
  --paper-2: #1c2333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg-dim);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  line-height: 1.7;
  overflow-x: hidden;
}

.triangle-bg {
  position: fixed;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cg stroke='%2300b4d8' stroke-width='0.8' fill='none'%3E%3Cline x1='0' y1='25' x2='40' y2='25'/%3E%3Cline x1='60' y1='25' x2='100' y2='25'/%3E%3Cline x1='0' y1='75' x2='40' y2='75'/%3E%3Cline x1='60' y1='75' x2='100' y2='75'/%3E%3Cline x1='25' y1='0' x2='25' y2='40'/%3E%3Cline x1='25' y1='60' x2='25' y2='100'/%3E%3Cline x1='75' y1='0' x2='75' y2='40'/%3E%3Cline x1='75' y1='60' x2='75' y2='100'/%3E%3Cpath d='M40 25 L50 25 L50 40'/%3E%3Cpath d='M60 25 L50 25 L50 40'/%3E%3Cpath d='M40 75 L50 75 L50 60'/%3E%3Cpath d='M60 75 L50 75 L50 60'/%3E%3C/g%3E%3Cg fill='%2300b4d8'%3E%3Ccircle cx='25' cy='25' r='2.5'/%3E%3Ccircle cx='75' cy='25' r='2.5'/%3E%3Ccircle cx='25' cy='75' r='2.5'/%3E%3Ccircle cx='75' cy='75' r='2.5'/%3E%3Ccircle cx='50' cy='50' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-nav a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--accent);
}

header.hero {
  padding: 5rem 0 3rem;
  position: relative;
  animation: fadeUp 1.2s ease forwards;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.brand-mark {
  font-size: 5rem;
  line-height: 1;
  animation: float 6s ease-in-out infinite;
  flex-shrink: 0;
  color: var(--accent);
  font-family: 'DM Mono', monospace;
}

.header-text h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--fg);
}

.header-text h1 span {
  color: var(--accent);
  font-style: italic;
}

.tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 1.2rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.hero-statement {
  background: var(--paper-2);
  color: var(--fg);
  padding: 4rem 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero-statement::before {
  content: '△';
  position: absolute;
  right: -1rem;
  top: -2rem;
  font-size: 12rem;
  color: var(--accent);
  opacity: 0.08;
  font-family: 'DM Mono', monospace;
  line-height: 1;
}

.hero-statement p {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg);
}

.hero-statement strong {
  color: var(--accent);
  font-weight: 600;
}

section.landing-section {
  margin: 4rem 0;
}

section.landing-section h2 {
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

section.landing-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

section.landing-section p {
  color: var(--fg-dim);
  font-size: 1.1em;
  margin-bottom: 1rem;
  font-weight: 300;
}

section.landing-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

section.landing-section a:hover {
  border-bottom-color: var(--accent);
}

footer.site-footer {
  margin-top: 6rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-transform: uppercase;
  line-height: 1.8;
}

footer.site-footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

footer.site-footer a:hover {
  border-bottom-color: var(--accent);
}

.footer-mark {
  font-size: 2rem;
  opacity: 0.3;
  color: var(--accent);
  animation: float 8s ease-in-out infinite reverse;
}

/* --- LANG SWITCHER (OSA-style) --- */
.lang-switch {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  display: flex;
  gap: 0.3rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
}

.lang-switch a {
  color: var(--grey);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--rule);
  transition:
    color 0.2s,
    border-color 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- OPERATOR BANNER --- */
.operator-banner {
  background: var(--paper);
  border-bottom: 1px solid var(--accent);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.operator-banner-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}

.operator-banner-text strong {
  color: var(--accent);
}

.operator-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.operator-banner-actions a {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.45rem 0.9rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.operator-banner-actions a:hover {
  background: var(--accent);
  color: var(--bg);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .brand-mark {
    font-size: 3.5rem;
  }
  .header-text h1 {
    font-size: 3rem;
  }
  .hero-statement {
    padding: 2.5rem 1.5rem;
  }
  footer.site-footer {
    flex-direction: column;
    text-align: center;
  }
  .lang-switch {
    right: 1rem;
    top: 1rem;
  }
}
