:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  background: #f6f7fb;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  background:
    linear-gradient(90deg, #000 0, #dd0000 50%, #ffce00 100%) top / 100% 6px no-repeat,
    #f6f7fb;
}

header,
main,
footer {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
}

header {
  padding: 34px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #fee2e2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  color: #dd0000;
  font-weight: 800;
  text-decoration: none;
}

.brand::before {
  content: "D";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f172a 0 45%, #dd0000 45% 75%, #ffce00 75%);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.hero {
  position: relative;
  padding: 48px 0 34px;
}

h1 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
}

h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

p {
  max-width: 760px;
  margin: 0 0 16px;
  color: #475569;
  font-size: 18px;
}

.lead {
  font-size: 21px;
  color: #334155;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: #dd0000;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(221, 0, 0, 0.18);
}

.button.secondary {
  background: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 20px 0 8px;
}

.card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 18px;
}

ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  color: #475569;
  font-size: 17px;
  list-style: none;
}

li {
  margin: 0;
}

li a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

li a:hover,
.button:hover,
.brand:hover {
  transform: translateY(-1px);
}

.faq {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.faq strong {
  display: block;
  color: #0f172a;
  margin-bottom: 6px;
}

footer {
  width: 100%;
  margin-top: 48px;
  padding: 34px max(16px, calc((100% - 1040px) / 2));
  background: #030712;
  color: #cbd5e1;
}

footer a {
  color: #ffce00;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  header,
  main {
    width: min(100% - 28px, 1040px);
  }

  .hero {
    padding-top: 28px;
  }

  .actions {
    flex-direction: column;
  }

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