:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #242720;
  background: #f5f4ee;
  color-scheme: light;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.page { width: min(1060px, calc(100% - 104px)); margin-inline: auto; padding: clamp(52px, 9vw, 112px) 0 48px; }
.intro { margin-bottom: clamp(24px, 4vw, 46px); }
.intro h1 { font-size: clamp(38px, 6.4vw, 82px); font-weight: 800; line-height: 1.1; letter-spacing: -.085em; }
.intro p { margin-top: 13px; color: #5c6255; font-size: 16px; line-height: 1.5; }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.app { min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 27px; background: var(--panel); color: #fafcf6; }
.app-reelsort { --panel: #17281f; --halo: #476840; --accent: #d7f995; --muted: #d0ded2; }
.app-stipo { --panel: #1e293d; --halo: #4b5c82; --accent: #dbe6ff; --muted: #d8e0ef; }
.app-stipo .app-links { margin-top: auto; padding-top: 20px; }
.pending-status { padding: 8px 16px; border: 1px solid #ffffff54; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 680; }
.icon-stage {
  display: grid;
  place-items: center;
  min-height: clamp(180px, 24vw, 284px);
  background: radial-gradient(ellipse at 50% 44%, var(--halo), transparent 69%);
}
.app-icon {
  display: block;
  width: clamp(116px, 13vw, 164px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 23%;
  box-shadow: 0 18px 32px #060b0d70, 0 0 0 1px #ffffff2e;
}
.app-copy { display: flex; flex-direction: column; padding: 5px clamp(22px, 3.15vw, 42px) clamp(25px, 3.5vw, 43px); }
.app h2 { font-size: clamp(27px, 4vw, 47px); font-weight: 800; line-height: 1.2; letter-spacing: -.05em; }
.app p { flex: 1; margin: 12px 0 23px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #ffffff54;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button:hover { background: #ffffff15; border-color: #ffffffa3; }
.button-primary { background: var(--accent); border-color: var(--accent); color: #172321; }
.button-primary:hover { background: #f4f9ea; border-color: #f4f9ea; }
.footer { padding: 4px 26px 29px; text-align: center; color: #61645a; font-size: 13px; }

@media (max-width: 690px) {
  .page { width: calc(100% - 36px); max-width: 480px; padding: 40px 0 31px; }
  .intro p { margin-top: 9px; }
  .apps { grid-template-columns: 1fr; }
  .app { border-radius: 21px; }
  .icon-stage { min-height: 176px; }
  .app-stipo .icon-stage { justify-items: start; min-height: 0; padding: 22px 22px 13px; background: none; }
  .app-copy { padding-top: 0; }
  .app p { margin: 9px 0 17px; }
  .footer { padding-bottom: 23px; }
}

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