:root {
  color-scheme: dark;
  color: #e8eef7;
  background: #08101f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(94, 152, 255, 0.18), transparent 30%),
              linear-gradient(180deg, #0b1322 0%, #08101f 100%);
  color: #e8eef7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
}

button:focus,
.button:focus {
  outline: 2px solid #5e98ff;
  outline-offset: 3px;
}

.hero {
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(94, 152, 255, 0.16), transparent 20%),
              radial-gradient(circle at 80% 10%, rgba(178, 117, 255, 0.14), transparent 18%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: none;
  letter-spacing: 0.24em;
  color: #7fb1ff;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 0.98;
}

.hero p {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: #cbd6ec;
  font-size: 1.05rem;
}

.hero-buttons {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button.primary {
  background: #5e98ff;
  color: #08101f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8eef7;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
  padding: 5rem 1.5rem;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
}

.section-title p,
.section-title h2 {
  margin: 0;
}

.section-title p {
  color: #7fb1ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-title h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 680px;
}

.about p,
.contact p {
  margin-top: 1.75rem;
  color: #c3d0e5;
  font-size: 1.05rem;
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.work .grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.card,
.highlight-card,
.contact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(3, 15, 31, 0.18);
}

.card h3,
.highlight-card h4 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  margin-bottom: 0.85rem;
  color: #d7e2f5;
}

.highlights {
  padding-top: 0;
}

.highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-card {
  min-height: 190px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.contact-details p {
  margin: 0.75rem 0;
  color: #d3dce9;
  font-size: 1rem;
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #6e83a1;
}

@media (max-width: 760px) {
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 1.25rem;
  }
}
