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

:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --border: #21262d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  translate: -50% 0;
  color: var(--text-muted);
  opacity: 0.5;
  animation: bob 2s ease-in-out infinite;
  text-decoration: none;
  transition: opacity 0.2s;
}

.scroll-hint:hover {
  opacity: 1;
}

@keyframes bob {
  0%, 100% { translate: -50% 0; }
  50%      { translate: -50% 6px; }
}

.hero .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.dot {
  color: var(--accent);
}

.subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 480px;
}

.cta {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta:hover {
  opacity: 0.85;
}

/* ---- Sections ---- */

section {
  padding: 100px 0;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text);
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-legal a {
  color: var(--accent);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 48px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 72px 0;
  }
}
