:root {
  --blue-deep: #0f4c6e;
  --blue-mid: #1f6f8b;
  --blue-light: #4fa3c7;
  --ink: #1e1e1e;
  --text-gray: #6b7280;
  --bg: #f4f4f2;
  --card: #ffffff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f4f2 0%, #eef2f4 100%);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d6;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}


.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #e6f1f6;
  color: var(--blue-mid);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.6;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pop-label {
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 10px;
}

.modal-card h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
}

.modal-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.modal:target {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 25, 0.5);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8e8e6;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  text-decoration: none;
  color: var(--text-gray);
  font-size: 22px;
  line-height: 1;
}

.footer {
  margin-top: 48px;
  background: #e9eceb;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-left {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-left p {
  margin: 0;
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.5;
}

.section-header h2 {
  margin: 0 0 6px 0;
  font-size: 28px;
}

.section-header p {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
}

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

.card-row.single {
  grid-template-columns: minmax(0, 420px);
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.app-card {
  position: relative;
  padding: 18px 20px 20px 20px;
}

.card-body {
  padding-left: 96px;
}

.card-logo {
  position: absolute;
  left: 20px;
  top: 20px;
}

.card-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: #111111;
  padding: 8px;
}

.card h3 {
  margin: 4px 0;
  font-size: 16px;
}

.card-meta {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-mid);
}

.card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-gray);
}

.card-cta {
  width: fit-content;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  background: transparent;
  padding: 4px 0;
  border-radius: 0;
  position: absolute;
  top: 20px;
  right: 20px;
}

.card-cta-arrow {
  width: 14px;
  height: 14px;
  margin-left: 1px;
  vertical-align: -2px;
}

@media (max-width: 900px) {
  .card-row {
    grid-template-columns: 1fr;
  }

}

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

  .nav {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
