:root {
  color-scheme: light;
  --bg: #fff6f2;
  --card: rgba(255, 255, 255, 0.88);
  --text: #251612;
  --muted: #7a6660;
  --primary: #e84545;
  --primary-dark: #c92f35;
  --line: rgba(118, 73, 65, 0.14);
  --shadow: 0 24px 80px rgba(138, 56, 44, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 154, 117, 0.34), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(232, 69, 69, 0.24), transparent 30%),
    linear-gradient(135deg, #fff8f3 0%, #fff1ee 48%, #ffe6dc 100%);
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.hero {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand,
.panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b4a, #d9283d);
  box-shadow: 0 14px 34px rgba(216, 40, 61, 0.28);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.subtitle {
  max-width: 620px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.device-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #8a2b2f;
  background: rgba(232, 69, 69, 0.1);
  font-weight: 700;
}

.panel,
.notes {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 54px rgba(138, 56, 44, 0.12);
}

.system-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fff0ec;
  font-size: 28px;
}

.panel h2 {
  margin-bottom: 6px;
  font-size: 26px;
}

.panel p,
.download-card p,
.notes li {
  color: var(--muted);
  line-height: 1.7;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(232, 69, 69, 0.28);
}

.secondary-btn {
  color: var(--primary-dark);
  background: rgba(232, 69, 69, 0.1);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn.small {
  min-width: 132px;
  min-height: 44px;
  margin-top: 0;
  border-radius: 14px;
  white-space: nowrap;
}

.tip {
  margin: 16px 0 0;
  font-size: 14px;
}

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

.download-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 248, 245, 0.78);
}

.download-card h3 {
  margin-bottom: 4px;
  font-size: 19px;
}

.download-card p {
  margin-bottom: 0;
}

.notes h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.notes ul {
  margin: 0;
  padding-left: 20px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #9a252d;
  background: rgba(232, 69, 69, 0.09);
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 22px, 520px);
    padding: 18px 0;
  }

  .hero,
  .panel,
  .notes {
    padding: 22px;
    border-radius: 24px;
  }

  .brand,
  .panel-head {
    align-items: flex-start;
  }

  .download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn.small {
    width: 100%;
  }
}
