/* Guide page — design system (scoped #marketing-page.p), no legacy gv2 layout */

#marketing-page.p {
  background: #2D2D37;
  color: #ECEAF4;
  font-family: Peyda, system-ui, sans-serif;
  min-height: 100vh;
}

#marketing-page.p * { box-sizing: border-box; }

#marketing-page.p h1,
#marketing-page.p h2,
#marketing-page.p h3,
#marketing-page.p p,
#marketing-page.p a,
#marketing-page.p button,
#marketing-page.p summary,
#marketing-page.p .hx2,
#marketing-page.p .hx3{
  font-family: inherit;
}

#marketing-page.p h1,
#marketing-page.p h2,
#marketing-page.p h3,
#marketing-page.p .hx2,
#marketing-page.p .hx3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.3;
  color: #ECEAF4;
}

#marketing-page.p .w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

#marketing-page.p .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

#marketing-page.p .pr { background: #6D3BD9; color: #fff; }
#marketing-page.p .sc {
  background: #3A3A46;
  color: #ECEAF4;
  border: 1.5px solid #5A5A6A;
}

#marketing-page.p .card {
  background: #3A3A46;
  border: 1px solid #4A4A58;
  border-radius: 18px;
  padding: 22px;
}

#marketing-page.p .mut { color: #A9A5BD; }

#marketing-page.p .ch {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

#marketing-page.p .ok { background: #1F4A3A; color: #7FE0B0; }
#marketing-page.p .vi { background: #4A3F73; color: #D3C2FF; }
#marketing-page.p .wr { background: #4E3F14; color: #F5D37A; }

#marketing-page.p .idx {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #B58CFF;
  margin-bottom: 8px;
}

#marketing-page.p .block { padding-bottom: 72px; }
#marketing-page.p .block h2,
#marketing-page.p .block .hx2 { font-size: 38px; margin-bottom: 22px; }

#marketing-page.p .g3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

#marketing-page.p .g4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

#marketing-page.p .g3 h3,
#marketing-page.p .gd-pick .card h3,
#marketing-page.p .g3 .hx3,
#marketing-page.p .gd-pick .card .hx3 {
  font-size: 22px;
  margin: 6px 0 10px;
}

#marketing-page.p .more {
  color: #B58CFF;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  display: inline-block;
}

#marketing-page.p .gd-pick .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

#marketing-page.p .gd-pick .card:hover {
  border-color: #6D3BD9;
  transform: translateY(-2px);
}

#marketing-page.p .step-h { font-size: 18px; margin: 6px 0 6px; }
#marketing-page.p .step-p { margin: 0; font-size: 15px; line-height: 1.65; }

#marketing-page.p details {
  border: 1px solid #4A4A58;
  border-radius: 14px;
  padding: 0 18px;
  margin-bottom: 12px;
  background: #3A3A46;
}

#marketing-page.p summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#marketing-page.p summary::-webkit-details-marker { display: none; }

#marketing-page.p summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4A3F73 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D3C2FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.2s ease;
}

#marketing-page.p details[open] > summary::after { transform: rotate(180deg); }

#marketing-page.p details p {
  margin: 0 0 16px;
  color: #A9A5BD;
  line-height: 1.65;
}

#marketing-page.p .faq { max-width: 860px; }

#marketing-page.p .cta-wrap { padding-bottom: 72px; }

#marketing-page.p .cta-band {
  background: #201B30;
  color: #fff;
  border-radius: 28px;
  padding: 52px 28px;
  text-align: center;
}

#marketing-page.p .cta-band h2,
#marketing-page.p .cta-band .hx2 { margin-bottom: 10px; font-size: 34px; }
#marketing-page.p .cta-band p { margin: 0 0 22px; color: #B9AEDB; }
#marketing-page.p .gd-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero */
#marketing-page.p .gd-hero {
  padding-top: 40px;
  padding-bottom: 48px;
}

