:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5f6875;
  --grid-line: #e7e7e9;
  --surface: #fafafa;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(to right, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    var(--surface);
  background-size: 88px 88px;
}

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

.safe-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.safe-nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 5vw, 48px);
  border-bottom: 1px solid var(--grid-line);
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 720;
}

.brand img {
  width: 26px;
  height: 26px;
}

.text-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grid-line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 700;
}

.text-link.subtle {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.safe-hero {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(82px, 15vw, 150px) 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid var(--grid-line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 760;
}

.safe-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 750;
}

.button.primary {
  color: #ffffff;
  background: #111111;
}

.button.secondary {
  border: 1px solid var(--grid-line);
  background: var(--panel);
}

@media (max-width: 620px) {
  .safe-nav {
    padding: 11px 14px;
  }

  .safe-hero {
    width: calc(100% - 28px);
    padding: 72px 0;
  }

  .safe-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
