:root {
  --bg: #7ca2c6;
  --white: #ffffff;
  --top-card: #eceff4;
  --border: #d7dbe2;
  --text: #1f2938;
  --muted: #5f6875;
  --nav1: #4a4a4a;
  --nav2: #303030;
  --blue: #156bc8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
}

.container {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.page-header { padding: 14px 0 14px; }

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.brand-logo {
  width: 94px;
  height: 94px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.brand-row h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-row p {
  margin: 7px 0 0;
  font-size: 14px;
  color: #39506b;
}

.top-nav {
  background: linear-gradient(var(--nav1), var(--nav2));
  border: 1px solid #474747;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.top-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  font-size: 11px;
  padding: 9px 8px;
  border-right: 1px solid #575757;
}

.top-nav a.active,
.top-nav a:hover { background: #232323; }

main.container { background: var(--white); }

.hero-card {
  background: var(--top-card);
  margin-top: 14px;
  padding: 28px 52px;
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-left h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.release-line {
  margin: 16px 0 10px;
  font-size: 16px;
  color: #4f5a6a;
}

.meta-links { display: flex; gap: 28px; }

.meta-links a {
  text-decoration: none;
  color: #286395;
  font-size: 13px;
}

.hero-right {
  justify-self: end;
  width: 100%;
  max-width: 250px;
  background: #f7f8fb;
  border: 1px solid #dbe0e8;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}

.download-note {
  margin: 0 0 10px;
  color: #556274;
  font-size: 13px;
}

.os-tag {
  margin: 14px 0;
  color: #1e2a39;
  font-size: 22px;
  font-weight: 700;
}

.download-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  padding: 9px 20px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.download-sub {
  margin: 10px 0 0;
  color: #6a7482;
  font-size: 12px;
  line-height: 1.4;
}

.community-tab {
  background: #f7f7f7;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #e4e7eb;
  padding: 20px 30px;
}

.community-tab button {
  width: 100%;
  border: 1px solid #1465bb;
  border-radius: 10px;
  background: #1469c6;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 10px;
}

.platform-card {
  padding: 28px 30px 16px;
}

.platform-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.platform-grid {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.arch-col h4,
.install-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-row a,
.store-link {
  display: inline-block;
  text-decoration: none;
  color: #233141;
  background: #f8f9fb;
  border: 1px solid #d0d6e0;
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chips span {
  border: 1px solid #d4d9e2;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
}

.mirror-link {
  margin: 0;
  padding: 0 30px 18px;
}

.mirror-link a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #ccd2dc;
  border-radius: 9px;
  color: #233141;
  background: #f8f9fb;
  font-weight: 600;
  font-size: 12px;
  padding: 9px 14px;
}

.content-block {
  padding: 0 30px 6px;
}

.content-block h3 {
  margin: 16px 0 10px;
  font-size: 40px;
  border-top: 1px solid #e4e7ed;
  padding-top: 20px;
}

.content-block p,
.content-block li {
  margin: 0 0 7px;
  color: #495463;
  font-size: 15px;
  line-height: 1.6;
}

.content-block ul {
  margin: 0;
  padding-left: 24px;
}

.two-col-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 34px;
  padding: 10px 30px 34px;
}

.two-col-info h3 {
  margin: 0 0 7px;
  font-size: 41px;
}

.two-col-info p {
  margin: 0;
  color: #495463;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid #e4e7ed;
  background: #fff;
  padding: 18px 0 24px;
  margin-bottom: 20px;
}

.site-footer a {
  text-decoration: none;
  color: #1f4f84;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .brand-row h1 { font-size: 38px; }
  .brand-row p { font-size: 16px; }
  .hero-card {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }
  .hero-left h2 { font-size: 42px; }
  .hero-right {
    justify-self: start;
    max-width: 280px;
  }
  .community-tab button { font-size: 26px; }
  .platform-grid,
  .two-col-info {
    grid-template-columns: 1fr;
  }
}
