:root {
  color-scheme: dark;
  --bg: #0b1017;
  --panel: #131b25;
  --panel-strong: #1b2836;
  --text: #f5f7fb;
  --muted: #b8c2d2;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #2d8cff;
  --cyan: #42e6d6;
  --orange: #ffaf54;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.88), rgba(7, 10, 15, 0.42) 52%, rgba(7, 10, 15, 0.72)),
    linear-gradient(180deg, rgba(7, 10, 15, 0.28), rgba(7, 10, 15, 0.9));
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
}

.brand {
  font-weight: 700;
  font-size: 17px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-links a,
.secondary {
  border: 1px solid var(--line);
  background: rgba(15, 22, 32, 0.56);
  padding: 10px 16px;
  border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 12vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 78px;
  line-height: 1;
}

.summary {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-weight: 700;
}

.primary {
  background: var(--blue);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

article {
  min-height: 210px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.acknowledgement {
  min-height: auto;
  background: var(--panel-strong);
}

article h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

article p,
.split p,
footer {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.branch-list {
  display: grid;
  gap: 10px;
}

.branch-list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--text);
  overflow-wrap: anywhere;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .topbar,
  .nav-links,
  .actions {
    align-items: stretch;
  }

  .topbar {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-content {
    padding-top: 170px;
  }

  h1 {
    font-size: 58px;
  }

  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-links a {
    flex: 1;
    text-align: center;
    padding-inline: 10px;
  }

  .summary {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  .primary,
  .secondary {
    width: 100%;
  }
}
