:root {
  --bg: #100e17;
  --surface: #191622;
  --surface-2: #211d2c;
  --text: #f7f3f0;
  --muted: #aaa3b4;
  --line: rgba(255, 255, 255, 0.1);
  --pink: #ff718d;
  --violet: #9670f5;
  --font: "DM Sans", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 15% 0,
      rgba(150, 112, 245, 0.15),
      transparent 35%
    ),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
}

a {
  color: inherit;
}

header,
main,
footer {
  width: min(1040px, calc(100% - 36px));
  margin-inline: auto;
}

header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

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

.back-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.board-hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 70px;
  padding: 60px 70px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(255, 113, 141, 0.15),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(150, 112, 245, 0.09), transparent),
    var(--surface);
}

.hero-logo {
  width: 260px;
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.3));
}

.eyebrow,
.section-title > span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 12px 0;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.board-hero p {
  max-width: 550px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.primary {
  border-color: var(--text);
  background: var(--text);
  color: #18131e;
}

.guide {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 35px;
  text-align: center;
}

.section-title h2 {
  margin: 8px 0 0;
  font-size: 38px;
  letter-spacing: -0.04em;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.guide-grid article > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(150, 112, 245, 0.15);
  color: #c6b4ff;
}

.guide-grid h3 {
  margin: 20px 0;
  font-size: 22px;
}

.guide-grid ol {
  padding-left: 20px;
  color: #d4cddd;
  font-size: 14px;
}

.guide-grid li {
  padding: 7px 0;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: #ffc0cd;
  font-size: 12px;
  font-weight: 700;
}

.flow-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(25, 22, 34, 0.75);
  font-size: 13px;
  font-weight: 700;
}

.flow-card i {
  color: var(--pink);
  font-style: normal;
}

footer {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 760px) {
  .board-hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 40px 24px;
    text-align: center;
  }

  .hero-logo {
    width: 180px;
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

@media (max-width: 520px) {
  header {
    min-height: 75px;
  }

  .brand span {
    display: none;
  }

  .back-link {
    font-size: 11px;
  }

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

  .button {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}
