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

:root{
  --ink:#1c1726;
  --ink2:#241d33;
  --violet:#6514ff;
  --magenta:#bf00ff;
  --paper:#f5f1ff;
  --muted:#bcb0d8;
  --line:rgba(245,241,255,.16);
  --script:'Great Vibes','Cormorant Infant',cursive;
  --serif:'Cormorant Infant','Songti SC',Georgia,serif;
  --sans:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  --r:4px;
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-bottom:170px;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.75;
  padding-bottom:170px;
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  inset:-25%;
  z-index:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(115deg, rgba(101,20,255,.16) 0 2px, rgba(101,20,255,0) 2px 44px),
    radial-gradient(58% 46% at 10% 6%, rgba(191,0,255,.20), rgba(191,0,255,0) 70%),
    radial-gradient(52% 46% at 92% 34%, rgba(101,20,255,.24), rgba(101,20,255,0) 70%);
  animation:drift 26s linear infinite;
}

@keyframes drift{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-44px,44px,0)}
}

h1,h2,h3{font-family:var(--serif);font-weight:600;letter-spacing:.01em}
a{color:inherit}
img{display:block;max-width:100%;height:auto}

hr{
  border:0;
  height:2px;
  width:72px;
  margin:14px 0 26px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--magenta),var(--violet));
}

.hero{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  align-items:center;
  gap:clamp(24px,4vw,52px);
  max-width:1180px;
  min-height:45vh;
  margin:0 auto;
  padding:clamp(24px,4vw,44px) clamp(18px,4vw,34px);
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

.hero::after{
  content:'';
  position:absolute;
  right:-70px;
  top:-70px;
  width:230px;
  height:230px;
  border-radius:50%;
  background:radial-gradient(circle at 32% 32%, rgba(191,0,255,.55), rgba(101,20,255,.06) 72%);
  pointer-events:none;
}

.hero-ghost{
  position:absolute;
  left:50%;
  top:50%;
  z-index:0;
  transform:translate(-50%,-58%);
  font-family:var(--script);
  font-size:clamp(120px,26vw,300px);
  line-height:.8;
  letter-spacing:-.02em;
  color:rgba(191,0,255,.16);
  pointer-events:none;
  white-space:nowrap;
}

.hero-media{position:relative;z-index:1}

.hero-img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:var(--r);
  border:1px solid var(--line);
  filter:saturate(1.15) contrast(1.05);
  box-shadow:0 26px 60px rgba(0,0,0,.5);
}

.hero-script{
  display:block;
  font-family:var(--script);
  font-size:clamp(80px,14vw,170px);
  line-height:.85;
  text-align:center;
  color:var(--magenta);
}

.hero-copy{
  position:relative;
  z-index:2;
  text-align:center;
}

.hero-copy h1{
  margin:0 0 16px;
  font-size:clamp(32px,5vw,52px);
  line-height:1.14;
  color:#fff;
  text-shadow:0 0 36px rgba(191,0,255,.38);
}

.hero-lead{
  max-width:32ch;
  margin:0 auto 26px;
  font-size:17px;
  color:var(--muted);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 34px;
  border-radius:var(--r);
  background:linear-gradient(110deg,var(--magenta),var(--violet));
  color:#fff;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(101,20,255,.38);
  transition:transform .22s ease,filter .22s ease,box-shadow .22s ease;
}

.btn:hover,.btn:focus-visible{
  transform:translateY(-2px);
  filter:brightness(1.14);
  box-shadow:0 18px 40px rgba(191,0,255,.45);
}

main{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  align-items:start;
  gap:clamp(24px,4vw,56px);
  max-width:1180px;
  margin:0 auto;
  padding:clamp(32px,5vw,64px) clamp(18px,4vw,34px) 76px;
}

main div[id]{
  scroll-margin-top:28px;
  scroll-margin-bottom:170px;
}

.rail{
  position:sticky;
  top:28px;
  padding:20px 18px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:rgba(36,29,51,.74);
  box-shadow:0 20px 44px rgba(0,0,0,.38);
}

.rail h2{
  margin:0 0 4px;
  font-size:23px;
}

.rail hr{width:44px;margin:8px 0 14px}

.rail ul{
  list-style:none;
  display:grid;
  gap:4px;
  margin:0;
  padding:0;
}

.rail a{
  display:block;
  min-height:42px;
  padding:9px 12px;
  border-left:2px solid transparent;
  border-radius:0 var(--r) var(--r) 0;
  font-size:16px;
  line-height:1.6;
  color:#d8cdf3;
  text-decoration:none;
  transition:color .22s ease,background .22s ease,border-color .22s ease;
}

.rail a:hover,.rail a:focus-visible{
  border-left-color:var(--magenta);
  background:rgba(101,20,255,.22);
  color:#fff;
}

.prose{min-width:0}

.prose > div{
  margin:0 0 56px;
  padding:0 0 8px;
}

.prose > div:last-child{margin-bottom:24px}

.prose h2{
  margin:0;
  font-size:clamp(28px,3.6vw,40px);
  line-height:1.2;
  color:#fff;
}

.prose h3{
  margin:32px 0 12px;
  font-size:22px;
  line-height:1.3;
  color:#fff;
}

.prose p{
  max-width:68ch;
  margin:0 0 18px;
}

.prose ul,.prose ol{
  max-width:66ch;
  margin:0 0 20px;
  padding-left:22px;
}

