:root {
  --bg: #eef4f5;
  --ink: #1a2a2e;
  --muted: #4f5f66;
  --primary: #00788e;
  --secondary-yellow: #d9dd49;
  --secondary-gray: #8a8b8d;
  --card: #ffffff;
  --line: #d2dde0;
  --shadow: 0 18px 44px rgba(13, 45, 52, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Tahoma", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #dbeef2 0%, transparent 35%),
    radial-gradient(circle at 90% 20%, #ecf2cc 0%, transparent 38%),
    var(--bg);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 44px;
}

.hero {
  background: linear-gradient(120deg, #00566a, var(--primary) 52%, #0d8ea0);
  color: #f5fffe;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand-badge {
  width: 170px;
  min-width: 170px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-text {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d4f2f5;
  font-weight: 700;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1;
}

.subtitle {
  margin: 0;
  max-width: 760px;
  color: #def6f9;
  position: relative;
  z-index: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--secondary-yellow);
  color: #1d2200;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #f2ffff;
  border: 1px solid rgba(255, 255, 255, 0.37);
}

.btn-tertiary {
  background: rgba(15, 37, 43, 0.34);
  color: #e6fbff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-menu {
  position: relative;
}

.download-trigger {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.download-trigger::-webkit-details-marker {
  display: none;
}

.download-trigger::after {
  content: "\25BE";
  margin-left: 8px;
  font-size: 0.8rem;
}

.download-menu[open] .download-trigger::after {
  content: "\25B4";
}

.download-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 245px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(4, 37, 44, 0.26);
  padding: 8px;
  z-index: 20;
}

.download-option {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f4b57;
  font-weight: 600;
}

.download-option:hover {
  background: #e7f4f6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.card {
  grid-column: span 12;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.card ol {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.card ol li {
  margin-bottom: 6px;
}

.pill {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e0f2f5;
  color: #0a6070;
  font-size: 0.86rem;
  font-weight: 600;
}

.meta {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #b4d8de;
}

.footer-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #5d7280;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }

  .hero-main {
    align-self: center;
  }

  .hero-side {
    align-self: start;
    justify-self: end;
  }

  .split-6 {
    grid-column: span 6;
  }

  .split-4 {
    grid-column: span 4;
  }

  .split-12 {
    grid-column: span 12;
  }
}

@media (max-width: 600px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-badge {
    width: 160px;
    min-width: 160px;
  }

  .download-options {
    right: auto;
    left: 0;
    min-width: 220px;
  }
}
