:root {
  --bg: #05090f;
  --bg-alt: #0f1729;
  --fg: #f5f7fa;
  --muted: #92a1b9;
  --accent: #5b7cfa;
  --card: rgba(15, 23, 41, 0.7);
  --transition: 180ms ease;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(
      circle at top right,
      rgba(91, 124, 250, 0.14) 0,
      rgba(91, 124, 250, 0.05) 35%,
      transparent 72%
    ),
    linear-gradient(135deg, var(--bg), var(--bg-alt));
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  background:
    radial-gradient(
      circle at top right,
      rgba(91, 124, 250, 0.14) 0,
      rgba(91, 124, 250, 0.05) 35%,
      transparent 72%
    ),
    linear-gradient(135deg, var(--bg), var(--bg-alt));
  color: var(--fg);
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}

.site-header {
  mix-blend-mode: screen;
}

.logo {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  justify-items: center;
  padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  padding-top: clamp(3.5rem, 9vw, 8rem);
  padding-bottom: clamp(1.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.05;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.note {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer {
  padding-top: 0;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(146, 161, 185, 0.3);
  background: rgba(15, 23, 41, 0.6);
  backdrop-filter: blur(14px);
  transition: background var(--transition), color var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--fg);
  border-color: var(--accent);
  transform: translateY(-0.5px);
  box-shadow: 0 8px 26px rgba(91, 124, 250, 0.32);
}

.nav-link--primary {
  background: linear-gradient(135deg, var(--accent), #7c9cfe);
  color: var(--fg);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(91, 124, 250, 0.35);
}

.nav-link--primary:hover,
.nav-link--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(91, 124, 250, 0.45);
}

.hero--contact {
  align-items: stretch;
}

.contact-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(18px);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  color: var(--muted);
}

.field input,
.field textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.42);
  padding: 0.7rem 0.85rem;
  background: rgba(15, 23, 41, 0.9);
  color: var(--fg);
  font: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(91, 124, 250, 0.7);
  background: rgba(15, 23, 41, 0.95);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.button {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  background: linear-gradient(135deg, var(--accent), #7c9cfe);
  box-shadow: 0 10px 30px rgba(91, 124, 250, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(91, 124, 250, 0.45);
  filter: brightness(1.05);
}

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-status {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
}

.form-status--success {
  background-color: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #bbf7d0;
}

.form-status--error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.contact-info-item {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 41, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-info-value {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-value:hover,
.contact-info-value:focus-visible {
  text-decoration: underline;
}

.contact-info-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 1rem;
  }

  .hero {
    padding-top: 3rem;
  }
}
