:root {
  color-scheme: dark;
  --bg: #0a0d0e;
  --ink: #f3f6f4;
  --ink-dim: rgba(243, 246, 244, 0.65);
  --ink-faint: rgba(243, 246, 244, 0.4);
  --accent: #4fb9aa;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  background-image:
    linear-gradient(rgba(10, 13, 14, 0.78), rgba(10, 13, 14, 0.92)),
    url("./assets/Swiss-type-lathe-Machining-process.webp");
  background-size: cover;
  background-position: center;
}

.content {
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: fade-in 700ms ease both;
}

.brand {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.divider {
  width: 48px;
  height: 2px;
  margin: 28px auto;
  background: var(--accent);
}

.message {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
}

.sub {
  margin: 0 auto;
  max-width: 440px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-dim);
}

.contact {
  display: inline-block;
  margin-top: 36px;
  font-size: 0.95rem;
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 246, 244, 0.18);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}

.contact:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
}
