:root {
  --bg: #0b1220;
  --bg-soft: #111b2f;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --text: #0e1726;
  --muted: #5d6b82;
  --line: #e6ebf2;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --success: #15803d;
  --success-bg: #dcfce7;
  --warn: #b45309;
  --warn-bg: #fff7ed;
  --shadow: 0 24px 70px rgba(4, 11, 24, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .28), transparent 32rem),
    radial-gradient(circle at top right, rgba(124, 58, 237, .16), transparent 28rem),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .82em; }

.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(37, 99, 235, .35);
}
.brand strong { display: block; font-size: 1.04rem; }
.brand small { display: block; color: rgba(255, 255, 255, .68); margin-top: 2px; }
.top-links { display: flex; gap: 10px; }
.top-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 22px;
  align-items: stretch;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,245,249,.94));
  box-shadow: var(--shadow);
}
.hero-content h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: .96;
  letter-spacing: -0.055em;
}
.hero-content p { max-width: 780px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #dbeafe;
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-actions, .card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(37, 99, 235, .24); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.btn-disabled { background: #e5e7eb; color: #6b7280; cursor: not-allowed; }

.hero-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.status-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.status-dot.ok { background: #22c55e; box-shadow: 0 0 0 7px rgba(34, 197, 94, .14); }
.status-dot.warn { background: #f59e0b; box-shadow: 0 0 0 7px rgba(245, 158, 11, .14); }
.hero-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.hero-card small { color: var(--muted); margin-top: auto; }

.notice-grid, .product-grid, .steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.notice-grid article, .steps li {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.notice-grid strong, .steps strong { display: block; margin-bottom: 6px; }
.notice-grid span, .steps span { color: rgba(255,255,255,.68); line-height: 1.55; }

.download-section, .package-table, .steps {
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.section-heading h2 { margin: 12px 0 8px; font-size: clamp(1.55rem, 2.6vw, 2.4rem); letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.65; }
.section-heading.compact h2 { margin-top: 0; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.product-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, var(--panel-soft));
}
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--brand);
  font-weight: 900;
}
.product-card h3 { margin: 12px 0 8px; font-size: 1.38rem; }
.product-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.pill { display: inline-flex; width: max-content; padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.pill.success { background: var(--success-bg); color: var(--success); }
.pill.warning { background: var(--warn-bg); color: var(--warn); }
.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.meta-grid div { padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.meta-grid dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.meta-grid dd { margin: 5px 0 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.card-warning { margin-top: 14px !important; color: var(--warn) !important; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; background: #f8fafc; }
tr:last-child td { border-bottom: 0; }
.steps ol { list-style: none; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 44px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  font-size: .8rem;
  font-weight: 900;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.62);
  padding: 28px 0 42px;
  font-size: .92rem;
}

@media (max-width: 900px) {
  .hero, .product-grid { grid-template-columns: 1fr; }
  .notice-grid, .steps ol { grid-template-columns: 1fr; }
  .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 24px, 1180px); }
  .hero, .download-section, .package-table, .steps { padding: 18px; border-radius: 24px; }
  .product-card { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .top-links { display: none; }
}
