@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --teal: #00c8a8;
  --teal-hover: #00e6c2;
  --bg: #080c14;
  --bg-alt: #06090f;
  --card: #0a0f1a;
  --card-hover: #0f1625;
  --input-bg: #0d1520;
  --border: rgba(255,255,255,0.07);
  --border-subtle: rgba(255,255,255,0.05);
  --text: #e8edf5;
  --text-heading: #f0f4fa;
  --text-muted: #7888a0;
  --text-dim: #74849d;
  --text-ghost: #6e7e97;
  --text-faint: #707f99;
  --teal-dark: #1e3a36;
  --error: #ff8a8a;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8,12,20,0.92);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  text-decoration: none;
}
.logo em { color: var(--teal); font-style: normal; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
  color: #8a9ab5;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 1.25rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-ghost);
}
.lang-switch a {
  padding: 0.2rem 0.15rem;
  color: var(--text-ghost);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn-primary { font-size: 0.9rem; padding: 0.85rem 2rem; }
.btn-ghost {
  background: transparent;
  color: #8a9ab5;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.hero {
  padding: 7rem 4rem 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 520px;
  display: flex;
  align-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
}
.hero h1 span { color: var(--teal); }

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.section {
  padding: 6rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.service-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}
.service-card:hover { background: var(--card-hover); }

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.service-icon { margin-bottom: 1.5rem; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #d8e4f0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

.contact-wrap {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 4rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.contact-left > p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.75; }

.contact-details { margin-top: 2.5rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
}
.contact-item:last-child { border-bottom: 1px solid var(--border-subtle); }

.ci-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ci-text { font-size: 0.88rem; color: #8a9ab5; }
a.ci-text { text-decoration: none; transition: color 0.2s; }
a.ci-text:hover { color: var(--teal); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

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

label.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-ghost);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--input-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
input:focus, textarea:focus { border-color: var(--teal); }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
textarea { resize: vertical; min-height: 110px; }

/* honeypot field for bots, hidden from people and assistive tech */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button[type="submit"] {
  padding: 0.9rem 2rem;
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
button[type="submit"]:hover { background: var(--teal-hover); transform: translateY(-1px); }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-note { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; }
.form-note a { color: #8a9ab5; }
.form-note a:hover { color: var(--teal); }

.form-error {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  background: rgba(255,90,90,0.08);
  color: var(--error);
  border: 1px solid rgba(255,90,90,0.25);
  font-size: 0.88rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: rgba(0,200,168,0.08);
  color: var(--teal);
  border: 1px solid rgba(0,200,168,0.2);
  font-size: 0.9rem;
}

footer {
  padding: 2rem 4rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.footer-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-faint);
  text-decoration: none;
}
.footer-logo em { color: var(--teal); font-style: normal; }
footer p { font-size: 0.8rem; color: var(--text-faint); }
footer p a { color: var(--text-faint); }
footer p a:hover { color: var(--teal); }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.legal .updated { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 3rem; }
.legal h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 2.5rem 0 0.75rem;
}
.legal p, .legal li { color: #a3b0c4; font-size: 0.95rem; line-height: 1.75; }
.legal p + p, .legal ul + p { margin-top: 0.85rem; }
.legal ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.legal a { color: var(--teal); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .section { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrap { padding: 4rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, button[type="submit"] { transition: none; }
  .btn:hover, button[type="submit"]:hover { transform: none; }
}