#marketing-page.p .gd-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #A9A5BD;
  margin-bottom: 18px;
}

#marketing-page.p .gd-crumb a {
  color: #B58CFF;
  text-decoration: none;
}

#marketing-page.p .gd-hero h1 {
  font-size: 46px;
  margin-bottom: 14px;
}

#marketing-page.p .gd-hero .lead {
  font-size: 18px;
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

/* Guide content */
#marketing-page.p .gd-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  padding-bottom: 56px;
}

#marketing-page.p .gd-route {
  scroll-margin-top: 96px;
}

#marketing-page.p .gd-route-head {
  margin-bottom: 22px;
}

#marketing-page.p .gd-route-head h2,
#marketing-page.p .gd-route-head .hx2 {
  font-size: 32px;
  margin: 4px 0 12px;
}

#marketing-page.p .gd-route-head > p {
  line-height: 1.7;
  margin: 0 0 14px;
}

#marketing-page.p .gd-route-head a {
  color: #B58CFF;
}

#marketing-page.p .gd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#marketing-page.p .gd-steps { margin-top: 8px; }

/* Five steps: 3 + 2 on wide screens (auto-fit 4-col leaves 3 empty cells on row 2) */
@media (min-width: 901px) {
  #marketing-page.p .gd-steps.g4 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #marketing-page.p .gd-steps.g4 > .card {
    grid-column: span 2;
  }

  #marketing-page.p .gd-steps.g4 > .card:nth-child(4),
  #marketing-page.p .gd-steps.g4 > .card:nth-child(5) {
    grid-column: span 3;
  }
}

/* Five pick cards: same 3 + 2 rhythm as the steps */
@media (min-width: 901px) {
  #marketing-page.p .gd-pick .g3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #marketing-page.p .gd-pick .g3 > .card {
    grid-column: span 2;
  }

  #marketing-page.p .gd-pick .g3 > .card:nth-child(4),
  #marketing-page.p .gd-pick .g3 > .card:nth-child(5) {
    grid-column: span 3;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  #marketing-page.p .gd-steps.g4 > .card:nth-child(5):last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }
}

#marketing-page.p .gd-steps .card p {
  margin: 0 0 10px;
  line-height: 1.65;
  color: #A9A5BD;
}

#marketing-page.p .gd-steps .card p:last-child { margin-bottom: 0; }

#marketing-page.p .ui {
  display: inline;
  padding: 2px 8px;
  border-radius: 8px;
  background: #4A3F73;
  color: #D3C2FF;
  font-weight: 700;
  font-size: 0.92em;
}

#marketing-page.p .ui-btn {
  background: #2E1B5E;
  color: #ECEAF4;
}

#marketing-page.p .note {
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
}

#marketing-page.p .note-warn {
  background: #4A3B15;
  border: 1px solid #6A5420;
  color: #F5D37A;
}

#marketing-page.p .note-tip {
  background: #1F4A3A;
  border: 1px solid #2A5C48;
  color: #7FE0B0;
}

#marketing-page.p .gd-sub {
  margin-top: 20px;
}

#marketing-page.p .gd-sub h3,
#marketing-page.p .gd-sub .hx3 {
  font-size: 20px;
  margin-bottom: 10px;
}

#marketing-page.p .gd-sub p,
#marketing-page.p .gd-sub ul {
  color: #A9A5BD;
  line-height: 1.7;
}

#marketing-page.p .gd-sub ul {
  margin: 0 0 12px;
  padding-right: 1.2em;
}

#marketing-page.p .gd-sub li { margin-bottom: 6px; }

#marketing-page.p .gd-sub .btn { margin-top: 8px; }

#marketing-page.p code {
  font-family: inherit;
  direction: ltr;
  unicode-bidi: plaintext;
  background: #201B30;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

#marketing-page.p .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

#marketing-page.p .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Mobile: design/marketing-pages-mobile.css */
