*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f4f6fb;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.site-header {
  background: #26283b;
  color: #ffffff;
  padding: 0.75rem 0;
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-title span {
  color: #ff66c4;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

nav a:hover,
nav a:focus {
  border-color: #ff66c4;
  outline: none;
}

main {
  padding-top: 2rem;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.page-intro img {
  width: 100%;
  max-width: 520px;
  display: block;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

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

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.section-title {
  margin-top: 0;
  font-size: 1.6rem;
}

ul.feature-list {
  padding-left: 1.1rem;
}

ul.feature-list li + li {
  margin-top: 0.35rem;
}

.hero-heading {
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.hero-subtitle {
  margin: 0;
  color: #4b5563;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.content-grid img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.timeline {
  list-style: none;
  padding-left: 0;
  border-left: 2px solid #e5e7eb;
  margin: 1.25rem 0 0;
}

.timeline li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.9rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: #4f46e5;
  border-radius: 50%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.7rem;
  text-align: left;
}

th {
  background: #eef2ff;
}

.form-card {
  max-width: 640px;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: #111827;
  color: #9ca3af;
  font-size: 0.85rem;
  padding: 1.25rem 0;
}

.site-footer .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .page-intro,
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-heading {
    font-size: 1.6rem;
  }

  .site-header .wrapper {
    padding-inline: 1rem;
  }

  .wrapper {
    padding-inline: 1rem;
  }
}
img,
table {
  max-width: 100%;
}
