/* ============================================================
   MH Technologies — Design System & Styles
   ============================================================ */

:root {
  /* Foundation */
  --navy-950: #060a14;
  --navy-900: #0a1020;
  --navy-850: #0d1528;
  --navy-800: #121c33;
  --navy-700: #1a2744;
  --navy-600: #243556;

  /* Accents */
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --cyan-400: #38bdf8;

  /* Neutrals */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;

  /* Semantic */
  --bg: var(--navy-950);
  --bg-elevated: var(--navy-900);
  --bg-surface: var(--navy-850);
  --bg-card: rgba(18, 28, 51, 0.72);
  --text: var(--slate-50);
  --text-muted: var(--slate-400);
  --text-soft: var(--slate-300);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --focus: var(--blue-400);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #3b82f6 0%, #6366f1 55%, #8b5cf6 100%);
  --grad-text: linear-gradient(135deg, #f8fafc 0%, #93c5fd 45%, #c4b5fd 100%);
  --grad-glow: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(59, 130, 246, 0.22), transparent 60%),
               radial-gradient(ellipse 50% 40% at 15% 70%, rgba(139, 92, 246, 0.14), transparent 55%),
               radial-gradient(ellipse 40% 30% at 50% 100%, rgba(56, 189, 248, 0.08), transparent 50%);
  --grad-section: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.04) 50%, transparent 100%);

  /* Typography */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-md: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.5rem, 1.8rem + 3vw, 3.75rem);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.65;

  /* Layout */
  --container: 1120px;
  --nav-h: 4.5rem;
  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --space-section: clamp(4.5rem, 6vw, 7.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 20px 50px -20px rgba(37, 99, 235, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  background-image: var(--grad-glow);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--blue-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--alt {
  background: var(--grad-section);
}

.section__header {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.section__eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: var(--grad-brand);
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--white);
}

.section__lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img,
.nav__logo svg {
  height: 2.25rem;
  width: auto;
}

.nav__logo-full {
  display: none;
}

@media (min-width: 480px) {
  .nav__logo-mark {
    display: none;
  }

  .nav__logo-full {
    display: block;
  }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--white);
  background: rgba(59, 130, 246, 0.1);
}

.nav__cta.btn {
  display: none;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 28, 51, 0.6);
}

.nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--slate-200);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(6, 10, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
}

.nav__mobile-link:hover,
.nav__mobile-link:focus-visible {
  color: var(--white);
  background: rgba(59, 130, 246, 0.12);
}

.nav__mobile-cta {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .nav__cta.btn {
    display: inline-flex;
  }

  .nav__toggle,
  .nav__mobile {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 999px;
  transition: transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 24px 55px -18px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--blue-400);
  background: rgba(59, 130, 246, 0.08);
}

.btn--sm {
  padding: 0.625rem 1.15rem;
  font-size: var(--fs-xs);
}

.btn__icon {
  width: 1rem;
  height: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
}

.hero__eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 12px var(--cyan-400);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 36rem);
}

.hero__visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.12), transparent 60%);
  box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.45);
}

.hero__visual-inner {
  border-radius: calc(var(--radius-xl) - 0.35rem);
  background: rgba(10, 16, 32, 0.9);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 640 / 520;
  object-fit: cover;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hero__orb--1 {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -2rem;
  background: rgba(59, 130, 246, 0.25);
  animation: float-orb 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 12rem;
  height: 12rem;
  bottom: 10%;
  left: -3rem;
  background: rgba(139, 92, 246, 0.2);
  animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

/* ---------- Cards / grids ---------- */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -28px rgba(37, 99, 235, 0.55);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.125rem;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: var(--blue-400);
}

.card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
  color: var(--white);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

/* ---------- About ---------- */
.about__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.about__body p + p {
  margin-top: 1rem;
}

.about__body p {
  color: var(--text-muted);
}

.about__panel {
  display: grid;
  gap: 1rem;
}

.mission-card {
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.1), rgba(18, 28, 51, 0.8));
}

.mission-card h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.625rem;
}

.mission-card p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.profile-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.profile-list__item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.profile-list__item:last-child {
  border-bottom: 1px solid var(--border);
}

.profile-list__label {
  font-weight: 600;
  color: var(--slate-300);
}

.profile-list__value {
  color: var(--text-muted);
}

/* ---------- Products ---------- */
.products__showcase {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .products__showcase {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.products__feature {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.14), transparent 45%),
    rgba(13, 21, 40, 0.85);
  position: relative;
  overflow: hidden;
}

.products__feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  filter: blur(40px);
  pointer-events: none;
}

.products__feature h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  position: relative;
}

.products__feature p {
  color: var(--text-muted);
  max-width: 36rem;
  position: relative;
}

.products__feature ul {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  position: relative;
}

.products__feature li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.products__feature li::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--grad-brand);
}

.products__side {
  display: grid;
  gap: 1rem;
}

.products__note {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(96, 165, 250, 0.35);
  background: rgba(18, 28, 51, 0.5);
}

.products__note h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.products__note p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ---------- Approach ---------- */
.approach__track {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .approach__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

.approach__step {
  position: relative;
  padding: 1.75rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  counter-increment: step;
}

.approach__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.approach__step h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.approach__step p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ---------- Why ---------- */
.why__list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .why__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.why__item {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(13, 21, 40, 0.7);
  text-align: left;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.why__item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.why__item h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.why__item p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

/* ---------- Contact ---------- */
.contact__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact__info {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(59, 130, 246, 0.12), transparent 50%),
    rgba(13, 21, 40, 0.85);
}

.contact__info h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact__info > p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 1.75rem;
}

.contact__details {
  display: grid;
  gap: 1.15rem;
}

.contact__detail dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.35rem;
}

.contact__detail dd {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: var(--lh-snug);
}

.contact__detail a {
  color: var(--blue-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__detail a:hover {
  color: var(--cyan-400);
}

.contact__form-wrap {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact__form-wrap h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact__form-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-200);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(6, 10, 20, 0.65);
  color: var(--white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-500);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--slate-200);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  background: rgba(6, 10, 20, 0.9);
}

.footer__top {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .footer__top {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer__brand p {
  margin-top: 0.875rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 26rem;
}

.footer__brand img {
  height: 2.25rem;
  width: auto;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer__nav h3 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 0.875rem;
}

.footer__nav a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color var(--duration) var(--ease);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal a:hover {
  color: var(--blue-400);
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding-block: 3rem 5rem;
}

.legal-page__header {
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.legal-page__header h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-page__header p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.legal-content {
  max-width: 46rem;
}

.legal-content h2 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--blue-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
