:root {
  color-scheme: dark;
  --bg: #08101a;
  --bg-soft: #0d1724;
  --panel: rgba(17, 27, 40, 0.78);
  --panel-strong: rgba(16, 24, 35, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #a4afbf;
  --accent: #ff7a59;
  --accent-soft: rgba(255, 122, 89, 0.14);
  --accent-line: rgba(255, 122, 89, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: "Bahnschrift", "Trebuchet MS", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 122, 89, 0.16), transparent 34%),
    radial-gradient(circle at right center, rgba(91, 196, 191, 0.12), transparent 30%),
    linear-gradient(180deg, #0b1320 0%, #08101a 100%);
  color: var(--text);
  font-family: var(--font-sans);
}

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

.portal-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 122, 89, 0.08), rgba(12, 18, 28, 0));
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 34px 26px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.22), transparent 72%);
  pointer-events: none;
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 12px;
  color: #ffd6cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero__lede {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.24);
}

.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  backdrop-filter: blur(18px);
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: -0.03em;
}

.flow-list,
.bullet-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tool-item {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.tool-item__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #ffd4cb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.status-panel {
  background: var(--panel-strong);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.status-panel__title {
  margin: 0;
  color: #ffd8cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-panel__link {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.status-panel__hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 840px) {
  .portal-shell {
    width: min(100vw - 20px, 1120px);
    padding: 12px 0 28px;
  }

  .hero,
  .section {
    border-radius: 24px;
  }

  .hero {
    padding: 28px 18px;
  }

  .section {
    padding: 18px 16px;
  }

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