:root {
  --primary: #0f172a;
  --accent: #22c55e;
  --bg-body: #edf3f8;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --card-bg: rgba(255, 255, 255, 0.98);
  --border-color: #d9e3ee;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(237, 243, 248, 0.98), #f8fafc),
    radial-gradient(circle at 80% 0%, rgba(34, 197, 94, 0.05), transparent 30%),
    radial-gradient(circle at 0% 20%, rgba(15, 23, 42, 0.04), transparent 25%);
  color: var(--primary);
  line-height: 1.5;
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 60px;
}

.glass-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.hero-card {
  margin-bottom: 24px;
  padding: 32px;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5edf5;
}

.company-logo {
  width: 140px;
  max-width: 52vw;
  height: auto;
  display: block;
}

.distribution-pill {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #f1f5f9;
  padding: 8px 16px;
  text-align: right;
}

.distribution-pill span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.distribution-pill strong {
  color: var(--primary);
  font-size: 14px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.product-header {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.sid-mark {
  width: 80px;
  height: 80px;
}

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

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.tagline {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 560;
}

.lead {
  max-width: 600px;
  margin: 24px 0;
  color: var(--text-main);
  font-size: 20px;
}

.release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-tags span {
  border-radius: 4px;
  background: #dcfce7;
  color: #166534;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 760;
}

.release-tags span + span {
  background: #e0f2fe;
  color: #0369a1;
}

.integrity-badge {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  padding: 24px;
}

.integrity-badge h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 18px;
}

.integrity-badge h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.integrity-badge p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.download-card {
  padding: 32px;
}

.android-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.platform-info h2 {
  margin: 0;
  font-size: 28px;
}

.available-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.download-form {
  border-top: 1px solid #e5edf5;
  border-bottom: 1px solid #e5edf5;
  padding: 24px 0;
}

.download-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.code-row input {
  min-height: 54px;
  width: 100%;
  border: 1px solid #cbd8e6;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  padding: 0 15px;
  font: inherit;
  font-weight: 720;
}

.code-row input:focus {
  outline: 3px solid #bfdbfe;
  border-color: #60a5fa;
}

.download-button {
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 0 28px;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.30);
}

.download-button:hover {
  background: #1e293b;
}

.download-form p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.install-section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding-top: 32px;
}

.qr-container {
  text-align: center;
}

.qr-container img {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.qr-container span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 0;
}

.spec-item {
  border: 1px solid #eef2f6;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.spec-item dt {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.spec-item dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 760;
}

.hash-box {
  margin-top: 24px;
  border-radius: 8px;
  background: #f1f5f9;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hash-header {
  margin-bottom: 8px;
}

.hash-header span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.hash-box code {
  color: var(--primary);
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-section {
  padding: 24px;
}

.side-section h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.roadmap-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  padding: 12px;
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 760;
  flex: 0 0 auto;
}

.roadmap-item h4 {
  margin: 0;
  font-size: 14px;
}

.roadmap-item p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.usage-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-main);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-content,
  .main-grid {
    grid-template-columns: 1fr;
  }

  .hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .distribution-pill {
    width: 100%;
    text-align: left;
  }

  .install-section {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qr-container {
    width: 200px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 1100px);
    padding-top: 20px;
  }

  .hero-card,
  .download-card,
  .side-section {
    padding: 20px;
  }

  .product-header {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
  }

  .sid-mark {
    width: 68px;
    height: 68px;
  }

  .android-header,
  .platform-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
  }
}
