@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --violet: #6514ff;
  --magenta: #bf00ff;
  --ink: #1c1726;
  --paper: #f8f5ff;
  --paper-2: #eee4ff;
  --line: #d7c4ff;
  --radius: 18px;
  --head: 132px;
  --fs: 17px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: var(--fs);
  line-height: 1.75;
  color: var(--ink);
  background: transparent;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(135deg, rgba(101, 20, 255, .085) 0 25%, transparent 25% 50%, rgba(191, 0, 255, .07) 50% 75%, transparent 75%);
  background-size: 72px 72px;
  animation: drift 22s linear infinite;
}

@keyframes drift { to { background-position: 72px 72px; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }

/* ---------- head ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 245, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--ink);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(14px, 4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--violet), var(--magenta));
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.brand-logo { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; }

.head-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.head-cta:hover { background: var(--magenta); transform: translateY(-2px); }

.menu-row { padding: 0 clamp(14px, 4vw, 40px) 10px; }
.nav-drop { position: relative; }

.nav-drop > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: background .25s var(--ease);
}

.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary:hover { background: var(--magenta); }
.sum-bar { display: block; width: 18px; height: 3px; border-radius: 99px; background: #fff; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; }

.nav-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 95;
  margin: 0;
  padding: 8px;
  list-style: none;
  display: grid;
  gap: 4px;
  min-width: min(280px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--violet);
}

.nav-drop:not([open]) > .nav-menu { display: none; }

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.nav-menu a:hover { background: var(--violet); color: #fff; transform: translateX(4px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  min-height: calc(100vh - var(--head));
  padding: 36px clamp(14px, 4vw, 40px) 48px;
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(circle at 84% 12%, rgba(191, 0, 255, .22), transparent 56%),
    radial-gradient(circle at 8% 82%, rgba(101, 20, 255, .2), transparent 58%);
}

@supports (min-height: 100svh) {
  .hero { min-height: calc(100svh - var(--head)); }
}

.hero-word {
  position: absolute;
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  margin: 0;
  font-size: clamp(60px, 17vw, 190px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.05em;
  color: var(--violet);
  opacity: .15;
  white-space: nowrap;
  pointer-events: none;
}

.hero-collage { position: relative; z-index: 1; display: flex; gap: 10px; }

.hero-collage img {
  width: 46%;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 9px 9px 0 rgba(101, 20, 255, .32);
}

.hero-collage img:nth-of-type(1) { transform: rotate(-4deg); }
.hero-collage img:nth-of-type(2) { align-self: flex-end; transform: rotate(3deg); }
.blob { display: none; }

.hero-copy { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: end; text-align: right; }

.hero-copy h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hero-lead { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.75; color: #3d3355; }

/* ---------- body ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px clamp(14px, 4vw, 40px) 60px;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
}

.body-col { min-width: 0; }
.body-copy { font-size: var(--fs); line-height: 1.85; }

.body-copy > article {
  scroll-margin-top: 150px;
  padding-block: 34px;
  border-bottom: 2px dashed var(--line);
}

.body-copy > article:first-child { padding-top: 0; }
.body-copy > article:last-child { padding-bottom: 0; border-bottom: 0; }

.body-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 4.2vw, 36px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.025em;
}

.body-copy h2::before {
  content: "";
  display: block;
  width: 60px;
  height: 8px;
  border-radius: 99px;
  background: var(--magenta);
  margin-bottom: 14px;
}

.body-copy h3 { margin: 26px 0 8px; font-size: 21px; line-height: 1.35; font-weight: 700; }
.body-copy p { margin: 0 0 1.05em; }
.body-copy ul, .body-copy ol { margin: 0 0 1.05em; padding-left: 1.35em; }
.body-copy li { margin: .35em 0; }
.body-copy a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.body-copy a:hover { color: var(--magenta); }
.body-copy strong { font-weight: 700; }

.body-copy blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border-left: 8px solid var(--magenta);
}

.body-copy blockquote p:last-child { margin: 0; }

.body-copy hr {
  border: 0;
  height: 3px;
  max-width: 70px;
  margin: 14px 0 18px;
  border-radius: 99px;
  background: var(--ink);
}

/* ---------- side ---------- */
.side {
  background: var(--violet);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: 10px 10px 0 var(--magenta);
}

.side h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .24em; }
.side hr { border: 0; height: 3px; max-width: 56px; margin: 12px 0 16px; border-radius: 99px; background: #fff; opacity: .6; }

.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-list li { animation: rise .5s var(--ease) both; }
.side-list li:nth-child(1) { animation-delay: .04s; }
.side-list li:nth-child(2) { animation-delay: .08s; }
.side-list li:nth-child(3) { animation-delay: .12s; }
.side-list li:nth-child(4) { animation-delay: .16s; }
.side-list li:nth-child(5) { animation-delay: .2s; }
.side-list li:nth-child(6) { animation-delay: .24s; }
.side-list li:nth-child(7) { animation-delay: .28s; }

.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.side-list a:hover { background: #fff; color: var(--violet); transform: translateX(-4px); }

/* ---------- foot ---------- */
.site-foot {
  background: var(--ink);
  color: #f3ecff;
  padding: 52px clamp(14px, 4vw, 40px) 30px;
  margin-top: 56px;
}

.foot-cta {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 32px 24px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--violet), var(--magenta));
  color: #fff;
}

.foot-cta h2 { margin: 0; font-size: clamp(26px, 5vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.foot-cta hr { border: 0; height: 4px; max-width: 90px; margin: 16px 0 22px; border-radius: 99px; background: #fff; opacity: .7; }

.foot-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background .25s var(--ease);
}

.foot-top:hover { background: #fff; color: var(--ink); }

.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.foot-addr { font-style: normal; }
.foot-addr a { color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -.02em; }
.foot-addr a:hover { color: var(--magenta); }

.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #f3ecff;
  text-decoration: none;
  font-size: 16px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.foot-links a:hover { background: #fff; color: var(--ink); border-color: #fff; }

.foot-copy {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 16px;
  color: #bdb2d8;
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- wide ---------- */
@media (min-width: 900px) {
  .hero-collage { position: absolute; inset: 0; display: block; }
  .hero-collage img { position: absolute; width: auto; max-width: 34%; }
  .hero-collage img:nth-of-type(1) { left: 5%; top: 16%; max-height: 46%; transform: rotate(-5deg); z-index: 2; }
  .hero-collage img:nth-of-type(2) { left: 30%; top: 46%; max-height: 40%; transform: rotate(4deg); z-index: 1; }
  .hero-copy { margin-left: auto; }

  .blob { display: block; position: absolute; border-radius: 28px; }
  .blob-a { width: 130px; height: 130px; background: var(--magenta); right: 6%; bottom: 14%; transform: rotate(14deg); opacity: .9; }
  .blob-b { width: 72px; height: 72px; border-radius: 50%; background: var(--violet); left: 8%; bottom: 10%; opacity: .85; }

  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .foot-links { justify-content: flex-end; }
}

@media (min-width: 980px) {
  .wrap { grid-template-columns: minmax(0, 1fr) 296px; gap: 56px; align-items: start; }
  .side { position: sticky; top: 150px; }
}

@media (min-width: 1200px) {
  .hero-copy h1 { font-size: 64px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body::before { background-position: 0 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
