:root {
  --bg-primary: #222831;
  --bg-surface: #393e46;
  --accent: #948979;
  --text: #dfd0b8;
  --border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background: var(--bg-primary);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
}

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero {
  background: linear-gradient(135deg, rgba(148, 136, 121, 0.2), rgba(57, 62, 70, 0.8));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
  animation: fadeInUp 0.9s ease both;
}

.eyebrow {
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: 'Roboto Mono', monospace;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.2rem;
  max-width: 44ch;
  margin-bottom: 1.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0d0d0d;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: 'Roboto Mono', monospace;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(148, 136, 121, 0.35);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.panel {
  background: var(--bg-surface);
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--border);
  animation: fadeInUp 0.9s ease both;
}

.panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.problem-grid {
  display: grid;
  gap: 0.85rem;
}

.problem-grid p {
  padding-left: 1rem;
  border-left: 2px solid rgba(223, 208, 184, 0.25);
}

.solution-lead {
  font-size: 1.1rem;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.solution-grid article {
  background: rgba(148, 136, 121, 0.08);
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.solution-grid h3 {
  font-size: 1.05rem;
  color: var(--accent);
}

.contact form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact label {
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact input,
.contact textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  padding: 0.85rem;
  font-family: 'Lora', serif;
}

.contact input:focus,
.contact textarea:focus {
  outline: 2px solid var(--accent);
}

.human-check {
  display: flex;
  flex-direction: column;
}

.contact button {
  align-self: flex-start;
  background: transparent;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.85rem 2rem;
  font-family: 'Roboto Mono', monospace;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact button:hover,
.contact button:focus-visible {
  background: var(--accent);
  color: #0d0d0d;
}

footer {
  text-align: center;
  font-size: 0.95rem;
  padding-bottom: 1rem;
}

footer p:first-child {
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.15em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero,
  .panel {
    padding: 1.5rem;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }
}
