:root {
  --ink: #1b242b;
  --muted: #62707a;
  --line: #d9e1e7;
  --surface: #ffffff;
  --soft: #f5f7f9;
  --green: #0f7a55;
  --green-dark: #0b5f42;
  --blue: #315f95;
  --gold: #aa7a16;
  --red: #ad3f3f;
  --shadow: 0 14px 38px rgba(27, 36, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f8fa;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.hero-inner,
.section,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 122, 85, 0.28);
  border-radius: 8px;
  background: #e9f6f1;
  color: var(--green-dark);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #46545e;
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  border-radius: 6px;
  padding: 8px 10px;
}

.nav a:hover,
.nav a:focus-visible {
  background: #eef3f5;
  outline: none;
}

.nav .strong {
  background: var(--ink);
  color: #ffffff;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 248, 250, 0.98), rgba(247, 248, 250, 0.74)),
    url("./shop-console.svg") center right / min(680px, 58vw) no-repeat,
    #f7f8fa;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  min-height: min(690px, calc(100vh - 74px));
  padding: 70px 0 54px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(15, 122, 85, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 740;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

.hero h1 {
  max-width: 720px;
  margin-top: 20px;
  font-size: 52px;
  font-weight: 790;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #46545e;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 740;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.button.secondary {
  border-color: #cad6de;
  background: rgba(255, 255, 255, 0.84);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #ffffff;
  outline: none;
}

.status-panel {
  border: 1px solid rgba(202, 214, 222, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: #46545e;
  font-size: 13px;
  font-weight: 740;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18a466;
}

.status-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.status-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  border: 1px solid #dce4e9;
  border-radius: 7px;
  background: #fbfcfd;
  padding: 11px;
  font-size: 13px;
}

.status-row code {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.pill {
  justify-self: end;
  border-radius: 999px;
  background: #e9f6f1;
  padding: 4px 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 740;
}

.pill.proxy {
  background: #f6efe2;
  color: #735008;
}

.section {
  padding: 68px 0;
}

.section-head {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-bottom: 28px;
}

.section h2 {
  font-size: 34px;
}

.section-head p,
.card p,
.notice p {
  margin: 0;
  color: var(--muted);
}

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

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.card h3,
.notice h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eef3f5;
  padding: 4px 8px;
  color: #46545e;
  font-size: 12px;
  font-weight: 740;
}

.notice {
  border-left: 4px solid var(--gold);
}

.footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: #687680;
  font-size: 14px;
}

@media (max-width: 900px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    background:
      linear-gradient(0deg, rgba(247, 248, 250, 0.97), rgba(247, 248, 250, 0.84)),
      url("./shop-console.svg") center bottom / 700px no-repeat,
      #f7f8fa;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 38px;
  }

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

@media (max-width: 620px) {
  .status-row {
    grid-template-columns: 1fr;
  }

  .pill {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