.prose li{margin:0 0 8px}

.prose a{
  color:#dcc9ff;
  text-decoration:underline;
  text-decoration-color:rgba(191,0,255,.6);
  text-underline-offset:3px;
}

.prose a:hover{color:#fff;text-decoration-color:var(--magenta)}

.prose strong{color:#fff}

.prose blockquote{
  margin:24px 0;
  padding:16px 20px;
  border-left:3px solid var(--magenta);
  border-radius:0 var(--r) var(--r) 0;
  background:rgba(101,20,255,.14);
  color:#e6ddff;
}

.prose img,
.prose figure{
  margin:24px 0;
  border-radius:var(--r);
  overflow:hidden;
}

.prose table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 22px;
  font-size:16px;
}

.prose th,.prose td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.prose th{background:rgba(101,20,255,.18);color:#fff}

.foot{
  position:relative;
  z-index:1;
  padding:clamp(38px,5vw,58px) clamp(18px,4vw,34px) 30px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(101,20,255,.16),rgba(28,23,38,.96));
}

.foot-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:clamp(28px,5vw,56px);
  max-width:1180px;
  margin:0 auto;
}

address{font-style:normal}

.foot-logo{
  font-family:var(--script);
  font-size:30px;
  line-height:1.2;
  color:#fff;
  text-decoration:none;
}

.foot-brand p{
  max-width:36ch;
  margin:12px 0 0;
  color:var(--muted);
}

.foot-mail a{color:#dcc9ff;text-decoration:none}
.foot-mail a:hover{color:#fff}

.foot h2{margin:0;font-size:24px}
.foot hr{width:44px;margin:8px 0 16px}

.foot ul{
  list-style:none;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px 18px;
  margin:0;
  padding:0;
}

.foot ul a{
  display:inline-block;
  min-height:40px;
  padding:9px 0;
  border-bottom:1px solid transparent;
  color:#d8cdf3;
  font-size:16px;
  text-decoration:none;
  transition:color .22s ease,border-color .22s ease;
}

.foot ul a:hover,.foot ul a:focus-visible{
  color:#fff;
  border-bottom-color:var(--magenta);
}

.signup{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  max-width:1180px;
  margin:36px auto 0;
}

.signup input{
  flex:1 1 240px;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-family:inherit;
  font-size:16px;
}

.signup input::placeholder{color:#a99cc7}

.signup button{
  min-height:48px;
  padding:12px 28px;
  border:0;
  border-radius:var(--r);
  background:linear-gradient(110deg,var(--magenta),var(--violet));
  color:#fff;
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:filter .22s ease,transform .22s ease;
}

.signup button:hover{filter:brightness(1.14);transform:translateY(-1px)}

.copy{
  max-width:1180px;
  margin:28px auto 0;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:16px;
}

.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:40;
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px clamp(12px,3vw,30px);
  border-top:1px solid var(--line);
  background:rgba(22,18,31,.96);
  box-shadow:0 -16px 44px rgba(0,0,0,.55);
}

.dock-brand{
  font-family:var(--script);
  font-size:24px;
  line-height:1.2;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}

.dock nav{
  flex:1;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:thin;
}

.dock ul{
  display:flex;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
}

.dock ul a{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:12px 11px;
  border-radius:var(--r);
  color:#c8bbec;
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
  transition:color .22s ease,background .22s ease;
}

.dock ul a:hover,.dock ul a:focus-visible,.dock ul a.on{
  background:linear-gradient(115deg,var(--violet),var(--magenta));
  color:#fff;
}

.ico{
  flex:none;
  width:9px;
  height:9px;
  border-radius:2px;
  background:var(--violet);
  transform:rotate(45deg);
}

.dock ul li:nth-child(2n) .ico{background:var(--magenta)}
.dock ul li:nth-child(3n) .ico{background:#9b7bff}

.dock-contact{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:var(--r);
  color:#e3d9ff;
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
  transition:border-color .22s ease,color .22s ease;
}

.dock-contact:hover{border-color:var(--magenta);color:#fff}

.js .rv{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .55s ease,transform .55s ease;
}

.js .rv.in{opacity:1;transform:none}
.js .foot-grid > article:nth-child(2){transition-delay:.08s}

@media (max-width:820px){
  body{padding-bottom:200px}

  .hero{
    grid-template-columns:1fr;
    min-height:0;
    gap:22px;
  }

  .hero-copy{order:-1}

  .hero-ghost{font-size:clamp(110px,34vw,220px);opacity:.9}

  main{
    grid-template-columns:1fr;
    gap:32px;
  }

  .rail{position:static;order:2}
  .prose{order:1}

  .foot-grid{grid-template-columns:1fr}

  .dock{
    flex-wrap:wrap;
    gap:4px 10px;
    padding:8px 12px;
  }

  .dock nav{
    order:3;
    flex:1 0 100%;
    margin:0 -12px;
    padding:0 12px;
  }

  .dock-brand{font-size:21px}
  .dock-contact{margin-left:auto;padding:10px 12px;max-width:46vw;overflow:hidden;text-overflow:ellipsis}
}

@media (max-width:430px){
  .prose h2{font-size:26px}
  .foot ul{grid-template-columns:1fr 1fr}
  .hero-ghost{opacity:.7}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body::before{animation:none}
  .js .rv{opacity:1;transform:none;transition:none}
  .btn,.signup button{transition:none}
}

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