:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #151821;
  --muted: #5d6676;
  --line: #d9e0ea;
  --accent: #0d7f76;
  --accent-strong: #095f59;
  --warning: #bb6b00;
  --shadow: 0 18px 55px rgba(34, 47, 62, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  padding: 56px 24px 30px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.app-list {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.app-list {
  display: grid;
  gap: 22px;
  padding: 30px 0 56px;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(280px, 0.92fr);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screenshot-link {
  display: block;
  min-height: 100%;
  background: #10151f;
}

.screenshot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.app-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.app-index {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.app-status {
  padding: 5px 10px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.app-status--planned {
  color: #4a2a00;
  background: #ffe6bd;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.app-content p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.visit-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 12px 15px;
  color: #ffffff;
  background: var(--accent-strong);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.visit-link:hover,
.visit-link:focus-visible {
  background: #074c47;
}

.visit-link--disabled {
  color: #6a7180;
  background: #eef2f6;
}

.placeholder-shot {
  display: grid;
  min-height: 310px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(13, 127, 118, 0.16), rgba(187, 107, 0, 0.14)),
    #eef3f7;
  border-right: 1px solid var(--line);
}

.placeholder-shot span {
  color: rgba(21, 24, 33, 0.16);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 760px) {
  .site-header {
    padding: 38px 16px 24px;
  }

  .header-inner,
  .app-list {
    width: min(100% - 24px, 1120px);
  }

  .app-list {
    padding-top: 18px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .screenshot,
  .placeholder-shot {
    min-height: 220px;
  }

  .app-content {
    padding: 24px;
  }

  .intro,
  .app-content p {
    font-size: 0.98rem;
  }
}
