:root {
  color-scheme: dark;
  --bg: #09040f;
  --surface: #13091d;
  --surface-soft: rgba(26, 12, 38, 0.72);
  --text: #fffafc;
  --muted: #b8aec1;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff3eae;
  --violet: #a945ef;
  --blue: #4d7dff;
  --orange: #ff8a39;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 7%, rgba(255, 48, 167, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(56, 104, 255, 0.14), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 4, 15, 0.7), rgba(9, 4, 15, 0.9)),
    url("/hi-suno/assets/hi-suno-music-stage-v1.jpg") center top / cover no-repeat;
  opacity: 0.38;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  content: "";
  pointer-events: none;
}

a { color: inherit; }

button,
input { font: inherit; }

img { max-width: 100%; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.site-brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 18px rgba(215, 50, 255, 0.28));
}

.site-brand > span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.site-brand strong {
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.site-brand small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a,
.site-footer nav a {
  color: #d2c9d9;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover { color: #fff; }

.header-chat {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px rgba(255,255,255,.07);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(16px);
}

.header-chat:hover { border-color: rgba(255, 92, 190, 0.55); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
  padding-block: 66px 94px;
}

.suno-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 135, 68, 0.36);
  border-radius: 999px;
  background: rgba(255, 94, 73, 0.09);
  padding: 6px 11px 6px 6px;
  color: #ffe2e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.suno-badge img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.suno-badge span:last-child {
  margin-left: 3px;
  color: #ffbaa5;
  font-size: 12px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #ff9fd9 8%, #a981ff 55%, #77dcff);
  background-clip: text;
  font-style: normal;
  -webkit-background-clip: text;
}

.hero-lead {
  margin: 26px 0 0;
  color: #d0c5d7;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 650;
  line-height: 1.7;
}

.hero-actions,
.final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 0 21px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  min-width: 176px;
  color: #fff;
  background: linear-gradient(105deg, var(--pink), var(--violet) 58%, var(--blue));
  box-shadow: 0 14px 34px rgba(184, 42, 230, 0.25), inset 0 1px rgba(255,255,255,.26);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}

.button-secondary:hover { border-color: rgba(255,255,255,.38); }

.button.is-pending { cursor: pointer; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #a9a0b2;
  background: rgba(12, 6, 18, 0.36);
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  background: #0b0610;
  box-shadow: var(--shadow), 0 0 70px rgba(184, 42, 230, 0.13), inset 0 1px rgba(255,255,255,.08);
  isolation: isolate;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8,3,14,.04) 24%, rgba(8,3,14,.94) 86%);
  content: "";
}

