:root {
  --black-100-color: #212529;
  --brand-50-color: #e5f1fa;
  --brand-100-color: #cce2f5;
  --brand-500-color: #006fcf;
  --brand-600-color: #0064ba;
  --black-40-color: #dee2e6;
  --brand-contrast-color: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(to bottom, var(--brand-50-color), var(--brand-100-color)) no-repeat
    bottom center;
  background-attachment: fixed;
}

a {
  color: var(--brand-500-color);
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 870px;
  overflow: hidden;
}

.landing {
  padding: 0 1rem;
  padding-top: 56px;
  max-width: 768px;
  min-width: 220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 32px;
  font-size: 16px;
  color: var(--black-100-color);
}

.landing-logo {
  max-width: 326px;
  text-align: center;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.landing-body-title {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--brand-500-color);
  font-size: 36px;
  font-weight: 600;
}

.landing-body-description {
  font-weight: 600;
  text-align: center;
}

.sub-description { 
  text-align: center;
}

.amex-usage-description { 
  padding: 1.5rem 1rem;
  z-index: 2; 
  margin: 0 auto;
  position: relative;
  gap: 0.25rem;
  max-width: 660px;
}

.btn-container {
  position: relative;
  display: flex;
  gap: 24px;
  justify-content: center;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  min-width: 160px;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--brand-500-color);
  color: var(--brand-contrast-color);
}

.btn-primary:hover {
  background-color: var(--brand-600-color);
}

.btn-secondary {
  background-color: var(--brand-contrast-color);
  color: var(--brand-500-color);
  border: 1px solid var(--black-40-color);
}

.btn-secondary:hover {
  background-color: var(--brand-50-color);
}

.footer {
  position: relative;
  padding-top: 32px;
  flex: 1;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./landing/ellipse.svg') no-repeat center top;
  background-size: cover;
  z-index: 1;
}

.products {
  position: absolute;
  z-index: 1;
  max-width: 1312px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.image {
  position: absolute;
  top: 140px;
}

.frame-1 {
  bottom: 160px;
  left: 50%;
  width: 60%;
  max-width: 600px;
  z-index: 0;
}

.frame-2 {
  bottom: 160px;
  right: 50%;
  width: 60%;
  max-width: 600px;
  z-index: 0;
}

@media (max-width: 768px) {
  .landing {
    font-size: 14px;
  }
  .landing-body-title {
    font-size: 24px;
  }
  .image {
    top: 180px;
  }
  .amex-usage-description {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .products {
    max-width: 1720px;
  }
  .frame-1 {
    left: calc(50% - 828px);
  }
  .frame-2 {
    right: calc(50% - 828px);
  }
}

@media (min-width: 2048px) {
  .products {
    max-width: 1720px;
  }
}
