:root {
  --accent: #ea4e1e;
  --bg: #7f3119;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --panel: rgba(0, 0, 0, 0.22);
  --panel-2: rgba(0, 0, 0, 0.32);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(127, 49, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.top-nav .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  max-width: min(100%, 320px);
  line-height: 1.15;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-block;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.lead {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 62ch;
}

.btn-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-secondary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.12)
  );
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  min-height: 280px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    125deg,
    rgba(234, 78, 30, 0.14),
    rgba(234, 78, 30, 0.14) 8px,
    transparent 8px,
    transparent 24px
  );
  opacity: 0.85;
}

.panel-content {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.mini-stats div {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.mini-stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.1rem;
}

section {
  padding: 34px 0;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.phase {
  background: var(--panel-2);
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  padding: 14px;
}

.phase small {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shot {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  padding: 10px;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.shot span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.legal-list a {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: rgba(255, 255, 255, 0.95);
}

.legal-list a:hover {
  border-color: var(--accent);
}

.content-page {
  padding: 48px 0 60px;
}

.paper {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 22px;
}

.paper h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-top: 0;
}

.paper h2 {
  margin-top: 22px;
  font-size: 1.15rem;
}

.paper p,
.paper li {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.62;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-item {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px;
  background: var(--panel-2);
}

.contact-item b {
  display: block;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  padding: 12px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  margin-top: 42px;
  border-top: 1px solid var(--border);
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .timeline,
  .screens,
  .legal-list,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .top-nav .site-shell {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-grid,
  .feature-grid,
  .timeline,
  .screens,
  .legal-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}
