:root {
  --bg: #080a0f;
  --panel: #111721;
  --text: #f2f5f8;
  --muted: #aeb8c5;
  --line: #263241;
  --accent: #ffc86b;
  --accent-dark: #c57f2d;
}

* {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(8, 10, 15, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 18px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(44px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.96), rgba(8, 10, 15, 0.72)),
    url("images/pageBackground.png") center / cover;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
}

.hero p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px 10px;
  border: 18px solid transparent;
  border-image: url("images/buttonNormal2.png") 38 fill / 18px stretch;
  background: none;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 2px #000;
}

.button.primary {
  color: var(--accent);
}

.button:hover {
  border-image-source: url("images/buttonNormal2.png");
  color: var(--text);
}

.button:hover {
  border-image-source: url("images/buttonNormalHovered2.png");
}

.button:active {
  border-image-source: url("images/buttonNormalPress.png");
  padding-top: -4px;
  padding-bottom: 4px;
}

.showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: #0d1118;
}

.showcase img {
  width: 100%;
  border: 1px solid var(--line);
}

.showcase h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.showcase p,
.features p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.features article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--panel);
}

.features h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .hero,
  .showcase,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero img {
    order: -1;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
