:root {
  --ink: #161616;
  --muted: #62656a;
  --line: #dedfe3;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --accent: #d91f3d;
  --accent-dark: #9c1128;
  --gold: #f5b43a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #33363b;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(34px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(217, 31, 61, 0.92), rgba(30, 30, 34, 0.94)),
    url("screenshot-home.png") center / cover;
  color: #fff;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.16;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 18px;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #151515;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.app-card {
  width: min(100%, 390px);
  justify-self: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.preview-icon {
  width: 104px;
  height: 104px;
  border-radius: 18px;
  margin-bottom: 22px;
}

.feature-band,
.page {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: var(--soft);
}

.feature,
.contact-card,
.info-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature p,
.page-heading p,
.legal p,
.contact-card p,
.info-panel p {
  color: var(--muted);
}

.page-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.page-heading h1 {
  color: var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

.check-list {
  padding-left: 20px;
  margin: 18px 0 0;
}

.check-list li {
  margin-bottom: 8px;
}

.info-panel img {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.screenshots h2 {
  margin-bottom: 20px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(19, 21, 26, 0.12);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2d3035;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.legal {
  max-width: 920px;
}

.legal section:not(.page-heading) {
  display: grid;
  gap: 8px;
}

footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .app-card {
    justify-self: start;
  }

  .feature-band,
  .screenshot-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .main-nav a {
    width: 100%;
  }

  .hero-actions,
  .button,
  .contact-form button {
    width: 100%;
  }
}