.hero-visual > img {
  width: 100%;
  height: 535px;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-visual-top {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-visual-top strong {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(10,5,16,.38);
  padding: 7px 10px;
  backdrop-filter: blur(12px);
}

.hero-visual ol {
  position: absolute;
  right: 22px;
  bottom: 21px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-visual li {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(11, 5, 17, 0.67);
  padding: 12px;
  backdrop-filter: blur(12px);
}

.hero-visual li span { color: #ff86ce; font-size: 9px; font-weight: 950; }
.hero-visual li strong { font-size: 12px; font-weight: 900; }

.section { padding-block: 92px; }

.section-heading { margin-bottom: 34px; }

.section-heading.is-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading > p,
.section-heading > div > p {
  margin: 0 0 9px;
  color: #ff87cc;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.section-heading > a {
  color: #d7c9df;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.process-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li,
.guide-grid > a {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(28,13,42,.88), rgba(14,8,22,.72));
  box-shadow: inset 0 1px rgba(255,255,255,.055);
  padding: 27px;
}

.process-grid li::after {
  position: absolute;
  right: -18px;
  bottom: -35px;
  color: rgba(255,255,255,.028);
  content: "♪";
  font-size: 120px;
  line-height: 1;
  transform: rotate(-8deg);
}

.process-grid li > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  font-size: 11px;
  font-weight: 950;
}

.process-grid h3,
.guide-grid h3 { margin: 20px 0 7px; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }

.process-grid p,
.guide-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.guide-grid > a {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.guide-grid > a:hover {
  border-color: rgba(255, 95, 188, 0.48);
  background: linear-gradient(145deg, rgba(42,17,59,.94), rgba(15,8,24,.8));
  transform: translateY(-4px);
}

.guide-grid > a > span {
  color: #ff87cc;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.guide-grid h3 { margin-top: 18px; }
.guide-grid em { margin-top: auto; padding-top: 22px; color: #e9dff0; font-size: 12px; font-style: normal; font-weight: 850; }

.faq-section { max-width: 920px; }

.faq-list { display: grid; gap: 10px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(19, 9, 29, 0.78);
  padding: 0 20px;
}

.faq-list summary {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #ff81c8; font-size: 20px; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -3px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-block: 62px 90px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background:
    linear-gradient(105deg, rgba(255, 49, 171, .21), rgba(110, 54, 232, .16)),
    rgba(19,9,29,.82);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.08);
  padding: 37px 40px;
}

.final-cta > div:first-child span { color: #ff8bcd; font-size: 9px; font-weight: 950; letter-spacing: .18em; }
.final-cta h2 { margin: 8px 0 0; font-size: clamp(27px, 3vw, 40px); letter-spacing: -.05em; }
.final-cta > div:last-child { margin-top: 0; }

.site-footer {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.site-brand.is-small img { width: 34px; height: 34px; }
.site-brand.is-small strong { font-size: 16px; }
.site-footer p { justify-self: end; margin: 0; color: #867c8d; font-size: 10px; }

.mobile-actions { display: none; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(18, 8, 27, 0.94);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(18px);
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

/* Guide pages */
.guide-hero {
  max-width: 860px;
  padding-block: 78px 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  color: #a99fb1;
  font-size: 12px;
}

.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.guide-hero .topic {
  color: #ff86cd;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .16em;
}

.guide-hero h1 {
  margin: 15px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: 1.02;
}

.guide-hero > p {
  max-width: 720px;
  margin: 0;
  color: #c7bccf;
  font-size: 17px;
  line-height: 1.8;
}

.guide-index { padding-block: 36px 100px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 54px;
  padding-bottom: 100px;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 8, 23, 0.82);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  padding: clamp(27px, 5vw, 56px);
}

.article-body h2 {
  margin: 45px 0 14px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 28px 0 10px; font-size: 19px; }
.article-body p,
.article-body li { color: #c1b7c8; font-size: 15px; line-height: 1.9; }
.article-body strong { color: #fff; }
.article-body a { color: #8dcfff; }
.article-body ol,
.article-body ul { display: grid; gap: 8px; padding-left: 1.3em; }

.article-note {
  margin-block: 24px;
  border-left: 3px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 62, 174, 0.08);
  padding: 16px 18px;
}

.article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(19,9,29,.82);
  padding: 20px;
}

.article-aside strong { font-size: 15px; }
.article-aside p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-aside .button { min-width: 0; width: 100%; min-height: 48px; font-size: 12px; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(540px, 100%); min-height: 460px; }
  .hero-visual > img { height: 460px; }
  .process-grid,
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid > a { min-height: 180px; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; padding-block: 34px 110px; }
  .site-footer p { justify-self: start; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 75px; }
  .site-brand img { width: 38px; height: 38px; }
  .site-brand strong { font-size: 17px; }
  .header-chat { font-size: 11px; padding: 9px 12px; }
  .hero { min-height: auto; gap: 42px; padding-block: 55px 62px; }
  .hero h1 { font-size: clamp(49px, 15vw, 67px); }
  .hero-lead { margin-top: 21px; font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 405px; border-radius: 25px; }
  .hero-visual > img { height: 405px; }
  .hero-visual ol { right: 12px; bottom: 12px; left: 12px; gap: 5px; }
  .hero-visual li { padding: 9px; }
  .hero-visual li strong { font-size: 10px; }
  .section { padding-block: 65px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading.is-row { align-items: end; }
  .section-heading h2 { font-size: 36px; }
  .process-grid li,
  .guide-grid > a { padding: 23px; }
  .final-cta { display: grid; margin-bottom: 120px; padding: 27px 24px; }
  .final-cta > div:last-child { display: grid; }
  .site-footer nav { flex-wrap: wrap; gap: 16px; }
  .mobile-actions {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 19px;
    background: rgba(10,5,16,.88);
    box-shadow: 0 20px 54px rgba(0,0,0,.4);
    padding: 8px;
    backdrop-filter: blur(20px);
  }
  .mobile-actions .button { min-width: 0; min-height: 48px; padding-inline: 11px; font-size: 12px; }
  .toast { right: 14px; bottom: 84px; left: 14px; text-align: center; }
  .guide-hero { padding-block: 54px 34px; }
  .guide-hero h1 { font-size: 45px; }
  .guide-hero > p { font-size: 15px; }
  .article-layout { gap: 22px; padding-bottom: 120px; }
  .article-body { border-radius: 22px; }
  .article-body h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
