:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #172033;
  background: #f4f6f8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #eef3f5 0, #f7f8fa 320px, #f4f6f8 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  width: 100%;
  border-bottom: 1px solid #dde3e8;
  background: rgba(255, 255, 255, 0.96);
}

.header-inner,
.main-content,
footer {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #18794e;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-copy {
  min-width: 0;
}

.brand-copy p,
.brand-copy h1 {
  margin: 0;
  letter-spacing: 0;
}

.brand-copy p {
  margin-bottom: 4px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.brand-copy h1 {
  color: #172033;
  font-size: 20px;
  line-height: 1.25;
}

.secure-label {
  min-height: 34px;
  margin-left: auto;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cfd8df;
  border-radius: 6px;
  color: #52606d;
  background: #f8fafb;
  font-size: 13px;
  white-space: nowrap;
}

.secure-label svg {
  width: 16px;
  height: 16px;
  color: #18794e;
}

.main-content {
  min-height: calc(100vh - 176px);
  padding: 48px 0 72px;
}

.section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}

.section-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-count {
  color: #667085;
  font-size: 13px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  position: relative;
  min-width: 0;
  min-height: 188px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 20px 16px;
  overflow: hidden;
  border: 1px solid #d9e0e5;
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.app-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
}

.detection-card::before {
  background: #2467c9;
}

.production-card::before {
  background: #18794e;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-2px);
  border-color: #aebbc5;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.11);
  outline: none;
}

.app-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.detection-card .app-icon {
  color: #1e5eb9;
  background: #e9f1ff;
}

.production-card .app-icon {
  color: #146c46;
  background: #e7f5ed;
}

.app-icon svg {
  width: 25px;
  height: 25px;
}

.app-info {
  min-width: 0;
  align-self: center;
}

.app-info strong,
.app-info small {
  display: block;
}

.app-info strong {
  color: #172033;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.app-info small {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.enter-action {
  grid-column: 1 / -1;
  min-height: 42px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e6eaed;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.enter-action svg {
  width: 18px;
  height: 18px;
}

footer {
  min-height: 92px;
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #dde3e8;
  color: #7b8794;
  font-size: 12px;
}

@media (max-width: 680px) {
  .header-inner,
  .main-content,
  footer {
    width: min(100% - 28px, 920px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-copy h1 {
    font-size: 18px;
  }

  .brand-copy p {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .secure-label span {
    display: none;
  }

  .secure-label {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .main-content {
    padding: 32px 0 52px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-card {
    min-height: 164px;
    padding: 20px;
  }

  .app-info strong {
    font-size: 18px;
  }

  footer {
    min-height: 86px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-card {
    transition: none;
  }
}
